cancel
Showing results for 
Search instead for 
Did you mean: 

B-G431B-ESC1 sensorless example just makes motor beep

skip_shane
Associate II

I'm trying to use the dev kit to run a BLDC motor in sensorless mode using the default MCW project.  When the motor starts up I hear a high pitch chirp and then the firmware repeditively tries to spin the motor which results in more periodic chirps.  Here's a link to a video: https://drive.google.com/file/d/1Gm4Ks_ejrTA_0d9IWSSXPMtr5tzbqC_3/view?usp=sharing

 

MC Workbench v6.2

CubeMX version 6.9.2

CubeIDE version 1.14.0

 

The only other thing I tried is changing the pole pairs from the default 2 to our motor's 12 pole pairs.

 

 

2 REPLIES 2
cedric H
ST Employee

Hello,

For your info, the firmware does not try to spin the motor. It makes the motor beeping to help you to find your drone in case you lost it for instance ;).

Before going further, could you please read the two highlighted chapters of the documentation:

cedricH_0-1702488405019.png

It will allow you to understand the basics of our solution and how to profile your motor to make it works with our FOC algorithm.

The second document I would advise you to read is the user manual of the board you bought:

https://www.st.com/resource/en/user_manual/um2516-electronic-speed-controller-discovery-kit-for-drones-with-stm32g431cb-stmicroelectronics.pdf

If you enable the PWM input control, then, you must apply a PWM signal on the PWM input pin. If you want to give it a try just with the MC Pilot tool, then you can disable the PWM Input control, and control the motor with your PC.

Regards

Cedric

 

 

Will do, thank you!