I have a PID controller getting velocity from hall sensor changes and outputting PWM to DRV10970. PWM frequency is 94 KHz.
With a step change in PWM to a lower duty cycle, the motor continues to accelerate for several commutation cycles before it starts to decelerate, suggesting the DRV output did not change immediately.
Is there a predictable lag from PWM change to output change?