AnsweredAssumed Answered

Problem with FOC Lib 4.0 examples

Question asked by David_Lin on Jun 25, 2015
Latest reply on Jun 25, 2015 by Gigi
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?

Outcomes