SLVSEE9D April 2020 – April 2021 DRV8889-Q1
PRODUCTION DATA
The first step in configuring the device requires the desired motor speed and microstepping level. If the target application requires a constant speed, then a square wave with frequency ƒstep must be applied to the STEP pin. If the target motor speed is too high, the motor does not spin. Make sure that the motor can support the target speed. Use Equation 2 to calculate ƒstep for a desired motor speed (v), microstepping level (nm), and motor full step angle (θstep)
The value of θstep can be found in the stepper motor data sheet, or written on the motor.
For example, the motor in this adaptive headlight application is required to rotate at 15°/step for a target of 300 rpm at 1/8 microstep mode. Using Equation 2, ƒstep can be calculated as 960 Hz.
The microstepping level is set by the MICROSTEP_MODE bits in the SPI register and can be any of the settings listed in Table 8-2. Higher microstepping results in a smoother motor motion and less audible noise, but increases switching losses and requires a higher ƒstep to achieve the same motor speed.
MICROSTEP_MODE | STEP MODE | |
---|---|---|
0000b | Full step (2-phase excitation) with 100% current | |
0001b | Full step (2-phase excitation) with 71% current | |
0010b | Non-circular 1/2 step | |
0011b | 1/2 step | |
0100b | 1/4 step | |
0101b | 1/8 step | |
0110b | 1/16 step | |
0111b | 1/32 step | |
1000b | 1/64 step | |
1001b | 1/128 step | |
1010b | 1/256 step |