Nucleo U3C5ZI Q

Overview

The Nucleo U3C5ZI-Q board, featuring an ARM® Cortex®-M33 with TrustZone® based STM32U3C5ZI MCU, provides an affordable and flexible way for users to try out new concepts and build prototypes by choosing from the various combinations of performance and power consumption features. Here are some highlights of the Nucleo U3C5ZI-Q board:

  • STM32U3C5ZI microcontroller in an LQFP144 package

  • Two types of extension resources:

    • Arduino® Uno V3 connectivity

    • ST morpho extension pin headers for full access to all STM32U3 I/Os

  • On-board ST-LINK debugger/programmer with USB re-enumeration capability:

    mass storage, Virtual COM port, and debug port

  • Flexible board power supply:

    • USB VBUS or external source (3.3 V, 5 V, 7 - 12 V)

  • Two push-buttons: USER and RESET

  • Three user LEDs

  • 32.768 kHz crystal oscillator

  • USB full-speed device interface

  • CAN FD connector

  • M.2 Key A serial memory expansion connector

More information about the board can be found at the NUCLEO-U3C5ZI-Q website.

Hardware

The STM32U3C5xx devices are an ultra-low-power microcontrollers family (STM32U3 Series) based on the high-performance Arm® Cortex®-M33 32-bit RISC core. They operate at a frequency of up to 96 MHz.

  • Includes ST state-of-the-art patented technology

  • Ultra-low-power with FlexPowerControl:

    • 1.71 V to 3.6 V power supply

    • -40 °C to +105 °C temperature range

    • VBAT mode: supply for RTC, 32 x 32-bit backup registers

    • 1.6 μA Stop 3 mode with 8-Kbyte SRAM

    • 3.15 μA Stop 3 mode with full SRAM

    • 3.5 μA Stop 2 mode with 8-Kbyte SRAM

    • 5.7 μA Stop 2 mode with full SRAM

    • 12 μA/MHz Run mode @ 3.3 V, 48 MHz (While(1) SMPS step-down converter mode)

    • 15.5 μA/MHz Run mode @ 3.3 V, 48 MHz (CoreMark® SMPS step-down converter mode)

    • 20 μA/MHz Run mode @ 3.3 V, 96 MHz (CoreMark® SMPS step-down converter mode)

    • Brownout reset

  • Core:

    • Arm® 32-bit Cortex®-M33 CPU with TrustZone® and FPU

  • ART Accelerator:

    • 8-Kbyte instruction cache allowing 0-wait-state execution from flash and external memories: frequency up to 96 MHz, MPU, 144 DMIPS and DSP instructions

  • Mathematical coprocessor:

    • Hardware signal processor (HSP) for digital signal and artificial intelligence processing

  • Power management:

    • Embedded regulator (LDO) and SMPS step-down converter supporting switch on-the-fly and voltage scaling

  • Benchmarks:

    • 395.4 CoreMark® (4.12 CoreMark®/MHz)

  • Memories:

    • 2-Mbyte flash memory with ECC, 2 banks read-while-write

    • 640 Kbytes of SRAM including 384 Kbytes with hardware parity check

    • OCTOSPI external memory interface supporting SRAM, PSRAM, NOR, NAND, and FRAM memories

  • Security and cryptography:

    • Arm® TrustZone® and securable I/Os, memories, and peripherals

    • Flexible life cycle scheme with RDP and password protected debug

    • Root of trust due to unique boot entry and secure hide protection area (HDP)

    • Secure firmware installation (SFI) from embedded root secure services (RSS)

    • Secure data storage with hardware unique key (HUK)

    • Secure firmware upgrade

    • Support of Trusted firmware for Cortex® M (TF-M)

    • Two AES coprocessors, one with side channel attack resistance (SCA) (SAES)

    • Public key accelerator, SCA resistant

    • Key hardware protection

    • Attestation keys

    • HASH hardware accelerator

    • True random number generator, NIST SP800-90B compliant

    • 96-bit unique ID

    • 512-byte OTP (one-time programmable)

    • Antitamper protection

  • Clock management:

    • 4 to 50 MHz crystal oscillator

    • 32.768 kHz crystal oscillator for RTC (LSE)

    • Internal 16 MHz factory-trimmed RC (±1 %)

    • Internal low-power RC with frequency 32 kHz or 250 Hz (±5 %)

    • 2 internal multispeed 3 MHz to 96 MHz oscillators

    • Internal 48 MHz with clock recovery

    • Accurate MSI in PLL-mode and up to 96 MHz with 32.768 kHz, 16 MHz, or 32 MHz crystal oscillator

  • General-purpose input/outputs:

    • Up to 114 fast I/Os with interrupt capability, most 5 V-tolerant, and up to 14 I/Os with independent supply down to 1.08 V

  • Up to 17 timers and 2 watchdogs:

    • 2x 16-bit advanced motor-control, 3x 32-bit and 4x 16-bit general purpose, 2x 16-bit basic, 4x low-power 16-bit timers (available in Stop mode), 2x watchdogs, 2x SysTick timer

    • RTC with hardware calendar, alarms, and calibration

  • Up to 23 communication peripherals:

    • 1 USB 2.0 full-speed controller

    • 1 SAI (serial audio interface)

    • 4 I2C FM+ (1 Mbit/s), SMBus/PMBus®

    • 2 I3C (SDR), with support of I2C FM+ mode

    • 3 USARTs and 2 UARTs (SPI, ISO 7816, LIN, IrDA, modem), 1 LPUART

    • 4 SPIs (7 SPIs including 1 with OCTOSPI + 2 with USART)

    • 2 CAN FD controllers

    • 1 SDMMC interface

    • 1 audio digital filter with sound-activity detection

  • 12-channel GPDMA controller, functional in Sleep and Stop modes

  • Up to 24 capacitive sensing channels:

    • Support touch key, linear, and rotary touch sensors

  • Rich analog peripherals (independent supply):

    • 2x 12-bit ADCs 2.5 Msps, with hardware oversampling

    • 12-bit DAC module with 2 D/A converters, low-power sample and hold, autonomous in Stop 1 mode

    • 2 operational amplifiers with built-in PGA

    • 2 ultra-low-power comparators

  • CRC calculation unit

  • Debug:

    • Development support: serial-wire debug (SWD), JTAG, Embedded Trace Macrocell™ (ETM)

  • ECOPACK2 compliant packages

