MiniSTM32H750 Core Board

Overview

The MiniSTM32H750 Core board is a compact development board equipped with an STM32H750VBT6 microcontroller. It features a variety of peripherals, including a user LED and button, and external SPI and QuadSPI NOR flash memory.

Key Features

  • STM32 microcontroller in LQFP100 package

  • USB OTG or full-speed device

  • 1 user LED

  • User, boot, and reset push-buttons

  • 32.768 kHz and 25MHz HSE crystal oscillators

  • External NOR Flash memories: 64-Mbit Quad-SPI and 64-Mbit SPI

  • Board connectors

    • Camera (8 bit) connector

    • ST7735 TFT-LCD 160 x 80 pixels (RGB565 3-SPI)

    • microSD card

    • USB Type-C Connector

    • SWD header for external debugger

    • 2x 40-pin GPIO connector

More information about the board can be found on the Mini_STM32H7xx website.

Hardware

The MiniSTM32H750 Core board provides the following hardware components:

  • STM32H750VBT6 in LQFP100 package

  • Arm® 32-bit Cortex®-M7 CPU with FPU

  • Chrom-ART Accelerator

  • Hardware JPEG Codec

  • 480 MHz max CPU frequency

  • VDD from 1.62 V to 3.6 V

  • 128 KB Flash

  • ~1 MB SRAM

  • High-resolution timer (2.1 ns)

  • 32-bit timers(2)

  • 16-bit timers(10)

  • SPI(6)

  • I2C(4)

  • I2S (3)

  • USART(4)

  • UART(4)

  • USB OTG Full Speed and High Speed(1)

  • USB OTG Full Speed(1)

  • CAN FD(2)

  • SAI(4)

  • SPDIF_Rx(4)

  • HDMI_CEC(1)

  • Dual Mode Quad SPI(1)

  • Camera Interface

  • GPIO (up to 82) with external interrupt capability

  • 16-bit ADC(3) with 16 channels

  • 12-bit DAC with 2 channels(2)

  • True Random Number Generator (RNG)

  • 16-channel DMA

  • LCD-TFT Controller with XGA resolution

More information about STM32H750 can be found here:

Supported Features

The mini_stm32h750 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.

mini_stm32h750/stm32h750xx target

On-target memory for this board target: 512 KiB of RAM, 128 KiB of Flash.

Type

Location

Description

Compatible

CPU

on-chip

ARM Cortex-M7 CPU1

arm,cortex-m7

ADC

on-chip

STM32 ADC2

st,stm32-adc

Audio

on-chip

STMicroelectronics DFSDM block1

st,stm32-dfsdm

on-chip

STMicroelectronics DFSDM DMIC4

st,stm32-dfsdm-dmic

CAN

on-chip

STM32H7 series (and compatible) FDCAN CAN FD controller2

st,stm32h7-fdcan

Clock control

on-chip

STM32H7 RCC (Reset and Clock controller)1

st,stm32h7-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 provider21

fixed-clock

on-chip

STM32 LSE Clock1

st,stm32-lse-clock

on-chip

STM32H7 main PLL12

st,stm32h7-pll-clock

on-chip

STM32 Clock multiplexer1

st,stm32-clock-mux

on-chip

STM32 Microcontroller Clock Output (MCO)2

st,stm32-clock-mco

Comparator

on-chip

STM32H7 series Comparator2

st,stm32h7-comp

Counter

on-chip

STM32 counters14

st,stm32-counter

CRC

on-chip

STM32 CRC calculation unit1

st,stm32-crc

Cryptographic accelerator

on-chip

STM32 Cryptographic Accelerator1

st,stm32-cryp

on-chip

STM32 HASH Processor1

st,stm32-hash

DAC

on-chip

STM32 family DAC1

st,stm32-dac

Display

on-chip

STM32 Chrom-ART Accelerator (DMA2D)1

st,stm32-dma2d

on-chip

STM32 LCD-TFT display controller1

st,stm32-ltdc

DMA

on-chip

STM32 DMA controller (V1)2

st,stm32-dma-v1

on-chip

STM32 BDMA controller1

st,stm32-bdma

on-chip

STM32 DMAMUX controller2

st,stm32-dmamux

Ethernet

