FOC steps in code in NUCLEO-IHM07M1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2024-11-20 8:40 PM
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.
- Labels:
-
FOC
-
MC Workbench
-
STM32 Motor Control
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2024-11-26 6:38 AM
Hello @tejas_amp,
Architecture is described in User Manual documentation available through "Workbench tool">About>Documentations>Documentation>"User manual", "Motor Control Firmware architecture" link.
Using STM32CubeIIDE, right click on function and select "open call hierarchy".
On "Call Hierarchy", you can select "Show Callers" ot "Show Calles".
Best regards.
GMA
