boards/st/nucleo_u3c5zi_q/doc/index.rst
.. zephyr:board:: 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:
On-board ST-LINK debugger/programmer with USB re-enumeration capability: mass storage, Virtual COM port, and debug port
Flexible board power supply:
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:
Core:
ART Accelerator:
Mathematical coprocessor:
Power management:
Benchmarks:
Memories:
Security and cryptography:
Clock management:
General-purpose input/outputs:
Up to 17 timers and 2 watchdogs:
Up to 23 communication peripherals:
12-channel GPDMA controller, functional in Sleep and Stop modes
Up to 24 capacitive sensing channels:
Rich analog peripherals (independent supply):
CRC calculation unit
Debug:
ECOPACK2 compliant packages
More information about STM32U3C5ZI can be found here:
STM32U3C5ZI on www.st.com_STM32U3 reference manual_.. zephyr:board-supported-hw::
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_.
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.
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.
The board exposes CAN FD signals through FDCAN1 pins on PF7
(FDCAN1_RX) and PF8 (FDCAN1_TX).
Programming and Debugging
.. zephyr:board-supported-runners::
Nucleo U3C5ZI-Q board includes an ST-LINK embedded debug interface. This probe allows flashing the board using various tools.
The board is configured to be flashed using west STM32CubeProgrammer_ runner,
so its :ref:installation <stm32cubeprog-flash-host-tools> is required.
Alternatively, JLink or pyOCD can also be used to flash the board using
the --runner (or -r) option:
.. code-block:: console
$ west flash --runner pyocd $ west flash --runner jlink
For pyOCD, additional target information needs to be installed by executing the following pyOCD commands:
.. code-block:: console
$ pyocd pack --update $ pyocd pack --install stm32u3
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
:zephyr:code-sample:hello_world application.
Run a serial host program to connect with your Nucleo board:
.. code-block:: console
$ minicom -D /dev/ttyACM0
Then build and flash the application.
.. zephyr-app-commands:: :zephyr-app: samples/hello_world :board: nucleo_u3c5zi_q :goals: build flash
You should see a hello message on the console.
.. code-block:: console
Hello World! nucleo_u3c5zi_q
Default debugger for this board is pyOCD.
JLink can also be used by specifying the runner explicitly.
Here is an example for the :zephyr:code-sample:blinky application.
.. zephyr-app-commands:: :zephyr-app: samples/basic/blinky :board: nucleo_u3c5zi_q :goals: debug
.. _NUCLEO-U3C5ZI-Q website: https://www.st.com/en/evaluation-tools/nucleo-u3c5zi-q.html
.. _NUCLEO-U3C5ZI-Q data brief: https://www.st.com/resource/en/data_brief/nucleo-u3c5zi-q.pdf
.. _STM32U3C5ZI on www.st.com: https://www.st.com/en/microcontrollers-microprocessors/stm32u3c5zi.html
.. _STM32U3 reference manual: https://www.st.com/resource/en/reference_manual/rm0487-stm32u3-series-armbased-32bit-mcus-stmicroelectronics.pdf
.. _STM32CubeProgrammer: https://www.st.com/en/development-tools/stm32cubeprog.html