2023-04-28 12:58 PM - edited 2023-11-20 06:49 AM
Devkit: (B-G431B-ESC1)
Motor: (Pole pair = 3, (6 total magnets))
Hall Sensor: Honeywell SS41F, 40 mechanical degree placement and 120 electrical (odd mechanical placement due to 3 pole pair)
Software: MC SDK V6.
I am trying to use 6-step sensored control. I have a 3-pole pair (6 permanent magnets) motor. The hall sensors are placed 40 degrees apart mechanically so that I get 120-degree electrical spacing. The V5 and V6 MC SDK only support 120 and 60 mechanical degrees for hall sensor placement. I am wondering if this is contributing to my problem below.
The problem is that when I try to spin the motor up, I get speed feedback error in the MC SDK motor pilot tool.
I am able to spin the motor using L6235 no problem, instilling confidence in my motor and hall sensors.
I have tried all 6 combinations of phase wiring.
MC SDK 6 config attached
Any thoughts or ideas welcome.
Thanks,
-Sam Hansen
Thank you,
2023-05-01 07:10 AM - edited 2023-11-20 06:49 AM
Followup, the above code and post is based on MC SDK V6.0.0.
I see V6.1.1 has hall sensor built into profiler. I tried that, but problem is its greyed out.
Also, motor profiler was hard to get running see below:
Profiler gets stuck re-programming dev-kit as described here:
Profiler solution fix:
https://community.st.com/s/question/0D53W00002A1SntSAF/st-motor-pilotprofiler-will-not-connect