More information about STM32U3C5ZI can be found here:

Supported Features

The nucleo_u3c5zi_q board supports the hardware features listed below.

on-chip / on-board
Feature integrated in the SoC / present on the board.
2 / 2
Number of instances that are enabled / disabled.
Click on the label to see the first instance of this feature in the board/SoC DTS files.
vnd,foo
Compatible string for the Devicetree binding matching the feature.
Click on the link to view the binding documentation.

nucleo_u3c5zi_q/stm32u3c5xx target

Type

Location

Description

Compatible

CPU

on-chip

ARM Cortex-M33 CPU1

arm,cortex-m33

ADC

on-chip

STM32N6 ADC2

st,stm32n6-adc

CAN

on-chip

STM32 FDCAN CAN FD controller1

st,stm32-fdcan

Clock control

on-chip

STM32U5 RCC (Reset and Clock controller)1

st,stm32u5-rcc

on-chip

STM32 HSE Clock1

st,stm32-hse-clock

on-chip

Generic fixed-rate clock provider3

fixed-clock

on-chip

STM32U3 Multi Speed Internal Clock2

st,stm32u3-msi-clock

on-chip

STM32 LSE Clock1

st,stm32-lse-clock

Counter

on-chip

STM32 counters9

st,stm32-counter

CRC

on-chip

STM32 CRC calculation unit1

st,stm32-crc

DAC

on-chip

STM32 family DAC1

st,stm32-dac

DMA

on-chip

STM32U5 DMA controller1

st,stm32u5-dma

Flash controller

on-chip

STM32 Family flash controller1

st,stm32-flash-controller

GPIO & Headers

on-chip

STM32 GPIO Controller8

st,stm32-gpio

on-board

GPIO pins exposed on Arduino Uno (R3) headers1

arduino-header-r3

I2C

on-chip

STM32 I2C V2 controller12

st,stm32-i2c-v2

I2S

on-chip

STM32 SAI controller2

st,stm32-sai

Input

on-board

Group of GPIO-bound input keys1

gpio-keys

Interrupt controller

on-chip

ARMv8-M NVIC (Nested Vectored Interrupt Controller)1

arm,v8m-nvic

on-chip

STM32G0 External Interrupt Controller1

st,stm32g0-exti

LED

on-board

