How to run a pmsm using C-functions of mc_api.c?
I tried to run my motor (PMSM) bit it doesn't run.
I used like reference the document:
I use:
- STEVAL ESC001V1
- Motor Control Workbench 5.4.8
- Motor Profiler 5.4.8
- STM32CubeIDE 1.8.0
- STM32CubeMX
Firstly, I generated a code in Motor Control Workbech. In this code, I wrote the next code to run my motor but it didn't work. I don't know why because it didn't have any errors.
At the same time, I used "MC_GetSTMStateMotor1();" which showed me that I have 2 faults.
I need help pls!!
Kind regards
My code:
You
Currocan see the state motor here:
