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

Zephyr 3.7.0 · Boards · ST · Secure 500MHz

ST STM32H7S78-DK Discovery

ST-iROT·SFI·HUK·TF-M와 OCTOSPI/HEXASPI secure memory를 설명합니다.

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

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

Part 1

요약·해설

지원표 9행과 BOARD 표, security·memory·35-interface 전체, SRAM 충돌을 보존했습니다.

MCU

STM32H7S7L8

Clock

500MHz

Security

TrustZone · ST-iROT

Flash

64KB + OSPI

Part 2

접을 수 있는 영어 원문 전체

영어 원문 전체 펼치기
원문 SHA-256 4E6FB5FCBDBDE7F2FB82598F8BA39D23D34A656185A8362ED27478A5DED780A3
.. _stm32h7s78_dk_board:

ST STM32H7S78-DK Discovery
##########################

Overview
********

The STM32H7S78-DK Discovery kit is designed as a complete demonstration and
development platform for STMicroelectronics Arm |reg| Cortex |reg|-M7 core-based
STM32H7S7L8H6H microcontroller with TrustZone |reg|. Here are some highlights of
the STM32H7S78-DK Discovery board:


- STM32H7S7L8H6H microcontroller featuring 64Kbytes of Flash memory and 620 Kbytes of SRAM in 225-pin TFBGA package
- 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 (MX66UW1G45GXD100 from MACRONIX)
- 10/100-Mbit Ethernet,

- 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/stm32h7s78_dk/doc/img/stm32h7s78_dk.jpg
   :align: center
   :alt: STM32H7S78-DK Discovery

More information about the board can be found at the `STM32H7S78-DK Discovery website`_.

Hardware
********

The STM32H7S7xx devices are a high-performance microcontrollers family (STM32H7
Series) based on the high-performance Arm |reg| Cortex |reg|-M7 32-bit RISC core.
They operate at a frequency of up to 500 MHz.

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

  - 1284 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:

  - 24 MHz crystal oscillator (HSE)
  - 32768 Hz 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 152 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

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

- Memories

  - Up to 64KB 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
  - 2x OCTOSPI memory interface with on-the-fly decryption and support for serial PSRAM/NAND/NOR, Hyper RAM/Flash frame formats
  - 1x HEXASPI 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
  - 1x Digital temperature sensor

- 35x communication interfaces

  - 1x USB Type-C / USB power-delivery controller
  - 1x USB OTG full-speed with PHY
  - 1x USB OTG high-speed with PHY
  - 3x I2C FM+ interfaces (SMBus/PMBus)
  - 1x I3C interface
  - 7x U(S)ARTS (ISO7816 interface, LIN, IrDA, modem control)
  - 2x LP UART
  - 6x SPIs including 3 muxed with full-duplex I2S
  - 2x SAI
  - 2x FDCAN
  - 2x SD/SDIO/MMC interface
  - 2x 16 channel DMA controllers
  - 1x 8- to 16- bit camera interface
  - 1x HDMI-CEC
  - 1x Ethernel MAC interface with DMA controller
  - 1x 16-bit parallel slave synchronous-interface
  - 1x SPDIF-IN interface
  - 1x MDIO slave 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 STM32H7S7 can be found here:

- `STM32H7Sx on www.st.com`_
- `STM32H7Sx reference manual`_

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

