I have a condition where the PHASE is changed by the microcontroller and sends to the DRV8840 but the direction of the motor does not change. We notice this when the Direction is set one way for short distance then told to move the other way. We set PWM off (PWM through ENABLE pin) prior to changing the PHASE. We noticed that if we put a delay of 25msec between the two moves then the direction will change with the PHASE. I don't see anything in datasheet about a timing specification for changing the PHASE. I just would like to know what is going on and that we are not just patching a problem with a 25msec delay.
Thanks,
Wendy