Document preview
File info: application/pdf · 30 pages · 1.46MB

Document preview and download links are below.

Full PDF Document

Loading PDF...
Download PDF

If the inline viewer fails, it will open the original document in compatibility mode automatically. You can also open the file directly.

Extracted Text

STM32L5 MCU series excellence in ultra-lowpower with more security

STM32L5 series

MPU

High Perf MCUs
Mainstream MCUs

STM32F0 106 CoreMark 48 MHz Cortex-M0

Ultra-low Power MCUs
Wireless MCUs

STM32L0 75 CoreMark 32 MHz Cortex-M0+

STM32G0 142 CoreMark 64 MHz Cortex-M0+
STM32L1 93 CoreMark 32 MHz Cortex-M3

STM32F2 Up to 398 CoreMark 120 MHz Cortex-M3
STM32F1 177 CoreMark 72 MHz Cortex-M3

STM32F4 Up to 608 CoreMark 180 MHz Cortex-M4

STM32F7 1082 CoreMark 216 MHz Cortex-M7

STM32F3 245 CoreMark 72 MHz Cortex-M4

STM32G4 550 CoreMark 170 MHz Cortex-M4

Optimized for mixed-signal Applications

STM32MP1 4158 CoreMark 650 MHz Cortex �A7 209 MHz Cortex �M4
STM32H7 Up to 3224 CoreMark Up to 550 MHz Cortex -M7 240 MHz Cortex -M4

STM32L4 273 CoreMark 80 MHz Cortex-M4
STM32WL 162 CoreMark 48 MHz Cortex-M4 48 MHz Cortex-M0+

STM32L4+ 409 CoreMark 120 MHz Cortex-M4
STM32WB 216 CoreMark 64 MHz Cortex-M4 32 MHz Cortex-M0+

STM32L5 443 CoreMark 110 MHz Cortex-M33

STM32U5 651 CoreMark 160 MHz Cortex-M33

Optimized for mixed-signal applications

Cortex-M0+ Radio co-processor

2

Main concerns for embedded design
� Security
� Increase the robustness against attacks
� Low power consumption
� Long life time, small battery size
� Integration, performance, ecosystem
� Best fit versus the application requirements
3

First STM32 based on Cortex-M33
STM32L5 is the answer
� More security with TrustZone and ST security implementation
� HW to increase resistance to logical and board level attack
� Lower Power consumption
� STM32 ultra-low-power technology
� Integration, performance, ecosystem
� More performance, choice of packages and wide ecosystem
4

Security: TrustZone for isolation

ST implementation provides a high granularity of isolation

STM32L5

Un-Trusted

Trusted

Un-Trusted Application

Trusted Application

� Each GPIO or peripheral, DMA channel, clock configuration register, ART or small part of Flash memory or SRAM can be configured as Trusted or un-Trusted
� Full isolation of trusted and non-trusted worlds

5

Security: TrustZone for isolation

TrustZone provides full isolation

Example of IoT application implementation

STM32L5

Un-Trusted

Trusted

Un-Trusted Application

Trusted Application

RF

Sensors

6

Privileged

Security: TrustZone and privileged zones

STM32L5

Un-Trusted

Trusted

Un-Trusted & Privileged

Trusted & Privileged

Un-Trusted & Un-Privileged

Trusted & Un-Privileged

� More partitioning
� Possibility to separate the trusted and un-trusted area with privileged and un-privileged zone
� Strong granularity to define each part of memory or each peripheral, DMA channel as privileged or un-privileged

Un-Privileged

7

TrustZone: example

STM32L5

Un-Trusted

Trusted

Un-Trusted & Privileged

Trusted & Privileged

RTOS

Secured Keys
Secured Boot

Privileged

Un-Privileged

Un-Trusted & Un-Privileged

Trusted & Un-Privileged

Secured data

RF

RF Stack

Sensor IP

Sensors

8

Encryption Decryption Authentication
� AES-128/256 Encryption � SHA-256 Authentication � Public Key Acceleration (PKA):
for RSA, Diffie-Hellmann or ECC (Elliptic Curve Cryptography) � Certified Crypto library � True Random Number Generator � Unique ID � OTP Zone

STM32L5

