Motor Profiler - Motor Won't Spin - (from MC Workbench 6.2.0)
- March 25, 2024
- 2 replies
- 1620 views
Hi,
This is my first post on the forum so my apologies if I’m doing something wrong.
OS:
Windows 10 64-bit
Software:
STM32CubeIDE 1.14.1
Motor Control Workbench 6.2.0
ST Motor Pilot v1.2.4
Hardware:
Dev Kit: P-NUCLEO-IHM002
Control Board: NUCLEO-F302R8
MCU: STM32F302R8
Power Board: X-NUCLEO-IHM07M1
Motor: Bull Running BR2804-1700kv
Problem Description:
The motor does not spin when I run the profiler using Motor Pilot v1.2.4. I can see the motor momentary jerks but it doesn’t spin and consequently the profiler fails. I have followed the profiler setup in ST Motor Pilot v1.2.4 > Help > Profiler Documentation. The profiler firmware is generated. I have compiled and uploaded the generated code with STM32CubeIDE 1.14.1. No errors or warnings are generated. When I start the profiler it hangs at 28% - the motor never rotates. See attached screenshots
In contrast I have no problems when using the Motor Pilot instead of the Motor Profiler. With the Motor Pilot the motor spins and I can adjust the speed from the GUI.
Questions:
- What is the problem stopping the Motor Profiler from working?
- How do I fix this problem?
- It appears that the code generated for the Motor Profiler (tick the "Motor Profiler" feature into the "Application configuration") does not work with the Motor Pilot – and code generated for the Motor Pilot does not work with the Motor Profiler. Is this correct? I didn’t see this mentioned in the documentation.
Thanks:
If anyone from ST sees this message then I want to say a sincere thank you to ST for providing all the excellent tools, software and documentation – for free! A very intelligent business decision and I’m grateful.
