Documente Academic
Documente Profesional
Documente Cultură
Features
■ Operating voltage: 8 - 45 V
■ 7.0 A output peak current (3.0 A r.m.s.)
■ Low RDSon power MOSFETS
■ Programmable speed profile and positioning
■ Programmable power MOS slew-rate
■ Up to 1/128 microstepping HTSSOP28
■ Sensorless stall detection accurate on chip current sensing circuitry suitable
■ SPI interface for non dissipative current control and overcurrent
■ Low quiescent and standby currents protections. Thanks to a unique control system a
true 1/128 steps resolution is achieved. The
■ Programmable non dissipative overcurrent digital control core can generate user defined
protection on high and low-side motion profiles with acceleration, deceleration,
■ Two levels overtemperature protection speed or target position easily programmed
through a dedicated registers set. All commands
and data registers, including those used to set
Applications analogue values (i.e. current control value,
■ Bipolar stepper motor current protection trip point, dead time, PWM
frequency etc.) are sent through a standard 5
Mbit/s SPI.
Description
A very rich set of protections (thermal, low bus
The L6470, realized in analog mixed signal voltage, overcurrent, motor stall) allows designing
technology, is an advanced fully integrated a fully protected application, as required by most
solution suitable for driving two phase bipolar demanding motor control applications.
stepper motors with microstepping.
It integrates a dual low RDSon DMOS full bridge
with all of the power switches equipped with an
Contents
1 Block diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
2 Electrical data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
2.1 Absolute maximum ratings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
2.2 Recommended operating conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
3 Electrical characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
4 Pin connection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
4.1 Pin list . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
5 Typical applications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
6 Functional description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
6.1 Device power-up . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
6.2 Logic I/O . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
6.3 Charge pump . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
6.4 Microstepping . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
6.4.1 Automatic full-step mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
6.5 Absolute position counter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
6.6 Programmable speed profiles . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
6.6.1 Infinite acceleration/deceleration mode . . . . . . . . . . . . . . . . . . . . . . . . . 22
6.7 Motor control commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
6.7.1 Constant speed commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
6.7.2 Positioning commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
6.7.3 Motion commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
6.7.4 Stop commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
6.7.5 Step-clock mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
6.7.6 GoUntil and ReleaseSW commands . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
6.8 Internal oscillator and oscillator driver . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
6.8.1 Internal oscillator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
6.8.2 External clock source . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
6.9 Overcurrent detection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
8 Serial interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
9 Programming manual . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
9.1 Registers and flags description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
9.1.1 ABS_POS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
9.1.2 EL_POS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
9.1.3 MARK . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
9.1.4 SPEED . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
9.1.5 ACC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
9.1.6 DEC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
9.1.7 MAX_SPEED . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
9.1.8 MIN_SPEED . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
9.1.9 FS_SPD . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42
9.1.10 KVAL_HOLD, KVAL_RUN, KVAL_ACC and KVAL_DEC . . . . . . . . . . . . 42
9.1.11 INT_SPEED . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
9.1.12 ST_SLP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
9.1.13 FN_SLP_ACC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
9.1.14 FN_SLP_DEC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44
9.1.15 K_THERM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44
9.1.16 ADC_OUT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44
9.1.17 OCD_TH . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45
9.1.18 STALL_TH . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45
9.1.19 STEP_MODE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45
9.1.20 ALARM_EN . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47
9.1.21 CONFIG . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47
9.1.22 STATUS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52
9.2 Application commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54
9.2.1 Command management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55
9.2.2 Nop . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55
9.2.3 SetParam (PARAM, VALUE) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56
9.2.4 GetParam (PARAM) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56
9.2.5 Run (DIR, SPD) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57
9.2.6 StepClock (DIR) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57
9.2.7 Move (DIR, N_STEP) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58
9.2.8 GoTo (ABS_POS) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58
9.2.9 GoTo_DIR (DIR, ABS_POS) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59
9.2.10 GoUntil (ACT, DIR, SPD) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59
9.2.11 ReleaseSW (ACT, DIR) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60
9.2.12 GoHome . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60
9.2.13 GoMark . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60
9.2.14 ResetPos . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61
9.2.15 ResetDevice . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61
9.2.16 SoftStop . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61
9.2.17 HardStop . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62
9.2.18 SoftHiZ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62
9.2.19 HardHiZ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62
9.2.20 GetStatus . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63
11 Revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66
List of tables
List of figures
1 Block diagram
FLAG HS A1 HS A2
OUT1A
HS A1
OUT2A
Registers
LS A1
HS A2 LS A1 LS A2
LS A2
V DD
Control PGND
Logic HS B1 VSB
CS LS B1 V boot V boot VSB
HS B2
CK HS B1 HS B2
LS B2
SPI
SDO
OUT1B
SDI
OUT2B
BUSY/SYNC Current DACs
Temperature LS B1 LS B2
&
sensing Comparators
PGND
STCK
V DD
Current
sensing
SW
DGND AGND
AM02377v1
2 Electrical data
3 Electrical characteristics
VSA = VSB = 36 V; VDD = 3.3 V; internal 3 V regulator; TJ = 25°C, unless otherwise specified.
General
Charge pump
Tj = 25 °C,
0.37
Iout = 3A
High side switch ON resistance
Tj = 125 °C, (2)
0.51
Iout = 3A
RDS(on)
Tj = 25 °C,
0.18
Iout = 3A
Low side switch ON resistance
Tj = 125 °C, (2)
0.23
Iout = 3A
OUT = VS 3.1
IDSS Leakage current mA
OUT = GND -0.3
POW_SR = '00', Iout = +1A 100
POW_SR = '00', Iout = -1A 80
(3)
tr Rise time POW_SR = ‘11’, Iout = ±1A 100 ns
POW_SR = ‘10’, Ilout = ±1A 200
POW_SR = ‘01’, Iout = ±1A 300
Source-drain diodes
Tj = 25°C,
fosc,i Internal oscillator frequency -3% 16 +3% MHz
VREG = 3.3 V
fosc,e Programmable external oscillator frequency 8 32 MHz
Internal oscillator
VOSCOUTH OSCOUT clock source high level voltage 3.3 V VREG externally 2.4 V
supplied; IOSCOUT = 4 mA
Internal oscillator
VOSCOUTL OSCOUT clock source low level voltage 3.3 V VREG externally 0.3 V
supplied; IOSCOUT = 4 mA
trOSCOUT
OSCOUT clock source rise and fall time Internal oscillator 20 ns
tfOSCOUT
textosc Internal to external oscillator switching delay 3 ms
tintosc External to internal oscillator switching delay 1.5 µs
SPI
thCK
SPI clock high and low time (7) 75 ns
tlCK
tsetCS Chip select setup time (7) 350 ns
tholCS (7)
Chip select hold time 10 ns
(7)
tdisCS Deselect time 800 ns
tsetSDI Data input setup time (7) 25 ns
tholSDI (7)
Data input hold time 20 ns
(7)
tenSDO Data output enable time 38 ns
(7)
tdisSDO Data output disable time 47 ns
tvSDO Data output valid time (7) 57 ns
(7)
tholSDO Data output hold time 37 ns
PWM modulators
Stall detection
Overcurrent protection
Standby
4 Pin connection
/54! /54!
63! 0'.$
34"9<2%3 63!
37 34#+
!$#). &,!'
62%' #3
/3#). "539<39.#
%0!$
/3#/54 $'.$
!'.$ 3$)
#0 #+
6"//4 3$/
63" 6$$
0'.$ 63"
/54" /54"
!-V
27
PGND Ground Power ground pin
13
1 OUT1A Power output Full bridge A output 1
28 OUT2A Power output Full bridge A output 2
14 OUT1B Power output Full bridge B output 1
15 OUT2B Power output Full bridge B output 2
9 AGND Ground Analog ground.
External switch input pin. If not used the pin should be
4 SW Logical input
connected to VDD.
21 DGND Ground Digital ground
By default this BUSY pin is forced low when the device is
22 BUSY\SYNC Open drain output performing a command. Otherwise the pin can be
configured to generate a synchronization signal.
18 SDO Logic output Data output pin for serial interface
20 SDI Logic input Data input pin for serial interface
19 CK Logic input Serial interface clock
23 CS Logic input Chip Select input pin for serial interface
Status Flag pin. An internal open drain transistor can pull
the pin to GND when a programmed alarm condition
24 FLAG Open drain output occurs (step loss, OCD, thermal pre-warning or
shutdown, UVLO, wrong command, non performable
command)
Standby and reset pin. LOW logic level reset the logic
3 STBY\RST Logic input and puts the device in standby mode. If not used, should
be connected to VDD
25 STCK Logic input Step clock input
EPAD Exposed pad Ground Internally connected to PGND, AGND and DGND pins
5 Typical applications
CVS 220 nF
CVSPOL 100 µF
CREG 100 nF
CREGPOL 47 µF
CDD 100 nF
CDDPOL 10 µF
D1 Charge pump diodes
CBOOT 220 nF
CFLY 10 nF
RPU 39 k
RSW 100
CSW 10 nF
RA 2.7 k (VS = 36 V)
RB 62 k (VS = 36 V)
6 Functional description
#"//4
63
$ $
63 6#0
6$
6$ #&,9
6"//4 #0
6#0
TO HIGH SIDE
GATE DRIVERS 6$$
F05-0
!-V
6.4 Microstepping
The driver is able to divide the single step into up to 128 microsteps. Stepping mode can be
programmed by STEP_SEL parameter in STEP_MODE register (see Table 18).
Step mode can be only changed when bridges are disabled. Every time the step mode is
changed the electrical position (i.e. the point of microstepping sinewave that is generated) is
reset to first microstep and the absolute position counter value (see Section 6.5) becomes
meaningless.
2ESET
.ORMAL DRIVING -ICROSTEPPING
2ESET
POSITION 0(!3% ! CURRENT POSITION 0(!3% ! CURRENT
0(!3% "