2015-06-25 12:14 AM
I started to learn to use FOC Lib 4.0 to control a PMSM motor with encoder. I used MC workbench to configure the HW and generated code to SystemDriveParams, then I used the example project for STM32F30x_Workspace.uvmpw since I am using STM32303C-EVAL. Then the project is compiled and downloaded successfully. However, the motor has no response at all. After checking main.c file, I noticed there is no code related with motor control in main(void).
Did I miss anything in the process? How can I make the motor running? #foc2015-06-25 12:44 AM
The entry point of the MC Lib are the MCBoot function in main.c (to create and initialize all relate MC objects) and the Interrupt Service Routine someting in the stm32fxxx_MC_it.c and in Time Base
Ciao Gigi2021-06-27 9:05 PM
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
We’re moving the ST Community to a new platform to give you a better and more reliable community experience.