0
The STM32L562RET6 is built around a different premise from performance-oriented microcontrollers: it treats security isolation and energy consumption as coupled design constraints rather than independent feature lists. At its center is an Arm Cortex-M33 core with TrustZone, running at up to 110 MHz and delivering 165 DMIPS, paired with 512 KB of dual-bank Flash and 256 KB of SRAM in a 64-pin LQFP package. The Cortex-M33 is a full Armv8-M implementation with TrustZone, which means the secure and non-secure worlds are partitioned at the bus level by the Security Attribution Unit and the Implementation-Defined Attribution Unit—not emulated in software. Each world has its own stack, its own MPU configuration, and hardware-controlled transitions between states. The “RET6” ordering code specifies the 64-pin package and the 512 KB Flash density, a memory budget large enough for a meaningful secure firmware image and a non-secure application to coexist without external memory. The energy metrics are equally constitutive: 17 nA in Shutdown mode with five wakeup pins active, 108 nA in Standby, 222 nA in Standby with RTC, and 62 µA/MHz in Run mode when the on-chip SMPS step-down converter is used at 3 V.
Enabling TrustZone on the L562 is a deliberate, production-relevant decision governed by the TZEN option bit. When TZEN is set, the device boots into the secure state by default, and the SAU/IDAU attribute memory, peripherals, and I/O according to the designer’s configuration. The secure world can access non-secure resources, but the non-secure world cannot reach secure resources except through non-secure callable regions that the secure firmware explicitly exposes. This architecture allows cryptographic keys, secure boot code, and trusted firmware-update logic to reside in the secure domain while the application, communication stack, and user interface run in the non-secure domain. A compromise of the non-secure application does not automatically expose the secure keys or the root of trust. The hardware also includes a flexible life-cycle scheme with readout protection and a root of trust anchored by a unique boot entry point, completing the chain from device identity to secure firmware execution. For designs where the threat model includes physical access or a compromised network stack, this bus-level isolation is qualitatively different from a software security layer running on a flat memory map.
The table below organizes the L562RET6’s parameters around the two axes that define the part—energy and security—while retaining the memory and interface details necessary to judge whether the on-chip resources fit the application. The format deliberately separates “what the part consumes” from “what the part protects.”
|
Axis |
Parameter |
STM32L562RET6 Value |
|
Energy |
Run mode current |
62 µA/MHz @ 3 V (SMPS); 106 µA/MHz (LDO) |
|
|
Stop 2 with RTC |
3.16 µA |
|
|
Standby / Shutdown |
108 nA (Standby, 5 wakeup pins); 17 nA (Shutdown) |
|
|
VBAT mode |
187 nA (RTC + 32 × 32-bit backup registers) |
|
|
Wakeup latency |
5 µs from Stop mode |
|
|
Energy benchmarks |
370 ULPMark-CP; 54 ULPMark-PP; 27,400 SecureMark-TLS |
|
Security |
TrustZone |
SAU/IDAU; securable memories, peripherals, I/Os |
|
|
Life-cycle and readout |
Flexible RDP; unique boot entry; root of trust |
|
|
Cryptographic support |
Hardware acceleration available for AES and public-key operations |
|
Core / Memory |
Core |
Cortex-M33 with FPU and DSP, 110 MHz, 165 DMIPS |
|
|
Cache / accelerator |
8 KB instruction cache; ART Accelerator |
|
|
Flash / SRAM |
512 KB dual-bank Flash (read-while-write); 256 KB SRAM (64 KB with parity) |
|
|
External memory |
OCTOSPI; SRAM, PSRAM, NOR, NAND, FRAM support |
|
Package / Supply |
Package / I/O |
LQFP64, 10 × 10 mm; I/O count per bonding |
|
|
Supply voltage |
1.71–3.6 V |
The SecureMark-TLS score of 27,400 is not a generic benchmark footnote; it indicates the energy cost of cryptographic operations executed with the hardware security features active. For a battery-powered sensor that performs a TLS handshake at each wake cycle, this metric maps directly to battery life. The dual-bank Flash with read-while-write capability is the other security-relevant memory feature: it allows a firmware update to be written into one bank while the application continues executing from the other, a prerequisite for secure field-update architectures that cannot afford a service interruption.
Designing with the L562 requires attention to the interaction between low-power transitions and the TrustZone state. The device supports a Batch Acquisition Mode that allows peripherals to acquire data while the core is in a low-power state, but the transition between secure and non-secure domains during wakeup must be managed so that the secure world can re-establish the security context before handing control to the non-secure application. The 8 KB instruction cache and ART Accelerator allow zero-wait-state execution from Flash at 110 MHz, which matters for cryptographic routines that cannot tolerate Flash access latency. The OCTOSPI interface supports execute-in-place from external memory, useful when the combined secure and non-secure image exceeds the 512 KB on-chip Flash, but the security attribution of external memory must be defined in the SAU/IDAU configuration—external memory does not automatically inherit the security properties of on-chip memory. When the SMPS step-down converter is used, it requires an external inductor and careful layout to keep switching noise out of the analog domain, a discipline that also benefits ADC and comparator performance in mixed-signal portions of the design.
The L562RET6 ships with TrustZone disabled and behaves as a conventional Cortex-M33 microcontroller in that state. Development can begin in this flat model using STM32CubeIDE and the STM32CubeL5 package, allowing the application logic and peripheral drivers to mature before security partitioning. When the design is ready, STM32CubeMX generates two separate projects—one secure and one non-secure—with TrustZone enabled at project creation or configured through STM32CubeProgrammer’s option-byte settings. The secure project contains the SAU/IDAU configuration, secure interrupt handlers, and the non-secure callable veneers; the non-secure project contains the application and calls into the secure world through the exposed interface. ST’s application notes and the X-CUBE-SBSFU reference package provide the secure boot and secure firmware update scaffolding: an immutable root-of-trust code executes after reset, checks the static protections, activates runtime protections, and verifies the authenticity and integrity of the user application before every execution. The SBSFU package includes examples for single-image and dual-image configurations, supports symmetric and asymmetric cryptographic schemes, and provides secure key management through PKCS #11 APIs executed inside a protected environment. Debugging a TrustZone-enabled system requires the debugger to be aware of the security state; ST-Link and STM32CubeIDE support secure and non-secure debugging, but breakpoints in the non-secure world cannot inspect secure memory. For power validation, STM32CubeMonPwr and the X-NUCLEO-LPM01A expansion board allow current measurement down to the nanoampere range, which is essential for verifying that the security partitioning has not introduced unintended wakeup sources.
The L562RET6 is selected when two requirements coexist: an energy budget that rules out mainstream microcontrollers, and a threat model that justifies hardware-enforced isolation between trusted and untrusted code. It is not a general-purpose replacement for every Cortex-M33 design. It becomes the correct choice when the cost of a security breach—exposed credentials, tampered firmware, cloned device identity—or the cost of battery replacement is high enough to justify a part whose architecture was co-designed around those two constraints. It is the wrong choice when the application can tolerate a software-only security layer, or when the energy budget is dominated by a radio or a display rather than by the MCU itself. The presence of TrustZone also imposes a partitioning discipline on the firmware architecture; designs that cannot cleanly separate trusted and untrusted code may find the two-project development model and the secure/non-secure call boundary to be an overhead without a corresponding threat-model benefit.
Three application domains align with the L562RET6’s architecture. Smart metering and utility infrastructure can place metrology keys and billing firmware in the secure domain while the communication stack and display run non-secure; the 3.16 µA Stop 2 current with RTC maintains timekeeping and tamper detection while the application sleeps. Industrial IoT sensor nodes use the TrustZone partition to protect device identity and TLS credentials, while the SMPS-based 62 µA/MHz Run current extends battery life in duty-cycled operation; the SecureMark-TLS score provides a direct indicator of the energy cost of each secure connection. Wearable and medical devices exploit the 17 nA Shutdown current and the 5 µs wakeup from Stop mode to support event-driven architectures in which the MCU is asleep for the vast majority of its lifetime, waking only for a sensor interrupt or a user interaction. In each case, the value of the L562RET6 is not a single headline number—neither the nanoampere figure nor the TrustZone label alone—but the fact that the security enforcement and the energy envelope were designed together, so that enabling hardware isolation does not invalidate the power budget that made the product viable.