2025-05-30 7:37 AM
I have a custom board (G491) with a 1-shunt driver and Hall sensors I have been using with MCSDK 6.3.2 with no issue.
When I saw the Release Notes of 6.4.0 I decided to give it a try, I wanted to try out the current monitoring.
The workspace project was created from scratch with the same configuration as it worked on 6.3.2 (6-step, hall sensor as speed sensor), but, when I tried to start the motor, it didn't start. When I manually moved the shaft, speed control got crazy and started spinning at max speed.
In idle, I realized that the UI reports 30 rpm when not in movement. I can move the motor forward and it reports some speed but, if I turn it backwards, speed is reported as 30 rpm. HALL_EL_ANGLE register is stuck at 0, when it should change.
I went back to a nucleo-G431 with a IHM08M1 and a different motor, and the behavior is exactly the same.
It looks like the logic for the Hall sensor is broken.
Has anybody experienced anything like that?