boards/st/nucleo_u5a5zj_q/doc/index.html · boards/st/nucleo_u5a5zj_q/doc/index.rst 공식 원문 ↗

Zephyr 3.7.0 · Boards · ST · Graphics U5

ST Nucleo U5A5ZJ Q

4MB U5A5의 Neo-Chrom GPU, 25개 communication peripheral과 저전력 수치를 읽습니다.

Official pathboards/st/nucleo_u5a5zj_q/doc/index.html
Source fileboards/st/nucleo_u5a5zj_q/doc/index.rst
Source versionZephyr 3.7.0
TranslationFull · reviewed

본문 기준: Zephyr 3.7.0 LTS3 · 이후 유지보수 패치는 별도입니다.

Part 1

요약·해설

지원표 13행, LPBAM부터 GPU2D·HSPI·PSA security·25개 communication peripheral까지 모두 옮기고 10개 GPIO controller와 도구 조건을 보존했습니다.

MCU

STM32U5A5ZJ

Memory

4MB / 2514KB

Graphics

Neo-Chrom GPU2D

Clock

160MHz

Part 2

접을 수 있는 영어 원문 전체

영어 원문 전체 펼치기
원문 SHA-256 F11AB3233F446F24F1C8535E545A65D8627E8CE41BABCAD0CB06C0DC0E80A37A
.. _nucleo_u5a5zj_q_board:

ST Nucleo U5A5ZJ Q
##################

Overview
********

The Nucleo U5A5ZJ Q board, featuring an ARM Cortex-M33 based STM32U5A5ZJ 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 U5A5ZJ Q
board:


- STM32U5A5ZJ microcontroller in LQFP144 package
- Internal SMPS to generate V core logic supply
- Two types of extension resources:

  - Arduino Uno V3 connectivity
  - ST morpho extension pin headers for full access to all STM32 I/Os

- On-board ST-LINK/V3E debugger/programmer
- Flexible board power supply:

  - USB VBUS or external source(3.3V, 5V, 7 - 12V)
  - ST-Link V3E

- Three users LEDs
- Two push-buttons: USER and RESET
- USB Type-C ™ Sink device FS

Hardware
********

The STM32U5A5xx devices are an ultra-low-power microcontrollers family (STM32U5
Series) based on the high-performance Arm® Cortex®-M33 32-bit RISC core.
They operate at a frequency of up to 160 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 +85/125 °C temperature range
  - Low-power background autonomous mode (LPBAM): autonomous peripherals with
    DMA, functional down to Stop 2 mode
  - VBAT mode: supply for RTC, 32 x 32-bit backup registers and 2-Kbyte backup SRAM
  - 150 nA Shutdown mode (24 wake-up pins)
  - 195 nA Standby mode (24 wake-up pins)
  - 480 nA Standby mode with RTC
  - 2 µA Stop 3 mode with 40-Kbyte SRAM
  - 8.2 µA Stop 3 mode with 2.5-Mbyte SRAM
  - 4.65 µA Stop 2 mode with 40-Kbyte SRAM
  - 17.5 µA Stop 2 mode with 2.5-Mbyte SRAM
  - 18.5 µA/MHz Run mode at 3.3 V

- Core:

  - Arm® 32-bit Cortex®-M33 CPU with TrustZone®, MPU, DSP,
    and FPU ART Accelerator
  - 32-Kbyte ICACHE allowing 0-wait-state execution from flash and external
    memories: frequency up to 160 MHz, 240 DMIPS
  - 16-Kbyte DCACHE1 for external memories

- Power management:

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

- Benchmarks:

  - 1.5 DMIPS/MHz (Drystone 2.1)
  - 655 CoreMark® (4.09 CoreMark®/MHz)
  - 369 ULPMark™-CP
  - 89 ULPMark™-PP
  - 47.2 ULPMark™-CM
  - 120000 SecureMark™-TLS

- Memories:

  - 4-Mbyte flash memory with ECC, 2 banks readwhile-write, including 512 Kbytes
    with 100 kcycles
  - With SRAM3 ECC off: 2514-Kbyte RAM including 66 Kbytes with ECC
  - With SRAM3 ECC on: 2450-Kbyte RAMincluding 322 Kbytes with ECC
  - External memory interface supporting SRAM,PSRAM, NOR, NAND, and FRAM memories
  - 2 Octo-SPI memory interfaces
  - 16-bit HSPI memory interface up to 160 MHz

