2025-01-17 11:07 PM - last edited on 2025-04-21 2:07 AM by Amel NASRI
hi,
I have been trying to run PMSM motors with B-G431B-ESC1, I follow the steps given in the user manual,
1. I profile the motor and save the parameters
2. use the motor control workbench to generate a project, and generate source code,
3. run it in Cube IDE to flash it on the development board.
However, I am unable to run my motor with that source code. The motor doesn't even start. I also face inconsistency when running the motor with the same source code on different occasions. What could be the issue, and what should I do to resolve this issue?
since the profiler is working, where can I get a profiler code based on which the profiling .hex file is created to debug the issue?
Thank you,
Madhav
2025-04-21 11:30 PM
Hello,
What is your use case: Sensor less or not? What is the reported error is any? Refer to User Manual documentation available through "Workbench tool">About>Documentations>Documentation>"User manual" tab, "Firmware errors" link.
What do you mean by "I also face inconsistency when running the motor with the same source code on different occasions"? Is the motor able to spin?
Once profiling was done, did you generate a non-profiler project with the profiling result?