Part 1
요약·해설
지원표 19행, security·clock·memory·34-interface 전체, secure files와 pyOCD pack 절을 보존했습니다.
STM32H573II
Cortex-M33
TrustZone · ST-iROT
240MHz default
Part 2
접을 수 있는 영어 원문 전체
영어 원문 전체 펼치기
2F5C0A7C05AD55802BF41458A320AE19A6306AE07BF46E9A618365CDEB99E376
.. _stm32h573i_dk_board:
ST STM32H573I-DK Discovery
##########################
Overview
********
The STM32H573I-DK Discovery kit is designed as a complete demonstration and
development platform for STMicroelectronics Arm |reg| Cortex |reg|-M33 core-based
STM32H573IIK3Q microcontroller with TrustZone |reg|. Here are some highlights of
the STM32H573I-DK Discovery board:
- STM32H573IIK3Q microcontroller featuring 2 Mbytes of Flash memory and 640 Kbytes of SRAM in 176-pin BGA package
- 1.54-inch 240x240 pixels TFT-LCD with LED backlight and touch panel
- USB Type-C |trade| Host and device with USB power-delivery controller
- SAI Audio DAC stereo with one audio jacks for input/output,
- ST MEMS digital microphone with PDM interface
- Octo-SPI interface connected to 512Mbit Octo-SPI NORFlash memory device (MX25LM51245GXDI00 from MACRONIX)
- 10/100-Mbit Ethernet,
- microSD |trade|
- A Wi‑Fi® add-on board
- Board connectors
- STMod+ expansion connector with fan-out expansion board for Wi‑Fi |reg|, Grove and mikroBUS |trade| compatible connectors
- Pmod |trade| expansion connector
- Audio MEMS daughterboard expansion connector
- ARDUINO |reg| Uno V3 expansion connector
- Flexible power-supply options
- ST-LINK
- USB VBUS
- external sources
- On-board STLINK-V3E debugger/programmer with USB re-enumeration capability:
- mass storage
- Virtual COM port
- debug port
- 4 user LEDs
- User and reset push-buttons
.. image:: ../../../../../../../boards/st/stm32h573i_dk/doc/img/stm32h573i_dk.jpg
:align: center
:alt: STM32H573I-DK Discovery
More information about the board can be found at the `STM32H573I-DK Discovery website`_.
Hardware
********
The STM32H573xx devices are an high-performance microcontrollers family (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 8 configurable SAU regions
- TrustZone |reg| aware and securable peripherals
- Flexible lifecycle scheme with secure debug authentication
- Preconfigured immutable root of trust (ST-iROT)
- SFI (secure firmware installation)
- Secure data storage with hardware unique key (HUK)
- Secure firmware upgrade support with TF-M
- 2x 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
- True Random Number Generator (RNG) NIST SP800-90B compliant
- Clock management:
- 25 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 139 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
- 12x 16-bit
- 2x 32-bit timers with up to 4 IC/OC/PWM or pulse counter and quadrature (incremental) encoder input
- 6x 16-bit low-power 16-bit timers (available in Stop mode)
- 2x watchdogs
- 2x SysTick timer
- Memories
- Up to 2 MB Flash, 2 banks read-while-write
- 1 Kbyte OTP (one-time programmable)
- 640 KB of SRAM including 64 KB with hardware parity check and 320 Kbytes with flexible ECC
- 4 Kbytes of backup SRAM available in the lowest power modes
- Flexible external memory controller with up to 16-bit data bus: SRAM, PSRAM, FRAM, SDRAM/LPSDR SDRAM, NOR/NAND memories
- 1x OCTOSPI memory interface with on-the-fly decryption and support for serial PSRAM/NAND/NOR, Hyper RAM/Flash frame formats
- 2x SD/SDIO/MMC interfaces
- Rich analog peripherals (independent supply)
- 2x 12-bit ADC with up to 5 MSPS in 12-bit
- 2x 12-bit D/A converters
- 1x Digital temperature sensor
- 34x communication interfaces
- 1x USB Type-C / USB power-delivery controller
- 1x USB 2.0 full-speed host and device
- 4x I2C FM+ interfaces (SMBus/PMBus)
- 1x I3C interface
- 12x U(S)ARTS (ISO7816 interface, LIN, IrDA, modem control)
- 1x LP UART
- 6x SPIs including 3 muxed with full-duplex I2S
- 5x additional SPI from 5x USART when configured in Synchronous mode
- 2x SAI
- 2x FDCAN
- 1x SDMMC interface
- 2x 16 channel DMA controllers
- 1x 8- to 14- bit camera interface
- 1x HDMI-CEC
- 1x Ethernel MAC interface with DMA controller
- 1x 16-bit parallel slave synchronous-interface
- CORDIC for trigonometric functions acceleration
- FMAC (filter mathematical accelerator)
- CRC calculation unit
- Development support: serial wire debug (SWD), JTAG, Embedded Trace Macrocell |trade|
More information about STM32H573 can be found here:
- `STM32H573 on www.st.com`_
- `STM32H573 reference manual`_
Supported Features
==================
The Zephyr STM32H573I_DK 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 |
+-----------+------------+-------------------------------------+
| RNG | on-chip | True Random number generator |
+-----------+------------+-------------------------------------+
| UART | on-chip | serial port-polling; |
| | | serial port-interrupt |
+-----------+------------+-------------------------------------+
| WATCHDOG | on-chip | independent watchdog |
+-----------+------------+-------------------------------------+
| DAC | on-chip | DAC Controller |
+-----------+------------+-------------------------------------+
| ADC | on-chip | ADC Controller |
+-----------+------------+-------------------------------------+
| PWM | on-chip | PWM |
+-----------+------------+-------------------------------------+
| RTC | on-chip | Real Time Clock |
+-----------+------------+-------------------------------------+
| I2C | on-chip | i2c bus |
+-----------+------------+-------------------------------------+
| SPI | on-chip | spi bus |
+-----------+------------+-------------------------------------+
| OCTOSPI | on-chip | octospi |
+-----------+------------+-------------------------------------+
| CAN | on-chip | can bus |
+-----------+------------+-------------------------------------+
| AES | on-chip | crypto |
+-----------+------------+-------------------------------------+
| SDMMC | on-chip | disk access |
+-----------+------------+-------------------------------------+
| USB | on-chip | USB full-speed host/device bus |
+-----------+------------+-------------------------------------+
| RTC | on-chip | rtc |
+-----------+------------+-------------------------------------+
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/stm32h573i_dk/stm32h573i_dk_defconfig`
- :zephyr_file:`boards/st/stm32h573i_dk/stm32h573i_dk.dts`
Connections and IOs
===================
STM32H573I-DK Discovery Board has 9 GPIO controllers. These controllers are responsible for pin muxing,
input/output, pull-up, etc.
For more details please refer to `STM32H573I-DK Discovery board User Manual`_.
Default Zephyr Peripheral Mapping:
----------------------------------
- USART_1 TX/RX : PA9/PA10 (VCP)
- USART_3 TX/RX : PB11/PB10 (Arduino USART3)
- USER_PB : PC13
- LD1 (green) : PI9
- DAC1 channel 1 output : PA4
- ADC1 channel 6 input : PF12
System Clock
------------
STM32H573I-DK 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 25MHz external oscillator (HSE).
Serial Port
-----------
STM32H573I-DK Discovery board has 3 U(S)ARTs. The Zephyr console output is
assigned to USART1. Default settings are 115200 8N1.
Programming and Debugging
*************************
Applications for the ``stm32h573i_dk`` board configuration can be built and
flashed in the usual way (see :ref:`build_an_application` and
:ref:`application_run` for more details).
Flashing
========
STM32H573I-DK Discovery board includes an ST-LINK/V3E embedded debug tool
interface. Support is available on STM32CubeProgrammer V2.13.0.
Alternatively, this interface will be supported by a next openocd version.
Flashing an application to STM32H573I-DK Discovery
--------------------------------------------------
Connect the STM32H573I-DK Discovery 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: stm32h573i_dk
:goals: build flash
You should see the following message on the console:
.. code-block:: console
Hello World! stm32h573i_dk
Debugging
=========
Waiting for openocd support, debugging could be performed with pyocd which
requires to enable "pack" support with the following pyocd command:
.. code-block:: console
$ pyocd pack --update
$ pyocd pack --install stm32h5
Once installed, you can debug an application in the usual way. Here is an
example for the :ref:`hello_world` application.
.. zephyr-app-commands::
:zephyr-app: samples/hello_world
:board: stm32h573i_dk
:maybe-skip-config:
:goals: debug
.. _STM32H573I-DK Discovery website:
https://www.st.com/en/evaluation-tools/stm32h573i-dk.html
.. _STM32H573I-DK Discovery board User Manual:
https://www.st.com/en/evaluation-tools/stm32h573i-dk.html
.. _STM32H573 on www.st.com:
https://www.st.com/en/microcontrollers/stm32h573ii.html
.. _STM32H573 reference manual:
https://www.st.com/resource/en/reference_manual/rm0481-stm32h563h573-and-stm32h562-armbased-32bit-mcus-stmicroelectronics.pdf
.. _STM32CubeProgrammer:
https://www.st.com/en/development-tools/stm32cubeprog.html
Part 3
한국어 전문 번역

개요
STM32H573I-DK는 TrustZone을 갖춘 Cortex-M33 STM32H573IIK3Q의 demonstration/development platform입니다.
- 176-pin BGA STM32H573IIK3Q: Flash 2MB, SRAM 640KB
- LED backlight·touch 1.54-inch 240×240 TFT-LCD
- USB PD controller가 있는 USB Type-C host/device
- input/output jack 1개를 쓰는 stereo SAI audio DAC
- PDM ST MEMS digital microphone
- MX25LM51245GXDI00 512Mbit Octo-SPI NOR Flash
- 10/100Mbit Ethernet
- microSD
- Wi-Fi add-on board
- connector
- Wi-Fi·Grove·mikroBUS fan-out이 있는 STMod+
- Pmod
- Audio MEMS daughterboard
- Arduino Uno V3
- ST-LINK·USB VBUS·external source power
- mass storage·VCP·debug re-enumeration STLINK-V3E
- user LED 4개
- User·RESET button
Hardware
STM32H573xx는 최대 250MHz Cortex-M33 STM32H5 family입니다. Core는 TrustZone과 FPU를 지원합니다. 원문 성능 표기는 375 DMPIS/MHz (Dhrystone 2.1)이며 철자를 그대로 보존합니다.
Security
- ARMv8-M mainline security extension TrustZone
- configurable SAU region 최대 8개
- TrustZone-aware·securable peripheral
- secure debug authentication이 있는 flexible lifecycle
- preconfigured immutable root of trust ST-iROT
- SFI secure firmware installation
- 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 TRNG
- 96-bit unique ID
- active tamper
- 원문에 다시 기재된 NIST SP800-90B RNG
Clock management
- 25MHz HSE crystal
- RTC용 32kHz LSE crystal
- software-trimmable 64MHz HSI
- ±5% low-power 32kHz LSI RC
- software-trimmable 4MHz CSI
- recovery system 48MHz HSI48
- system·USB·audio·ADC용 PLL 3개
Power·timer
- digital circuit 공급 범위 3개를 갖춘 embedded LDO
- embedded SMPS step-down
- HW calendar·alarm·calibration RTC
- 대부분 5V-tolerant인 fast I/O 최대 139개; 10개는 1.08V independent supply
- timer 최대 16개와 watchdog 2개
- 16-bit 12개
- IC/OC/PWM·pulse counter·quadrature encoder를 지원하는 32-bit 2개
- Stop mode에서도 쓰는 low-power 16-bit 6개
- watchdog 2개
- SysTick 2개
Memory
- read-while-write dual-bank Flash 최대 2MB
- OTP 1KB
- 64KB parity·320KB flexible ECC를 포함한 SRAM 640KB
- lowest-power mode backup SRAM 4KB
- 16-bit bus FMC: SRAM/PSRAM/FRAM/SDRAM/LPSDR/NOR/NAND
- on-the-fly decryption과 serial PSRAM/NAND/NOR·Hyper RAM/Flash를 지원하는 OCTOSPI 1개
- SD/SDIO/MMC interface 2개
Analog·communication
- 최대 5MSPS 12-bit ADC 2개
- 12-bit DAC 2개
- digital temperature sensor 1개
- communication interface 34개
- USB Type-C/PD controller 1개
- USB 2.0 FS host/device 1개
- I2C FM+ 4개(SMBus/PMBus)
- I3C 1개
- U(S)ART 12개(ISO7816/LIN/IrDA/modem)
- LPUART 1개
- full-duplex I2S와 mux되는 3개를 포함한 SPI 6개
- synchronous USART에서 제공되는 추가 SPI 5개
- SAI 2개
- FDCAN 2개
- SDMMC 1개
- 16-channel DMA controller 2개
- 8~14-bit camera 1개
- HDMI-CEC 1개
- DMA가 있는 Ethernet MAC 1개(원문 Ethernel)
- 16-bit parallel slave synchronous interface 1개
- trigonometric acceleration CORDIC
- FMAC filter mathematical accelerator
- CRC unit
- SWD·JTAG·Embedded Trace Macrocell development support
Zephyr 지원 기능
| 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 |
| RNG | on-chip | True Random number generator |
| UART | on-chip | serial port-polling; serial port-interrupt |
| WATCHDOG | on-chip | independent watchdog |
| DAC | on-chip | DAC Controller |
| ADC | on-chip | ADC Controller |
| PWM | on-chip | PWM |
| RTC | on-chip | Real Time Clock |
| I2C | on-chip | i2c bus |
| SPI | on-chip | spi bus |
| OCTOSPI | on-chip | octospi |
| CAN | on-chip | can bus |
| AES | on-chip | crypto |
| SDMMC | on-chip | disk access |
| USB | on-chip | USB full-speed host/device bus |
| RTC | on-chip | rtc |
원문 지원표에는 RTC가 서로 다른 설명으로 두 번 등장하며 두 행을 모두 보존했습니다. Secure target 파일은 boards/st/stm32h573i_dk/stm32h573i_dk_defconfig와 boards/st/stm32h573i_dk/stm32h573i_dk.dts입니다.
Connections and I/O
GPIO controller 9개가 pin muxing, input/output, pull-up 등을 담당합니다.
기본 Zephyr peripheral mapping
USART_1 TX/RX : PA9/PA10 (VCP)USART_3 TX/RX : PB11/PB10 (Arduino USART3)USER_PB : PC13LD1 (green) : PI9DAC1 channel 1 output : PA4ADC1 channel 6 input : PF12
System clock
기본 system clock은 25MHz HSE가 구동하는 PLL 240MHz입니다.
Serial port
U(S)ART는 3개이며 Zephyr console은 USART1, 기본 통신은 115200 8N1입니다.
Programming and debugging
ST-LINK/V3E는 STM32CubeProgrammer V2.13.0에서 지원되며 원문 시점에는 다음 OpenOCD version 지원을 기다리고 있습니다. 원문은 serial 연결 대상도 “Nucleo board”라고 쓰지만 실제 대상은 STM32H573I-DK입니다.
$ minicom -D /dev/ttyACM0west build -b stm32h573i_dk samples/hello_world
west flashHello World! stm32h573i_dk
pyOCD debug
OpenOCD 지원 전에는 다음 명령으로 pyOCD pack support와 STM32H5 pack을 설치합니다.
$ pyocd pack --update
$ pyocd pack --install stm32h5west build -b stm32h573i_dk samples/hello_world
west debug
참고 자료
Source
출처
영어 원문에는 문단, 문서 지시문, 표, 코드, 코드 심벌, 경로를 그대로 보존했습니다.