STM32H7P5I-DK Discovery Kit

Overview

The STM32H7P5I-DK Discovery Kit is an evaluation board featuring the STM32H7P5IIK6Q microcontroller. It provides a range of interfaces and peripherals for evaluating the STM32H7P5 series.

More information about the board can be found on the STM32H7P5I-DK website [1].

Hardware

The STM32H7P5xx SoC provides the following high-level capabilities used by this board configuration:

  • STM32H7P5IIK6Q microcontroller based on the Arm® Cortex®-M7 core at 520 MHz, featuring 2 Mbytes of dual-bank flash memory and 736 Kbytes of SRAM, in an UFBGA176+25 package

  • Internal SMPS to generate Vcore logic supply

  • 0.96”, 128 x 64-pixel OLED display

  • USB Type-C® Sink device FS

  • One MEMS digital microphone

  • 512 Mbits Octo-SPI NOR flash memory

  • Three user LEDs

  • Three push-buttons (user, reset, and boot mode)

  • One potentiometer for ADC

  • Board connectors:

    • M.2 Key E connectivity connector

    • ST-LINK USB Type-C® connector

    • User USB Type-C® connector

    • microSD™ card holder

    • MIPI10 debug in connector (Arm® Cortex® 10-pin 1.27 mm-pitch debug connector over STDC14 footprint)

    • ARDUINO® Uno V3 expansion connector

    • Motor control V2 connector

    • mikroBUS™ connector

  • Flexible power-supply options: ST-LINK USB VBUS, user USB connector, or external sources

  • On-board STLINK-V3EC debugger/programmer with USB re-enumeration capability: mass storage, Virtual COM port, and debug port

More information about STM32H7P5xx devices is available at:

Supported Features

The stm32h7p5i_dk board supports the hardware features listed below.

on-chip / on-board
Feature integrated in the SoC / present on the board.
2 / 2
Number of instances that are enabled / disabled.
Click on the label to see the first instance of this feature in the board/SoC DTS files.
vnd,foo
Compatible string for the Devicetree binding matching the feature.
Click on the link to view the binding documentation.

stm32h7p5i_dk/stm32h7p5xx target

On-target memory for this board target: 320 KiB of RAM, 2 MiB of Flash.

Type

Location

Description

Compatible

CPU

on-chip

ARM Cortex-M7 CPU1

arm,cortex-m7

Clock control

on-chip

STM32H7P Reset and Clock Controller (RCC)1

st,stm32h7p-rcc

on-chip

STM32 HSE Clock1

st,stm32-hse-clock

on-chip

STM32 HSI Clock1

st,stm32h7-hsi-clock

on-chip

Generic fixed-rate clock provider3

fixed-clock

on-chip

STM32 LSE Clock1

st,stm32-lse-clock

on-chip

STM32H7RS main PLL12

st,stm32h7rs-pll-clock

on-chip

STM32 Clock multiplexer2

st,stm32-clock-mux

Flash controller

on-chip

STM32H7P flash controller1

st,stm32h7p-flash-controller

GPIO & Headers

on-chip

STM32 GPIO Controller9

st,stm32-gpio

on-board

GPIO pins exposed on Arduino Uno (R3) headers1

arduino-header-r3

Input

on-board

Group of GPIO-bound input keys1

gpio-keys

Interrupt controller

on-chip

ARMv7-M NVIC (Nested Vectored Interrupt Controller)1

arm,v7m-nvic

on-chip

STM32 External Interrupt Controller1

st,stm32-exti

LED

on-board

Group of GPIO-controlled LEDs1

gpio-leds

MMU / MPU

on-chip

ARMv7-M Memory Protection Unit (MPU)1

arm,armv7m-mpu

MTD

on-chip

STM32 flash memory1

st,stm32-nv-flash

NVMEM

on-chip

Fixed layout for Non-Volatile memory1

fixed-layout

OTP memory

on-chip

STM32 embedded NVM OTP11

st,stm32-nvm-otp

Pin control

on-chip

STM32 Pin controller1

st,stm32-pinctrl

Power management

on-chip

STM32H7P Power Controller1

st,stm32h7p-pwr

Reset controller

on-chip

STM32 Reset and Clock Control (RCC) Controller1

st,stm32-rcc-rctl

Serial controller

on-chip

STM32 USART14

st,stm32-usart

on-chip

STM32 UART14

st,stm32-uart

on-chip

STM32 LPUART1

st,stm32-lpuart

SRAM

on-chip

Generic on-chip SRAM1

mmio-sram

Timer

on-chip

ARMv7-M System Tick1

arm,armv7m-systick

Connections and IOs

  • ST-Link Virtual COM Port: USART2_RX/TX on PA3/PA2

  • Arduino Serial: UART4_RX/TX on PH14/PH13

  • User button: PC13

  • User LEDs: - Green LED (LD1): PH6 - Red LED (LD2): PG1 - Blue LED (LD3): PH5

For more details, please refer to the STM32H7P5I-DK board User Manual.

System Clock

The default configuration uses the 24 MHz HSE as input to PLL1, which is configured to generate a 520 MHz system clock.

Serial Port

The Zephyr console is configured on USART2 at 115200 8N1 by default.

Programming and Debugging

The stm32h7p5i_dk board supports the runners and associated west commands listed below.

flash debug debugserver attach
stlink_gdbserver ✅ (default) ✅ ✅
stm32cubeprogrammer ✅ (default)

The board includes an STLINK-V3EC debugger/programmer.

Applications for the stm32h7p5i_dk board can be built and flashed in the usual way (see Building an Application and Run an Application for more details).

Flashing

The board is configured to be flashed using west’s STM32CubeProgrammer [4] runner, so installing the tool is required.

Flashing an application to STM32H7P5I-DK

Here is an example for the Blinky application.

# From the root of the zephyr repository
west build -b stm32h7p5i_dk samples/basic/blinky
west flash

You will see the LED blinking every second.

Debugging

You can debug an application in the usual way using the ST-LINK GDB Server. Here is an example for the Blinky application.

# From the root of the zephyr repository
west build -b stm32h7p5i_dk samples/basic/blinky
west debug

References