STM32 Boost Industrial Upgrade
Jacky Lu
Microcontroller Digital Group
AP Region, STMicroelectronics
Industrial Automation System
The document showcases the STM32 microcontroller and microprocessor offerings for industrial applications. It begins with an overview of an Industrial Automation System, featuring an HMI (Human-Machine Interface) connected to PLCs (Programmable Logic Controllers) running STM32MP1/H7 processors. These PLCs communicate with an IO Expansion module (STM32G0) and a Motor Controller. The Motor Controller manages multiple axes, each equipped with a Servo, Stepper Motor Controller, or Inverter, and connected to Servos, Stepper Motors, or Motors, with feedback from Encoders.
Communication protocols highlighted include CANopen, EtherCAT, and EtherNet/IP.
STM32 MCUs & MPUs Overview
A comprehensive table presents the STM32 microcontroller and microprocessor families, categorized by performance and features:
- High Performance MCUs: STM32F2, STM32F4, STM32F3, STM32H7, STM32G4, STM32F7. These are detailed with their CoreMark scores and clock speeds.
- Main-Stream MCUs: STM32F0, STM32G0, STM32F1, STM32L1, STM32L4, STM32L4+. These are also presented with their CoreMark scores and clock speeds.
- Ultra Low Consumption MCUs: STM32L0.
- Wireless MCUs: STM32WL, STM32WB.
The document emphasizes the Arm Cortex core architecture, ranging from Cortex-M0 to Cortex-M7 and dual-core configurations, and notes the longevity commitment of 10 years for certain series.
Motor Control Applications
The presentation details STM32 solutions for Motor Control, highlighting specific product series and their capabilities:
- STM32G4/F4/H7 Series for Motor Control:
- STM32G4: Features a Cortex-M4 core at 170 MHz with a Math Accelerator and a full set of analog peripherals, including ADCs, comparators, op-amps, and DACs. It supports advanced motor control timers and DSMPS.
- STM32H723/725/733/735: High-performance MCUs with Cortex-M7 cores running at 550 MHz, offering features like FPU, dual cache, external memory interfaces, TFT-LCD controllers, and various communication peripherals (CAN FD, Ethernet MAC). These series also include crypto/hash accelerators and are available in different package options.
- STM32F407/446: Features Cortex-M4 at 168MHz, suitable for Servo applications.
- STM32F429/F7/H7: Offers Cortex-M4 at 180MHz and Cortex-M7 at 216MHz/480MHz, supporting PLC/HMI applications.
- STM32MP1: Features dual Cortex-A7 cores and a Cortex-M4 core, operating at 800MHz/650MHz, designed for PLC/HMI/Motion Control.
The document also illustrates the STM32 MCU Platform for Motor Drive, categorizing products into Single Core STM32H723/725/733/735 and Dual Core STM32H745/755.
STM32: DSMPS/Motor Control Upgrade
This section highlights the upgrade path for DSMPS (Digital Switch Mode Power Supply) and Motor Control applications using STM32 microcontrollers:
- STM32F3: Features CM4@72MHz and supports DSMPS.
- STM32G4: Features CM4@170MHz, Math Accelerator, and supports DSMPS.
- STM32F0/F1/F3: Suitable for 48MHz/72MHz operation, supporting CM0/CM4 cores for Motor Control/Industry applications.
- STM32G0/G4: Operate at 64MHz/170MHz with CM0/CM4 cores, offering Math Accelerator and support for Motor Control/Industry.
STM32G4 Series Features
The STM32G4 series is presented as a mainstream solution with enhanced analog peripherals and math acceleration capabilities. Key features include:
- STM32G474: 170 MHz M4 with Math-Accelerator and a full set of analog peripherals (ADCs, Comparators, Op-amps, DACs). It offers up to 512KB Flash, 32KB CCM-SRAM, and 96KB SRAM.
- STM32G4 Mass Production: A comparison table details the features of STM32G474 (High Resolution PWM), STM32G473 (Performance), and STM32G431 (Access), highlighting differences in Flash, RAM, ADC, Comparator, OPAMP, DAC, Motor Control Timers, and CAN-FD capabilities.
STM32G Series Pin-to-Pin Compatibility
The STM32G series offers 100% pin-to-pin and code compatibility across various models. A diagram illustrates the pin count and flash/RAM size configurations for different STM32G4 variants, including STM32G491KE, STM32G474CE, STM32G484CE, and others, available in different LQFP and BGA packages.
STM32 High Performance: Servo/PLC/HMI
This section focuses on high-performance STM32 families for Servo, PLC, and HMI applications:
- STM32F407/446: CM4@168MHz for Servo.
- STM32F429/F7/H7: CM4@180MHz, CM7@216MHz/480MHz for PLC/HMI.
- STM32F7/H7: CM7@550MHz with optional Math-Accelerator for Servo.
- STM32MP1: Dual Cortex-A7 + Cortex-M4 for PLC/HMI/Motion Control.
Performance benchmarks (DMIPS and Coremark) are presented for STM32H7/F7 series, showcasing their high processing capabilities.
STM32H72x_H73x Series
The STM32H72x_H73x series is detailed with its product lines, FCPU speed, Flash, RAM, and peripheral features. Key aspects include:
- STM32H725/STM32H735: 550 MHz FCPU, 1MB Flash, 564KB RAM, supporting OCTOSPI, Ethernet I/F, FD-CAN, Encryption, and available in Standard 85°C and 125°C temperature ranges.
- STM32H723/STM32H733: 550 MHz FCPU, 1MB Flash, 564KB RAM, with similar peripheral support and a Standard 85°C temperature range.
Common features include Cortex-M7 at 550MHz, external memory interfaces, TFT-LCD controller, USB OTG, Ethernet MAC, CAN FD, multiple timers, ADCs, PGAs, and RC oscillators. The series also supports crypto/hash acceleration.
STM32H72x/73x Package Compatibility
The document illustrates the package compatibility within the STM32H72x/73x series, showing pin-to-pin compatibility between H743 and H723, and H745 and H725. Various package options like LQFP, TFBGA, UFBGA, and VFQFN are presented with their dimensions.
STM32G4 and STM32H7 Eco-System
The presentation highlights the STM32G4 and STM32H7 eco-system, including hardware tools to speed up development and time to market. These tools include:
- Nucleo-G431RB
- STM32G4 Evaluation Board
- Motor Control P-NUCLEO-IHM03
- B-G474E-DPOW1*, B-G431B-ESC1*
- NUCLEO-H723ZG
- STM32H735G-DK
The Motor Control SW Lib SDK (v5.4) is mentioned as supporting STM32G4.
MC SDK5.x: Motor Control SW Solution Library
The document describes the MC SDK5.x as a Motor Control Software solution library, comprising a SW Layer (STM32 MC SDK5.x + STM32 Cube), a Hardware Layer (STM32 + Motor Control Code), and an Application Layer (motor and industrial equipment).
STM32 MC SDK5.4 Features
Key features of the STM32 MC SDK5.4 are presented:
- Motor Parameter Auto Profile
- Real-time Debug capabilities with graphical indicators.
- Support for various STM32 families (STM32F0, F1, F3, F4, F7, H7, L4, G0, G4).
- Thanks to STM32CubeMX, it enables auto-generation of Motor Control Code.
- Support for Sensor-Less / Sensor Mode and Full FOC Source Code.
A project structure example is shown, indicating the organization of code within the SDK.
Motor Control Training Course
Information is provided on a Motor Control Training Course, including:
- Basic Course Info
- Web Version: www.stmcu.com.cn
- Motor control solution reference: https://www.st.com/st-mc-suite/home/#/index
- Motor control video: AI e-course (Wechat)
The document also lists various Chinese resources related to STM32 motor control applications, including training courseware and videos.
SIL Functional Safety Package For STM32 X-CUBE-STL Self-test Libraries
The SIL Functional Safety Package for STM32, X-CUBE-STL Self-test Libraries, is described as a software-based diagnostic suite designed to detect random hardware failures in safety-critical STM32 core components. Key features include:
- Diagnostic coverage verified by ST proprietary fault injection methodology.
- Application independent and compiler independent.
- Certified by TÜV Rheinland and compliant with IEC 61508 SC3.
- Provided with safety manual and user guide.
The availability of these libraries for various STM32 series is mentioned, along with a development roadmap indicating future releases.
Thank you
The presentation concludes with a thank you message and copyright information from STMicroelectronics.