AnsweredAssumed Answered

STM32 PMSM FOC set Speed in rpm

Question asked by Machfax on Oct 15, 2014
Latest reply on Nov 20, 2014 by shuai.chen.002
Hi

I need to set the speed in my application in rpm. Better in tenth of rpm.
I found the routine: UI_ExecSpeedRamp()

To use this function in my file what I need to implement and define?

bool UI_ExecSpeedRamp(CUI this, int32_t wFinalMecSpeedRPM, uint16_t hDurationms);

The CUI how do I implement this one? And which header do I need?

If I use the function:
oUI = UI_NewObject(MC_NULL);
I get the Error:
Error[Li005]: no definition for "UI_NewObject"


Thanks a lot, best Regards

Outcomes