A full set of security
Memory & IP Protection
� Active and static Anti-tamper detection � Memory Protection Unit (MPU) � Secure Boot � Read and Write Protection � HDP (Hide Protect) � Unique Boot Entry � OTFDEC (On-the-fly decryption) on
Octo SPI to protect external memory � JTAG fuse � TrustZone � SFI (Secure Firmware Installation)
9

Extends battery lifetime

� STM32L5 reuses the STM32L4/L4+ technology achieving best-in-class power consumption
� STM32L5 integrates an optional SMPS (DC/DC buck voltage regulator) which can be enabled/disabled on the fly to avoid external noise for external RF or data acquisition.

� Proven by EEMBC test results:

370 ULPMark-CP 54 ULPMark-PP
10

Ultra-low-power modes

Best power consumption numbers with full flexibility

Wake-up time VBAT

250 �s

Shutdown

3 nA / 187 nA* 17 nA / 122 nA*

Tamper detection: 3 I/Os, RTC Wake-up sources: reset pin, 5 I/Os, RTC

14 �s 14 �s 5 �s 6 cycles

Standby

108 nA / 222 nA*

Standby + 4-Kbyte RAM

272 nA / 386nA*

Wake-up sources: + BOR, IWDG

Stop 2 (full retention: 256-Kbyte RAM) 3.0 �A / 3.1 �A*

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

Sleep

26 �A / MHz

Wake-up sources: any interrupt or event

Run up to 110 MHz

Down to 62 �A / MHz

Note : * without RTC / with RTC
11

More performance

Better responsiveness of the application
� New Arm� Cortex�-M33 performance: +20% versus Cortex-M4

1.5 DMIPS/MHz 4.02 CoreMark/MHz

165 DMIPS 442 CoreMark

� New ST ART AcceleratorTM: working both on internal and external Flash
� 8 Kbytes of instruction cache

12

High integration and innovation
Large memory, USB Type-CTM w/ power delivery controller, CAN FD
13

7 packages, several options

Large portfolio
14

STM32L ULP portfolio

STM32L5 completes the ultra-low-power subclass

Cost-smart ULP champion
STM32L0
Cortex-M0+ at 32 MHz 1.65 to 3.6V
8-/16-bit applications Wide range of pin-counts
3 product lines, Cost-effective, Smaller packages, USB, LCD, Analog 8 to 192 Kbytes of Flash, Up to 20 Kbytes of SRAM

Broad-range foundation
STM32L1
Cortex-M3 at 32 MHz 1.65 to 3.6V
Wide choice of memory sizes
3 product lines, USB, LCD, AES,
Rich Analog True EEPROM, Dual-bank Flash memory
(RWW), 32 to 512 Kbytes of Flash, Up to 80 Kbytes of SRAM

ULP With performance
STM32L4
Cortex-M4 w/ FPU at 80 MHz 1.71 to 3.6V
High-performance, advanced analog circuits
5 product lines, 5-MSPS ADC, PGA, Compar., DAC, Op Amp, USB OTG, LCD, AES 64 Kbytes to 1 Mbyte Up to 320 Kbytes of SRAM

ULP with more performance
STM32L4+
Cortex-M4 w/ FPU at 120 MHz 1.71 to 3.6V
Wide choice of memory sizes
3 product lines, 5-MSPS ADC, PGA, Compar., DAC, Op Amp, USB OTG, LCD, AES 1 to 2 Mbytes of Flash, Up to 640 Kbytes of SRAM

Advanced security
STM32L5
Cortex-M33 w/ FPU at 110 MHz 1.71 to 3.6V
Wide choice of memory sizes
1 product line, 5-MSPS ADC, PGA, Compar., DAC, Op Amp, USB Type C, AES 256 to 512 Kbytes of Flash, Up to 256 Kbytes of SRAM
15

A Complete Ecosystem

STM32CubeL5 One-stop-shop software package

STM32Cube Middleware

Generic Middleware
� FreeRTOS � FatFS file system � mbedTLS and mbedCrypto � USB Device stacks

Dedicated Middleware
� Secure Boot and Secure Firmware Update � TF-M for trusted execution environment � USB-PD device driver � STM32 Touch Sensing library

Peripheral drivers
HAL API
Hardware Abstraction Layer, highly portable and easy to use
LL APIs
Low-Layer APIs, light weight and highly optimized for runtime efficiency
Project Examples
STM32CubeMX ready
More than 300 project examples for KEIL, IAR and STM32CubeIDE toolchains, with a STM32CubeMX configuration file

