2.3 Setting off time duration
The R5 resistor sets the off time duration for the PWM current control circuitry as indicated in the figure below.
Low resistance value imposes a short off time reducing the current ripple into the motor phases.
The default value is 10 kΩ, corresponding to about 14 µs.
Figure 2. OFF time vs R
OFF
value
0
20
40
60
80
100
120
140
160
OFF time [µs ]
R
OFF
[k ]
AM040213
2.4
Setting the step mode
The inputs M0, M1 and M2 sets the step mode of the STSPIN820 driver as listed in the table below.
Table 3. Step mode selection
M2 M1 M0 Mode
LOW LOW LOW Full step
LOW LOW HIGH ½ step
LOW HIGH LOW ¼ of step
LOW HIGH HIGH
1/8
th
of step
HIGH LOW LOW
1/16
th
of step
HIGH LOW HIGH
1/32
nd
of step
HIGH HIGH 0
1/128
th
of step
HIGH HIGH HIGH
1/256
th
of step
UM2434
Setting off time duration
UM2434 - Rev 1
page 4/11