on-chip

ST STM32 Ethernet MAC1

st,stm32h7-ethernet

on-chip

Synopsys DesignWare MAC MDIO controller1

snps,dwmac-mdio

on-chip

Synopsys DesignWare MAC PTP (Precision Time Protocol) Clock1

snps,dwmac-ptp-clock

Flash controller

on-chip

STM32 Family flash controller1

st,stm32-flash-controller

on-board

STM32 QSPI Flash controller supporting the JEDEC CFI interface1

st,stm32-qspi-nor

GPIO & Headers

on-chip

STM32 GPIO Controller11

st,stm32-gpio

on-board

GPIO pins exposed on the DCMI camera connector used for interfacing with the OV2640, OV7670, and OV5640 camera sensors1

weact,dcmi-camera-connector

I2C

on-chip

STM32 I2C V2 controller4

st,stm32-i2c-v2

I2S

on-chip

STM32H7 I2S controller3

st,stm32h7-i2s

on-chip

STM32 SAI Block controller2

st,stm32-sai

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

Memory controller

on-chip

STM32 Battery Backed RAM1

st,stm32-bbram

on-chip

STM32H7 Flexible Memory Controller (FMC)1

st,stm32h7-fmc

on-chip

STM32 Flexible Memory Controller (SDRAM controller)1

st,stm32-fmc-sdram

MMU / MPU

on-chip

ARMv7-M Memory Protection Unit (MPU)1

arm,armv7m-mpu

MTD

on-chip

STM32 flash memory1

st,stm32-nv-flash

on-board

Properties supporting Zephyr spi-nor flash driver (over the Zephyr SPI API) control of serial flash memories using the standard M25P80-based command set1

jedec,spi-nor

on-board

Flash node1

soc-nv-flash

on-board

Fixed partitions of a flash (or other non-volatile storage) memory1

fixed-partitions

NVMEM

on-chip

Fixed layout for Non-Volatile memory1

fixed-layout

OTP memory

on-chip

STM32 embedded NVM OTP1

st,stm32-nvm-otp

PHY

on-chip

This binding is to be used by all the usb transceivers which are built-in with USB IP1

usb-nop-xceiv

Pin control

on-chip

STM32 Pin controller1

st,stm32-pinctrl

Power management

on-chip

STM32H7 power controller1

st,stm32h7-pwr

PWM

on-chip

STM32 PWM12

st,stm32-pwm

QSPI

on-chip

STM32 QSPI Controller1

st,stm32-qspi

Regulator

on-chip

STM32 VREFBUF regulator1

st,stm32-vrefbuf

Reset controller

on-chip

STM32 Reset and Clock Control (RCC) Controller1

st,stm32-rcc-rctl

RNG

on-chip

STM32 Random Number Generator1

st,stm32-rng

RTC

on-chip

STM32 RTC1

st,stm32-rtc

SDHC

on-chip

STM32 SDMMC Host Controller11

st,stm32-sdmmc

Sensors

on-chip

STM32 quadrature decoder6

st,stm32-qdec

on-chip

STM32 family TEMP node for production calibrated sensors with two calibration temperatures1

st,stm32-temp-cal

on-chip

STM32 VBAT1

st,stm32-vbat

on-chip

STM32 VREF+1

st,stm32-vref

Serial controller

on-chip

STM32 USART13

st,stm32-usart

on-chip

STM32 UART4

st,stm32-uart

on-chip

STM32 LPUART1

st,stm32-lpuart

SMbus

on-chip

STM32 SMBus controller4

st,stm32-smbus

SPI

on-chip

STM32H7 SPI controller15

st,stm32h7-spi

Timer

on-chip

ARMv7-M System Tick1

arm,armv7m-systick

on-chip

STM32 timers14

st,stm32-timers

on-chip

STM32 low-power timer (LPTIM)1

st,stm32-lptim

USB

on-chip

STM32 OTGFS controller1

st,stm32-otgfs

Video

on-chip

STM32 DCMI1

st,stm32-dcmi

on-chip

STM32 JPEG HW Codec1

st,stm32-jpeg

Watchdog

on-chip

STM32 watchdog1

st,stm32-watchdog

on-chip

STM32 system window watchdog1

st,stm32-window-watchdog

