cancel
Showing results for 
Search instead for 
Did you mean: 

How to change the MCSDK5.4.0 default speed step (6) to one(1) ?

Hank
Associate

In the MCSDK5.4.0, I want to improve the speed resolution ratio,the default is six;

I change the file of mc_stm_types.h, change the default SPEED_UNIT from _01HZ to _001HZ ;and the _RPM from 60 to 100. When I call the api MC_ProgramSpeedRampMotor1(600,4000),the motor can not work,but the pMCI[0]->hFinalSpeed is correct。When I use the _RPM default 60, the motor can work ,but the speed is wrong

1 REPLY 1
Laurent Ca...
Lead II

The question has been moved from the "Motor Control Hardware" section to the "STM32 Motor Control" section (the question is about the STM32 MC SDK). 

Best regards