STM32 Motor Control Software Development Kit (MCSDK)

STM32 microcontrollers offer the performance of the industry-standard Arm® Cortex®-M cores running either Vector control or FOC modes, widely used in high-performance drives for air conditioning, home appliances, drones, building and industrial automation, medical and e-bike applications.

STM32 MC SDK (motor control software development kit) firmware (X-CUBE-MCSDK and X-CUBE-MCSDK-FUL) includes the Permanent-magnet synchronous motor (PMSM) firmware library (FOC control) and the STM32 Motor Control Workbench (to configure the FOC firmware library parameters), with its graphical user interface (GUI).

STM32 Motor Control Workbench is PC software that reduces the design effort and time needed for the STM32 PMSM FOC firmware configuration.

The user generates a project file through the GUI, and initializes the library according to the application needs. Some of the variables of the algorithm being used can be monitored and changed in real time.


  • Single/Dual simultaneous field-oriented control (FOC)
  • Motor profiler and One-touch tuning for a fast startup of unknown motors
  • Simplified firmware architecture based on the STM32Cube HAL/LL libraries
  • Current reading topologies supported:
    • 1 shunt resistor
    • 3 shunt resistors
    • 2 ICS (Isolated Current Sensor)
  • Speed/position sensors (Encoder and Hall) as well as sensor-less operation (state observer) supported
  • On-the-fly startup for fans
  • Speed and torque control
  • Motor control algorithms implemented for specific applications, among them MTPA (maximum torque per ampere), Flux weakening, Feed forward and Start-on-the-fly
  • Full customization and real time communication through STM32 Motor Control Workbench PC software
    • New project creation starting from the board
    • Workflow supporting the STM32CubeMX GUI configurator
    • Wide range of STM32 microcontrollers supported





Description 版本 文档大小
DB3548 DB3548: STM32 MC SDK software expansion for STM32Cube 1.0 159.25 KB
Description 版本 文档大小
AN5166 AN5166: STM32 MC SDK v5.0电源板的控制和自定义指南 1.0 406.61 KB
AN5143 AN5143: 如何将电机控制应用程序软件从 SDK v4.3 迁移至 SDK v5.x 1.0 565.38 KB
Description 版本 文档大小
UM2312 UM2312: Development checklist for STM32Cube Expansion Packages 1.0 283.23 KB
UM2285 UM2285: Development guidelines for STM32Cube Expansion Packages 1.0 485.46 KB
UM2374 UM2374: STM32电机控制SDK v5.0入门指南 1.0 2.26 MB
UM2392 UM2392: STM32 motor control SDK 1.0 1.15 MB
UM2380 UM2380: STM32电机控制SDK v5.1工具 1.0 6.01 MB


Description 版本 文档大小
STM32 and STM8 embedded software solutions 7.0 3.12 MB


Description 版本 文档大小
ST Motor Control Suite - All-in-One online tool for motor control resources 1.1 771.96 KB
Description 版本 文档大小
STM32 Open Development Environment Brochure 17.09 1.21 MB
Sensor & motion algorithm software pack for STM32Cube 1.0 544.58 KB


Description 版本 文档大小
SLA0048 SLA0048: Mix Ultimate Liberty+OSS+3rd-party V1 - SOFTWARE LICENSE AGREEMENT 5.2 87.58 KB


MCU & MPU Embedded Software
Motor Control IC Software
Product Evaluation Tools


型号 General Description Software Version Supplier Marketing Status GitHub link 下载
X-CUBE-MCSDK STM32 Motor Control Software Development Kit (MCSDK) 5.3.3 ST Active -


精选 产品