STM32G4 series - Enabling advanced mixed-signed applications

STM32G4 series - Enabling advanced ...

STM32G4 series - Enabling advanced mixed-signed ...

3 avr. 2024 — 1% RC accuracy [-5°..90°C], 2% full range. • ADC with hardware oversampling = 16-bit res. • Renewed op-amp, DAC, Comparator.

PDF preview unavailable. Download the PDF instead.

microcontrollers-stm32g4-series-product-overview
STM32G4 series
Enabling advanced mixed-signed applications

The STM32 portfolio

Five product categories

Wireless MCU

Ultra-low-power MCU

Mainstream MCU

Short- and long-range connectivity

32-bit general-purpose microcontrollers: from 75 to 3,224 CoreMark score

High-performance MCU

Embedded MPU

32- and 64-bit microprocessors

Enabling edge AI solutions

Scalable security

MPU portfolio

2

MCU portfolio

STM32G4 series
Ideal for applications requiring advanced analog peripherals
Control applications (motor control...)
Industrial equipment
Instrumentation and measurement Digital power
· Digital SMPS (switch mode power supply) · PFC (power factor correction)
3

STM32G4 series for mixed-signal applications

Performance
170 MHz Arm® Cortex®-M4 combined with three accelerators 213 DMIPS and 569 CoreMark results

Rich integrated analog & digital peripherals
5 x 12-bit ADCs 4 Msps with 16-bit hardware oversampling CAN-FD (flexible data rate ­ 8 Msps bit rate) DACs, op amps, comparators

Safety and security focus
SIL and CLASS-B safety packages, including a self-test library Arm® PSA Level 1 logical security certification

A wide offering

MCUs with 32 to 512 Kbytes of flash memory

Available in 32- to 128-pin packages

Support from -40 up to 125°C temperature

4

Measurement and control

High performance
Arm® Cortex®-M4 + FPU running @ 170MHz + 3x accelerators: ART, routine booster (CCM), Math. accelerator (Cordic and FMAC)
7x comparators
Down to 19 ns propagation delay
5 x ADC
5x12-bit, 16-bit oversampling 4 MSPS (0.25µs)
7 x DAC
12-bit DAC 15 Msps

STM32G4

Motor control timer & high-resolution Timer (D-Power)
12 channels up to 184 ps resolution

Security
Arm PSA Level 1 logical security certification
USB Type-C® Power Delivery
High robustness
Highly immune to fast transients Robust IOs against negative injections
Functional Safety
SIL and CLASSB Safety Packages, including Self-Test Library
FD CAN
Up to 3 instances Payload bit rate 8 times bigger than standard CAN

High temperature

from -40°C up to + 125°C

5

Reducing PCB size and BOM cost

Temperature sensor
RTC XTAL Op Amps

DACs Filters
Standard MCU
ADCs Comparators
Project cost $$$

Smaller package Fewer additional components All analog peripherals included
STM32G4
Project cost $

6

STM32G4 builds on the STM32F3 MCU series

STM32F3

Increased robustness, safety, and security
· EMC (EMI, EMS)  continuous improvement
· Dual Bank flash memory with ECC (Live firmware upgrade)
· Hardware encryption AES · Securable memory area
Gain in performance
· 170 MHz even from internal oscill. (213 DMIPS) 1. ART Accelerator (~dynamic cache) 2. CCM-SRAM routine booster (~static cache) 3. Mathematical accelerator (Trigo, Filtering)
· Better dynamic power consumption (160µA/Mhz) = ~2.7 times lower than F3 series

Extended peripheral set and architecture
· 1% RC accuracy [-5°..90°C], 2% full range
· ADC with hardware oversampling = 16-bit res.
· Renewed op-amp, DAC, Comparator · New HR timer features (digital part) · MC timer improvements (encoder
mode...) · USB Type-C® with Power Delivery incl.
PHY · CAN FD (flexible data-rate) · Ta: 85° up to 125°C (limited conditions)
STM32F3 portfolio extension
· D-Power portfolio (STM32F334) extension
· NEW 80-pin and 128-pin packages (LQFP)

STM32G4
7

170 MHz CPU performance (Arm® Cortex®-M4) with three accelerators

Number of Wait States
CPU Clock (MHz)

0

1

2

3

4

34

68

102

136

170

Greater performance
Arm® Cortex®-M4 with FPU Up to 170 MHz CPU frequency Up to 213 DMIPS and 569 CoreMark® results 3 different hardware accelerators:
· ART Accelerator (~dynamic cache)  full code acceleration (average)
· Routine booster CCM-SRAM (~static cache)  determinism preserved
· Mathematical (Cordic + FMAC)
8

Mathematical accelerators

Function acceleration and CPU offload

1. Cordic (Trigo)
· Very helpful for field oriented motor control method (FOC)

· Vector rotation (polar to rectangular): Sin, Cos

