We're turning a brushless DC motor with alternating sinusoidal and trapezoidal control.
We can successfully transition from sinusoidal control to trapezoidal control; the motor continues turning in the same direction at roughly the same speed.
When we transition from trapezoidal control to sinusoidal control, the motor comes to a halt. In this case, all three ePWM generators stop generating any PWM signals. Is there some intermediate state that must happen when transitioning between trapezoidal control to sinusoidal control to ensure continuous operation of the ePWM modules? Or is this considered "undefined behavior"?
Thanks in advance for any advice you can offer.