I am using the Ti DRV10983PWPR to drive a 24V BLDC motor. In some cases when I need to turn off the motor, the BEMF voltage generated by the motor is returned to the power supply and the VCC voltage surges up, causing an undesirable spike. The datasheet talks about an AVS function (page 35) that is designed to prevent this but it does not appear to be working. In the SysOpt5 register, I have the Inductive AVS enabled, the Mechanical AVS enabled, the Mechanical AVS mode set to Vcc and IPD release mode set to Brake when inductive release. However, when the motor is running a high speed and the speed control register gets set to 0 to stop the motor I still see a large spike on Vcc. Do you have any suggestions? I have already gone through the tuning guide and I believe that all of my settings are correct.