STM32 Ecosystem for Motor Control

Overview
SW Development Tools
Embedded Software
HW Tools
Products & Features
Resources

From hardware tools and embedded software to training resources and documentation, the STM32 ecosystem offers many tools to ease the development of motor control applications.

    STM32 MCUs' key features for motor control solutions:
  • Large 8-bit/32-bit portfolio supporting Motor Control requirements
  • Tailored digital and analog motor control peripherals
  • Temperature range from - 40 to + 125°C

STM32 MCUs are particularly suitable to develop Permanent Magnet Synchronous Motors (PMSM), Brushless DC motors (BLDC) and Stepper motors.

Development Tools

STM32 tools and software provide an integrated development environment to ease and support the design of motor control solutions.

ST-MC-SUITE

ST-MC-Suite is an online solution finder which offers easy access to all STM32 and STM8 MCU resources available for motor control applications, such as application notes, brochures, presentations, and magazine articles. A software wizard is included to help developers select relevant materials, add them to their bundle and download them in one click.

ST MOTOR PROFILER

ST Motor Profiler is a software tool that automatically measures the electrical parameters of PMSM and BLDC motors. It can be used to run an unknown motor from scratch in only few minutes. ST Motor Profiler is included in the X-Cube-MCSDK software development kit for STM32 device.

 

STM32Cube & MC Workbench

STM32Cube is a free set of tools and embedded software bricks for STM32 microcontrollers and microprocessors addressing all the needs of a complete project development cycle. It includes the STM32CubeMX configuration tool which enables the generation of C initialization code for Cortex-M cores. Motor Control Workbench (available in the X-CUBE-MCSDK) is linked with STM32CubeMX. Developers can open STM32CubeMX thru Motor Control Workbench during their Motor Control development to change STM32 configuration.

MCU MPU software development process

Embedded Software

X-CUBE-MCSDK

The X-CUBE-MCSDK STM32 motor control software development kit for 6-step BLDC motors / PMSM (FOC) solutions includes a Motor Control firmware library and its Graphical User Interface, the Motor Control Workbench, which can be used to configure the library.

STM32CubeG4

Based on the STM32G4 MCU series, the STM32CubeG4 MCU firmware package is tailored for motor control and switched-mode power supply applications. It includes the STM32Cube Hardware Abstraction Layer (HAL) and the Low-Layer (LL) APIs along with a consistent set of middleware components (RTOS, USB and FAT file system).

The Motor Control FW library (available in the X-CUBE-MCSDK) is based on the STM32Cube. Application examples included.

STSW-STM8020

This motor control firmware library for BLDC and AC Induction Motors, based on the mainstream STM8S and automotive STM8A microcontrollers, allows users to evaluate STM8 performance in controlling trapezoidal 6-step BLDC motors and in driving V/F control AC Induction Motors.

00 Files selected for download
Description Version Size Action
DN0005
A three phase induction motor drive using a V/F control
2.1
528KB
PDF
AN1946
Sensorless BLDC motor control and BEMF sampling methods with ST7MC.
2.4
653KB
PDF
AN2820
Driving bipolar stepper motors using a medium-density STM32F103xx microcontroller
2.5
326KB
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

STEPPER MOTORS SOLUTION

Hardware Tools

Hardware tools to evaluate STM32 MCUs in different Motor Control environments (in terms of power range) are available. ST-MC-SUITE wizard is a useful means to select the most appropriate solution for your application.

All our boards are listed in the ST-MC-SUITE tool.

Products & Key Features for Motor Control

The STM32 portfolio includes devices based on Arm® Cortex®-M cores (M0, M0+, M3, M33, M4, and M7). Thanks to the MCUs' shared ecosystem, developers benefit from enhanced flexibility to move forward with their motor control design. STM8 MCUs, our 8-bit family of microcontrollers, complement our offer and enable the design of very cost-sensitive motor control solutions.

Each STM32 series offers a different set of peripherals matching different Motor Control application requirements.

This is an extract of the ST Peripherals table. To see the complete table, click here

