|
1 year ago | |
---|---|---|
.. | ||
applications | 1 year ago | |
attachconfig | 1 year ago | |
board | 1 year ago | |
figures | 1 year ago | |
images | 1 year ago | |
.config | 1 year ago | |
.gitignore | 1 year ago | |
Kconfig | 1 year ago | |
README.md | 1 year ago | |
README_zh.md | 1 year ago | |
SConscript | 1 year ago | |
SConstruct | 1 year ago | |
project.ewp | 1 year ago | |
project.eww | 1 year ago | |
project.uvoptx | 1 year ago | |
project.uvprojx | 1 year ago | |
rtconfig.h | 1 year ago | |
rtconfig.py | 1 year ago | |
template.ewp | 1 year ago | |
template.eww | 1 year ago | |
template.uvoptx | 1 year ago | |
template.uvprojx | 1 year ago |
中文页 |
This document records the execution instruction of the BSP (board support package) provided by the RT-Thread development team for the NUCLEO-STM32H503RB development board.
The document is covered in three parts:
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.
The NUCLEO-STM32H503RB is a development board introduced by ST, based on the ARM Cortex-M33 core. It operates at a maximum frequency of 250MHz and comes equipped with 128KB Flash and 32KB RAM. This development board offers abundant onboard resources, allowing for the full utilization of the STM32H503RB chip's performance capabilities.
The appearance of the development board is as shown in the following picture.
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
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 |
The user manual is divided into the following two sections:
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.
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.
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.
Connect the development board to the PC using a Type-C data cable.
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.
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.1.0 build Dec 22 2023 16:30:30
2006 - 2022 Copyright by RT-Thread team
msh >
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.
Debugging UART3 is mapped as per the configuration in STM32CubeMX.
Currently, using CubeProgrammer for flashing.
Shicheng Chu 1468559561@qq.com