L9942
Figure 15. Stall detection
Load Current Rising During High Speed
Counter value is above threshold value.
PWM activ detection
Stall
Time
Th r es h ol d
Register 5 Register 4 Reg3
16us * bit7 bit6 bit5 bit7 bit6 bit5 bit7 bit6
D7 D6 D5 D4 D3 D2 D1 D0
Time
PWM activ detection
PWM activ detection
Stall
Threshold
PWM activ
counter
Stall
Threshold
PWM activ
counter
No
Stall Signal
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 29 30 31
Activ
sampling and
th r es h o ld
01 23 4 56 78 7 654 3 2101 2345 6787 6 543 2 1
Activ
sampling and
Current Driver A
threshold
Phase Counter
Adress of Current
Profile Entry
0 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
Current Driver A
01 2345 6787 6 543 2 10 1 2345 6 78 76 54 32 1
Current Driver B
87 65 4 32 10 1 234 5 6787 6543 2101 2 345 6 7
Adress of Current
Profile Entry
Current Driver B
87 6543 2101 2 345 6 78 7 6543 2 10 12 34 56 7
STEP Signal
Micro Stepping Mode: DIR=0
Micro Stepping Mode: DIR=1
Load Current Rising During Low Speed or Stall
PWM activ detection
Time
Counter value is below threshold value.
PWM activ detection
PWM activ detection
PWM activ
Stall
counter
Threshold
PWM activ
counter
St al l
Threshold
Stall Signal
Stall Signal
Appendix
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 29 30 31
Activ
sampling and
threshold
0 1 23 4 5 6 78 7 6 54 3 2 10 1 2 34 5 6 78 7 6 54 3 2 1
Activ
sampling and
Current Driver A
threshold
Phase Counter
Adress of Current
Profile Entry
0 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
Current Driver A
0 1 2 34 5 6 78 7 6 54 3 2 1 01 2 3 45 6 7 87 6 5 43 2 1
Current Driver B
8 7 65 4 3 2 10 1 2 34 5 6 78 7 6 54 3 2 10 1 2 34 5 6 7
Adress of Current
Profile Entry
Current Driver B
8 7 6 54 3 2 10 1 2 34 5 6 7 87 6 5 43 2 1 01 2 3 45 6 7
STEP Signal
Micro Stepping Mode: DIR=0
Micro Stepping Mode: DIR=1
Doc ID 11778 Rev 7
35/40