Hi All,
I am trying to get deeper in the FOC library. It seems that this library is really powerful, but I am figthing with a strange problem.
I have linked the PMSM_FOC_O.user_speed_set to a numeric box (I have also tried with a slider) in the Micrium program, in order to have a graphic interface where I can modify the motor speed in debug mode,

The control works uncorrectly: it only INCREASES the speed. When I try to reduce the value, the control does not change the motor speed.

Any idea or suggestion?

Thank you very much

Best Regards

Ciao

Fabio