I’m running a gimbal motor with a quadrature encoder on a DRV8312EVM board. Stepping through most of the labs, i’m now at 12b. (speed control with Spintac controller and encoder feedback).
Setting the run-identify flag to 1 get’s the motor running as expected most of the time. However sometimes when changing this flag from 0 to 1 the motor revs up in wrong direction to its maximum speed.
What is going on here? And most important how to prevent this from happening.
Many thanks,
Paul