cancel
Showing results for 
Search instead for 
Did you mean: 

6 Step Sensored MC SDK 6 Issues

SamHansen42
Associate III

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.


_legacyfs_online_stmicro_images_0693W00000bj3eHQAQ.png 

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,

1 REPLY 1
SamHansen42
Associate III

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.


_legacyfs_online_stmicro_images_0693W00000bj8kUQAQ.pngAlso, motor profiler was hard to get running see below:

Profiler gets stuck re-programming dev-kit as described here:

https://community.st.com/s/question/0D53W00002EtFP6SAN/how-do-i-operate-motor-profiler-from-motor-pilot-v115

Profiler solution fix:

https://community.st.com/s/question/0D53W00002A1SntSAF/st-motor-pilotprofiler-will-not-connect


_legacyfs_online_stmicro_images_0693W00000bj8jvQAA.png