Datasheet

Programming manual L6474
38/52 Doc ID 022529 Rev 3
9.1.10 STEP_MODE
The STEP_MODE register has the following structure:
The STEP_SEL parameter selects one of five 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 ABS_POS
register loses meaning and should be reset.
Any attempt to write the register when the outputs are enabled causes the command to be
ignored and the NOTPERF_CMD flag to rise (see Section 9.1.13).
The SYNC output provides a synchronization signal according to SYNC_SEL parameter.
Table 18. STEP_MODE register
Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
1 SYNC_SEL 1
(1)
1. When the register is written this bit should be set to 1.
STEP_SEL
Table 19. Step mode selection
STEP_SEL[2..0] Step mode
0 0 0 Full step
0 0 1 Half step
0 1 0 1/4 microstep
0 1 1 1/8 microstep
1 X X 1/16 microstep