mini_stm32h750/stm32h750xx/ext_flash_app target

On-target memory for this board target: 512 KiB of RAM, 8 MiB of Flash.

Type

Location

Description

Compatible

CPU

on-chip

ARM Cortex-M7 CPU1

arm,cortex-m7

ADC

on-chip

STM32 ADC2

st,stm32-adc

Audio

on-chip

STMicroelectronics DFSDM block1

st,stm32-dfsdm

on-chip

STMicroelectronics DFSDM DMIC4

st,stm32-dfsdm-dmic

CAN

on-chip

STM32H7 series (and compatible) FDCAN CAN FD controller2

st,stm32h7-fdcan

Clock control

on-chip

STM32H7 RCC (Reset and Clock controller)1

st,stm32h7-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 provider21

fixed-clock

on-chip

STM32 LSE Clock1

st,stm32-lse-clock

on-chip

STM32H7 main PLL12

st,stm32h7-pll-clock

on-chip

STM32 Clock multiplexer1

st,stm32-clock-mux

on-chip

STM32 Microcontroller Clock Output (MCO)2

st,stm32-clock-mco

Comparator

on-chip

STM32H7 series Comparator2

st,stm32h7-comp

Counter

on-chip

STM32 counters14

st,stm32-counter

CRC

on-chip

STM32 CRC calculation unit1

st,stm32-crc

Cryptographic accelerator

on-chip

STM32 Cryptographic Accelerator1

st,stm32-cryp

on-chip

STM32 HASH Processor1

st,stm32-hash

DAC

on-chip

STM32 family DAC1

st,stm32-dac

Display

on-chip

STM32 Chrom-ART Accelerator (DMA2D)1

st,stm32-dma2d

on-chip

STM32 LCD-TFT display controller1

st,stm32-ltdc

DMA

on-chip

STM32 DMA controller (V1)2

st,stm32-dma-v1

on-chip

STM32 BDMA controller1

st,stm32-bdma

on-chip

STM32 DMAMUX controller2

st,stm32-dmamux

Ethernet

on-chip

ST STM32 Ethernet MAC1

st,stm32h7-ethernet

on-chip

Synopsys DesignWare MAC MDIO controller1

snps,dwmac-mdio

on-chip

Synopsys DesignWare MAC PTP (Precision Time Protocol) Clock1

snps,dwmac-ptp-clock

Flash controller

on-chip

STM32 Family flash controller1

st,stm32-flash-controller

on-board

STM32 QSPI Flash controller supporting the JEDEC CFI interface1

st,stm32-qspi-nor

GPIO & Headers

on-chip

STM32 GPIO Controller11

st,stm32-gpio

on-board

GPIO pins exposed on the DCMI camera connector used for interfacing with the OV2640, OV7670, and OV5640 camera sensors1

weact,dcmi-camera-connector

I2C

on-chip

STM32 I2C V2 controller4

st,stm32-i2c-v2

I2S

on-chip

STM32H7 I2S controller3

st,stm32h7-i2s

on-chip

STM32 SAI Block controller2

st,stm32-sai

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

Memory controller

on-chip

STM32 Battery Backed RAM1

st,stm32-bbram

on-chip

STM32H7 Flexible Memory Controller (FMC)1

st,stm32h7-fmc

on-chip

STM32 Flexible Memory Controller (SDRAM controller)1

st,stm32-fmc-sdram

MMU / MPU

on-chip

ARMv7-M Memory Protection Unit (MPU)1

arm,armv7m-mpu

MTD

on-chip

STM32 flash memory1

st,stm32-nv-flash

on-board

Properties supporting Zephyr spi-nor flash driver (over the Zephyr SPI API) control of serial flash memories using the standard M25P80-based command set1

jedec,spi-nor

on-board

Fixed partitions of a flash (or other non-volatile storage) memory1

fixed-partitions

on-board

Flash node1

soc-nv-flash

NVMEM

on-chip

Fixed layout for Non-Volatile memory1

fixed-layout

OTP memory

on-chip

STM32 embedded NVM OTP1

st,stm32-nvm-otp

PHY

on-chip

This binding is to be used by all the usb transceivers which are built-in with USB IP1

usb-nop-xceiv

