zhangshuxun 0a57f0a038 bsp:stm32:add Dependency packages missing, please running 'pkgs --update' 1 month ago
..
applications d2c12e2da8 [RTduino] change the pinout group name 1 year ago
attachconfig fa2881ecd3 [ci][bsp] add strict mode 1 year ago
board 7371a007af bsp:Separate STM32H5 HAL drivers (#10206) 2 months ago
figures 32d479321b [bsp][stm32]: add NUCLEO-H563ZI (#7987) 1 year ago
images cfcc72ee8a [bsp][stm32] add English README for stm32h5 1 year ago
.config 7371a007af bsp:Separate STM32H5 HAL drivers (#10206) 2 months ago
.gitignore 32d479321b [bsp][stm32]: add NUCLEO-H563ZI (#7987) 1 year ago
EventRecorderStub.scvd 32d479321b [bsp][stm32]: add NUCLEO-H563ZI (#7987) 1 year ago
Kconfig fe3c4d456e bsp中option env语句替换为新语句,并同步更新了source "$xxx"语句 1 year ago
README.md 7371a007af bsp:Separate STM32H5 HAL drivers (#10206) 2 months ago
README_zh.md 7371a007af bsp:Separate STM32H5 HAL drivers (#10206) 2 months ago
SConscript f422b6a991 [bsp/stm32] 修复linux下编译的可执行文件无法启动问题 (#10169) 2 months ago
SConstruct 0a57f0a038 bsp:stm32:add Dependency packages missing, please running 'pkgs --update' 1 month ago
context_rvds.lst 32d479321b [bsp][stm32]: add NUCLEO-H563ZI (#7987) 1 year ago
project.ewd 32d479321b [bsp][stm32]: add NUCLEO-H563ZI (#7987) 1 year ago
project.ewp 3f26998f9c [bsp] update projects 1 year ago
project.eww 32d479321b [bsp][stm32]: add NUCLEO-H563ZI (#7987) 1 year ago
project.uvoptx 9e79333512 [project] update mdk/iar project and config. 1 year ago
project.uvprojx 3f26998f9c [bsp] update projects 1 year ago
rtconfig.h 7371a007af bsp:Separate STM32H5 HAL drivers (#10206) 2 months ago
rtconfig.py 32d479321b [bsp][stm32]: add NUCLEO-H563ZI (#7987) 1 year ago
startup_stm32h563xx.lst 32d479321b [bsp][stm32]: add NUCLEO-H563ZI (#7987) 1 year ago
syscall_rvds.lst 32d479321b [bsp][stm32]: add NUCLEO-H563ZI (#7987) 1 year ago
template.ewp 32d479321b [bsp][stm32]: add NUCLEO-H563ZI (#7987) 1 year ago
template.eww 32d479321b [bsp][stm32]: add NUCLEO-H563ZI (#7987) 1 year ago
template.uvoptx 32d479321b [bsp][stm32]: add NUCLEO-H563ZI (#7987) 1 year ago
template.uvprojx 32d479321b [bsp][stm32]: add NUCLEO-H563ZI (#7987) 1 year ago

README.md

NUCLEO-STM32H563ZI BSP Introduction

中文页 |

Introduction

This document records the execution instruction of the BSP (board support package) provided by the RT-Thread development team for the NUCLEO-STM32H563ZIT6 development board.

The document is covered in three parts:

  • NUCLEO-STM32H563ZIT6 Board Resources Introduction
  • Quickly Get Started
  • Advanced Features

By reading the Quickly Get Started section developers can quickly get their hands on this BSP and run RT-Thread on the board. More advanced features will be introduced in the Advanced Features section to help developers take advantage of RT-Thread to drive more on-board resources.

Board Resources Introduction

the ARM Cortex-M33 core. It operates at a maximum frequency of 250MHz and comes equipped with 2 MB Flash and 640 KB RAM. This development board offers abundant onboard resources, allowing for the full utilization of the STM32H563ZIT6 chip's performance capabilities.

The appearance of the development board is as shown in the following picture.

board

The mainly-used on-board resources are shown as follows:

  • MCU: The STM32H563ZI is a high-performance microcontroller unit (MCU) featuring an Arm Cortex-M33 with TrustZone. The MCU is equipped with 2 MB Flash, 640 KB RAM, a 250 MHz CPU, and achieves 375 DMIPS (Dhrystone 2.1).
  • Common features
    • STM32 microcontroller in an LQFP144 package
    • 3 user LEDs
    • 2 user and reset push-buttons
    • 32.768 kHz crystal oscillator
    • Board connectors:
    • SWD
    • ST Zio expansion connector including ARDUINO® Uno V3
    • ST morpho expansion connector
    • Flexible power-supply options: ST-LINK USB VBUS, USB connector, or external sources
    • On-board ST-LINK debugger/programmer with USB re-enumeration capability: mass storage, Virtual COM port, and debug port
    • Comprehensive free software libraries and examples available with the STM32Cube MCU Package
    • Support of a wide choice of Integrated Development Environments (IDEs) including IAR Embedded Workbench®, MDK-ARM, and STM32CubeIDE

For more details about this board, please refer to the ST official documentation

The hardware block diagram is as follows:

hardware_block_diagram

Peripheral Condition

Each peripheral supporting condition for this BSP is as follows:

On-chip Peripheral Drivers Support Remark
GPIO Support
UART Support UART3
USB to Serial (Onboard STLINK-V3EC) Support
PWM Support
ADC Support

User Manual

The user manual is divided into the following two sections:

  • Quick Start

This section is designed for beginners who are new to RT-Thread. By following simple steps, you can run the RT-Thread operating system on the development board and observe the experimental results.

  • Advanced Usage

This section is intended for developers who need to leverage more development board resources on the RT-Thread operating system. By using the ENV tool to configure the Board Support Package (BSP), you can enable additional onboard resources and implement more advanced functionalities.

Quickly Get Started

This BSP provides MDK5 and IAR projects for developers. Also support GCC development environment. Here's an example of the MDK5 development environment, to introduce how to run the system.

Attention please!!!

Before the compilation work, please open ENV and execute the following command (this command is used to pull the necessary HAL library and CMSIS library, otherwise it cannot be compiled):

pkgs --update

Hardware Connection

Connect the development board to the PC using a Type-C data cable.

Compile And Download

Double-click the project.uvprojx file, to open the MDK5 project, compile and download the program to the board.

By default, the project uses ST_LINK simulator to download the program, when the ST_LINK connects the board, clicking the download button can download the program to the board.

Running Results

After the program is successfully downloaded, the system runs automatically. Observe the running results of the LED on the development board, the LED1 will flash periodically.

Connect the corresponding serial port of the development board to the PC. Open the corresponding serial port in the terminal tool (115200-8-1-N). After resetting the device, you should be able to see the output information from RT-Thread.

 \ | /
- RT -     Thread Operating System
 / | \     5.0.1 build Aug 27 2023 20:47:55
 2006 - 2022 Copyright by RT-Thread team
do components initialization.
initialize rti_board_end:0 done
initialize rt_work_sys_workqueue_init:0 done
initialize finsh_system_init:0 done
msh >

Advanced Features

This BSP only enables GPIO and serial port 1 by default. If need more advanced features, you need to configure the BSP with RT-Thread Env tools, as follows:

  • Open the Env tool under this BSP;

  • Enter the menuconfig command to configure the project, then save and exit;

  • Enter the pkgs --update command to update the packages;

  • Enter the scons --target=mdk4/mdk5/iar command to regenerate the project.

Notes

  • Debug the UART3 serial port with mapping details (refer to the configuration in STM32CubeMX for more details):

    PD8     ------> USART3_TX(T_VCP_TX)
    PD9     ------> USART3_RX(T_VCP_RX)
    
  • It is recommended to use a relatively recent version of MDK. The setup for this project was done using MDK version 5.36.

References:

  1. Download STM32H563-NUCLEO Schematic
  2. STM32H563 Official Introduction
  3. STM32H563-NUCLEO Development Board Manual

Maintained By

yuanzihao y@yzh.email