X-CUBE-MCSDK-FUL

Active

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

Get Software Download databrief
Overview
Tools & Software
Resources
Solutions
Quality & Reliability
Sales Briefcase
eDesignSuite
Get Started
Sample & Buy
Partner products
  • 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.

    Key Features

    • 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

Get Software

Featured Products

Recommended for you

Embedded Software

    • Part Number

      STM32Cube MCU Package for STM32G4 series (HAL, Low-Layer APIs and CMSIS (CORE, DSP, RTOS), USB, File system, RTOS, Graphic - coming with examples running on ST boards: STM32 Nucleo, Discovery kits and Evaluation boards)

    • Part Number

      STSPIN32F0 Field Oriented Control (FOC) Firmware Example

      Six-step motor driving library for STSPIN32F0 and STSPIN32F0A

Evaluation Tools

    • Part Number

      Discovery kit with STM32G431CB MCU

      STM32 Nucleo-64 development board with STM32F072RB MCU, supports Arduino and ST morpho connectivity

      STM32 Nucleo-64 development board with STM32F103RB MCU, supports Arduino and ST morpho connectivity

      STM32 Nucleo-64 development board with STM32F302R8 MCU, supports Arduino and ST morpho connectivity

      STM32 Nucleo-64 development board with STM32F303RE MCU, supports Arduino and ST morpho connectivity

      STM32 Nucleo-64 development board with STM32F401RE MCU, supports Arduino and ST morpho connectivity

      STM32 Nucleo-64 development board with STM32F446RE MCU, supports Arduino and ST morpho connectivity

      STM32 Nucleo-144 development board with STM32F746ZG MCU, supports Arduino, ST Zio and morpho connectivity

      STM32 Nucleo-64 development board with STM32L452RE MCU, supports Arduino and ST morpho connectivity

      Motor Control Nucleo Pack with NUCLEO-F302R8 and X-NUCLEO-IHM07M1

      Motor Control Nucleo Pack with NUCLEO-F302R8, X-NUCLEO-IHM07M1 and power supply

      Evaluation board with STM32F072VB MCU

      Evaluation board with STM32F303VE MCU

      Evaluation board with STM32F407IG MCU

      Evaluation board with STM32F417IG MCU

      Evaluation board with STM32F446ZE MCU

      Evaluation board with STM32F769NI MCU

      Evaluation board with STM32L476ZG MCU

    • Part Number

      Electronic speed controller reference design for drones

      STSPIN32F0 Advanced BLDC controller with embedded STM32 MCU evaluation board

      STSPIN32F0A advanced 3-phase BLDC driver with embedded STM32 MCU single shunt evaluation board

00 Files selected for download

Technical Documentation

    • Description Version Size Action
      DB3548
      STM32 MC SDK software expansion for STM32Cube
      1.0
      159.25 KB
      PDF
      DB3548

      STM32 MC SDK software expansion for STM32Cube

    • Description Version Size Action
      AN5166
      Guidelines for control and customization of power boards with STM32 MC SDK v5.0
      1.0
      322.69 KB
      PDF
      AN5143
      How to migrate motor control application software from SDK v4.3 to SDK v5.x
      3.0
      660.01 KB
      PDF
      AN5166

      Guidelines for control and customization of power boards with STM32 MC SDK v5.0

      AN5143

      How to migrate motor control application software from SDK v4.3 to SDK v5.x

    • Description Version Size Action
      UM2312
      Development checklist for STM32Cube Expansion Packages
      2.0
      306.99 KB
      PDF
      UM2285
      Development guidelines for STM32Cube Expansion Packages
      1.0
      485.46 KB
      PDF
      UM2374
      Getting started with STM32 motor control SDK v5.0
      3.0
      2.12 MB
      PDF
      UM2392
      STM32 motor control SDK
      1.0
      1.15 MB
      PDF
      UM2380
      STM32 motor control SDK v5.4 tools
      4.0
      5.52 MB
      PDF
      UM2312

      Development checklist for STM32Cube Expansion Packages

      UM2285

      Development guidelines for STM32Cube Expansion Packages

      UM2374

      Getting started with STM32 motor control SDK v5.0

      UM2392

      STM32 motor control SDK

      UM2380

      STM32 motor control SDK v5.4 tools

Presentations & Training Material

    • Description Version Size Action
      STM32 and STM8 embedded software solutions 7.0
      3.12 MB
      PDF

      STM32 and STM8 embedded software solutions

Publications and Collaterals

    • Description Version Size Action
      ST Motor Control Suite - All-in-One online tool for motor control resources 1.1
      771.96 KB
      PDF

      ST Motor Control Suite - All-in-One online tool for motor control resources

    • Description Version Size Action
      STM32 Open Development Environment Brochure 17.09
      1.21 MB
      PDF
      Sensor & motion algorithm software pack for STM32Cube 1.0
      544.58 KB
      PDF

      STM32 Open Development Environment Brochure

      Sensor & motion algorithm software pack for STM32Cube

Legal

    • Description Version Size Action
      SLA0048
      Mix Ultimate Liberty+OSS+3rd-party V1 - SOFTWARE LICENSE AGREEMENT
      5.7
      87.58 KB
      PDF
      SLA0048

      Mix Ultimate Liberty+OSS+3rd-party V1 - SOFTWARE LICENSE AGREEMENT