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

Zephyr 3.7.0 · Boards · ST · Nucleo-64

ST Nucleo H533RE

Cortex-M33 H5의 root of trust, secure target과 STM32CubeProgrammer workflow를 연결합니다.

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

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

Part 1

요약·해설

지원표 10행과 Secure board option, H5 security·memory·communication IP, 240MHz clock 및 runner 대안을 번역했습니다.

MCU

STM32H533RE

Core

Cortex-M33

Security

TrustZone

Clock

240MHz

Part 2

접을 수 있는 영어 원문 전체

영어 원문 전체 펼치기
원문 SHA-256 E7BE54C4260B89F74AB5E1D83F5A42A0812EE495BD2C40D738A98F1B69578739
.. _nucleo_h533re_board:

ST Nucleo H533RE
################

Overview
********

The Nucleo H533RE board is designed as an affordable development platform for
STMicroelectronics ARM |reg| Cortex |reg|-M33 core-based STM32H533RET6
microcontroller with TrustZone |reg|.
Here are some highlights of the Nucleo H533RE board:

- STM32H533RE microcontroller featuring 512 kbytes of Flash memory and 272 Kbytes of
  SRAM in LQFP64 package

- Board connectors:

  - USB Type-C |trade| Sink device FS
  - ST Zio expansion connector including Arduino Uno V3 connectivity (CN5, CN6, CN8, CN9)
  - ST morpho extension connector (CN7, CN10)

- Flexible board power supply:

   - 5V_USB_STLK from ST-Link USB connector
   - VIN (7 - 12V, 0.8) supplied via pin header CN6 pin 8 or CN7 pin 24
   - ESV on the ST morpho connector CN7 Pin 6 (5V, O.5A)
   - VBUS_STLK from a USB charger via the ST-LINK USB connector
   - VBUSC from the USB user connector (5V, 0.5A)
   - 3V3_EXT supplied via a pin header CN6 pin 4 or CN7 pin 16 (3.3V, 1.3A)

- On-board ST-LINK/V3EC debugger/programmer

  - mass storage
  - Virtual COM port
  - debug port

- One user LED shared with ARDUINO |reg| Uno V3
- Two push-buttons: USER and RESET
- 32.768 kHz crystal oscillator

More information about the board can be found at the `NUCLEO_H533RE website`_.

.. image:: ../../../../../../../boards/st/nucleo_h533re/doc/img/nucleo_h533re.jpg
   :align: center
   :alt: NUCLEO H533RE

Hardware
********

The STM32H533xx devices are high-performance microcontrollers from the STM32H5
Series based on the high-performance Arm |reg| Cortex |reg|-M33 32-bit RISC core.
They operate at a frequency of up to 250 MHz.

- Core: ARM |reg| 32-bit Cortex |reg| -M33 CPU with TrustZone |reg| and FPU.
- Performance benchmark:

  - 375 DMPIS/MHz (Dhrystone 2.1)

- Security

  - Arm |reg| TrustZone |reg| with Armv8-M mainline security extension
  - Up to eight configurable SAU regions
  - TrustZone |reg| aware and securable peripherals
  - Flexible life cycle scheme with secure debug authentication
  - SESIP3 and PSA Level 3 certified assurance target
  - Preconfigured immutable root of trust (ST-iROT)
  - SFI (secure firmware installation)
  - Root of trust thanks to unique boot entry and secure hide protection area (HDP)
  - Secure data storage with hardware unique key (HUK)
  - Secure firmware upgrade support with TF-M
  - Two 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
  - Active tampers

- Clock management:

  - 24 MHz crystal oscillator (HSE)
  - 32 kHz crystal oscillator for RTC (LSE)
  - Internal 64 MHz (HSI) trimmable by software
  - Internal low-power 32 kHz RC (LSI)( |plusminus| 5%)
  - Internal 4 MHz oscillator (CSI), trimmable by software
  - Internal 48 MHz (HSI48) with recovery system
  - 3 PLLs for system clock, USB, audio, ADC