The Zephyr STM32H7S78_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                |
+-----------+------------+-------------------------------------+
| ADC       | on-chip    | ADC Controller                      |
+-----------+------------+-------------------------------------+
| SPI       | on-chip    | spi bus                             |
+-----------+------------+-------------------------------------+

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/stm32h7s78_dk/stm32h7s78_dk_defconfig`
  - :zephyr_file:`boards/st/stm32h7s78_dk/stm32h7s78_dk.dts`

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

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

The BOARD options are summarized below:

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

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

STM32H7S78-DK Discovery Board has 12 GPIO controllers. These controllers are responsible for pin muxing,
input/output, pull-up, etc.

For more details please refer to `STM32H7S78-DK Discovery board User Manual`_.

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

- USART_4 TX/RX : PD1/PD0 (VCP)
- USART_7 TX/RX : PE8/PE7  (Arduino USART7)
- USER_PB : PC13
- LD1 (green) : PO1
- LD2 (orange) : PO5
- LD3 (red) : PM2
- LD4 (blue) : PM3
- ADC1 channel 6 input : PF12

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

STM32H7S78-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
500MHz, driven by 24MHz external oscillator (HSE).

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

STM32H7S78-DK Discovery board has 2 U(S)ARTs. The Zephyr console output is
assigned to USART4. Default settings are 115200 8N1.


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

Applications for the ``stm32h7s78_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
========

STM32H7S78-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 STM32H7S78-DK Discovery
--------------------------------------------------

Connect the STM32H7S78-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: stm32h7s78_dk
   :goals: build flash

You should see the following message on the console:

.. code-block:: console

   Hello World! stm32h7s78_dk

Debugging
=========

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: stm32h7s78_dk
   :maybe-skip-config:
   :goals: debug

.. _STM32H7S78-DK Discovery website:
   https://www.st.com/en/evaluation-tools/stm32h7s78-dk.html

.. _STM32H7S78-DK Discovery board User Manual:
   https://www.st.com/en/evaluation-tools/stm32h7s78-dk.html

.. _STM32H7Sx on www.st.com:
   https://www.st.com/en/evaluation-tools/stm32h7s78-dk.html

.. _STM32H7Sx reference manual:
   https://www.st.com/resource/en/reference_manual/rm0477-stm32h7rx7sx-armbased-32bit-mcus-stmicroelectronics.pdf

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

Part 3

한국어 전문 번역

STM32H7S78-DK Discovery

개요

STM32H7S78-DK는 TrustZone Cortex-M7 STM32H7S7L8H6H의 demonstration/development platform입니다.

  • 225-pin TFBGA MCU: Flash 64KB, SRAM 620KB
  • USB PD controller가 있는 Type-C host/device
  • input/output jack stereo SAI DAC
  • PDM MEMS microphone
  • MX66UW1G45GXD100 512Mbit Octo-SPI NOR Flash
  • 10/100 Ethernet
  • Wi-Fi·Grove·mikroBUS fan-out STMod+, Pmod, Audio MEMS, Arduino Uno V3
  • ST-LINK·USB VBUS·external power
  • mass storage·VCP·debug STLINK-V3E
  • user LED 4개
  • USER·RESET button

Hardware

STM32H7S7xx Cortex-M7 family는 최대 500MHz이며 TrustZone과 FPU를 지원합니다. 원문 benchmark는 1284 DMPIS/MHz로 적혀 있어 철자를 보존합니다.

Security

  • ARMv8-M mainline TrustZone
  • SAU region 최대 8개
  • TrustZone-aware securable peripheral
  • secure debug authentication lifecycle
  • ST-iROT immutable root of trust
  • SFI
  • HUK secure storage
  • TF-M secure firmware upgrade
  • DPA-resistant unit 포함 AES coprocessor 2개
  • DPA-resistant public-key accelerator
  • Octo-SPI on-the-fly decryption
  • HASH accelerator
  • NIST SP800-90B TRNG
  • 96-bit unique ID
  • active tamper
  • 원문에 다시 기재된 NIST SP800-90B RNG

Clock·power·timer

  • 24MHz HSE
  • 32768Hz LSE
  • software-trimmable 64MHz HSI
  • ±5% 32kHz LSI
  • software-trimmable 4MHz CSI
  • recovery 48MHz HSI48
  • system·USB·audio·ADC PLL 3개
  • 3-range embedded LDO
  • embedded SMPS
  • HW calendar·alarm·calibration RTC
  • 대부분 5V-tolerant fast I/O 최대 152개; 10개는 1.08V independent supply
  • 16-bit timer 16개
  • 32-bit timer 4개
  • Stop mode low-power timer 5개
  • watchdog 2개
  • SysTick 1개

Memory

  • dual-bank read-while-write Flash 최대 64KB
  • OTP 1KB
  • 64KB parity·320KB ECC를 포함한 SRAM 640KB
  • backup SRAM 4KB
  • 16-bit FMC: SRAM/PSRAM/FRAM/SDRAM/LPSDR/NOR/NAND
  • on-the-fly decryption OCTOSPI 2개
  • on-the-fly decryption HEXASPI 1개
  • SD/SDIO/MMC 2개

Analog·communication

  • 최대 5MSPS 12-bit ADC 2개
  • digital temperature sensor
  • communication interface 35개
    • USB Type-C/PD 1개
    • PHY USB OTG FS 1개
    • PHY USB OTG HS 1개
    • I2C FM+ 3개
    • I3C 1개
    • U(S)ART 7개
    • LPUART 2개
    • SPI 6개(I2S mux 3개)
    • SAI 2개
    • FDCAN 2개
    • SD/SDIO/MMC 2개
    • 16-channel DMA 2개
    • 8~16-bit camera
    • HDMI-CEC
    • DMA Ethernet MAC(원문 Ethernel)
    • 16-bit PSSI
    • SPDIF-IN
    • MDIO slave
  • CORDIC
  • FMAC
  • CRC
  • SWD·JTAG·ETM

Zephyr 지원 기능

InterfaceControllerDriver/Component
CLOCKon-chipreset and clock control
GPIOon-chipgpio
NVICon-chipnested vector interrupt controller
PINMUXon-chippinmux
RNGon-chipTrue Random number generator
UARTon-chipserial port-polling; serial port-interrupt
WATCHDOGon-chipindependent watchdog
ADCon-chipADC Controller
SPIon-chipspi bus

Secure target 파일은 boards/st/stm32h7s78_dk/stm32h7s78_dk_defconfig와 stm32h7s78_dk.dts입니다.

Board option

원문은 SoC 이름을 STM32HS7이라고 적으며 Cortex-M7 Secure firmware build를 설명합니다.

BOARDDescription
stm32h7s78_dkFor building Secure firmware

Connections and I/O

GPIO controller 12개가 pin muxing과 I/O를 담당합니다.

기본 Zephyr peripheral mapping

  • USART_4 TX/RX : PD1/PD0 (VCP)
  • USART_7 TX/RX : PE8/PE7 (Arduino USART7)
  • USER_PB : PC13
  • LD1 (green) : PO1
  • LD2 (orange) : PO5
  • LD3 (red) : PM2
  • LD4 (blue) : PM3
  • ADC1 channel 6 input : PF12

Clock·serial

기본 system clock은 24MHz HSE가 구동하는 PLL 500MHz입니다. U(S)ART는 2개이고 console은 USART4, 115200 8N1입니다.

Programming and debugging

ST-LINK/V3E는 STM32CubeProgrammer V2.13.0에서 지원되며 원문은 다음 OpenOCD version을 기다립니다. Serial 연결 문장의 “Nucleo board” 표기도 원문 그대로 기록합니다.

$ minicom -D /dev/ttyACM0
west build -b stm32h7s78_dk samples/hello_world
west flash
Hello World! stm32h7s78_dk

Debug

west build -b stm32h7s78_dk samples/hello_world
west debug

참고 자료

Source

출처

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