Using FOC SDK
The FOC library is complicated and I have some difficulties to understand how to work with it. Even after reading UM1052, UM1053.
On the highest level we can start/stop a motor
if (MCI_GetSTMState(oMCI[M1]) == IDLE) { MCI_StartMotor(oMCI[M1]); } else { MCI_StopMotor(oMCI[M1]); }
But how to set velocity and current?
Another question - I have to drive DC motors as well. What should I set for this purpose?
Is there more extensive examples?