- Rich graphic features:

  - Neo-Chrom GPU (GPU2D) accelerating any angle rotation, scaling, and
    perspective correct texture mapping
  - 16-Kbyte DCACHE2
  - Chrom-ART Accelerator (DMA2D) for smoothmotion and transparency effects
  - Chrom-GRC (GFXMMU) allowing up to 20 % of graphic resources optimization
  - MIPI® DSI host controller with two DSI lanes running at up to 500 Mbit/s each
  - LCD-TFT controller (LTDC)
  - Digital camera interface

- General-purpose input/outputs:

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

- Clock management:

  - 4 to 50 MHz crystal oscillator
  - 32 kHz crystal oscillator for RTC (LSE)
  - Internal 16 MHz factory-trimmed RC (± 1 %)
  - Internal low-power 32 kHz RC (± 5 %)
  - 2 internal multispeed 100 kHz to 48 MHz oscillators, including one
    autotrimmed by LSE (better than ± 0.25 % accuracy)
  - Internal 48 MHz
  - 5 PLLs for system clock, USB, audio, ADC, DSI

- Security and cryptography:

  - SESIP3 and PSA Level 3 Certified Assurance Target
  - Arm® TrustZone® and securable I/Os, memories, and peripherals
  - Flexible life cycle scheme with RDP andpassword-protected debug
  - Root of trust thanks to unique boot entry and secure hide-protection area (HDP)
  - Secure firmware installation (SFI) thanks to embedded root secure services (RSS)
  - Secure data storage with hardware unique key (HUK)
  - Secure firmware upgrade support with TF-M
  - 2 AES coprocessors including one with DPA resistance
  - Public key accelerator, DPA resistant
  - On-the-fly decryption of Octo-SPI external memories
  - HASH hardware accelerator
  - True random number generator, NIST SP800-90B compliant
  - 96-bit unique ID
  - 512-byte OTP (one-time programmable)
  - Active tampers

- Up to 17 timers, 2 watchdogs and RTC:

  - 19 timers: 2 16-bit advanced motor-control, 4 32-bit, 3 16-bit general
    purpose, 2 16-bit basic, 4 low-power 16-bit (available in Stop mode),
    2 SysTick timers, and 2 watchdogs
  - RTC with hardware calendar, alarms, and calibration

- Up to 25 communication peripherals:

  - 1 USB Type-C®/USB power delivery controller
  - 1 USB OTG high-speed with embedded PHY
  - 2 SAIs (serial audio interface)
  - 6 I2C FM+(1 Mbit/s), SMBus/PMBus™
  - 7 USARTs (ISO 7816, LIN, IrDA, modem)
  - 3 SPIs (6x SPIs with OCTOSPI/HSPI)
  - 1 CAN FD controller
  - 2 SDMMC interfaces
  - 1 multifunction digital filter (6 filters) + 1 audio digital filter
    with sound-activity detection
  - Parallel synchronous slave interface

- Mathematical coprocessor:

  - CORDIC for trigonometric functions acceleration
  - FMAC (filter mathematical accelerator)

- Rich analog peripherals (independent supply):

  - 2 14-bit ADC 2.5-Msps with hardware oversampling
  - 1 12-bit ADC 2.5-Msps, with hardware oversampling, autonomous in Stop 2 mode
  - 12-bit DAC (2 channels), low-power sample, and hold, autonomous in Stop 2 mode
  - 2 operational amplifiers with built-in PGA
  - 2 ultra-low-power comparators

- ECOPACK2 compliant packages

More information about STM32U5A5ZJ can be found here:

- `STM32U5A5ZJ on www.st.com`_
- `STM32U5A5 reference manual`_

Supported Features
==================

The Zephyr nucleo_u5a5zj_q board configuration supports the following hardware features:

+-----------+------------+-------------------------------------+
| Interface | Controller | Driver/Component                    |
+===========+============+=====================================+
| CAN/CANFD | on-chip    | canbus                              |
+-----------+------------+-------------------------------------+
| CLOCK     | on-chip    | reset and clock control             |
+-----------+------------+-------------------------------------+
| DAC       | on-chip    | DAC Controller                      |
+-----------+------------+-------------------------------------+
| GPIO      | on-chip    | gpio                                |
+-----------+------------+-------------------------------------+
| I2C       | on-chip    | i2c                                 |
+-----------+------------+-------------------------------------+
| NVIC      | on-chip    | nested vector interrupt controller  |
+-----------+------------+-------------------------------------+
| PINMUX    | on-chip    | pinmux                              |
+-----------+------------+-------------------------------------+
| SPI       | on-chip    | spi                                 |
+-----------+------------+-------------------------------------+
| UART      | on-chip    | serial port-polling;                |
|           |            | serial port-interrupt               |
+-----------+------------+-------------------------------------+
| WATCHDOG  | on-chip    | independent watchdog                |
+-----------+------------+-------------------------------------+
| BKP SRAM  | on-chip    | Backup SRAM                         |
+-----------+------------+-------------------------------------+
| RNG       | on-chip    | True Random number generator        |
+-----------+------------+-------------------------------------+
| RTC       | on-chip    | rtc                                 |
+-----------+------------+-------------------------------------+


Other hardware features are not yet supported on this Zephyr port.

The default configuration can be found in the defconfig file:
:zephyr_file:`boards/st/nucleo_u5a5zj_q/nucleo_u5a5zj_q_defconfig`


Connections and IOs
===================

Nucleo U5A5ZJ Q Board has 10 GPIO controllers. These controllers are responsible
for pin muxing, input/output, pull-up, etc.

For more details please refer to `STM32 Nucleo-144 board User Manual`_.

Default Zephyr Peripheral Mapping:
----------------------------------


- CAN/CANFD_TX: PD1
- CAN/CANFD_RX: PD0
- DAC1_OUT1 : PA4
- I2C_1_SCL : PB8
- I2C_1_SDA : PB9
- I2C_2_SCL : PF1
- I2C_2_SDA : PF0
- LD1 : PC7
- LD2 : PB7
- LD3 : PG2
- LPUART_1_TX : PG7
- LPUART_1_RX : PG8
- SPI_1_NSS : PA4
- SPI_1_SCK : PA5
- SPI_1_MISO : PA6
- SPI_1_MOSI : PA7
- UART_1_TX : PA9
- UART_1_RX : PA10
- UART_2_TX : PD5
- UART_2_RX : PD6
- USER_PB : PC13

System Clock
------------

Nucleo U5A5ZJ 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
160MHz, driven by 4MHz medium speed internal oscillator.

Serial Port
-----------

Nucleo U5A5ZJ Q board has 6 U(S)ARTs. The Zephyr console output is assigned to
USART1. Default settings are 115200 8N1.


Backup SRAM
-----------

In order to test backup SRAM you may want to disconnect VBAT from VDD. You can
do it by removing ``SB50`` jumper on the back side of the board.


Programming and Debugging
*************************

Nucleo U5A5ZJ-Q board includes an ST-LINK/V3 embedded debug tool interface.
This probe allows to flash the board using various tools.

Flashing
========

Board is configured to be flashed using west STM32CubeProgrammer runner.
Installation of `STM32CubeProgrammer`_ is then required to flash the board.

Alternatively, openocd (provided in Zephyr SDK), JLink and pyocd can also be
used to flash and debug the board if west is told to use it as runner,
which can be done by passing either ``-r openocd``, ``-r jlink`` or ``-r pyocd``.

For pyocd additional target information needs to be installed.
This can be done by executing the following commands.

.. code-block:: console

   $ pyocd pack --update
   $ pyocd pack --install stm32u5


Flashing an application to Nucleo U5A5ZJ Q
------------------------------------------