· Vector translation (rectangular to polar): Atan2, modulus

· Sinh, Cosh, Exp

· Atan, Atanh

· Square root · Ln

FIR filter

IIR filter

2. Filter math accelerator (FMAC)
· Can be used to create
· 3p3z compensator ( digital power) · Sigma Delta modulator · Noise shaper
9

Rich, advanced analog peripherals

Mixed-signal SoC for a wide variety of applications

ADC (up to 5)
Topology
Sampling rate Input Offset and Gain compensation
DAC (up to 7)
Sampling rate
Settling time

Values
SAR 12-bit + hardware oversampling  16-bit Up to 4 Msps
Single-ended and differential Auto calibration to reduce gain and offset
Values
15 Msps (internal) 1 Msps (from buffered output) 16 ns

Op-Amp (up to 6)
GBW Slew rate Offset
PGA Gain (accuracy)

Values
13 MHz 45 V/µs 3 mV over full T° range 1.5 mV @ 25°C 2, 4, 8, 16, -1, -3, -7, -15 (1%) 32, 64, -31, -63 (2%)

Comparator (up to 7)
Power supply Propagation delay Offset Hysteresis

Values
1.62 .. 3.6 V 16.7 ns -6 .. +2 mV 8 steps: 0, 9, 18, 27, 36, 45, 54, 63 mV

10

Set
point + -

-

Arm® Cortex®-M4 core @ 170 MHz · FPU
· Enhance dynamics · No scaling overhead · No saturation · DSP (fast MAC) · SIMD · Parallel processing · Low interrupt latency
ST's product architecture · ART Accelerator
· Wait state removal · CCM-SRAM accelerator
· Real time execution · Math accelerator
· Cordic (Trigo) · FMAC (filtering)

5x 12-bit 4 Msps ADC · SAR (no pipeline delay) · Low latency (250 ns) · Low aperture time (20 ns) for snapshot measurements · Simultaneous sampling on multiple ADCs · Hardware oversampling

Shaped for control

PWM Timers * 170 MHz (5.9 ns) * HRTIM (184 ps)

PWM

PLANT

Direct hardware path (no latency) · Instantaneous control load · Protection

+
7xComp
-

7xDAC

Multiple fast comparators

6x PGA

High BdW Low offset Prog. Gain

Other timers · Quad encoder · Hall-effect sensors

Analog feedback Digital feedback

Easy use of the analog and digital resources thanks to high peripheral interconnect and flexible bus matrix
11

Key features for targeted applications

· Fast CPU 170 MHz · Mathematical accelerator (Cordic) · Advanced Motor Control timers · Fast comparators · 4 Msps ADC-12bit + hardware
oversampling
· Op-Amp with built-in gain (PGA) · DAC-12bit · 1% RC accuracy
(UART communication w/o external Xtal)

Motor Control
Home appliances, e-bikes, air conditioning

High-end consumer
Rechargeable devices, drones, toys

· Low-thickness, small form-factor · Low consumption in run mode ~
160 µA/MHz
· Embedded analog · SAI (Serial Audio Interface) · USB Type-C® Power Delivery 3.0

· Fast CPU 170 MHz · Mathematical accelerator (Cordic) · High temperature 125°C · CAN FD support · SPI, USART, I²C · Advanced timers · Real-time clock with backup registers · Dual bank flash for live upgrade · AES & security

Industrial devices
Industrial equipment

Digital power
Servers, telecom, EV charging stations

· Fast CPU 170 MHz · Mathematical accelerator (Filtering) · 12ch high-resolution timer (184 ps) · 4 Msps ADC-12bit + hardware
oversampling
· Fast comparators (17 ns) · Embedded analog · Dual bank flash for live upgrade · AES & security · FMAC (for type II / III compensator)

12

Simplifying digital power conversion

Charging session

Welding

Industrial UPS

Telecom power

STM32G4

Power factor correction

Motor control Lighting

Servers and data centers
PV inverters

Enhance your digital power solutions using the STM32G4
high-resolution timer (HRTIM)
13

