FINALLY I found the bug on my code!! The angle interpolation was wrong... I had to try simulate some code and the hall sensors signal on the board, use bluetooth to get the data, etc, etc, took me a lot of time but I got it :-) Here a screenshot of the wrong values at left side and just after at right side after being correct: motor_rotor_position going from 259º up to 0º, in loop: Then I got the motor working the best until now and I really think is very robust!!! On the next imag
    • Upvote
    4