How can I use the API for HSO to set the new speed and accelerat duration?
Hello,
I've use
X-CUBE-MCSDK v6.4.1
B-G473E-ZEST1S + STEVAL-LVLP01 + B-MOTOR-PMSMA1
with the HSO.
I can make it run with the GUI. But can't start the motor with API.
In the legacy, I use MC_ProgramSpeedRampMotor1(100, 1000); for 600 rpm within 1000 ms.
For HSO, I can't find the same API, but found that may need to use these:
MC_SetAccelerationMotor1()
MC_SetSpeedReferenceMotor1()
The question is how to calculate the value passing to these API, I found it different from the legacy.
Thank you.