STM32 F3 series and G4 series

The STM32G4 series combines a 32-bit Arm® Cortex®-M4 core (with FPU and DSP instructions) running at 170 MHz combined with three different hardware accelerators, rich analog peripherals and advanced motor control timers to meet all motor control application requirements. These product series are ideal for Motor Control applications.

STSPIN32F0

The STSPIN32F0 is a System-In-Package providing an integrated solution suitable for driving three-phase BLDC motors using different driving modes. This product series combines an STM32F031 microcontroller with triple half-bridge gate driver able to drive power MOSFETs or IGBTs with a current capability of 600 mA (sink and source) as well as other analog components.

MOTOR CONTROL LIBRARY PERFORMANCE (PART OF THE X-CUBE-MCSDK)

Test case: PWM clock @ 20KHz with FOC sensorless control every 10KHz

FW Version Compiler Option

MCU

Current Sensing

Total Workload (%)

Max PWM Frequency (KHz)

FOC Lib (Kb)

ro data (b)

RAM (b)

Driver HAL (Kb)

Driver LL (Kb)

Total Code (+ HAL) (Kb)

Total Code (+ LL) (Kb)

5.4.2

High Speed

F103RB

3 Shunt

24%

25

11.4

1273

2983

5.5

 

17.4

 

 

1 Shunt

28%

21

12.8

1231

3083

5.5

 

18.7

 

F072RB

3 Shunt

51%

13

10.4

1239

2843

4.6

2.0

17.1

15.1

 

1 Shunt

58%

11

11.9

1197

2863

5.2

2.0

19.0

16.6

F303RE

3 Shunt

21%

30

12.6

3946

2679

8.0

3.2

23.4

18.0

 

1 Shunt

24%

25

13.3

4460

2715

8.2

3.2

24.1

18.7

F446RE

3 Shunt

9%

63

11.9

1271

2691

5.2

2.5

19.0

16.4

 

1 Shunt

11%

50

13.2

1218

2727

5.7

2.5

20.8

17.7

F746ZG

3 Shunt

8%

75

12.2

1264

2690

5.5

2.8

19.5

17.1

 

1 Shunt

9%

60

12.7

1188

2702

5.9

2.8

20.3

17.6

G071RB

3 Shunt

38%

16

10.6

1234

2849

6.4

2.5

19.1

15.8

 

1 Shunt

43%

14

11.7

1199

2853

9.1

2.5

23.4

16.9

G431B

3 Shunt

8% From CM-SRAM

78

13.3

3455

2691

8.9

3.1

22.9

18.5

 

1 Shunt

11% From CCM-SRAM

53

13.2

3848

2703

9.2

3.1

23.0

18.5

PRODUCT KEY FEATURES TO ENABLE MOTOR CONTROL

The Motor Control Library included in X-CUBE-MCSDK (today available for PMSM/BLDC motors) enables the features listed below.

Full Integration/configuration in MC Workbench tools:

FW Examples/No configuration possible in MC Workbench tools:

Resources

Getting started with STM32 Motor control SDK5.0

STMicroelectronics’ newly-released 5.0 version of the advanced Motor Control Software Development Kit (SDK) offers an improved development approach by integrating the Motor Control Workbench GUI with a workflow supporting the STM32CubeMX GUI configurator.

Getting Started with the NEW Motor Control Nucleo Pack

Getting Started with the P-NUCLEO-IHM001

Getting starting with P-NUCLEO-IHM03

The P-NUCLEO-IHM03 STM32 motor-control pack is a kit composed of the X-NUCLEO-IHM16M1 board, the NUCLEO-G431RB board, a brushless Gimbal motor (GBM2804H-100T), and the DC power supply.

STM32G4 series - Product overview

The STM32G4 Series combines a 32-bit Arm® Cortex®-M4 core (with FPU and DSP instructions) ru nning at 170 MHz combined with 3 different hardware accelerators: ART Accelerator™, CCM-SRAM routine booster and mathematical accelerators.

Massive Open Online Courses

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

サポート &フィードバック