cancel
Showing results for 
Search instead for 
Did you mean: 

FOC steps in code in NUCLEO-IHM07M1

tejas_amp
Associate III

Sorry for any silly questions asked, but please help since I am actually a beginner.

Ques: I can see most of the FOC steps are inside "FOC_CurrControllerM1" function. And we just add below code in main() for motor to start and run:

 

MC_ProgramSpeedRampMotor1(RPM_2_SPEED_UNIT(1200), 2000);

MC_StartMotor1();

MC_StopMotor1();


But I want to know from below code where does "FOC_CurrControllerM1" called? How this code is following FOC Algorithm flow ?

 

I am using NUCLEO-IHM07M1.

 

 

 

0 REPLIES 0