st mcu update - neapolis 2021
TRANSCRIPT
STM32 MCUNEAPOLIS 2021
Francesco DI MARCO
MCUs portfolio TODAY
STM32 Update - #stayathome - ST@Home 2
Features
1 M
Flash (bytes)
512 K
256 K
32 K
2 K
16 K
2 M
128 K
8-bit Core
STM8S Mainstream
STM8A AutomotiveSTM8L Ultra-low-power
32-bit CoreSTM32 MP1 - Cortex-A7**STM32 H7 - Cortex-M7***STM32 F7 - Cortex-M7STM32 G4 - Cortex-M4STM32 F4 - Cortex-M4STM32 F3 - Cortex-M4 STM32 F2 - Cortex-M3STM32 F1 - Cortex-M3STM32 G0 - Cortex-M0+STM32 F0 - Cortex-M0STM32 L5 - Cortex-M33 STM32 L4+ - Cortex-M4STM32 L4 - Cortex-M4STM32 L1 - Cortex-M3STM32 L0 - Cortex-M0+STM32 WB - Cortex-M4*STM32 WL - Cortex-M4*
Note (*) : Cortex-M0+ Radio Co-processor - **: Cortex-M4 Real Time Co- Processor - ***: Cortex-M4 Co- Processor
Main efforts
STM32 portfolio
High Perf
MCUs
Ultra-low-power
MCUs
Wireless
MCUs
Mainstream
MCUs
MPU
Cortex-M0+ Radio co-processor
STM32H7
Up to 3224 CoreMark
Up to 550 MHz Cortex -M7
240 MHz Cortex -M4
Optimized for mixed-signal Applications
Optimized for mixed-signal applications
STM32MP1
4158 CoreMark
650 MHz Cortex –A7
209 MHz Cortex –M4
STM32F2
Up to 398 CoreMark
120 MHz Cortex-M3
STM32F4
Up to 608 CoreMark
180 MHz Cortex-M4
STM32F7
1082 CoreMark
216 MHz Cortex-M7
STM32F0
106 CoreMark
48 MHz Cortex-M0
STM32G4
550 CoreMark
170 MHz Cortex-M4
STM32L0
75 CoreMark
32 MHz Cortex-M0+
STM32L1
93 CoreMark
32 MHz Cortex-M3
STM32L4
273 CoreMark
80 MHz Cortex-M4
STM32L4+
409 CoreMark
120 MHz Cortex-M4
STM32L5
443 CoreMark
110 MHz Cortex-M33
STM32U5
651 CoreMark
160 MHz Cortex-M33
STM32WL
162 CoreMark
48 MHz Cortex-M4
48 MHz Cortex-M0+
STM32WB
216 CoreMark
64 MHz Cortex-M4
32 MHz Cortex-M0+
STM32G0
142 CoreMark
64 MHz Cortex-M0+
STM32F1
177 CoreMark
72 MHz Cortex-M3
STM32F3
245 CoreMark
72 MHz Cortex-M4
3
Introducing STM32U5,the flagship of ultra-low-power MCUs
Applications are more and more demanding!
Application examples:
• Gas and water meter • Fitness band• Medical monitoring devices• POS
more autonomy
more integration
more security
5
Enabling key new features for embedded developers
STM32U5
Better accuracyADC 14-bit
Improved data storage100 kcycles for 512 kB of Flash
Lower power consumptionNew power management
LPBAM*, DMA and IP autonomous in LP mode
Higher securityAES and PKA, side attack resistant
Higher level of safetyECC on Flash and SRAM
* Low Power Background Autonomous Mode 6
Extends battery life
• The STM32U5 provides a large choice of low power modes with fast wake-up
times
See below some examples to illustrate the best-in class power consumption:
Improved flexibility versus existing STM32L series
300 nA Standby
1.7 µA Stop3 (with 16kB SRAM)
6.6 µA Stop 2 (full retention: 786-Kbyte RAM)
Down to 19 µA / MHz (Run up to 160 MHz)
7
STM32U5 efficiency proven by benchmarks
535 ULPMark-CP
149 ULPMark-PP
58 ULPMark-CM
133000 SecureMark-TLS
Best performances among 32-bit MCUs available on the market
Efficiency of cryptographic processing solutions
Active power, using CoreMark as the workload
Common peripherals' energy impact on deep-sleep
True energy cost of deep-sleep modes
8
STM32U5
• Arm® Cortex®-M33 at 160 MHz240 DMIPS or 651 Coremark
• Mathematics accelerators: FMAC and Cordic
• Cache for execution and data for internal and external memory (ART Accelerator)
0
100
200
300
400
500
600
700
Coremark
STM32 ULP
L0 L1 L4 L4+ L5 U5
Unparalleled performance for an ULP MCU
651
9
STM32U5, the new flagship of STM32 ULP series
STM32U5
Highest DMIPS
Best ULP
Memory size (Bytes)
8 K
16 K
64 K
Dmips*(Fmax CPU)
128 K
384 K
1 M
32 K
256 K
512 K
2 M
4 M
240 (160MHz)
ST
M3
2U
5
C-M33
165 (110MHz)
ST
M3
2
L5
C-M33
C-M4
ST
M3
2 L
4+
150 (120MHz)
100 (80MHz)
C-M4
ST
M3
2 L
4
C-M3
ST
M3
2 L
1
33.6 (32MHz)
30 (32MHz)
ST
M3
2 L
0
C-M0+
ULPMark-CP*155 285233 370447 535
*the higher the better
10
USB OTG +PD, 2x SD/SDIO/MMC, 3 x SPI,
4 x I2C, 1x CAN FD, 2 x Octo SPI,
5 x USART + 1 x ULP UART, 1 x SWP
ConnectivityArm®
Cortex®-M33 CPU
160 MHz FPU
MPU
TrustZone®
ETM
Up to 2-Mbyte Flash
Dual Bank
LPDMA
ART Accelerator™
AES (256-bit), SHA-1, SHA-256 256,TRNG, PKA, 2 x SAI,
MDF, ADF
Digital
Analog
FSMC 8-/16-bit(TFT-LCD, SRAM, NOR,
NAND)
Parallel Interface
19 timers including:2 x 16-bit advanced motor
control timers4 x ULP timers
5 x 16-bit-timers4 x 32-bit timers
Timers
®
I/Os
Touch-sensing controllerCamera Interface
Chrom-ART Accelerator™
786 KB RAM
1x 14-bit ADC 2MSPS,1x 12-bit ADC 2MSPS
2 x DAC, 2 x comparators, 2 x op amps
1 x temperature sensor
CORDIC
FMAC
High level of integration
Large embedded memory
Numerous integrated peripherals
Advanced accelerators
11
Enhanced security
Extensive functionality to protect your assets
L3 L3
Security assurance level
Isolation
TrustZone®
Secure PeripheralsSecure DMA
Cryptography
Side channel AES, PKAAdditional AES, PKA, SHA, TRNGCAVP certified CryptoLib
Memory protections
OTP, HDP, WRP, RDP, MPUExt. Flash encryption OTFDecSecure Debug
Active tamper
4x active pair of tamper pins.Volt. &Temp. monitoring (Vbat)Total tamper I/Os: 8
Trust anchor
TF-M, Secure Boot, Secure Firmware InstallHardware Unique Keys
Lifecycle
RDP: 4 protection level statesPassword based regression
1st STM32 MCU to reach Level 3
New features for STM32 in bold12
Multiple options to meet the needs of developers
Optional security
8 different packages
2 memory size configurations24
variants
48-pin QFN
90-pin WLCSP
48/64/100/144-pin LQFP
132/169-pin UFBGA
1 M Flash / 786 K RAM
2 M Flash / 786 K RAM
without HW crypto
with HW crypto
13
Discovery kit for IoT node with STM32U5 series
Integrated STLink:drag & drop Flash programmingPMOD extension connector
STM32U585 MCU
Wi-Fi module
Audio mics
Gyro/Accelero/Magnetometer,Proximity, Pressure, Humidity,
Temperature sensors
Multi-link communication, multiway sensing and direct connection to cloud services
B-U585I-IOT02A
Arduino Uno extension connectorsSTMOD+ extension connector
USB Type-C connector
14
BLE module (STM32WB5MMG)
Ecosystem 2021
Inside the STM32Cube ecosystem
16
Software Tools
Configuration
Embedded Software
Development
Programming
Monitor
Packages
Expansions
A flexible, scalable and consistent offer
17
Arm® Cortex®-M
STM32Cube Embedded Software
Customers Applications
STM32Cube Expansions
STM32Cube MCU Packages
STM32Cube HAL & LL drivers
STM32Cube MCU Middleware
TCP/IP 802.15.4
Secure Process Move/Actuate
Sense Convert Power-upConnect
STM32Cube Expansion Packages from Partners
STM32Cube Expansion Packages from ST
STM32Cube Software Suite: Ongoing2021: Complemented with Microsoft AzureRTOS
18
Software Tools
Configuration
Embedded Software
Development
Programming
Monitor
Packages
Expansions
Drivers
Middlewares
User application
Azure RTOS ThreadXReal-time operating system
Azure RTOS FileX FAT file system, fault tolerant
Azure RTOS NetX/NetX DuoTCP/IP stacks
Azure RTOS USBXUSB stack, host and device
Azure RTOS+
++
++
STM32Cube Software Suite: Upcoming
19
Embedded Software
Microsoft Azure RTOS bringing additional Key benefits to STM32Cube software Suite, from 2021
SoftwareTools
Embedded Software
Faster & Easier Development
Better Quality
Business-friendly terms
Fast performance
Complete consistent solution
Industry certifications
Azure RTOS+
+
• Small: ~2KB Minimal Footprint
• Fast: Sub microsecond context switch, APIs
• Safe: SIL 4, ASIL D, Medical Class C
• Security: Extensive Pen Testing, Part of
EAL4+, FIPS 140-2
• Advanced: Preemption-threshold, Event
Chaining, Auto Scaling
• Easy: Consistent API, Extensive out-of-
box examples, porting guideline from
FreeRTOS available, CMSIS-OS layer
AzureRTOS ThreadX
20
Azure RTOS ThreadXReal-time operating system
• Small: ~8.5KB Device, ~12KB Host
• Fast: Leverages DMA, Minimal Function Call Layering
• Safe: SIL 4, ASIL D, Medical Class C
• Advanced: Comprehensive class
support
• Easy: Consistent API, Extensive out-of-box examples and device/host
controller integration
AzureRTOS USBX
21
Azure RTOS USBXUSB stack, host and device
• Small: ~50KB Device-to-Cloud
• Fast: Near Wire Speed, Minimal CPU usage
• Safe: SIL 4, ASIL D, Medical Class C
• Security: Extensive Pen Testing, EAL4+,
FIPS 140-2
• Advanced: Extensive Components, Zero Copy, Auto Scaling
• Easy: Consistent API, Extensive out-of-
box examples
AzureRTOS NetX Duo
22
Azure RTOS NetX/NetX DuoTCP/IP stacks
• Small: ~9KB Minimal Footprint
• Fast: Direct Data Write, Cache optimized for speed
• Safe: SIL 4, ASIL D, Medical Class C
• Advanced: Fault tolerant, FAT
12/16/32/exFAT, Extensive Cache
Support, NAND/NOR Wear Leveling, Auto
Scaling
• Easy: Consistent API, Extensive out-of-
box examples
AzureRTOS FileX
23
Azure RTOS FileX FAT file system, fault tolerant
• AzureRTOS expansion package for STM32H7 series
• Fully hosted on ST Github account
• First release W51 2020
• Examples available for all middlewares
• Official release Q1 2021
• Github.com/STMicroelectronics
X-CUBE-AZRTOS-H7
24
Azure RTOS ThreadXReal-time operating system
Azure RTOS FileX FAT file system, fault tolerant
Azure RTOS NetX/NetX DuoTCP/IP stacks
Azure RTOS USBXUSB stack, host and device
Azure RTOS
© STMicroelectronics - All rights reserved.The STMicroelectronics corporate logo is a registered trademark of the STMicroelectronics
group of companies. All other names are the property of their respective owners.
Thank you