|
Name |
|
Date |
Size |
#Lines |
LOC |
| .. | | 21-Aug-2025 | - |
| .ci/attachconfig/ | | 21-Aug-2025 | - | | |
| applications/ | | 21-Aug-2025 | - | | |
| board/ | | 21-Aug-2025 | - | | |
| figures/ | | 21-Aug-2025 | - | | |
| .config | A D | 21-Aug-2025 | 47.8 KiB | 1,460 | 1,348 |
| .gitignore | A D | 21-Aug-2025 | 365 | 43 | 42 |
| Kconfig | A D | 21-Aug-2025 | 394 | 23 | 16 |
| README.md | A D | 21-Aug-2025 | 5.7 KiB | 102 | 70 |
| README_zh.md | A D | 21-Aug-2025 | 4.9 KiB | 133 | 84 |
| SConscript | A D | 21-Aug-2025 | 390 | 19 | 14 |
| SConstruct | A D | 21-Aug-2025 | 2.4 KiB | 76 | 57 |
| project.ewd | A D | 21-Aug-2025 | 99.6 KiB | 2,835 | 2,834 |
| project.ewp | A D | 21-Aug-2025 | 62.9 KiB | 2,307 | 2,306 |
| project.eww | A D | 21-Aug-2025 | 161 | 11 | 7 |
| project.uvopt | A D | 21-Aug-2025 | 5.1 KiB | 168 | 161 |
| project.uvoptx | A D | 21-Aug-2025 | 6.4 KiB | 198 | 190 |
| project.uvproj | A D | 21-Aug-2025 | 40.9 KiB | 1,139 | 1,138 |
| project.uvprojx | A D | 21-Aug-2025 | 40 KiB | 1,121 | 1,120 |
| rtconfig.h | A D | 21-Aug-2025 | 8.6 KiB | 432 | 87 |
| rtconfig.py | A D | 21-Aug-2025 | 5.3 KiB | 185 | 143 |
| template.ewp | A D | 21-Aug-2025 | 71 KiB | 2,032 | 2,031 |
| template.eww | A D | 21-Aug-2025 | 162 | 11 | 7 |
| template.uvopt | A D | 21-Aug-2025 | 5.1 KiB | 168 | 161 |
| template.uvoptx | A D | 21-Aug-2025 | 6.4 KiB | 198 | 190 |
| template.uvproj | A D | 21-Aug-2025 | 15.1 KiB | 408 | 403 |
| template.uvprojx | A D | 21-Aug-2025 | 14.2 KiB | 396 | 390 |
README.md
1# STM32F469-ST-DISCO BSP Introduction
2
3[中文](README_zh.md)
4
5This document records the instruction of the BSP (board support package) that provided by the RT-Thread development team for the STM32F469-ST-DISCO development board.
6
7The document is covered in three parts:
8
9- Resources Introduction
10- Quickly Get Started
11- Advanced Features
12
13By 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.
14
15## Resources Introduction
16
17The STM32F469 Discovery kit allows users to easily develop applications with the STM32F469 high-performance MCUs with ARM®Cortex®-M4 core and Chrom-ART Accelerator™. The discovery kit enables a wide range of use cases taking advantage of premium graphics, audio, multi-sensor support, WVGA color display, security, memory extension and connectivity features.
18
19[](https://github.com/RT-Thread/rt-thread/blob/master/bsp/stm32/stm32f469-st-disco/figures/board.png)
20
21Features:
22
23- MCU: STM32F469NIH6U, 180MHz, 2048KB FLASH, 384KB(Includes 64KB CCM) RAM
24- External RAM: 25Q128A, 16MB
25- External FLASH: 7LL12D9NOR, 16MB
26- Common-used Peripherals:
27 - LED: 4, LD1(Green, PG6), LD2(Orange, PD4), LD3(Red,PD5), LD4(Blue, PK3)
28 - Button: 1, USER( has wake-up feature, PA0)
29 - LCD:4 inches 800x480 pixel TFT
30 - Audio: SAI Audio DAC
31- Common-used interface: Arduino UNO V3 、MicroSD Card、Audio、LCD、I2C, etc.
32- Debugging interface, standard ST-LINK/V2-1 SWD
33
34More info about this board, please check [ST Official](https://www.st.com/en/evaluation-tools/32f469idiscovery.html).
35
36## Peripherals Condition
37
38Each peripheral supporting condition for this BSP is as follows:
39
40| **On-board Peripherals** | **Support** | Remark |
41| ------------------------ | ----------- | --------------------------------------------------------- |
42| SDRAM | √ | 16MB |
43| LCD | √ | MIPI LCD, otm8009a |
44| SDCARD | √ | Support hot swapping, plug-in detection interval of 200ms |
45| TOUCH | √ | ft6206 |
46| **On-chip Peripherals** | **Support** | **Remark** |
47| GPIO | √ | |
48| USART | v | USART3 |
49| SPI | √ | SPI3 |
50| QSPI | √ | |
51| I2C | √ | I2C |
52| FLASH | √ | Fits to [FAL](https://github.com/RT-Thread-packages/fal) |
53| SDI | √ | |
54| USB Device | √ | |
55| **Expansion Module** | **Support** | **Remark** |
56| N/A | N/A | N/A |
57
58### Quickly Get Started
59
60This BSP provides MDK4, MDK5, and IAR projects for developers and it supports the GCC development environment. Here's an example of the MDK5 development environment, to introduce how to run the system.
61
62**Attention please!!!**
63
64Before 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):
65
66```bash
67pkgs --update
68```
69
70#### Hardware Connection
71
72Use a cable to connect the development board to the PC and turn on the power switch.
73
74#### Compile and Download
75
76Double-click the `project.uvprojx` file to open the MDK5 project, compile and download the program to the development board.
77
78> The project defaults to use the st-link emulator to download the program, and as we're connecting the development board via st-link, click the Download button can directly download the program to the development board.
79
80#### Running Results
81
82After the program is successfully downloaded, the system runs automatically. The LED(LD1, Green) will flash.
83
84Connect the corresponding serial port of the development board to the PC, and when the corresponding serial port ( 115200-8-1-N) is opened in the terminal tool, the output information of RT-Thread can be seen when the device is reset:
85
86```
87 \ | /
88- RT - Thread Operating System
89 / | \ 4.0.1 build Apr 9 2019
90 2006 - 2019 Copyright by rt-thread team
91msh >
92```
93
94## **Advanced Features**
95
96This BSP only enables GPIO and UART3 by default. If you need more advanced features such as SD Card, Flash, or you need to configure the BSP with RT-Thread homegrown [ENV tool](https://www.rt-thread.io/download.html?download=Env), as follows:
97
981. Open the ENV tool under the specific BSP folder;
992. Enter `menuconfig` command to configure the project, then save and exit;
1003. Enter `pkgs --update` command to update the package;
1014. Enter `scons --target=mdk4/mdk5/iar` command to regenerate the project.
102
README_zh.md
1# STM32F469-ST-DISCO 开发板 BSP 说明
2
3## 简介
4
5本文档是石河子大学陈庭伟同学为 STM32F469-ST-DISCO 开发板提供的 BSP (板级支持包) 说明。
6
7主要内容如下:
8
9- 开发板资源介绍
10- BSP 快速上手
11- 进阶使用方法
12
13通过阅读快速上手章节开发者可以快速地上手该 BSP,将 RT-Thread 运行在开发板上。在进阶使用指南章节,将会介绍更多高级功能,帮助开发者利用 RT-Thread 驱动更多板载资源。
14
15## 开发板介绍
16
17STM32F469-ST-DISCO 是 ST 推出的一款基于 ARM Cortex-M4 内核的开发板,最高主频为 180Mhz,该开发板具有丰富的板载资源,可以充分发挥 STM32F469 的芯片性能。
18
19开发板外观如下图所示:
20
21
22
23该开发板常用 **板载资源** 如下:
24
25- MCU:STM32F469NIH6U,主频 180MHz,2048KB FLASH ,384KB (包含64KB 的 CCM) RAM
26- 外部 RAM:型号25Q128A,16MB
27- 外部 FLASH:型号7LL12D9NOR,16MB
28- 常用外设
29 - LED:4个,LD1(绿色,PG6),LD2(橙色,PD4),LD3(红色,PD5),LD4(蓝色,PK3)
30 - 按键:1个,USER(兼具唤醒功能,PA0)
31 - LCD:4寸800×480TFT屏
32 - 音频:SAI音频DAC
33- 常用接口:Arduino UNO V3 接口、MicroSD 卡接口、音频接口、LCD 接口、I2C 接口等
34- 调试接口,板载的 ST-LINK/V2-1 SWD 下载
35
36开发板更多详细信息请参考 ST 的 [STM32F469-ST-DISCO 开发板介绍](https://www.st.com/content/st_com/en/products/evaluation-tools/product-evaluation-tools/mcu-mpu-eval-tools/stm32-mcu-mpu-eval-tools/stm32-discovery-kits/32f469idiscovery.html)。
37
38## 外设支持
39
40本 BSP 目前对外设的支持情况如下:
41
42| **板载外设** | **支持情况** | **备注** |
43| :-----: | :-----: | :-----: |
44| SDRAM | 支持 | 16MB |
45| LCD | 支持 | MIPI屏,otm8009a |
46| SDCARD | 支持 | 支持热插拔,插拔检测间隔为200ms |
47| TOUCH | 支持 | ft6206 |
48| **片上外设** | **支持情况** | **备注** |
49| GPIO | 支持 | |
50| USART | 支持 | USART3 |
51| SPI | 支持 | SPI3 |
52| QSPI | 支持 | |
53| I2C | 支持 | 软件I2C |
54| FLASH | 支持 | 已适配 [FAL](https://github.com/RT-Thread-packages/fal) |
55| SDIO | 支持 | |
56| USB Device | 支持 | |
57| **扩展模块** | **支持情况** | **备注** |
58| 暂无 | 暂不支持 | 暂不支持 |
59
60## 使用说明
61
62使用说明分为如下两个章节:
63
64- 快速上手
65
66 本章节是为刚接触 RT-Thread 的新手准备的使用说明,遵循简单的步骤即可将 RT-Thread 操作系统运行在该开发板上,看到实验效果 。
67
68- 进阶使用
69
70 本章节是为需要在 RT-Thread 操作系统上使用更多开发板资源的开发者准备的。通过使用 ENV 工具对 BSP 进行配置,可以开启更多板载资源,实现更多高级功能。
71
72
73### 快速上手
74
75本 BSP 为开发者提供 MDK4、MDK5 和 IAR 工程,并且支持 GCC 开发环境。下面以 MDK5 开发环境为例,介绍如何将系统运行起来。
76
77**请注意!!!**
78
79在执行编译工作前请先打开ENV执行以下指令(该指令用于拉取必要的HAL库及CMSIS库,否则无法通过编译):
80
81```bash
82pkgs --update
83```
84
85#### 硬件连接
86
87使用数据线连接开发板到 PC,打开电源开关。
88
89#### 编译下载
90
91双击 project.uvprojx 文件,打开 MDK5 工程,编译并下载程序到开发板。
92
93> 工程默认配置使用 st-link 仿真器下载程序,在通过 st-link 连接开发板的基础上,点击下载按钮即可下载程序到开发板
94
95#### 运行结果
96
97下载程序成功之后,系统会自动运行,LED (LD1,绿色) 闪烁。
98
99连接开发板对应串口到 PC , 在终端工具里打开相应的串口(115200-8-1-N),复位设备后,可以看到 RT-Thread 的输出信息:
100
101```bash
102 \ | /
103- RT - Thread Operating System
104 / | \ 4.0.1 build Apr 9 2019
105 2006 - 2019 Copyright by rt-thread team
106msh >
107```
108### 进阶使用
109
110此 BSP 默认只开启了 GPIO 和 串口3 的功能,如果需使用 SD 卡、Flash 等更多高级功能,需要利用 ENV 工具对BSP 进行配置,步骤如下:
111
1121. 在 bsp 下打开 env 工具。
113
1142. 输入`menuconfig`命令配置工程,配置好之后保存退出。
115
1163. 输入`pkgs --update`命令更新软件包。
117
1184. 输入`scons --target=mdk4/mdk5/iar` 命令重新生成工程。
119
120本章节更多详细的介绍请参考 [STM32 系列 BSP 外设驱动使用教程](../docs/STM32系列BSP外设驱动使用教程.md)。
121
122## 注意事项
123
124- STM32F469NIH6U 这款芯片,RAM大小为 384KB,但是这 384KB 中有 64KB 是 CCM data RAM。在修改 `board.h` 文件和链接脚本文件的时候不能以 384KB 来配置,而应该以 (384 - 64)KB 即 320KB 来配置。
125- 在 STM32CubeMX 软件中配置 USART3 时候,引脚要映射为 PB10 和 PB11。
126
127## 联系人信息
128
129维护人:
130
131- [WillianChan](https://github.com/willianchanlovegithub)
132
133