Datasheet

Table Of Contents
L6470 Programming manual
Doc ID16737 Rev 5 47/70
9.1.19 STEP_MODE
The STEP_MODE register has the following structure:
The STEP_SEL parameter selects one of eight possible stepping modes:
Every time the step mode is changed, the electrical position (i.e. the point of microstepping
sinewave that is generated) is reset to the first microstep.
Warning: Every time STEP_SEL is changed, the value in the ABS_POS
register loses meaning and should be reset.
Any attempt to write the register when the motor is running causes the command to be
ignored and the NOTPERF_CMD flag to rise (see Section 9.1.22).
Table 16. Stall detection threshold
STALL_th [6..0] Stall detection threshold
0000000 31.25 mA
0 0 0 0 0 0 1 62.5 mA
…………………
1111110 3.969 A
1111111 4 A
Table 17. STEP_MODE register
Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
SYNC_EN SYNC_SEL 0
(1)
1. When the register is written, this bit should be set to 0.
STEP_SEL
Table 18. Step mode selection
STEP_SEL[2..0] Step mode
000Full-step
001Half-step
0 1 0 1/4 microstep
0 1 1 1/8 microstep
1 0 0 1/16 microstep
1 0 1 1/32 microstep
1 1 0 1/64 microstep
1 1 1 1/128 microstep