ST AN3103 Application note

ST AN3103 Application note

AN3103

Application note

Fully integrated microstepping motor driver using the L6470

Introduction

This application note describes the demonstration board for the fully integrated microstepping motor driver L6470.

The board is designed to be used with IBU universal interface (IBU-UI) or universal USB-to- serial communication interface (UUSCI) board and the dSPIN Evaluation tool software.

Figure 1. EVAL6470 demonstration board

March 2010

Doc ID 16760 Rev 1

1/18

www.st.com

Contents

AN3103

 

 

Contents

1

Board description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. 5

2

Connection to IBU universal interface board . . . . . . . . . . . . . . . . . . . .

12

3

dSPIN Evaluation tool . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

13

 

3.1

Software installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

13

 

3.2

Main form . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

13

3.2.1 Menu and toolbars . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 3.2.2 Positioning commands tab . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 3.2.3 Speed command tab . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 3.2.4 HardStop, SoftStop, HardHiZ and SoftHiZ buttons . . . . . . . . . . . . . . . . 14 3.2.5 Device status panel . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14

3.3 Register map . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 3.4 Device configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15

4

Revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

17

2/18

Doc ID 16760 Rev 1

AN3103

List of tables

 

 

List of tables

Table 1. EVAL6470: jumper and connector description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 Table 2. EVAL6470: master SPI connector pinout (J10) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 Table 3. EVAL6470: slave SPI connector pinout (J11). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 Table 4. EVAL6470: electrical specification (recommended values) . . . . . . . . . . . . . . . . . . . . . . . . . 7 Table 5. EVAL6470: component list . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 Table 6. Document revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17

Doc ID 16760 Rev 1

3/18

List of figures

AN3103

 

 

List of figures

Figure 1. EVAL6470 demonstration board. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 Figure 2. EVAL6470 demonstration board jumper and connector locations . . . . . . . . . . . . . . . . . . . . 5 Figure 3. EVAL6470 schematic - part 1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 Figure 4. EVAL6470 schematic - part 2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 Figure 5. EVAL6470 layout (top layer) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 Figure 6. EVAL6470 layout (bottom layer). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 Figure 7. dSPIN Evaluation tool main form . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 Figure 8. dSPIN Evaluation tool Register Map form . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 Figure 9. dSPIN Evaluation tool device configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16

4/18

Doc ID 16760 Rev 1

AN3103

Board description

 

 

1 Board description

Figure 2. EVAL6470 demonstration board jumper and connector locations

 

Table 1.

EVAL6470: jumper and connector description

 

 

 

Name

Type

Function

 

 

 

 

 

 

 

 

 

J4

Power supply

Board power supply

 

 

 

 

 

 

 

 

 

J2

Power outputs

Bridge A outputs

 

 

 

 

 

 

 

 

 

J3

Power outputs

Bridge B outputs

 

 

 

 

 

 

 

 

 

J10

SPI connector

Master SPI connector

 

 

 

 

 

 

 

 

 

J11

SPI connector

Slave SPI connector

 

 

 

 

 

 

 

 

 

SW

NM test point

External switch connector

 

 

 

 

 

 

 

 

 

VS

Test point

Motor supply voltage

 

 

 

 

 

 

 

 

 

VREG

Test point

Internal 3 V regulator output

 

 

 

VDD

Test point

Logic interface voltage

 

 

 

GND

Test point

Ground

 

 

 

 

 

 

 

 

JP7

Jumper

Selects SPI connector PWM2 GPIO functionality

 

 

 

 

 

 

 

 

 

Doc ID 16760 Rev 1

5/18

 

 

 

 

 

 

Board description

 

 

AN3103

 

 

 

 

 

 

Table 1.

EVAL6470: jumper and connector description (continued)

 

 

 

 

 

 

 

Name

Type

Function

 

 

 

 

 

 

 

JP2

Jumper

Daisy chain termination

 

 

 

 

 

 

 

JP5

Jumper

EXT_VDD (SPI connector) to VDD connection

 

 

JP3

Jumper

VDD to VREG connection

 

 

JP4

Jumper

Selects ADCIN source

 

 

 

 

 

Table 2.

EVAL6470: master SPI connector pinout (J10)

Pin number

Description

 

 

 

 

1

L6470 BUSY open drain output

 

 

 

 

2

L6470 FLAG open drain output

 

 

 

 

3

Ground

 

 

 

 

4

EXT_VDD (can be used as external logic power supply)

 

 

 

 

5

SPI master in, slave out signal (connected to L6470 SDO output through

 

daisy chain termination jumper JP2)

 

 

 

 

 

 

6

SPI serial clock signal (connected to L6470 CK input)

 

 

 

 

7

SPI master out, slave in signal (connected to L6470 SDI input)

 

 

 

 

8

SPI slave select signal (connected to L6470 CS input)

 

 

 

 

9

PWM1 input

 

 

 

 

10

PWM2 input

 

 

 

Table 3.

EVAL6470: slave SPI connector pinout (J11)

Pin number

Description

 

 

 

 

1

L6470 BUSY open drain output

 

 

 

 

2

L6470 FLAG open drain output

 

 

 

 

3

Ground

 

 

 

 

4

EXT_VDD (can be used as external logic power supply)

 

 

 

 

5

SPI master in, slave out signal (connected to pin 5 of J10)

 

 

 

 

6

SPI serial clock signal (connected to L6470 CK input)

 

 

 

 

7

SPI master out, slave in signal (connected to L6470 SDO output)

 

 

 

 

8

SPI slave select signal (connected to L6470 CS input)

 

 

 

 

9

PWM1 input

 

 

 

 

10

PWM2 input

 

 

 

6/18

Doc ID 16760 Rev 1

Loading...
+ 12 hidden pages