Skip to main content
Associate II
December 13, 2023
Question

B-G431B-ESC1 sensorless example just makes motor beep

  • December 13, 2023
  • 1 reply
  • 1612 views

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.

 

 

    This topic has been closed for replies.

    1 reply

    cedric H
    Technical Moderator
    December 13, 2023

    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

     

     

    Associate II
    December 13, 2023

    Will do, thank you!