Pin control

on-chip

STM32 Pin controller1

st,stm32-pinctrl

Power management

on-chip

STM32H7 power controller1

st,stm32h7-pwr

PWM

on-chip

STM32 PWM12

st,stm32-pwm

QSPI

on-chip

STM32 QSPI Controller1

st,stm32-qspi

Regulator

on-chip

STM32 VREFBUF regulator1

st,stm32-vrefbuf

Reset controller

on-chip

STM32 Reset and Clock Control (RCC) Controller1

st,stm32-rcc-rctl

RNG

on-chip

STM32 Random Number Generator1

st,stm32-rng

RTC

on-chip

STM32 RTC1

st,stm32-rtc

SDHC

on-chip

STM32 SDMMC Host Controller11

st,stm32-sdmmc

Sensors

on-chip

STM32 quadrature decoder6

st,stm32-qdec

on-chip

STM32 family TEMP node for production calibrated sensors with two calibration temperatures1

st,stm32-temp-cal

on-chip

STM32 VBAT1

st,stm32-vbat

on-chip

STM32 VREF+1

st,stm32-vref

Serial controller

on-chip

STM32 USART13

st,stm32-usart

on-chip

STM32 UART4

st,stm32-uart

on-chip

STM32 LPUART1

st,stm32-lpuart

SMbus

on-chip

STM32 SMBus controller4

st,stm32-smbus

SPI

on-chip

STM32H7 SPI controller15

st,stm32h7-spi

Timer

on-chip

ARMv7-M System Tick1

arm,armv7m-systick

on-chip

STM32 timers14

st,stm32-timers

on-chip

STM32 low-power timer (LPTIM)1

st,stm32-lptim

USB

on-chip

STM32 OTGFS controller1

st,stm32-otgfs

Video

on-chip

STM32 DCMI1

st,stm32-dcmi

on-chip

STM32 JPEG HW Codec1

st,stm32-jpeg

Watchdog

on-chip

STM32 watchdog1

st,stm32-watchdog

on-chip

STM32 system window watchdog1

st,stm32-window-watchdog

Pin Mapping

MiniSTM32H750 Core board has 5 GPIO controllers. These controllers are responsible for pin muxing, input/output, pull-up, etc.

For more details please refer to Mini_STM32H7xx website.

Default Zephyr Peripheral Mapping:

The MiniSTM32H750 Core board is configured as follows

  • USART1 TX/RX : PB14/PB15 (Console)

  • USER_LED : PE3

  • USER_PB : PC13

  • SPI1 SCK/MISO/MOSI/NSS : PB3/PB4/PD7/PD6 (NOR Flash memory)

  • QuadSPI CLK/NCS/IO0/IO1/IO2/IO3 : PB2/PB6/PD11/PD12/PE2/PD13 (NOR Flash memory)

  • SDMMC1 CLK/DCMD/CD/D0/D1/D2/D3 : PC12/PD2/PD4/PC8/PC9/PC10/PC11 (microSD card)

  • USB DM/DP : PA11/PA12

System Clock

The STM32H750VB System Clock can be driven by an internal or external oscillator, as well as by the main PLL clock. By default, the System clock is driven by the PLL clock at 480MHz. PLL clock is fed by a 25MHz high speed external clock.

Serial Port

The Zephyr console output is assigned to USART1. Default communication settings are 115200 8N1.

Programming and Debugging

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

flash debug attach debugserver rtt reset
dfu-util ✅
jlink ✅ ✅ ✅ ✅ ✅ ✅
openocd ✅ ✅ (default) ✅ ✅ ✅
stlink_gdbserver ✅ ✅ ✅
stm32cubeprogrammer ✅ (default)

The MiniSTM32H750 Core board facilitates firmware flashing via the USB DFU bootloader. This method simplifies the process of updating images, although it doesn’t provide debugging capabilities. However, the board provides header pins for the Serial Wire Debug (SWD) interface, which can be used to connect an external debugger, such as ST-Link.

When flashing to the external QSPI Flash using STM32CubeProgrammer or ST-Link GDB Server (e.g. --runner stm32cubeprogrammer or --runner stlink_gdbserver), the external flash loader STM32H7xx_W25Q128_WeActStudio.stldr is required. Download it from Mini_STM32H7xx QSPI Flasher and copy it into the ExternalLoader directory of your STM32CubeProgrammer installation.

