SLVAFO8A April 2024 – May 2024 DRV8214 , DRV8234
In this case, the RC_OUT pin does not give out pulses when the current to the motor is turned off either during Hi-z or brake modes. Due to inertia, the motor continues to rotate for some time before coming to a halt, during which ripples fail to be detected. This is due to change in direction of current as observed in Figure 4-4. RC_OUT stops giving out pulses whereas the motor continues to rotate due to inertia.
A possible workaround for this case is to use the soft-stop feature (EN_SS = 1b). This allows the motor to come to a halt gradually which enables detection of ripples for a longer time leading to a lesser percentage of missed ripples. Figure 4-5 shows the performance of ripple counting during soft-stop. TINRUSH[15:8] (MSB) was set to 0x08.
As explained in the data sheets of DRV8214 and DRV8234, the soft-start-stop feature is activated only during motor voltage or speed regulation. To use the soft-start-stop feature without speed regulation, use the following steps:
This sets the speed reference value to the highest possible value (255*128 rad/s = 32640 rad/s). Since the upper limit for the duty cycle is 100% at a particular voltage level, this effectively means that the device is unable to regulate speed, thereby allowing the soft-start-stop feature to be used without speed or voltage regulation. If PWMing externally, programming the duty cycle to reduce gradually to 0 resembles soft-stop behavior.