0
The STM32L552CET6 exists at a specific intersection that few microcontrollers occupy cleanly: it must run cryptographic routines and application logic at 110 MHz, enforce a hardware boundary between trusted and untrusted code, and still allow a battery-powered device to sleep for years between service intervals. The “CET6” ordering code resolves to a 48-pin LQFP with 512 KB of Flash, 256 KB of SRAM, and an Arm Cortex-M33 core with TrustZone, operating from 1.71 V to 3.6 V across the industrial temperature range. The 512 KB Flash density is not merely a memory line item; it is the threshold at which a secure firmware image, a non-secure application, and a firmware-update slot can coexist on-die without external non-volatile memory. For a connected sensor or a smart meter that must verify signed firmware at boot and then hand control to an application network stack, this memory budget is the difference between a single-chip architecture and a board populated with an external Flash device that itself becomes a security liability.
The Cortex-M33 in this device implements Armv8-M TrustZone with a Security Attribution Unit and an Implementation-Defined Attribution Unit that partition memory, peripherals, and I/O at the bus level. When the TZEN option bit is programmed, the device boots into the secure state, and the non-secure world cannot read or execute secure code or data except through non-secure callable veneers that the secure firmware deliberately exposes. This means a cryptographic key stored in secure Flash is not “protected by an API”; it is physically unreachable from non-secure code through the bus fabric. The Global TrustZone Controller adds block-based SRAM protection and illegal-access trapping, while the flexible readout-protection life cycle allows a production device to be locked against debug access without disabling field firmware updates through a secure channel. The architectural consequence is that the secure domain can hold the root of trust, the key store, and the secure boot code, while the non-secure domain runs the radio stack, the sensor driver layer, and the user-facing application—and a compromise of the latter does not automatically yield the former.
The L552CET6’s power figures are constitutive of its architecture, not an afterthought. In Shutdown mode the device draws 17 nA with five wakeup pins active; Standby rises to 108 nA, or 222 nA with the RTC running; Stop 2 with RTC consumes 3.16 µA; and Run mode is specified at 62 µA/MHz at 3 V when the on-chip SMPS step-down converter is used, or 106 µA/MHz in LDO mode. The 5 µs wakeup from Stop mode matters for event-driven designs where the MCU is asleep for the vast majority of its lifetime. But the security-relevant detail is that the wakeup path itself must preserve the TrustZone state: the secure world re-establishes its context before handing control to the non-secure application, so a wake event does not become a window in which untrusted code runs without the secure monitor’s knowledge. The SMPS option reduces Run-mode current by roughly 40% relative to LDO operation, at the cost of an external inductor, which is a favorable trade in any device whose active-mode energy budget is dominated by cryptographic work rather than by radio transmission.
The table below is organized around the design decisions the CET6’s specifications constrain, rather than reproducing a complete feature list. The 512 KB Flash row is the pivot: it enables dual-bank read-while-write and a secure firmware-update architecture that a 256 KB device in the same family cannot accommodate with the same headroom.
|
Design Constraint |
STM32L552CET6 Value |
Practical Consequence |
|
Secure/Non-secure code coexistence |
512 KB Flash, dual-bank with read-while-write |
Secure bootloader + application + update slot fit on-die |
|
Deterministic execution |
110 MHz Cortex-M33, 8 KB instruction cache, ART Accelerator |
Zero-wait-state execution from Flash for crypto and control loops |
|
Trust boundary enforcement |
TrustZone SAU/IDAU; GTZC; securable peripherals and SRAM |
Hardware isolation of keys and secure services |
|
Sleep-state energy |
17 nA Shutdown; 108 nA Standby; 3.16 µA Stop 2 with RTC |
Multi-year battery operation with RTC and tamper monitoring |
|
Active-state efficiency |
62 µA/MHz @ 3 V (SMPS) |
Cryptographic work fits within a duty-cycled energy budget |
|
Package and I/O |
LQFP48, 7 × 7 mm; 38 I/O |
Compact control card with sufficient fan-out for a sensor node |
|
Supply and temperature |
1.71–3.6 V; −40 °C to 85 °C |
Direct battery operation without a pre-regulator in many designs |
The 38 I/O count is worth an explicit note. On a 48-pin device, every routed signal competes for a finite budget, and the CET6’s pin allocation must accommodate the secure debug interface, the wakeup pins, the communication buses, and the analog front end simultaneously. This is not a limitation unique to this part, but it is the reason the 512 KB density is paired with a compact package: the intended system is a single-function secure node, not a hub with expansive peripheral fan-out.
Beyond TrustZone, the CET6 includes a HASH hardware accelerator and a true random number generator compliant with NIST SP800-90B, both of which sit on the secure side of the bus partition and can be reserved for secure-world use. The device also implements active tamper detection with secret-data erase on environmental or transient perturbation attacks, a mechanism that maps directly to point-of-sale and utility-metering threat models. On the analog side, two 12-bit ADCs at 5 Msps, two comparators, two operational amplifiers, two DAC channels, and four DFSDM filters provide the signal chain for sensor acquisition and metering front ends, while up to 22 capacitive-sensing channels support touch interfaces without an external controller. The communication set includes four I2Cs, three SPIs, three USARTs, two UARTs, one low-power UART, two SAIs, one SDMMC, one FDCAN, and a USB device FS interface with a USB Type-C power-delivery controller. The presence of FDCAN and USB-PD on a 48-pin secure MCU is unusual and points toward applications where the device is both a security anchor and a connectivity endpoint, rather than a pure sensor with a proprietary fieldbus.
The device ships with TrustZone disabled and behaves as a conventional Cortex-M33 microcontroller in that state, which allows application logic and peripheral drivers to mature before security partitioning is introduced. STM32CubeMX generates paired secure and non-secure projects when TrustZone is enabled, with the secure project containing the SAU/IDAU configuration, secure interrupt handlers, and non-secure callable veneers. For the L5 series, the security reference implementation is the STM32Cube TF-M package rather than the older X-CUBE-SBSFU flow used on non-TrustZone STM32 families. TF-M provides the secure boot, secure storage, and cryptographic services, and the non-secure application calls into those services through a standardized PSA API. The development implication is that the firmware architecture must be designed around a partition boundary from the outset: retrofitting TrustZone onto a monolithic application after the fact tends to produce a secure world that either exposes too much through its veneers or becomes a performance bottleneck.
The CET6 is selected when the secure firmware image and the non-secure application together exceed what a 256 KB device can hold with a firmware-update slot, but the physical system does not require more than 38 I/O or a larger package. It is the right part for a smart meter that must hold metrology keys, a billing application, and a secure update image on one die; for an industrial sensor node that performs TLS handshakes and must protect device identity without an external secure element; or for a point-of-sale peripheral where tamper detection and secret erase are contractual requirements. It becomes the wrong choice when the application can tolerate a 256 KB Flash budget and a smaller code image, in which case a lower-density variant in the same family reduces cost without changing the security architecture, or when the design requires Ethernet, a camera interface, or a large GPIO count that exceeds the 48-pin envelope.
Three application clusters align with the CET6’s resource profile. Smart metering uses the 512 KB Flash for a dual-image secure update scheme, the RTC and tamper detection for revenue-grade event logging, and the DFSDM and ADCs for shunt or Rogowski-coil metrology front ends. Industrial IoT sensor nodes place the TLS credentials and device identity in the secure world, run the network stack in the non-secure world, and use the SMPS-based Run current and Stop 2 sleep to extend battery life in duty-cycled reporting. Point-of-sale and access-control terminals exploit the active tamper detection and secret-erase mechanism alongside the USB-PD controller, allowing a single device to manage both the security boundary and the power negotiation to the host. In each case, the 512 KB Flash density is what allows the secure and non-secure worlds to each carry production-grade firmware rather than stripped-down demonstrations.