HRTimer ­ High resolution and much more
High resolution PWM
· 12 channels with 184 ps resolution on frequency and duty cycle · 184 ps is equivalent to a 5.4GHz timer clock
Flexible PWM generation
· 7 x independent time base to create various shape of PWM · 6 x complementary pair PWM outputs · Up to 32 set/reset transitions per PWM period thanks to the built-in crossbar · Controller/target configuration for multi phase converter
Multiple Event handlers
· 6 x digital and analog fault input · 10 x events cycle to cycle current control or PWM restart (constant Ton/Toff) · Blanking, windowing, and digital filter
12 independent channels
· Any topology supported from 1x 12 PWM (triple interleaved LLC (server application) up to 12 x 1 PWM (multiple independent buck converters (lighting))
14

User Flash

Bank1

Bank2

Integrated security features

Securable memory
area

Securable memory
area

Securable memory area: · Configurable size · Can be secured once exiting
· No more access nor debugging possible
· Good fit to store critical data
· Critical routines · Keys

15

Dynamic efficiency modes

Wake-up time

268 µs

VBAT*
SHUTDOWN*

6 nA / 720 nA
43 nA / 565 nA

Tamper: few I/Os, RTC Wake-up sources: reset pin, few I/Os, RTC

30 µs 9.5 µs 11 cycles

STANDBY*

130 nA / 885 nA

Wake-up sources: + BOR, IWDG

STOP 1 (full SRAM retention)

80 µA

Wake-up sources:+ all I/Os, PVD, COMPs, LPUART, LPTIM, I²C, UART, USB

SLEEP

37 µA / MHz

Wake-up sources: any interrupt or event

RUN (Range1) at 150 MHz from Flash

163 µA / MHz

RUN (Range1 boost) at 170 MHz from Flash

173 µA / MHz

Conditions: 25°C, VDD = 3 V Note: * without RTC / with RTC

16

Extensive peripheral set

Unit parameters Core, frequency Flash (max) RAM (up to) CCM ­SRAM (code-SRAM) 12-bit ADC SAR Comparator

STM32G4x1 Access line

STM32G474 Hi-Resolution line

STM32G473 Performance line

Arm® Cortex®-M4, 170 MHz

Up to 512 Kbytes single bank

512 Kbytes (2x256 KB dual bank)

Up to 96 Kbytes

96 Kbytes

Up to 16 Kbytes

32 Kbytes

Up to 3x 12-bit 4 MSPS
4

5x 12-bit 4 MSPS
7

Op Amp with 4 built-in gain values with 1% accuracy

Up to 4

6

12-bit DAC Motor Control timer CAN-FD

4 Up to 3x (170 MHz)
Up to 2x

7 3x (170 MHz)
3x

12 channel hi-resolution timer

-

1x

-

Power supply

1.72 to 3.6 V

17

Performance and access lines

Memory

Analog

512 KB

STM32G4x3 Performance line

32 KB

STM32G4x1 Access line
STM32F30x

32-pin

128-pin

Pin count

STM32G4 products lines

Memory
512 KB
32 KB

High resolution line Digital Power
STM32G4x4 Hi-Resolution line
STM32F334

32-pin

128-pin

Pin Count

18

STM32G474/3 block diagram
High-resolution and high-performance lines (128 to 512 Kbytes)

for motor control for digital power

Advanced Accelerator Advanced Analog Advanced timer

19

Access lines (32 to 512 Kbytes)

STM32G491 block diagram

for motor control

Advanced Accelerator Advanced Analog Advanced timer

20

STM32G4 portfolio
21

STM32G4 hardware solutions

Accelerate evaluation, prototyping, and design

$15
64-pin

32-pin*
$12*

$333

$70

$59**

$18

STM32 Nucleo
Flexible prototyping · NUCLEO-G431RB · NUCLEO-G474RE · NUCLEO-G431KB* · NUCLEO-G491RE

Evaluation boards
Full feature STM32G4 evaluation
· STM32G474E-EVAL1

Motor control pack
Feature for motor control and analog
· P-NUCLEO-IHM03

Discovery kits
Key feature prototyping · B-G474E-DPOW1 ** · B-G431B-ESC1

Recommended resell price

22

STM32G4 software tools to accelerate your development

STM32CubeMX
Graphical tool for easy configuration · Configure and generate code · Peripherals and middleware configuration

IDEs compile and debug
Simple, powerful solutions
· Partners IDE (Arm® Keil®) · IDE based on Eclipse · RTOS aware debug

STM32 programming tool
STM32CubeProgrammer · Flash and/or system memory · GUI or command-line interface

23

Motor control ecosystem for the STM32 family

http://www.st.com/stm32-motor-control

24

STM32 ecosystem for digital power
· Full ecosystem (hardware boards, firmware examples, software tools, documentation and training)
· Dedicated HRTIM Cookbook - AN4539: How to operate the hi-resolution timer in different topologies
· Digital power training (PSU and PFC) ­ based on the STM32G4 series in collaboration with Biricha
www.st.com/stm32-digital-power
25

Releasing your creativity
@STM32 @ST_World community.st.com STM32G4 webpage STM32G4 online training wiki.st.com/stm32mcu github.com/stm32-hotspot STM32G4 blog articles

Find out more at www.st.com/STM32G4
© STMicroelectronics - All rights reserved. ST logo is a trademark or a registered trademark of STMicroelectronics International NV or its affiliates in the EU and/or other countries. For additional information about ST trademarks, please refer to www.st.com/trademarks. All other product or service names are the property of their respective owners.


Microsoft PowerPoint for Microsoft 365