Skip to main content
Associate II
June 10, 2026
Question

STM32F405RGT6 Support in MCSDK Workbench for 48V BLDC Motor Control

  • June 10, 2026
  • 5 replies
  • 110 views

Hello ST Community,

I am working on a BLDC motor control project and would like to use STM32 Motor Control SDK (MCSDK) Workbench to generate firmware.

My Hardware Configuration
Motor Type: BLDC
Motor Voltage: 48V
MCU: STM32F405RGT6
Issue

When creating a new project in MCSDK Workbench, I cannot find my exact board/MCU configuration in the board selection list. Since the STM32F405RGT6 board is not available in the predefined options, I am unable to proceed with the standard project generation workflow.

Questions
Is STM32F405RGT6 officially supported by MCSDK Workbench?
If yes, how can I create a project for this MCU when it is not listed in the board selection menu?
Is there a way to add a custom board definition?
Where can I obtain the required board configuration/JSON file (if available)?
Can an existing board configuration be modified to support STM32F405RGT6?
If MCSDK does support this MCU, what is the recommended procedure for configuring:
PWM generation
Current sensing
Hall sensors / Sensorless control
BLDC motor parameters
Are there any example projects available for STM32F405RGT6 motor control using MCSDK?
Additional Information

My goal is to control a 48V BLDC motor using STM32F405RGT6 and generate the motor-control firmware through MCSDK Workbench rather than developing the entire control stack manually.

Any guidance regarding custom board support, JSON configuration files, or alternative approaches would be greatly appreciated. 

How to import MCU json file MCSDK 6.4.2. Give  Reference Manual.

Thank you.

Veerapandiyan V

5 replies

PANDI902Author
Associate II
June 12, 2026

Hi Team,
I am waiting for your reply.

Regards,
Veerapandiyan V.

PANDI902Author
Associate II
June 22, 2026

Hi Team,


I am waiting for your reply.

Regards,
Veerapandiyan V.

PANDI902Author
Associate II
June 30, 2026

Hi Team,
I am waiting for your reply.
Regards,
Veerapandiyan V.

GMA
ST Technical Moderator
June 30, 2026

Hello ​@PANDI902,

The list of microcontrollers (MCUs) that the MCSDK supports is defined in the release note document available through Workbench tool > About > Documentations > Documentation.

The attached STM32F405RGTx.json microcontroller (MCU) description file must be copied to ~\.st_workbench\hardware\mcu.

Define the control board description file by using the STMCBoardDesigner tool available in the MCSDK suite. It is possible to start by cloning an available control board.

 

If you agree with the answer, please accept it by clicking on 'Best answer'.Best regards.GMA
Visitor
July 17, 2026

Hello, I have copied the attached STM32F405RGTx.json microcontroller (MCU) description file to ~\.st_workbench\hardware\mcu. I also created a new inverter project using MotorControl Workbench 6.4.2, yet the code generation failed as shown in the figure below. Looking forward to your reply.

PANDI902Author
Associate II
July 20, 2026

Hello,

I have also tried implementing a 48V BLDC motor control project using the STM32F405RGT6, and I am currently facing a similar issue. While generating the motor drive code using the custom STM32F405RGTx.json configuration, I am getting errors and the code generation is failing.

I would like to clarify a few points:

  1. Are you also working on a BLDC motor control project using STM32F405RGT6?
  2. Are you using Hall sensor-based control or FOC (Field-Oriented Control)?
  3. If you are using Hall-based control, could you please share your code or approach?
  4. Have you observed any noise issues during motor operation? If yes, how did you resolve them?

Looking forward to your response.

Thank you.

GMA
ST Technical Moderator
July 22, 2026

Hello ​@PANDI902,

Unfortunately, for the STM32F4 series, adding the microcontroller (MCU) description file is not sufficient. Another method can generate a motor control project for an unsupported MCU. In the MC Workbench tool, generate a project for the supported NUCLEO-F401RE control board.

In the STM32CubeMX tool, perform the following steps:

  1. Create a new project with STM32F405RG.
  2. On the File menu, select Import Project, and then load the NUCLEO-F401RE .ioc file.
  3. Save the project.

Copy the NUCLEO-F401RE project ftl directory to the STM32F405RG project folder. In the STM32CubeMX tool, generate code for STM32F405RG. Adapt the generated project to the target configuration.

If you agree with the answer, please accept it by clicking on 'Best answer'.Best regards.GMA