2025-06-04 7:34 PM
[VERSION]: MCWB v6.3.2
[TOOL]: STM32CubeMX v6.13.0, STM32CubeIDE v1.11.5
[BOARD]: STEVAL-PTOOL1V1
[PROJECT]: STEVAL-PTOOL1V1_6S_SL
When the external power on/off input is used to start and stop the motor, if a fault is encountered when running, the motor stops and the board must be powered cycled or hard-reset to clear the faults and resume normal operation.
I would like to make it so that when the external on/off input is set to off, that the firmware performs a software reset or clears/reinitializes the status so the next time the external input is set to on, that it tries to start running the motor again.
What would be the best way to do this?
Thanks,
Angelo
Solved! Go to Solution.
2025-06-05 6:14 AM
Hello @Angelo Quattrociocchi,
There is a provided API "MC_AcknowledgeFaultMotor1()" on mc_api.c.
2025-06-05 6:14 AM
Hello @Angelo Quattrociocchi,
There is a provided API "MC_AcknowledgeFaultMotor1()" on mc_api.c.