2025-12-02 10:41 PM
Development environment
Motor control workbench Version: 6.4.0
STM32CubeMX Version: 6.16.0
STM32CubeIDE Version: 2.00.0
Controler/Driver: B-G431B-ESC1 kit
I want to drive a 30W BLDC motor using the B-G431B-ESC1 kit.
I'm currently following the instructions in the UM2516 user manual on the ST website:
Chapter 6, "Connection and first execution of the electronic speed controller (ESC) program"
6.1 First case: daughterboard not removed
3. Generate and upload the firmware code into the STM32G431CB MCU with the available IDE tool.
I selected the "B-G431B-ESC1" sample project in MC WorkBench, ran "Generate the Project," then launched "CubeMX" and then "Code Generate" to generate the project.
Up to this point, there were no issues.
After opening the project in "CubeIDE," I tried to run "Build," but
the "Build" commands were not enabled.
I don't know what the problem is.
Is there a more detailed guide for using the "B-G431B-ESC1"?
(The UM2516 documentation is insufficient.)
Please help
2025-12-02 10:46 PM
Additionally, I understand that firmware can be uploaded to the STM32g4 via the USB port. However, when I connect the USB cable to the PC, I get a message saying the USB device is not recognized. Do I need to install a separate USB driver?