2025-10-14 11:07 PM
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.
2025-10-15 2:39 AM
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 > Documentation" section of the Board Designer tool, which provides guidance for the design process.
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