2025-01-13 07:00 PM
Hello Everybody,
MCSDK:6.3.0
CubeMX: 6.3.0
Workbench : 6.3.0
Motor Pilot : 1.2.9
Power Board : IHM08M1
Control Board : NUCLEO-G431RB
Motor : BL5702
I am now using Motor Pilot to adjust the speed. Below are part of the settings from Workbench:
a) Speed Sensing Selection : Observer +PLL(Sensorless)
b) Speed Sensing Config / Auxiliary Sensor - Speed Sensor Mode : Hall Sensor
c) Drive Settings : Open Loop OFF
d) Applicaion Configuration : Motor Profiler(Enable)
I followed the steps from STMicroelectronics/MC_SDK_6.3.0/Documentation under the Motor Profiler section. I started with Workbench to generate the project -> CubeMX GENERATE CODE -> CubeIDE to flash and run the program.
However, I noticed that the program gets stuck at TSK_HardwareFaultTask();. This prevents me from testing my Hall Sensor with Motor Pilot.
If I disable Speed Sensing Config / Auxiliary Sensor - Speed Sensor Mode : Hall Sensor and reflash the firmware, the program runs without issues. But when running Motor Pilot, I encounter a Speed Feedback Error.
Could you help me identify where I might have gone wrong in the process?
2025-01-13 07:02 PM
2025-01-14 01:46 AM
Hello @Vincent7,
Concerning the attached picture, it is mentioned that the used firmware has not been generated with the "motor profiler" enabled.