Datasheet
L9942 Appendix
Doc ID 11778 Rev 7 35/40
Figure 15. Stall detection
0123456787654321012345678765432
1
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 2 9 30 31
01234567876543210123456787654321
Current Driver A
Current Driver B
STEP Signal
Adress of Current
Profile Entry
Phase Counter
Micro Stepping Mode: DIR=0
0123456787654321012345678765432
1
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1
01234567876543210123456787654321
Current Driver A
Current Driver B
Micro Stepping Mode: DIR=1
0
Adress of Current
Profile Entry
Time
PWM activ detection
Load Current Rising During High Speed
PWM activ
counter
Stall
Threshold
Stall
Threshold
Activ
sampling and
threshold
Activ
sampling and
threshold
PWM activ
counter
PWM activ detection PWM activ detection
Counter value is above threshold value.
bit6bit7
D7 D6 D5 D4 D3 D2 D1 D0
Register 4
bit5bit6bit7
Reg3Register 5
bit5bit6bit7
Stall
Time
Threshold
16us *
No
Stall Signal
0123456787654321012345678765432
1
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 2 5 26 27 28 29 30 31
01234567876543210123456787654321
Current Driver A
Current Driver B
STEP Signal
Adress of Current
Profile Entry
Phase Counter
Micro Stepping Mode: DIR=0
0123456787654321012345678765432
1
31 30 29 28 27 26 25 24 23 22 21 20 19 18 1 7 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1
01234567876543210123456787654321
Current Driver A
Current Driver B
Micro Stepping Mode: DIR=1
0
Adress of Current
Profile Entry
Time
PWM activ detection
PWM activ
counter
Stall
Threshold
Stall
Threshold
Activ
sampling and
threshold
Activ
sampling and
threshold
PWM activ
counter
PWM activ detection PWM activ detection
Stall Signal
Stall Signal
Load Current Rising During Low Speed or Stall
Counter value is below threshold value.