Group of GPIO-controlled LEDs1

gpio-leds

on-board

Group of PWM-controlled LEDs1

pwm-leds

MTD

on-chip

STM32 flash memory1

st,stm32-nv-flash

on-board

Fixed partitions of a flash (or other non-volatile storage) memory1

fixed-partitions

NVMEM

on-chip

Fixed layout for Non-Volatile memory1

fixed-layout

OTP memory

on-chip

STM32 embedded NVM OTP11

st,stm32-nvm-otp

PHY

on-chip

This binding is to be used by all the usb transceivers which are built-in with USB IP1

usb-nop-xceiv

Pin control

on-chip

STM32 Pin controller1

st,stm32-pinctrl

PWM

on-chip

STM32 PWM18

st,stm32-pwm

Reset controller

on-chip

STM32 Reset and Clock Control (RCC) Controller1

st,stm32-rcc-rctl

RNG

on-chip

STM32 Random Number Generator1

st,stm32-rng

RTC

on-chip

STM32 RTC1

st,stm32-rtc

Serial controller

on-chip

STM32 USART11

st,stm32-usart

on-chip

STM32 UART1

st,stm32-uart

on-chip

STM32 LPUART1

st,stm32-lpuart

SPI

on-chip

STM32H7 SPI controller12

st,stm32h7-spi

Timer

on-chip

ARMv8-M System Tick1

arm,armv8m-systick

on-chip

STM32 timers27

st,stm32-timers

USB

on-chip

STM32 USB controller1

st,stm32-usb

Watchdog

on-chip

STM32 watchdog1

st,stm32-watchdog

on-chip

STM32 system window watchdog1

st,stm32-window-watchdog

Connections and IOs

Nucleo U3C5ZI-Q board has multiple GPIO controllers. These controllers are responsible for pin muxing, input/output, pull-up, and related configuration.

For more details please refer to the NUCLEO-U3C5ZI-Q data brief.

Default Zephyr Peripheral Mapping:

  • ADC2_IN1 (V-sense) : PC2

  • CAN FD 1 TX/RX : PF8/PF7

  • FDCAN transceiver standby : PD7

  • LD (User LED) : PA5

  • UART_1_TX : PA9

  • UART_1_RX : PA10

  • USB_DM/USB_DP : PA11/PA12

  • USER_PB : PC13

  • VBUS detect : PF12

System Clock

Nucleo U3C5ZI-Q system clock could be driven by internal or external oscillator, as well as main PLL clock. By default, system clock is driven by PLL clock at 96 MHz.

Serial Port

Nucleo U3C5ZI-Q board has multiple U(S)ARTs and one LPUART. The Zephyr console output is assigned to USART1. Default settings are 115200 8N1.

CAN

The board exposes CAN FD signals through FDCAN1 pins on PF7 (FDCAN1_RX) and PF8 (FDCAN1_TX).

Programming and Debugging

The nucleo_u3c5zi_q board supports the runners and associated west commands listed below.

flash debug attach debugserver rtt reset
jlink
pyocd ✅ (default)
stlink_gdbserver
stm32cubeprogrammer ✅ (default)

Nucleo U3C5ZI-Q board includes an ST-LINK embedded debug interface. This probe allows flashing the board using various tools.

Flashing

The board is configured to be flashed using west STM32CubeProgrammer runner, so its installation is required.

Alternatively, JLink or pyOCD can also be used to flash the board using the --runner (or -r) option:

$ west flash --runner pyocd
$ west flash --runner jlink

For pyOCD, additional target information needs to be installed by executing the following pyOCD commands:

$ pyocd pack --update
$ pyocd pack --install stm32u3

Flashing an application to Nucleo U3C5ZI-Q

Connect the Nucleo U3C5ZI-Q to your host computer using the USB port. Then build and flash an application. Here is an example for the Hello World application.

Run a serial host program to connect with your Nucleo board:

$ minicom -D /dev/ttyACM0

Then build and flash the application.

# From the root of the zephyr repository
west build -b nucleo_u3c5zi_q samples/hello_world
west flash

You should see a hello message on the console.

Hello World! nucleo_u3c5zi_q

Debugging

Default debugger for this board is pyOCD. JLink can also be used by specifying the runner explicitly. Here is an example for the Blinky application.

# From the root of the zephyr repository
west build -b nucleo_u3c5zi_q samples/basic/blinky
west debug