Count rotation circles during motor rotation
Hy dear helpers,
I am using STM32G431CB, I generated code with the help of motor control workbench. Everything works fine, but I can not count how many circles the motor rotated.
I would like to do the following: Start the motor, do 5 whole circles, then stop.
I have sensorless mode, and I have to do this not by calculating the time, but by the actual mechanical statement of the motor.
Can you tell me how can I do this? Thank you all