- Power management

  - Embedded regulator (LDO) with three configurable range output to supply the digital circuitry
  - Embedded SMPS step-down converter

- RTC with HW calendar, alarms and calibration
- Up to 112 fast I/Os, most 5 V-tolerant, up to 10 I/Os with independent supply down to 1.08 V
- Up to 16 timers and 2 watchdogs

  - 8x 16-bit
  - 2x 32-bit timers with up to 4 IC/OC/PWM or pulse counter and quadrature (incremental) encoder input
  - 2x 16-bit low-power 16-bit timers (available in Stop mode)
  - 2x watchdogs
  - 2x SysTick timer

- Memories

  - Up to 512 Kbytes Flash, 2 banks read-while-write
  - 1 Kbyte OTP (one-time programmable)
  - 272 Kbytes of SRAM (80-Kbyte SRAM2 with ECC)
  - 2 Kbytes of backup SRAM available in the lowest power modes
  - Flexible external memory controller with up to 16-bit data bus: SRAM, PSRAM, FRAM, NOR/NAND memories
  - 1x OCTOSPI memory interface with on-the-fly decryption and support for serial PSRAM/NAND/NOR, Hyper RAM/Flash frame formats
  - 1x SD/SDIO/MMC interfaces

- Rich analog peripherals (independent supply)

  - 2x 12-bit ADC with up to 5 MSPS in 12-bit
  - 1x 12-bit DAC with 2 channels
  - 1x Digital temperature sensor
  - Voltage reference buffer

- 34x communication interfaces

  - 1x USB Type-C / USB power-delivery controller
  - 1x USB 2.0 full-speed host and device (crystal-less)
  - 3x I2C FM+ interfaces (SMBus/PMBus)
  - 2x I3C interface
  - 6x U(S)ARTS (ISO7816 interface, LIN, IrDA, modem control)
  - 1x LP UART
  - 4x SPIs including 3 muxed with full-duplex I2S
  - 4x additional SPI from 4x USART when configured in Synchronous mode
  - 2x FDCAN
  - 1x SDMMC interface
  - 2x 16 channel DMA controllers
  - 1x 8- to 14- bit camera interface
  - 1x HDMI-CEC
  - 1x 16-bit parallel slave synchronous-interface

- Development support: serial wire debug (SWD), JTAG, Embedded Trace Macrocell |trade|

More information about STM32H533RE can be found here:

- `STM32H533re on www.st.com`_
- `STM32H533 reference manual`_

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

The Zephyr nucleo_h533re board configuration supports the following hardware features:

+-----------+------------+-------------------------------------+
| Interface | Controller | Driver/Component                    |
+===========+============+=====================================+
| CLOCK     | on-chip    | reset and clock control             |
+-----------+------------+-------------------------------------+
| GPIO      | on-chip    | gpio                                |
+-----------+------------+-------------------------------------+
| NVIC      | on-chip    | nested vector interrupt controller  |
+-----------+------------+-------------------------------------+
| PINMUX    | on-chip    | pinmux                              |
+-----------+------------+-------------------------------------+
| PWM       | on-chip    | PWM                                 |
+-----------+------------+-------------------------------------+
| RNG       | on-chip    | True Random number generator        |
+-----------+------------+-------------------------------------+
| RTC       | on-chip    | Real Time Clock                     |
+-----------+------------+-------------------------------------+
| UART      | on-chip    | serial port-polling;                |
|           |            | serial port-interrupt               |
+-----------+------------+-------------------------------------+
| WATCHDOG  | on-chip    | independent watchdog                |
+-----------+------------+-------------------------------------+
| ADC       | on-chip    | ADC Controller                      |
+-----------+------------+-------------------------------------+

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

The default configuration can be found in the defconfig and dts files:

- Secure target:

  - :zephyr_file:`boards/st/nucleo_h533re/nucleo_h533re_defconfig`
  - :zephyr_file:`boards/st/nucleo_h533re/nucleo_h533re.dts`