Flashing

To activate the bootloader, follow these steps:

  1. Press and hold the BOOT0 key.

  2. While still holding the BOOT0 key, press and release the RESET key.

  3. Wait for 0.5 seconds, then release the BOOT0 key.

Upon successful execution of these steps, the device will transition into bootloader mode and present itself as a USB DFU Mode device. You can program the device using the west tool or the STM32CubeProgrammer.

Application in SoC Flash

Here is an example for how to build and flash the Hello World application.

First, put the board in bootloader mode as described above. Then build and flash the application in the usual way:

# From the root of the zephyr repository
west build -b mini_stm32h750 samples/hello_world
west flash

Run a serial host program to connect with your board:

$ minicom -D <tty_device> -b 115200

Then, press the RESET button, you should see the following message:

Hello World! mini_stm32h750

Replace <tty_device> with the port where the board can be found. For example, under Linux, /dev/ttyUSB0.

If the application size is too big to fit in SoC Flash, Zephyr Code and Data Relocation can be used to relocate the non-critical and big parts of the application to external Flash.

Debugging

You can debug an application using OpenOCD or J-Link via the SWD header.

# From the root of the zephyr repository
west build -b mini_stm32h750 samples/hello_world
west debug

Application in External Flash

Because of the limited amount of SoC Flash (128KB), you may want to store the application in external QSPI Flash instead, and run it from there. In that case, the MCUboot bootloader is needed to chainload the application. A dedicated board variant, ext_flash_app, was created for this usecase.

Sysbuild (System build) makes it possible to build and flash all necessary images needed to run a user application from external Flash.

The following example shows how to build Hello World with Sysbuild enabled:

# From the root of the zephyr repository
west build -b mini_stm32h750/stm32h750xx/ext_flash_app --sysbuild samples/hello_world

By default, Sysbuild creates MCUboot and user application images.

Build directory structure created by Sysbuild is different from traditional Zephyr build. Output is structured by the domain subdirectories:

build/
├── hello_world
|    └── zephyr
│       ├── zephyr.elf
│       ├── zephyr.hex
│       ├── zephyr.bin
│       ├── zephyr.signed.bin
│       └── zephyr.signed.hex
├── mcuboot
│    └── zephyr
│       ├── zephyr.elf
│       ├── zephyr.hex
│       └── zephyr.bin
└── domains.yaml

Note

With --sysbuild option, MCUboot will be re-built every time the pristine build is used, but only needs to be flashed once if none of the MCUboot configs are changed.

For more information about the system build please read the Sysbuild (System build) documentation.

Both MCUboot and user application images can be flashed by running:

$ west flash

You should see the following message in the serial host program:

*** Booting MCUboot v2.2.0-173-gb192716c969a ***
*** Using Zephyr OS build v4.2.0-6260-ge39ba1a35bc4 ***
I: Starting bootloader
I: Image index: 0, Swap type: none
I: Image index: 0, Swap type: none
I: Bootloader chainload address offset: 0x0
I: Image version: v0.0.0
I: Jumping to the first image slot
*** Booting Zephyr OS build v4.2.0-6260-ge39ba1a35bc4 ***
Hello World! mini_stm32h750/stm32h750xx/ext_flash_app

To only flash the user application in the subsequent builds, use:

$ west flash --domain hello_world

With the default configuration, the board uses MCUboot’s Swap-using-offset mode. To get more information about the different MCUboot operating modes and how to perform application upgrade, refer to MCUboot design. To learn more about how to secure the application images stored in external Flash, refer to MCUboot Encryption.

Debugging

You can debug the application in external flash using west and GDB.

After flashing MCUboot and the app, execute the following command:

$ west debugserver

Then, open another terminal (don’t forget to activate Zephyr’s environment) and execute:

$ west attach

Testing the LEDs in the MiniSTM32H750

There is a sample that allows to test that LED on the board are working properly with Zephyr:

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

You can build and flash the examples to make sure Zephyr is running correctly on your board. The LED definitions can be found in boards/weact/mini_stm32h750/mini_stm32h750-common.dtsi.