Datasheet
Table Of Contents
- Table 1. Device summary
- 1 Block diagram
- 2 Electrical data
- 3 Electrical characteristics
- 4 Pin connection
- 5 Typical applications
- 6 Functional description
- 6.1 Device power-up
- 6.2 Logic I/O
- 6.3 Charge pump
- 6.4 Microstepping
- 6.5 Absolute position counter
- 6.6 Programmable speed profiles
- 6.7 Motor control commands
- 6.8 Internal oscillator and oscillator driver
- 6.9 Overcurrent detection
- 6.10 Undervoltage lockout (UVLO)
- 6.11 Thermal warning and thermal shutdown
- 6.12 Reset and standby
- 6.13 External switch (SW pin)
- 6.14 Programmable DMOS slew rate, deadtime and blanking time
- 6.15 Integrated analog-to-digital converter
- 6.16 Internal voltage regulator
- 6.17 BUSY\SYNC pin
- 6.18 FLAG pin
- 7 Phase current control
- 8 Serial interface
- 9 Programming manual
- 9.1 Registers and flags description
- Table 9. Register map
- 9.1.1 ABS_POS
- 9.1.2 EL_POS
- 9.1.3 MARK
- 9.1.4 SPEED
- 9.1.5 ACC
- 9.1.6 DEC
- 9.1.7 MAX_SPEED
- 9.1.8 MIN_SPEED
- 9.1.9 FS_SPD
- 9.1.10 KVAL_HOLD, KVAL_RUN, KVAL_ACC and KVAL_DEC
- 9.1.11 INT_SPEED
- 9.1.12 ST_SLP
- 9.1.13 FN_SLP_ACC
- 9.1.14 FN_SLP_DEC
- 9.1.15 K_THERM
- 9.1.16 ADC_OUT
- 9.1.17 OCD_TH
- 9.1.18 STALL_TH
- 9.1.19 STEP_MODE
- 9.1.20 ALARM_EN
- 9.1.21 CONFIG
- Table 22. CONFIG register
- Table 23. Oscillator management
- Table 24. External switch hard stop interrupt mode
- Table 25. Overcurrent event
- Table 26. Programmable power bridge output slew rate values
- Table 27. Motor supply voltage compensation enable
- Table 28. PWM frequency: integer division factor
- Table 29. PWM frequency: multiplication factor
- Table 30. Available PWM frequencies [kHz]: 8-MHz oscillator frequency
- Table 31. Available PWM frequencies [kHz]: 16-MHz oscillator frequency
- Table 32. Available PWM frequencies [kHz]: 24-MHz oscillator frequency
- Table 33. Available PWM frequencies [kHz]: 32-MHz oscillator frequency
- 9.1.22 STATUS
- 9.2 Application commands
- Table 37. Application commands
- 9.2.1 Command management
- 9.2.2 Nop
- 9.2.3 SetParam (PARAM, VALUE)
- 9.2.4 GetParam (PARAM)
- 9.2.5 Run (DIR, SPD)
- 9.2.6 StepClock (DIR)
- 9.2.7 Move (DIR, N_STEP)
- 9.2.8 GoTo (ABS_POS)
- 9.2.9 GoTo_DIR (DIR, ABS_POS)
- 9.2.10 GoUntil (ACT, DIR, SPD)
- 9.2.11 ReleaseSW (ACT, DIR)
- 9.2.12 GoHome
- 9.2.13 GoMark
- 9.2.14 ResetPos
- 9.2.15 ResetDevice
- 9.2.16 SoftStop
- 9.2.17 HardStop
- 9.2.18 SoftHiZ
- 9.2.19 HardHiZ
- 9.2.20 GetStatus
- 9.1 Registers and flags description
- 10 Package mechanical data
- 11 Revision history

Programming manual L6470
40/70 Doc ID16737 Rev 5
9 Programming manual
9.1 Registers and flags description
The following is a map of the user registers available (detailed description in respective
paragraphs):
Table 9. Register map
Address
[Hex]
Register name Register function
Len.
[bit]
Reset
Hex
Reset
value
Remarks
(1)
h01 ABS_POS Current position 22 000000 0 R, WS
h02 EL_POS Electrical position 9 000 0 R, WS
h03 MARK Mark position 22 000000 0 R, WR
h04 SPEED Current speed 20 00000 0 step/tick (0 step/s) R
h05 ACC Acceleration 12 08A
125.5e-12 step/tick
2
(2008
step/s
2
)
R, WS
h06 DEC Deceleration 12 08A
125.5e-12 step/tick
2
(2008
step/s
2
)
R, WS
h07 MAX_SPEED Maximum speed 10 041 248e-6 step/tick (991.8 step/s) R, WR
h08 MIN_SPEED Minimum speed 13 000 0 step/tick (0 step/s) R, WS
h15 FS_SPD Full-step speed 10 027
150.7e-6 step/tick (602.7
step/s)
R, WR
h09 KVAL_HOLD Holding K
VAL
8 29 0.16·VS R, WR
h0A KVAL_RUN Constant speed K
VAL
8 29 0.16·VS R, WR
h0B KVAL_ACC
Acceleration starting
K
VAL
8 29 0.16·VS R, WR
h0C KVAL_DEC
Deceleration starting
K
VAL
8 29 0.16·VS R, WR
h0D INT_SPEED Intersect speed 14 0408 15.4e-6 step/tick (61.5 step/s) R, WH
h0E ST_SLP Start slope 8 19 0.038% s/step R, WH
h0F FN_SLP_ACC
Acceleration final
slope
8 29 0.063% s/step R, WH
h10 FN_SLP_DEC
Deceleration final
slope
8 29 0.063% s/step R, WH
h11 K_THERM
Thermal
compensation factor
401.0 R, WR
h12 ADC_OUT ADC output 5 XX
(2)
R
h13 OCD_TH OCD threshold 4 8 3.38A R, WR
h14 STALL_TH STALL threshold 7 40 2.03A R, WR
h16 STEP_MODE Step mode 8 7 128 microsteps R, WH
h17 ALARM_EN Alarm enable 8 FF All alarms enabled R, WS