SLVSC40H June 2013 – May 2020 DRV8711
PRODUCTION DATA.
The best way to configure internal stall detect is by selecting a desired stall speed (in rpm). Set both SDTHR and VDIV to their minimum values. Next, decrease the motor speed to the desired stall detect speed. Use Equation 13 to determine the necessary stepping frequency:
Now that the motor is spinning more slowly, increase SDTHR, or VDIV, or both SDTHR and VDIV until STALLn/BEMFn are asserted. Increasing either SDTHR or VDIV will make the stall detect trip at higher speeds. Set SDCNT so that the stall detect will trip after the desired number of steps.
CTRL Register | Address = 0x00h |
Bit | Name | Size | R/W | Default | Description |
---|---|---|---|---|---|
7 | EXSTALL | 1 | R/W | 0 | 0: Internal stall detect
1: External stall detect |
TORQUE Register | Address = 0x01h |
Bit | Name | Size | R/W | Default | Description |
---|---|---|---|---|---|
10-8 | SMPLTH | 3 | R/W | 001 | Back EMF sample threshold
000: 50 µs 001: 100 µs 010: 200 µs 011: 300 µs 100: 400 µs 101: 600 µs 110: 800 µs 111: 1000 µs |
STALL Register | Address = 0x05h |
Bit | Name | Size | R/W | Default | Description |
---|---|---|---|---|---|
7-0 | SDTHR | 8 | R/W | 0x40h | Sets stall detect threshold
The correct setting needs to be determined experimentally |
9-8 | SDCNT | 2 | R/W | 00 | 00: STALLn asserted on first step with back EMF below SDTHR
01: STALLn asserted after 2 steps 10: STALLn asserted after 4 steps 11: STALLn asserted after 8 steps |
11-10 | VDIV | 2 | R/W | 00 | 00: Back EMF is divided by 32
01: Back EMF is divided by 16 10: Back EMF is divided by 8 11: Back EMF is divided by 4 |