Skip to main content
surendhar4046
Visitor II
October 15, 2025
Question

πŸ€–6-Step BLDC Motor Control on Custom STM32G431CBU6 Board

  • October 15, 2025
  • 1 reply
  • 255 views

We are currently working on a custom motor control project based on the STM32G431CBU6 microcontroller. Our goal is to implement 6-step BLDC motor control for an A2212/6T three-phase BLDC motor.

We have already referred to the online documentation and tried the available firmware examples from GitHub. However, the firmware did not perform as expected β€” the motor only vibrates briefly instead of running properly. We also sent a query earlier and were advised to use the community forum, but we have not received any valuable technical guidance or working firmware support so far.

To help your team understand our setup better, we have attached our schematics for both the microcontroller and GANFET boards.

We kindly request your technical assistance or reference firmware for 6-step motor control using the STM32G431CBU6. Any internal documentation, configuration guidance, or tested example code would be extremely helpful for progressing with our project.

Thank you for your time and support. We truly appreciate your help in resolving this issue.

1 reply

Fabrice LOUBEYRE
ST Employee
October 15, 2025

Hi @surendhar4046, are you using the STM32 MCSDK6.4.1 toolset for your custom motor control project?

The STM32 MCSDK6.4.1 toolset helps users create custom projects. A Board Designer tool, embedded in the MC Workbench tool, assists in creating the custom board ,json files required for the Motor Control software generation performed by the MC Workbench tool.

You can find the "user guide" in the "About > Documentationsection of the Board Designer tool, which provides guidance for the design process.

FabriceLOUBEYRE_1-1760521045829.png

 

Also, I recommend loading STM32 boards that meet your requirements and reviewing their implementation.

Following link to STM32 MCSDK6.4.1 X-CUBE-MCSDK | Product - STMicroelectronics

 

Best regards

Fabrice