STM32 Ecosystem for Motor Control

Overview
Products supported
Evaluation tools
Software tools and embedded software
Resources
 

From hardware boards and software tools to embedded software, training, and documentation, the STM32 ecosystem gives developers the support they need to accelerate motor-control application development.

Products supported

A broad portfolio of STM32 and STM8 32-bit and 8-bit microcontrollers that supports a wide range of motor-control requirements, along with integrated system-in-package solutions.

Software tools

Software tools and embedded software that provide an integrated environment to simplify and accelerate development.

Hardware tools

A broad range of boards for evaluating STM32 microcontrollers in different motor-control environments.

Resources

Documentation, online training, community support, videos, and more.

Development Flow

Products supported

The STM32 portfolio includes devices based on Arm® Cortex®-M cores (M0, M0+, M3, M33, M4, and M7). A shared ecosystem across the portfolio gives developers the flexibility to advance and scale their motor-control designs. STM32 microcontrollers are well suited to permanent magnet synchronous motors (PMSM), brushless DC motors (BLDC), AC induction motors (ACIM), and stepper motors.

Our STM8 8-bit microcontrollers complement the STM32 portfolio and enable highly cost-sensitive motor-control designs.

Each STM32 series offers a different set of peripherals to address specific motor-control application requirements.

We also offer integrated system-in-package solutions for a range of motor-control configurations:

  • The STSPIN32F0 supports three-phase BLDC motors across different driving modes. The series combines an STM32F031 microcontroller, a triple half-bridge gate driver for power MOSFETs or IGBTs with 600 mA sink and source current capability, and additional analog components.
  • The STSPIN32G0 series supports three-phase brushless motors across different driving modes. It combines an advanced three-phase gate driver for power MOSFETs or IGBTs with an STM32G031 microcontroller featuring 64 KB of Flash memory and 8 KB of SRAM. Integrated power management and analog components make the STSPIN32G0 a convenient, efficient choice for motor-control designs.
  • The STSPIN32G4 supports high-end three-phase brushless motor applications with greater processing capability and a high-performance gate driver. The series combines an STM32G431 microcontroller, an advanced triple half-bridge gate driver, and power management in a compact 9 × 9 mm QFN package.

Hardware tools

Recommended boards supported by X-CUBE-MCSDK:

Software tools and embedded software

The STM32Cube ecosystem provides an integrated development environment that helps developers design motor-control solutions more easily and efficiently.

X-CUBE-MCSDK

X-CUBE-MCSDK is a motor-control software development kit for six-step BLDC motor and PMSM field-oriented control (FOC) solutions. It includes:

  • Motor Control Workbench: a graphical interface for configuring the motor-control firmware library. Developers can open STM32CubeMX directly from Motor Control Workbench to adjust the STM32 configuration as their design evolves.
  • Motor Profiler: a software tool that automatically measures the electrical parameters of PMSM and BLDC motors, helping developers start an unknown motor from scratch in just a few minutes.
  • Motor Pilot: a monitoring tool for controlling, monitoring, and tuning motor-control applications.

STM32 ZeST and HSO algorithms

In PMSM and BLDC motors using field-oriented control (FOC), sensors determine the rotor position needed for precise motor control. Observer algorithms can replace these sensors, enabling sensorless control. However, conventional observer algorithms perform well at high speed but are less effective at low or very low speed.

Together, STM32 ZeST (zero-speed full torque) and the high-sensitivity observer (HSO) algorithm enable sensorless control of BLDC and PMSM motors from zero to high speed. Because both are software algorithms, they remove the need for additional motor-control sensors.

HSO is available in X-CUBE-MCSDK. STM32 ZeST is currently available to selected customers only. To learn more, contact your ST sales office.

STSW-STM8020

This motor-control firmware library for BLDC and AC induction motors is based on mainstream STM8S and automotive STM8A microcontrollers. It helps developers evaluate STM8 performance for trapezoidal six-step BLDC motor control and V/F control of AC induction motors.

Resources

Documentation

00 Files selected for download
  Description Version Size Action
AN6569
Motor control architectures for humanoid robot joints
1.0
2.8MB
PDF
AN6570
Motor control architectures for dexterous humanoid robot hands
1.0
2.3MB
PDF
DN0005

A three phase induction motor drive using a V/F control

AN1946

Sensorless BLDC motor control and BEMF sampling methods with ST7MC

AN2820

Driving bipolar stepper motors using a medium-density STM32F103xx microcontroller

Other Resources

Motor Control MOOC

STM32 online training courses in MOOC format to help you design with ST products, software and tools.

Get involved in the STM32 Community

Ask questions, share projects and collaborate with your fellow community members.

Fundamentals of Motor Control

Motor Control reference guide

Motor Control reference guide