• Home
  • Annotate
  • current directory
Name Date Size #Lines LOC

..21-Aug-2025-

applications/21-Aug-2025-

board/21-Aug-2025-

figures/21-Aug-2025-

.config A D21-Aug-202547 KiB1,4381,326

.gitignore A D21-Aug-2025365 4342

Kconfig A D21-Aug-2025494 2820

README.md A D21-Aug-20256 KiB9280

README_zh.md A D21-Aug-20253.9 KiB11967

SConscript A D21-Aug-2025494 2116

SConstruct A D21-Aug-20252.4 KiB7557

project.uvoptx A D21-Aug-202539.6 KiB1,2051,189

project.uvprojx A D21-Aug-202590.9 KiB2,2262,219

rtconfig.h A D21-Aug-20258.5 KiB42784

rtconfig.py A D21-Aug-20255.3 KiB186144

template.uvoptx A D21-Aug-20255.6 KiB185178

template.uvprojx A D21-Aug-202514.4 KiB407400

README.md

1# STM32H723-Nucleo BSP Introduction
2
3[中文](README_zh.md)
4
5### Description
6
7STM32H723xE/G devices are based on the high-performance Arm® Cortex®-M7 32-bit RISC core operating at up to 550 MHz. The Cortex® -M7 core features a floating-point unit (FPU) which supports Arm® double-precision (IEEE 754 compliant) and single-precision data-processing instructions and data types. The Cortex -M7 core includes 32 Kbytes of instruction cache and 32 Kbytes of data cache. STM32H723xE/G devices support a full set of DSP instructions and a memory protection unit (MPU) to enhance application security.
8
9STM32H723xE/G devices incorporate high-speed embedded memories with up to 1 Mbyte of flash memory, up to 564 Kbytes of RAM (including 192 Kbytes that can be shared between ITCM and AXI, plus 64 Kbytes exclusively ITCM, plus 128 Kbytes exclusively AXI, 128 Kbyte DTCM, 48 Kbytes AHB and 4 Kbytes of backup RAM), as well as an extensive range of enhanced I/Os and peripherals connected to APB buses, AHB buses, 2x32-bit multi-AHB bus matrix and a multilayer AXI interconnect supporting internal and external memory access. To improve application robustness, all memories feature error code correction (one error correction, two error detections).
10
11The devices embed peripherals allowing mathematical/arithmetic function acceleration (CORDIC coprocessor for trigonometric functions and FMAC unit for filter functions). All the devices offer three ADCs, two DACs, two operational amplifiers, two ultra-low-power comparators, a low-power RTC, four general-purpose 32-bit timers, 12 general-purpose 16-bit timers including two PWM timers for motor control, five low-power timers, a true random number generator (RNG). The devices support four digital filters for external sigma-delta modulators (DFSDM). They also feature standard and advanced communication interfaces.
12
13### All features
14
15- Includes ST state-of-the-art patented technology
16- Core
17  - 32-bit Arm® Cortex®-M7 CPU with DP-FPU, L1 cache: 32-Kbyte data cache and 32-Kbyte instruction cache allowing 0-wait state execution from embedded flash memory and external memories, frequency up to 550 MHz, MPU, 1177 DMIPS/2.14 DMIPS/MHz (Dhrystone 2.1), and DSP instructions
18- Memories
19  - Up to 1 Mbyte of embedded flash memory with ECC
20  - SRAM: total 564 Kbytes all with ECC, including 128 Kbytes of data TCM RAM for critical real-time data + 432 Kbytes of system RAM (up to 256 Kbytes can remap on instruction TCM RAM for critical real time instructions) + 4 Kbytes of backup SRAM (available in the lowest-power modes)
21  - Flexible external memory controller with up to 16-bit data bus: SRAM, PSRAM, SDRAM/LPSDR SDRAM, NOR/NAND memories
22  - 2 x Octo-SPI interface with XiP
23  - 2 x SD/SDIO/MMC interface
24  - Bootloader
25- Graphics
26  - Chrom-ART Accelerator graphical hardware accelerator enabling enhanced graphical user interface to reduce CPU load
27  - LCD-TFT controller supporting up to XGA resolution
28- Clock, reset and supply management
29  - 1.62 V to 3.6 V application supply and I/O
30  - POR, PDR, PVD and BOR
31  - Dedicated USB power
32  - Embedded LDO regulator
33  - Internal oscillators: 64 MHz HSI, 48 MHz HSI48, 4 MHz CSI, 32 kHz LSI
34  - External oscillators: 4-50 MHz HSE, 32.768 kHz LSE
35- Low power
36  - Sleep, Stop and Standby modes
37  - VBAT supply for RTC, 32×32-bit backup registers
38- Analog
39  - 2×16-bit ADC, up to 3.6 MSPS in 16-bit: up to 18 channels and 7.2 MSPS in double-interleaved mode
40  - 1 x 12-bit ADC, up to 5 MSPS in 12-bit, up to 12 channels
41  - 2 x comparators
42  - 2 x operational amplifier GBW = 8 MHz
43  - 2× 12-bit D/A converters
44- Digital filters for sigma delta modulator (DFSDM)
45  - 8 channels/4 filters
46- 4 DMA controllers to offload the CPU
47  - 1 × MDMA with linked list support
48  - 2 × dual-port DMAs with FIFO
49  - 1 × basic DMA with request router capabilities
50- 24 timers
51  - Seventeen 16-bit (including 5 x low power 16-bit timer available in stop mode) and four 32-bit timers, each with up to 4 IC/OC/PWM or pulse counter and quadrature (incremental) encoder input
52  - 2x watchdogs, 1x SysTick timer
53- Debug mode
54  - SWD and JTAG interfaces
55  - 2-Kbyte embedded trace buffer
56
57- Up to 114 I/O ports with interrupt capability
58- Up to 35 communication interfaces
59  - Up to 5 × I2C FM+ interfaces (SMBus/PMBus™)
60  - Up to 5 USARTs/5 UARTs (ISO7816 interface, LIN, IrDA, modem control) and 1 x LPUART
61  - Up to 6 SPIs with 4 with muxed duplex I2S for audio class accuracy via internal audio PLL or external clock and up to 5 x SPI (from 5 x USART when configured in synchronous mode)
62  - 2x SAI (serial audio interface)
63  - 1× FD/TT-CAN and 2x FD-CAN
64  - 8- to 14-bit camera interface
65  - 16-bit parallel slave synchronous interface
66  - SPDIF-IN interface
67  - HDMI-CEC
68  - Ethernet MAC interface with DMA controller
69  - USB 2.0 high-speed/full-speed device/host/OTG controller with dedicated DMA, on-chip FS PHY and ULPI for external HS PHY
70  - SWPMI single-wire protocol master I/F
71  - MDIO slave interface
72- Mathematical acceleration
73  - CORDIC for trigonometric functions acceleration
74  - FMAC: Filter mathematical accelerator
75- Digital temperature sensor
76- True random number generator
77- CRC calculation unit
78- RTC with subsecond accuracy and hardware calendar
79- ROP, PC-ROP, tamper detection
80- 96-bit unique ID
81- All packages are ECOPACK2 compliant
82
83## Read more
84
85|                          Documents                           |                         Description                          |
86| :----------------------------------------------------------: | :----------------------------------------------------------: |
87| [STM32_Nucleo-144_BSP_Introduction](../docs/STM32_Nucleo-144_BSP_Introduction.md) | How to run RT-Thread on STM32 Nucleo-144 boards (**Must-Read**) |
88| [STM32H723ZG ST Official Website](https://www.st.com/en/microcontrollers-microprocessors/stm32h723zg.html#documentation) |          STM32H723ZG datasheet and other resources           |
89
90## Maintained By
91
92[hywing](https://github.com/hywing)

README_zh.md

1# STM32H723-st-nucleo 开发板 BSP 说明
2
3## 简介
4
5本文档为 hywing为 STM32H723-st-nucleo 开发板提供的 BSP (板级支持包) 说明。
6
7主要内容如下:
8
9- 开发板资源介绍
10- BSP 快速上手
11- 进阶使用方法
12
13通过阅读快速上手章节开发者可以快速地上手该 BSP,将 RT-Thread 运行在开发板上。在进阶使用指南章节,将会介绍更多高级功能,帮助开发者利用 RT-Thread 驱动更多板载资源。
14
15## 开发板介绍
16
17STM32H723 是 ST 推出的一款基于 ARM Cortex-M7 内核的开发板,最高主频为 550Mhz,该开发板具有丰富的板载资源,可以充分发挥 STM32H723 的芯片性能。
18
19开发板外观如下图所示:
20
21![board](figures/board.png)
22
23该开发板常用 **板载资源** 如下:
24
25- MCU:STM32H723,主频550MHz,1MB FLASH ,564K RAM
26- 常用接口:USB转串口、以太网接口、USB接口
27- 调试接口,标准 JTAG/SWD
28
29开发板更多详细信息请参考[STM32H723](https://www.st.com/en/evaluation-tools/nucleo-h723zg.html)30
31## 外设支持
32
33本 BSP 目前对外设的支持情况如下:
34
35| **板载外设**      | **支持情况** | **备注**                              |
36| :----------------- | :----------: | :------------------------------------- |
37| USB 转串口        |     支持     |
38| **片上外设**      | **支持情况** | **备注**                              |
39| GPIO              |     支持     | |
40| UART              |     支持     |   UART3                                   |
41
42
43## 使用说明
44
45使用说明分为如下两个章节:
46
47- 快速上手
48
49    本章节是为刚接触 RT-Thread 的新手准备的使用说明,遵循简单的步骤即可将 RT-Thread 操作系统运行在该开发板上,看到实验效果 。
50
51- 进阶使用
52
53    本章节是为需要在 RT-Thread 操作系统上使用更多开发板资源的开发者准备的。通过使用 ENV 工具对 BSP 进行配置,可以开启更多板载资源,实现更多高级功能。
54
55
56### 快速上手
57
58本 BSP 为开发者提供 MDK5 和 IAR 工程,并且支持 GCC 开发环境。下面以 MDK5 开发环境为例,介绍如何将系统运行起来。
59
60**请注意!!!**
61
62在执行编译工作前请先打开ENV执行以下指令(该指令用于拉取必要的HAL库及CMSIS库,否则无法通过编译):
63
64```bash
65pkgs --update
66```
67
68#### 硬件连接
69
70使用数据线连接开发板到 PC,打开电源开关。
71
72#### 编译下载
73
74双击 project.uvprojx 文件,打开 MDK5 工程,编译并下载程序到开发板。
75
76> 工程默认配置使用 ST_LINK 仿真器下载程序,在通过 ST_LINK 连接开发板的基础上,点击下载按钮即可下载程序到开发板
77
78#### 运行结果
79
80下载程序成功之后,系统会自动运行,LED循环点亮。
81
82连接开发板对应串口到 PC , 在终端工具里打开相应的串口(115200-8-1-N),复位设备后,可以看到 RT-Thread 的输出信息:
83
84```bash
85
86 \ | /
87- RT -     Thread Operating System
88 / | \     5.2.0 build Dec  2 2024 11:35:30
89 2006 - 2024 Copyright by RT-Thread team
90
91msh >
92```
93### 进阶使用
94
95此 BSP 默认只开启了 GPIO 和 串口3 的功能,如果需使用更多高级功能,需要利用 ENV 工具对BSP 进行配置,步骤如下:
96
971. 在 bsp 下打开 env 工具。
98
992. 输入`menuconfig`命令配置工程,配置好之后保存退出。
100
1013. 输入`pkgs --update`命令更新软件包。
102
1034. 输入`scons --target=mdk5` 命令重新生成工程。
104
105本章节更多详细的介绍请参考 [STM32 系列 BSP 外设驱动使用教程](../docs/STM32系列BSP外设驱动使用教程.md)。
106
107## 注意事项
108
109- 调试串口为串口3 映射说明
110
111    PD8     ------> USART3_TX
112
113    PD9     ------> USART3_RX
114
115## 联系人信息
116
117维护人:
118
119-  [hywing](https://github.com/hywing)