Connect the Nucleo U5A5ZJ Q to your host computer using the USB port.
Then build and flash an application. Here is an example for the
:ref:`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_u5a5zj_q
   :goals: build flash

You should see the following message on the console:

.. code-block:: console

   Hello World! arm

Debugging
=========

Default flasher for this board is openocd. It could be used in the usual way.
Here is an example for the :zephyr:code-sample:`blinky` application.

.. zephyr-app-commands::
   :zephyr-app: samples/basic/blinky
   :board: nucleo_u5a5zj_q
   :goals: debug

Note: Check the ``build/tfm`` directory to ensure that the commands required by these scripts
(``readlink``, etc.) are available on your system. Please also check ``STM32_Programmer_CLI``
(which is used for initialization) is available in the PATH.

.. _STM32 Nucleo-144 board User Manual:
   https://www.st.com/resource/en/user_manual/um2861-stm32u5-nucleo144-board-mb1549-stmicroelectronics.pdf

.. _STM32U5A5ZJ on www.st.com:
   https://www.st.com/en/microcontrollers/stm32u5a5zj.html

.. _STM32U5A5 reference manual:
   https://www.st.com/resource/en/reference_manual/rm0456-stm32u5-series-armbased-32bit-mcus-stmicroelectronics.pdf

.. _STM32CubeProgrammer:
   https://www.st.com/en/development-tools/stm32cubeprog.html

.. _STMicroelectronics customized version of OpenOCD:
   https://github.com/STMicroelectronics/OpenOCD

Part 3

한국어 전문 번역

개요

Nucleo U5A5ZJ Q는 Cortex-M33 기반 STM32U5A5ZJ를 탑재해 성능과 소비 전력의 여러 조합을 실험하는 Nucleo-144 board입니다.

  • LQFP144 STM32U5A5ZJ와 internal Vcore SMPS
  • Arduino Uno V3와 모든 I/O용 ST morpho
  • ST-LINK/V3E
  • USB VBUS 또는 외부 3.3V·5V·7~12V와 ST-Link V3E 전원
  • User LED 3개, USER·RESET button
  • USB Type-C sink full-speed device

Hardware

STM32U5A5xx는 최대 160MHz로 동작하는 ultra-low-power Cortex-M33 STM32U5 family입니다.

  • ST의 patented technology와 1.71~3.6V, -40~+85/125°C operating range
  • FlexPowerControl
    • DMA peripheral이 Stop 2까지 autonomous하게 동작하는 LPBAM
    • RTC·32×32-bit backup register·2KB backup SRAM용 VBAT mode
    • Shutdown 150nA·Standby 195nA, wake-up pin 24개
    • RTC 포함 Standby 480nA
    • SRAM 40KB/2.5MB 유지 Stop 3: 2µA/8.2µA
    • SRAM 40KB/2.5MB 유지 Stop 2: 4.65µA/17.5µA
    • 3.3V run mode 18.5µA/MHz
  • Core
    • TrustZone·MPU·DSP·FPU·ART Accelerator Cortex-M33
    • Flash·external memory의 0-wait-state 실행용 32KB ICACHE: 최대 160MHz, 240DMIPS
    • external memory용 16KB DCACHE1
  • On-the-fly switching과 voltage scaling이 가능한 embedded LDO·SMPS step-down converter
  • Benchmark
    • Dhrystone 2.1 1.5DMIPS/MHz
    • 655 CoreMark, 4.09 CoreMark/MHz
    • ULPMark-CP 369, ULPMark-PP 89, ULPMark-CM 47.2
    • SecureMark-TLS 120000
  • Memory
    • ECC dual-bank read-while-write 4MB flash, 이 중 512KB는 100k cycle
    • SRAM3 ECC off 시 2514KB RAM(66KB ECC 포함)
    • SRAM3 ECC on 시 2450KB RAM(322KB ECC 포함)
    • SRAM·PSRAM·NOR·NAND·FRAM external interface
    • OctoSPI 2개
    • 최대 160MHz 16-bit HSPI
  • Graphics
    • any-angle rotation·scaling·perspective-correct texture mapping용 Neo-Chrom GPU2D
    • 16KB DCACHE2
    • Chrom-ART DMA2D
    • resource를 최대 20% 절약하는 Chrom-GRC/GFXMMU
    • lane당 500Mbit/s의 2-lane MIPI DSI host
    • LCD-TFT controller
    • digital camera interface
  • Interrupt-capable fast I/O 최대 156개, 대부분 5V tolerant, 1.08V independent supply I/O 최대 14개
  • Clock
    • 4~50MHz crystal
    • RTC용 32kHz LSE
    • 16MHz HSI RC ±1%
    • 32kHz LSI RC ±5%
    • 100kHz~48MHz MSI 2개 중 하나는 LSE auto-trim, 정확도 ±0.25%보다 우수
    • internal 48MHz
    • system·USB·audio·ADC·DSI용 PLL 5개
  • Security·cryptography
    • SESIP3 및 PSA Level 3 Certified Assurance Target
    • TrustZone과 secure I/O·memory·peripheral
    • RDP와 password-protected debug lifecycle
    • unique boot entry와 secure HDP root of trust
    • embedded RSS 기반 SFI
    • HUK 기반 secure data storage
    • TF-M secure firmware upgrade
    • DPA-resistant 1개를 포함한 AES coprocessor 2개
    • DPA-resistant public-key accelerator
    • OctoSPI external memory on-the-fly decryption
    • HASH accelerator
    • NIST SP800-90B true RNG
    • 96-bit ID, 512-byte OTP, active tamper
  • Timer·RTC
    • advanced motor-control 16-bit 2개
    • 32-bit 4개, general-purpose 16-bit 3개, basic 16-bit 2개
    • Stop mode용 low-power 16-bit 4개
    • SysTick 2개와 watchdog 2개
    • calendar·alarm·calibration RTC
  • Communication peripheral 최대 25개
    • USB Type-C/PD controller와 embedded-PHY USB OTG high-speed
    • SAI 2개
    • FM+·SMBus·PMBus I2C 6개
    • USART 7개
    • SPI 3개, OctoSPI·HSPI까지 6개
    • CAN FD 1개
    • SDMMC 2개
    • 6-filter multi-function digital filter와 sound-activity detection audio filter
    • parallel synchronous slave interface
  • CORDIC와 FMAC mathematical coprocessor
  • Independent-supply analog
    • hardware oversampling 2.5MSPS 14-bit ADC 2개
    • Stop 2 autonomous 2.5MSPS 12-bit ADC 1개
    • 2-channel 12-bit DAC, low-power sample-and-hold
    • built-in PGA op amp 2개
    • ultra-low-power comparator 2개
  • ECOPACK2 compliant package

Zephyr 지원 기능

InterfaceControllerDriver/Component
CAN/CANFDon-chipcanbus
CLOCKon-chipreset and clock control
DACon-chipDAC Controller
GPIOon-chipgpio
I2Con-chipi2c
NVICon-chipnested vector interrupt controller
PINMUXon-chippinmux
SPIon-chipspi
UARTon-chipserial port-polling; serial port-interrupt
WATCHDOGon-chipindependent watchdog
BKP SRAMon-chipBackup SRAM
RNGon-chipTrue Random number generator
RTCon-chiprtc

표 밖 기능은 아직 지원하지 않습니다. 기본 설정은 boards/st/nucleo_u5a5zj_q/nucleo_u5a5zj_q_defconfig입니다.

Connection과 I/O

GPIO controller 10개가 pin muxing, input/output, pull-up 등을 담당합니다.

기본 Zephyr peripheral mapping

  • CAN/CANFD_TX : PD1
  • CAN/CANFD_RX : PD0
  • DAC1_OUT1 : PA4
  • I2C_1_SCL : PB8
  • I2C_1_SDA : PB9
  • I2C_2_SCL : PF1
  • I2C_2_SDA : PF0
  • LD1 : PC7
  • LD2 : PB7
  • LD3 : PG2
  • LPUART_1_TX : PG7
  • LPUART_1_RX : PG8
  • SPI_1_NSS : PA4
  • SPI_1_SCK : PA5
  • SPI_1_MISO : PA6
  • SPI_1_MOSI : PA7
  • UART_1_TX : PA9
  • UART_1_RX : PA10
  • UART_2_TX : PD5
  • UART_2_RX : PD6
  • USER_PB : PC13

Clock·serial·backup SRAM

기본 system clock은 4MHz MSI가 구동하는 PLL의 160MHz입니다. U(S)ART 6개 중 console은 USART1, 115200 8N1입니다. Backup SRAM 시험 시에는 board 뒷면의 SB50을 제거해 VBAT와 VDD를 분리합니다.

Programming and debugging

ST-LINK/V3 probe와 STM32CubeProgrammer runner가 기본입니다. OpenOCD·JLink·PyOCD는 각각 -r로 선택하며 PyOCD에는 STM32U5 pack이 필요합니다.

$ pyocd pack --update
$ pyocd pack --install stm32u5
$ minicom -D /dev/ttyACM0
west build -b nucleo_u5a5zj_q samples/hello_world
west flash
Hello World! arm

Debugging

기본 flasher는 OpenOCD입니다.

west build -b nucleo_u5a5zj_q samples/basic/blinky
west debug

도구 주의: script가 요구하는 readlink 등이 system에 있어야 하며, initialization에 쓰는 STM32_Programmer_CLI도 PATH에서 찾을 수 있어야 합니다. build/tfm directory를 확인하십시오.

참고 자료

Source

출처

영어 원문에는 문단, 문서 지시문, 표, 코드, 코드 심벌, 경로를 그대로 보존했습니다.