ST STM32U5

From SEGGER Wiki
Revision as of 09:38, 16 August 2021 by Matthias (talk | contribs) (TrustZone)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

The ST STM32U5 series are 32-bit ultra low power microcontrollers based on the ARM Cortex-M33 processor.

Device family

The STM32U5 device family consists of several subfamilies: STM32U57xxx, STM32U58xxx, STM32U59xxx and STM32U5Axxx.

STM32U57xxx STM32U58xxx STM32U59xxx STM32U5Axxx
STM32U575AI STM32U585AI STM32U595ZJ STM32U5A5ZJ
STM32U575CI STM32U585CI STM32U599BJ STM32U5A9BJ
STM32U575OI STM32U585OI STM32U599NJ STM32U5A9NJ
STM32U575QI STM32U585QI
STM32U575RI STM32U585RI
STM32U575VI STM32U585VI
STM32U575ZI STM32U585ZI
STM32U575AG STM32U585AG
STM32U575CG STM32U585CG
STM32U575OG STM32U585OG
STM32U575QG STM32U585QG
STM32U575RG STM32U585RG
STM32U575VG STM32U585VG
STM32U575ZG STM32U585ZG

On-Chip Memory Regions

The internal flash consists of up to 4MiB of memory.

Device Flash size (MiB) Start address End address
STM32U5xxxG 1 0x08000000 0x080FFFFF
STM32U5xxxI 2 0x08000000 0x081FFFFF
STM32U5xxxJ 4 0x08000000 0x083FFFFF

Reset

No special reset is required.

TrustZone

Flash programming with TrustZone enabled (TZEN = 1) is supported.

RDP level 0 and 0.5 is also supported. The RAMCode is only usable with RDP level 0, for RDP level 0.5 a RAMless flashloader has to be used. This is a technical limitation. The J-Link software is not able to decide at runtime when to use the RAMCode or RAMless flashloader. If you want to use the RAMless flashloader for RDP 0.5, you have to add "_RAMLess" to the device name, e.g. use "STM32U599NJ_RAMLess" instead of "STM32U599NJ". Please note that a significantly lower programming speed has to be expected with the RAMless flashloader.

Example Application

The following example project was created with the SEGGER Embedded Studio project wizard and should run out-of-the-box on any ST STM32U5xxxx device. It is a simple for loop incrementing the integer i. The application is linked into the internal flash.
SETUP