YD-STM32H750VB
Overview
The YD-STM32H750VB development board is a complete demonstration and development platform for Arm® Cortex®-M7 core-based STM32H750VBT6 microcontroller, with 128Kbytes of Flash memory and 1 Mbytes of SRAM.
More information about STM32H750 can be found here:
Supported Features
The current Zephyr YD-STM32H750VB board supports the following features:
Interface |
Controller |
Driver/Component |
---|---|---|
CLOCK |
on-chip |
reset and clock control |
NVIC |
on-chip |
nested vector interrupt controller |
UART |
on-chip |
serial port-polling; serial port-interrupt |
PINMUX |
on-chip |
pinmux |
GPIO |
on-chip |
gpio |
Other hardware features are not yet supported on Zephyr porting.
The default configuration can be found in the defconfig file: boards/vcc-gnd/yd_stm32h750vb/yd_stm32h750vb_defconfig
Pin Mapping
Default Zephyr Peripheral Mapping:
UART_1_TX : PA9
UART_1_RX : PA10
LED_1 : PA13 (SWDIO)
LED_2 : PA14 (SWCLK)
LED_3 : PA15
LED_4 : PB4
KEY : PB3
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 feed by a 25MHz high speed external clock.
Flashing
There are 2 main entry points for flashing STM32H750VB SoCs, one using the ROM bootloader, and another by using the SWD debug port (which requires additional hardware such as ST-Link). Flashing using the ROM bootloader requires a special activation pattern, which can be triggered by using the BOOT0 button.
Installing dfu-util
It is recommended to use at least v0.8 of dfu-util [2]. The package available in debian/ubuntu can be quite old, so you might have to build dfu-util from source.
There is also a Windows version which works, but you may have to install the right USB drivers with a tool like Zadig [1].
Flashing an application to YD-STM32H750VB
Connect a USB-C cable and the board should power ON. Force the board into DFU mode by keeping the BOOT0 switch pressed while pressing and releasing the RST switch.
The dfu-util runner is supported on this board and so a sample can be built and tested easily.
Here is an example for the Blinky application.
# From the root of the zephyr repository
west build -b yd_stm32h750vb samples/basic/blinky
west flash
You will see the LED blinking every second.
Debugging
You can debug an application in the usual way. Here is an example for the Hello World application.
# From the root of the zephyr repository
west build -b yd_stm32h750vb samples/hello_world
west debug