STM32 Motor Control Software Development Kit (MCSDK) - FULL source code - Registration and approbation needed for download

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: Guidelines for control and customization of power boards with STM32 MC SDK v5.0 1.0 322.69 KB
AN5143 AN5143: How to migrate motor control application software from SDK v4.3 to SDK v5.x 3.0 660.01 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: Getting started with STM32 motor control SDK v5.0 3.0 2.12 MB
UM2392 UM2392: STM32 motor control SDK 1.0 1.15 MB
UM2380 UM2380: STM32 motor control SDK v5.2 tools 3.0 4.98 MB

プレゼンテーション & トレーニング資料

Description バージョン サイズ
STM32 and STM8 embedded software solutions 7.0 3.12 MB

Publications and Collaterals

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 16.10 1.09 MB
Sensor & motion algorithm software pack for STM32Cube 1.0 675.19 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-FUL STM32 Motor Control Software Development Kit (MCSDK) - FULL source code - Registration and approbation needed for download 5.3.3 ST Active -


サポート & コミュニティ