www.st.com/stm32cubel5
17

SBSFU and TF-M in STM32CubeL5

Reference code framework for a trusted Execution Environment

STM32L5

Un-Trusted Un-Privileged
Un-Trusted Privileged

TF-M (Application Root of Trust)
TF-M (PSA Root of Trust)

SBSFU TF-M (PSA immutable Root
of Trust)

TF-M Framework
� Isolation and Secure execution � Secure services (crypto, initial attestation,
secure storage) � Easy addition of user secure services � Leveraging STM32L5 security features
SBSFU TF-M
� Secure Boot � Secure Firmware Update

18

STM32L5 is one of the first MCU PSA Level 2 certified
19

All-in-1 STM32 development tool

STM32CubeIDE

Configure and generate code
STM32CubeMX integrated

Develop code, Compile and Link
TrustZone support

Program and Debug
TrustZone support

� TrueSTUDIO / SW4STM32 importer � Advanced editor � GNU C/C++ for Arm� toolchain

� GDB and OpenOCD debugger
� Support of ST-Link and J-Link debug probes

20

Partners IDEs development flow
Arm V8-M TrustZone architecture support

STM32CubeMX
STM32CubeMX enhanced for TrustZone
� Peripherals/middleware configuration � Resources allocation to security domains

IDEs Compile and Debug
TrustZone Support
� Partners IDE � STM32CubeIDE based on Eclipse � TrustZone debugging

STM32 Programming Tool
ST M32CubeProgrammer
� Device and memory configuration � Program the application � Secure Firmware Install

Optional step
21

Configuration tool

Power Consumption Calculator
Code Generation
TrustZone support

macOS�

MCU or board Selector Load an Example .ioc file

Pinout Configuration

Middleware Parameters
FreeRTOS FatFS USB device

Clock Tree Initialization

Peripherals Configuration

TrustZone configuration and

GPIOs, memories, DMA,

peripherals allocation to

security domains

22

macOS�

All-in-one programming software tool
MCU Internal Flash and external Flash services MCU configuration (Option bytes) Intuitive GUI
Command Line Interface for scripting API DLL for Custom Integration STLink (JTAG, SWD)
STM32 Bootloader Interface (USB, UART, SPI, I2C, CAN) Secure Firmware install (SFI)
23

STM32L5 hardware solutions
Speed-up evaluation prototyping and design

$275
Evaluation Boards
Full feature STM32L5 evaluation � STM32L552E-EV

$76
Discovery Kit
Flexible prototyping & demo � STM32L562E-DK

$20
Nucleo Boards
Affordable and quick prototyping � NUCLEO-L552ZE-Q
24

Discovery kit

Prototype your wearable or sensor application with STM32L562E-DK

Fan-out expansion board included

Key Features
� STM32L562 MCU with AES and PKA � 240 x 240 pixel-TFT color Display � state-of-the-art Energy Meter � 3D accelerometer and 3D gyroscope � Bluetooth� V4.1 low energy module � Audio Codec and Headphone amplifier � Digital microphone � USB Type-CTM Sink device FS � 512Mbit Octal Flash memory extension � ST-Link V3 � STMod+ connector with fan-out expansion
board for Wi-Fi�, Grove and mikroBUSTM compatible connectors
25

STM32CubeMonitor-power
State-of-the-art on-board power consumption measurement STM32L562E-DK
On-board Energy Meter 300 nA to 150 mA measurement range
26

Secure your production flow with Secure Firmware Install (SFI)

Protect your code and control the number of products manufactured

Customer premises

Untrusted environment

Encrypted FW transfer

FW

Encrypted FW

Store encryption key and production
counter into HSM

ST Hardware Secure Module (HSM)

HSM

HSM physical transfer

STM32L5 SFI
Authenticate target STM32 Generate installation license
HSM

Number of products controlled

27

STM32L5 helps designers to answer IoT challenges
� More security � Lower power consumption � Integration, performance, ecosystem

Conclusion
28

Releasing your creativity
/STM32 @ST_W orld community.st.com www.st.com/STM32L5 STM32L5 Online Training wiki.st.com/stm32mcu github.com/STMicroelectronics STM32L5 blog articles

Thank you
� 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.