Zephyr board options
====================

The STM32H533 is a SoC with Cortex-M33 architecture. Zephyr provides support
for building for Secure firmware.

The BOARD options are summarized below:

+----------------------+-----------------------------------------------+
|   BOARD              | Description                                   |
+======================+===============================================+
| nucleo_h533re        | For building Secure firmware                  |
+----------------------+-----------------------------------------------+

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

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

For more details please refer to `STM32H5 Nucleo-64 board User Manual`_.

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

- ADC1 channel 0 input: PA0
- USART1 TX/RX : PB14/PB15 (Arduino USART1)
- SPI1 SCK/MISO/MOSI/NSS: PA5/PA6/PA7/PA4
- UART2 TX/RX : PA2/PA3 (VCP)
- USER_PB : PC13

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

Nucleo H533RE 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
240MHz, driven by an 24MHz high-speed external clock.

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

Nucleo H533RE board has up to 4 USARTs, 2 UARTs, and one LPUART. The Zephyr console output is assigned
to USART2. Default settings are 115200 8N1.

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

Applications for the ``nucleo_h533re`` board can be built and
flashed in the usual way (see :ref:`build_an_application` and
:ref:`application_run` for more details).

Flashing
========

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

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

Alternatively, pyocd or jlink via an external probe 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 or ``-r pyocd``, or ``-r jlink``.

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 stm32h5


Flashing an application to Nucleo H533RE
------------------------------------------

Connect the Nucleo H533RE 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_h533re
   :goals: build flash

You should see the following message on the console:

.. code-block:: console

   Hello World! nucleo_h533re

Debugging
=========

You can debug an application 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_h533re
   :goals: debug

.. _NUCLEO_H533RE website:
   https://www.st.com/en/evaluation-tools/nucleo-h533re

.. _STM32H5 Nucleo-64 board User Manual:
   https://www.st.com/resource/en/user_manual/um3121-stm32h5-nucleo64-board-mb1814-stmicroelectronics.pdf

.. _STM32H533RE on www.st.com:
   https://www.st.com/en/microcontrollers-microprocessors/stm32h533re

.. _STM32H533 reference manual:
   https://www.st.com/resource/en/reference_manual/rm0481-stm32h533-stm32h563-stm32h573-and-stm32h562-armbased-32bit-mcus-stmicroelectronics.pdf

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

Part 3

한국어 전문 번역

NUCLEO H533RE

개요

Nucleo H533RE는 TrustZone을 갖춘 Arm Cortex-M33 STM32H533RET6를 위한 경제적인 개발 platform입니다.

  • LQFP64 STM32H533RE, flash 512KB, SRAM 272KB
  • USB Type-C Sink FS, Arduino Uno V3를 포함한 ST Zio, ST morpho connector
  • 5V_USB_STLK, VIN 7~12V·0.8, CN7의 ESV 5V·O.5A, ST-LINK charger VBUS_STLK, user USB VBUSC 5V·0.5A, 3V3_EXT 3.3V·1.3A 전원 경로
  • Mass storage·Virtual COM·debug port를 제공하는 ST-LINK/V3EC
  • Arduino와 공유하는 user LED, USER·RESET button, 32.768kHz crystal

Hardware

STM32H533xx는 최대 250MHz로 동작하는 STM32H5 계열 고성능 Cortex-M33 32-bit RISC MCU입니다. FPU와 TrustZone을 포함하며 원문 benchmark는 375 DMPIS/MHz(Dhrystone 2.1)입니다.

