L6470 Programming manual
Doc ID 16737 Rev 2 43/64
9.1.17 OCD_TH
The OCD_TH register contains the overcurrent threshold value (see paragraph 6.9 for
details). The available range is from 375 mA to 6 A, steps of 375 mA as shown in
Tabl e 14 .
9.1.18 STALL_TH
The STALL_TH register contains the stall detection threshold value (see paragraph 7.2 for
details). The available range is from 31.25 mA to 4 A with a resolution of 31.25 mA.
9.1.19 STEP_MODE
The STEP_MODE register has the following structure:
The STEP_SEL parameter selects one of eight possible stepping modes:
Table 14. Overcurrent detection threshold
OCD_TH [3..0] Overcurrent detection threshold
0000 375 mA
0001 750 mA
………… …
1110 5.625 A
1111 6 A
Table 15. Stall detection threshold
STALL_th [6..0] Stall detection threshold
0000000 31.25 mA
0000001 62.5 mA
………………… …
1111110 3.969 A
1111111 4 A
Table 16. STEP_MODE register
Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
SYNC_EN SYNC_SEL 0 STEP_SEL