Force PWM signals to lock the rotor in fixed position
Hi,
I am using the P-NUCLEO-IHM03 STM32 motor-control pack along with a AMS AS5147U rotary sensor for speed control with Hall-effect.
The rotary sensor needs to be calibrated by setting a zero angle aligment. This is done by disconnecting the motor from the motor driver board, and connecting UVW to an external power supply. We then apply a current to the motor, resulting in locking the rotor in a fixed position and reading the angle from the rotary sensor. This angle is now treated as zero.
Does anybody know how to use the MC SDK to force a UVW pattern so that we do not rely on an external power supply to lock the rotor?
Thanks
Roar