Security

  • Armv8-M Mainline security extension과 configurable SAU region 최대 8개
  • TrustZone-aware·securable peripheral, secure debug authentication이 있는 flexible life cycle
  • SESIP3·PSA Level 3 assurance target
  • Preconfigured immutable root of trust(ST-iROT), SFI, unique boot entry와 HDP에 의한 root of trust
  • Hardware unique key(HUK) 기반 secure data storage, TF-M secure firmware upgrade
  • DPA-resistant unit 1개를 포함한 AES coprocessor 2개, DPA-resistant public-key accelerator
  • Octo-SPI external memory on-the-fly decryption, HASH accelerator
  • NIST SP800-90B compliant true RNG, 96-bit unique ID, active tamper

Clock·power·timer

  • HSE 24MHz, RTC LSE 32kHz, software-trimmable HSI 64MHz, LSI 32kHz(±5%), CSI 4MHz, recovery system이 있는 HSI48, PLL 3개
  • Digital circuitry용 3-range LDO와 embedded SMPS step-down converter
  • Calendar·alarm·calibration RTC
  • 대부분 5V tolerant인 fast I/O 최대 112개, 이 가운데 최대 10개는 1.08V independent supply
  • Timer 최대 16개와 watchdog 2개: 16-bit 8개, 32-bit 2개, Stop mode용 16-bit low-power timer 2개, watchdog 2개, SysTick 2개

Memory·analog·communication

  • Read-while-write dual-bank flash 최대 512KB, OTP 1KB, ECC SRAM2 80KB를 포함한 SRAM 272KB, low-power backup SRAM 2KB
  • 16-bit external memory controller(SRAM·PSRAM·FRAM·NOR/NAND), OCTOSPI 1개, SD/SDIO/MMC 1개
  • 5MSPS 12-bit ADC 2개, 2-channel 12-bit DAC 1개, digital temperature sensor, voltage-reference buffer
  • USB Type-C/PD 1개, crystal-less USB 2.0 FS host/device 1개, I2C FM+ 3개, I3C 2개
  • U(S)ART 6개, LPUART 1개, SPI 4개와 USART synchronous mode 추가 SPI 4개, FDCAN 2개, SDMMC 1개
  • 16-channel DMA controller 2개, 8~14-bit camera interface, HDMI-CEC, 16-bit parallel slave synchronous interface
  • SWD·JTAG·ETM development support

Zephyr 지원 기능

InterfaceControllerDriver/Component
CLOCKon-chipreset and clock control
GPIOon-chipgpio
NVICon-chipnested vector interrupt controller
PINMUXon-chippinmux
PWMon-chipPWM
RNGon-chipTrue Random number generator
RTCon-chipReal Time Clock
UARTon-chipserial port-polling; serial port-interrupt
WATCHDOGon-chipindependent watchdog
ADCon-chipADC Controller

표 밖 기능은 아직 지원하지 않습니다. Secure target의 기본 파일은 boards/st/nucleo_h533re/nucleo_h533re_defconfig와 boards/st/nucleo_h533re/nucleo_h533re.dts입니다.

Zephyr board option

STM32H533은 Cortex-M33 SoC이며 Zephyr는 Secure firmware build를 지원합니다.

BOARDDescription
nucleo_h533reSecure firmware build용

Connection과 I/O

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

  • ADC1 channel 0 : PA0
  • USART1 TX/RX : PB14/PB15 (Arduino USART1)
  • SPI1 SCK/MISO/MOSI/NSS : PA5/PA6/PA7/PA4
  • UART2 TX/RX : PA2/PA3 (VCP)
  • USER_PB : PC13

System clock과 serial port

기본 system clock은 24MHz high-speed external clock이 구동하는 PLL의 240MHz입니다. 최대 USART 4개, UART 2개, LPUART 1개 가운데 Zephyr console은 USART2이며 기본값은 115200 8N1입니다.

Programming and debugging

Onboard ST-LINK/V3EC를 사용하며 기본 west runner는 STM32CubeProgrammer이므로 해당 도구를 설치해야 합니다. 외부 probe와 함께 -r pyocd 또는 -r jlink를 지정할 수도 있습니다. PyOCD에는 H5 target pack을 설치합니다.

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

Debugging

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

참고 자료

Source

출처

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