Skip to content

Commit 40479b8

Browse files
authored
Merge pull request #4004 from mysterywolf/doc-stm32f410
[English readme][bsp][stm32][f410 nucleo] add English readme
2 parents b6c803b + e71a3f7 commit 40479b8

File tree

4 files changed

+212
-102
lines changed

4 files changed

+212
-102
lines changed

bsp/stm32/docs/STM32_Nucleo-64_BSP_Introduction.md

Lines changed: 43 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
# STM32 Nucleo-64 BSP Introduction
22

3-
This document records the guide of the BSP (board support package) provided by the RT-Thread development team for the STM32 Nucleo-64 development boards.
3+
This document records the instruction of the BSP (board support package) that provided by the RT-Thread development team for the STM32 Nucleo-64 development boards.
44

55
The document is covered in three parts:
66

7-
- Resources Introduction
7+
- Resources Introduction
88
- Quickly Get Started
99
- Advanced Features
1010

@@ -14,28 +14,44 @@ By reading the ***Quickly Get Started*** section developers can quickly get thei
1414

1515
## Resources Introduction
1616

17-
The STM32 Nucleo-64 development boards are produced by ST official for STM32 series.
17+
[![board](figures/stm32-nucleo-64.jpg)](figures/stm32-nucleo-64.jpg)
1818

19-
The STM32 Nucleo-64 boards provide an affordable and flexible way for users to try out new concepts and build prototypes by choosing from the various combinations of performance and power consumption features, provided by the STM32 microcontroller. For the compatible boards, the external SMPS significantly reduces power consumption in Run mode.
19+
### Description
2020

21-
### **For more details about these boards, please refer to [ST Nucleo official website](https://www.st.com/en/evaluation-tools/stm32-nucleo-boards.html?querycriteria=productId=LN1847).**
21+
The STM32 Nucleo-64 board provides an affordable and flexible way for users to try out new concepts and build prototypes by choosing from the various combinations of performance and power consumption features, provided by the STM32 microcontroller. For the compatible boards, the external SMPS significantly reduces power consumption in Run mode. The ARDUINO® Uno V3 connectivity support and the ST morpho headers allow the easy expansion of the functionality of the STM32 Nucleo open development platform with a wide choice of specialized shields. The STM32 Nucleo-64 board does not require any separate probe as it integrates the ST-LINK debugger/programmer. The STM32 Nucleo-64 board comes with the STM32 comprehensive free software libraries and examples available with the STM32Cube MCU Package.
2222

23-
[![board](figures/stm32-nucleo-64.jpg)](figures/stm32-nucleo-64.jpg)
23+
### Features
2424

25-
The mainly-used resources of this board are shown as follows:
25+
- Common features
26+
- STM32 microcontroller in LQFP64 package
27+
- 1 user LED shared with ARDUINO®
28+
- 1 user and 1 reset push-buttons
29+
- 32.768 kHz crystal oscillator
30+
- Board connectors:
31+
- ARDUINO® Uno V3 expansion connector
32+
- ST morpho extension pin headers for full access to all STM32 I/Os
33+
- Flexible power-supply options: ST-LINK, USB VBUS, or external sources
34+
- On-board ST-LINK debugger/programmer with USB re-enumeration capability: mass storage, Virtual COM port and debug port
35+
- Comprehensive free software libraries and examples available with the STM32Cube MCU Package
36+
- Support of a wide choice of Integrated Development Environments (IDEs) including IAR Embedded Workbench®, MDK-ARM, and STM32CubeIDE
37+
- Board-specific features
38+
- External SMPS to generate Vcore logic supply
39+
- 24 MHz HSE – Board connectors:
40+
- External SMPS experimentation dedicated connector
41+
- Micro-AB or Mini-AB USB connector for the ST-LINK
42+
- MIPI® debug connector
43+
- Arm® Mbed Enabled™ compliant
2644

27-
- Common-used peripherals:
28-
- 3 LEDs: USB communication (LD1), user LED (LD2), power LED (LD3)
29-
- 2 Buttons: USER and RESET
30-
- Common-used interfaces: USB, Arduino Uno interface, and ST morpho
31-
- Debug interface: ST-LINK/V2-1
45+
### **For more details about these boards, please refer to [ST Nucleo Official Website](https://www.st.com/en/evaluation-tools/stm32-nucleo-boards.html?querycriteria=productId=LN1847).**
3246

3347

3448

3549
## Quickly Get Started
3650

3751
This 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.
3852

53+
![nucleo64_layout](figures/nucleo64_layout.jpg)
54+
3955
### Hardware connection
4056

4157
Use a Type-A to Mini-B cable to connect the development board to the PC and turn on the power switch. The LD3 (PWR) and LD1 (COM) will light.
@@ -66,39 +82,45 @@ msh >
6682

6783
### Terminal tool - PuTTy
6884

69-
If you have no terminal tool software available, you can download *PuTTy*:
85+
If you don't have a terminal tool software available, you can download *PuTTy*:
7086

7187
> https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html
7288
7389
![putty](figures/putty.png)
7490

7591

7692

77-
These two videos will show you how to use PuTTy:
93+
Follow these tutorial videos to learn PuTTy:
7894

7995
> https://www.youtube.com/watch?v=ab4ilbsteWU
8096
>
8197
> https://www.youtube.com/watch?v=dO-BMOzNKcI
8298
8399

84100

85-
## **Advanced Features**
101+
## Advanced Features
86102

87103
This BSP only enables GPIO and USART2 by default. If you need more advanced features such as SPI, I2C, you need to configure the BSP with RT-Thread [ENV tool](https://www.rt-thread.io/download.html?download=Env) , as follows:
88104

89-
1. Open the ENV tool under the specific BSP folder;
105+
1. Open the Env tool under the specific BSP folder;
90106
2. Enter `menuconfig` command to configure the project, then save and exit;
91107
3. Enter `pkgs --update` command to update the package;
92108
4. Enter `scons --target=mdk4/mdk5/iar` command to regenerate the project.
93109

94-
Learn how to use RT-Thread ENV, click [Here](https://github.com/RT-Thread/rtthread-manual-doc/blob/master/env/env.md).
110+
Learn how to use RT-Thread Env, click [Here](https://github.com/RT-Thread/rtthread-manual-doc/blob/master/env/env.md).
95111

96112

97113

98-
## Maintained By
114+
## Translated & Maintained By
99115

100-
Meco Man @ RT-Thread Community
116+
Cathy Lee @ RT-Thread Team
117+
118+
> https://github.com/Cathy-lulu
119+
>
120+
101121
102-
122+
Meco Man @ RT-Thread Community
103123

104-
https://github.com/mysterywolf
124+
125+
>
126+
> https://github.com/mysterywolf
168 KB
Loading
Lines changed: 65 additions & 81 deletions
Original file line numberDiff line numberDiff line change
@@ -1,104 +1,88 @@
1-
# STM32F410-Nucleo-64 开发板 BSP 说明
1+
# STM32F410-Nucleo BSP Introduction
22

3-
## 简介
3+
[中文](README_zh.md)
44

5-
本文档为 RT-Thread 开发团队为 STM32F410-Nucleo-64 开发板提供的 BSP (板级支持包) 说明。
5+
## MCU: STM32F410RB @100MHz, 128KB FLASH, 32KB RAM
66

7-
主要内容如下:
7+
The STM32F410x8/B devices are based on the high-performance ARM®Cortex® -M4 32-bit RISC core operating at a frequency of up to 100 MHz. Their Cortex®-M4 core features a Floating point unit (FPU) single precision which supports all ARM single-precision data-processing instructions and data types. It also implements a full set of DSP instructions and a memory protection unit (MPU) which enhances application security.
88

9-
- 开发板资源介绍
10-
- BSP 快速上手
11-
- 进阶使用方法
9+
The STM32F410x8/B belong to the STM32 Dynamic Efficiency™ product line (with products combining power efficiency, performance and integration) while adding a new innovative feature called Batch Acquisition Mode (BAM) allowing to save even more power consumption during data batching.
1210

13-
通过阅读快速上手章节开发者可以快速地上手该 BSP,将 RT-Thread 运行在开发板上。在进阶使用指南章节,将会介绍更多高级功能,帮助开发者利用 RT-Thread 驱动更多板载资源。
11+
The STM32F410x8/B incorporate high-speed embedded memories (up to 128 Kbytes of Flash memory, 32 Kbytes of SRAM), and an extensive range of enhanced I/Os and peripherals connected to two APB buses, one AHB bus and a 32-bit multi-AHB bus matrix.
1412

15-
## 开发板介绍
13+
All devices offer one 12-bit ADC, one 12-bit DAC, a low-power RTC, three general-purpose 16-bit timers, one PWM timer for motor control, one general-purpose 32-bit timers and one 16-bit low-power timer. They also feature standard and advanced communication interfaces.
1614

17-
探索者 STM32F410-Nucleo-64 是意法半导体推出的一款基于 ARM Cortex-M4 内核的开发板,最高主频为 84Mhz,该开发板具有丰富的板载资源,可以充分发挥 STM32F410RB 的芯片性能。
15+
#### KEY FEATURES
1816

19-
开发板外观如下图所示:
17+
- Dynamic Efficiency Line with BAM (Batch Acquisition Mode)
18+
- Core: ARM®32-bit Cortex®-M4 CPU with FPU, Adaptive real-time accelerator (ART Accelerator™) allowing 0-wait state execution from Flash memory, frequency up to 100 MHz, memory protection unit, 125 DMIPS/1.25 DMIPS/MHz (Dhrystone 2.1), and DSP instructions
19+
- Memories
20+
- Up to 128 Kbytes of Flash memory
21+
- 512 bytes of OTP memory
22+
- 32 Kbytes of SRAM
23+
- Clock, reset and supply management
24+
- 1.7 V to 3.6 V application supply and I/Os
25+
- POR, PDR, PVD and BOR
26+
- 4-to-26 MHz crystal oscillator
27+
- Internal 16 MHz factory-trimmed RC
28+
- 32 kHz oscillator for RTC with calibration
29+
- Internal 32 kHz RC with calibration
30+
- Power consumption
31+
- Run: 89 μA/MHz (peripheral off)
32+
- Stop (Flash in Stop mode, fast wakeup time): 40 μA Typ @ 25 °C; 49 μA max @25 °C
33+
- Stop (Flash in Deep power down mode, fast wakeup time): down to 6 μA @ 25 °C; 14 μA max @25 °C
34+
- Standby: 2.4 μA @25 °C / 1.7 V without RTC; 12 μA @85 °C @1.7 V
35+
- VBATsupply for RTC: 1 μA @25 °C
36+
- 1×12-bit, 2.4 MSPS ADC: up to 16 channels
37+
- 1×12-bit D/A converter
38+
- General-purpose DMA: 16-stream DMA controllers with FIFOs and burst support
39+
- Up to 9 timers
40+
- One 16-bit advanced motor-control timer
41+
- One low-power timer (available in Stop mode)
42+
- Three 16-bit general purpose timers
43+
- One 32-bit timer up to 100 MHz with up to four IC/OC/PWM or pulse counter and quadrature (incremental) encoder input
44+
- Two watchdog timers (independent window)
45+
- SysTick timer
2046

21-
![board](figures/board.png)
47+
- Debug mode
48+
- Serial wire debug (SWD) & JTAG interfaces
49+
- Cortex®-M4 Embedded Trace Macrocell™
50+
- Up to 50 I/O ports with interrupt capability
51+
- Up to 45 fast I/Os up to 100 MHz
52+
- Up to 49 5 V-tolerant I/Os
53+
- Up to 9 communication interfaces
54+
- Up to 3x I2C interfaces (SMBus/PMBus) including 1x I2C Fast-mode at 1 MHz
55+
- Up to 3 USARTs (2 x 12.5 Mbit/s, 1 x 6.25 Mbit/s), ISO 7816 interface, LIN, IrDA, modem control)
56+
- Up to 3 SPI/I2Ss (up to 50 Mbit/s SPI or I2S audio protocol)
57+
- True random number generator
58+
- CRC calculation unit
59+
- 96-bit unique ID
60+
- RTC: subsecond accuracy, hardware calendar
61+
- All packages are ECOPACK®2
2262

23-
该开发板常用 **板载资源** 如下:
2463

25-
- MCU:STM32F410RBT6,主频 84MHz,128KB FLASH ,32KB RAM。
26-
- 常用外设
27-
- LED:3 个,USB communication (LD1), user LED (LD2), power LED (LD3) 。
28-
- 按键,2 个,USER and RESET 。
29-
- 调试接口,板载 ST-LINK/V2-1 调试器。
3064

31-
开发板更多详细信息请参考意法半导体 [STM32F410-Nucleo-64 开发板介绍](https://www.st.com/content/st_com/en/products/evaluation-tools/product-evaluation-tools/mcu-mpu-eval-tools/stm32-mcu-mpu-eval-tools/stm32-nucleo-boards/nucleo-f410rb.html)
65+
## Read more
3266

33-
## 外设支持
67+
| Documents | Description |
68+
| :----------------------------------------------------------: | :----------------------------------------------------------: |
69+
| [STM32_Nucleo-64_BSP_Introduction](../docs/STM32_Nucleo-64_BSP_Introduction.md) | How to run RT-Thread on STM32 Nucleo-64 boards (**Must-Read**) |
70+
| [STM32F410RB ST Official Website](https://www.st.com/content/st_com/en/products/microcontrollers-microprocessors/stm32-32-bit-arm-cortex-mcus/stm32-high-performance-mcus/stm32f4-series/stm32f410/stm32f410rb.html#documentation) | STM32F410RB datasheet and other resources |
3471

35-
本 BSP 目前对外设的支持情况如下:
3672

37-
| **片上外设** | **支持情况** | **备注** |
38-
| :------------ | :----------: | :-----------------------------------: |
39-
| GPIO | 支持 | PA0, PA1... ---> PIN: 0, 1...63 |
40-
| UART | 支持 | UART2 |
4173

42-
## 使用说明
74+
## Maintained By
4375

44-
使用说明分为如下两个章节:
76+
[tanglj86](https://github.com/tanglj86/rt-thread)
4577

46-
- 快速上手
78+
4779

48-
本章节是为刚接触 RT-Thread 的新手准备的使用说明,遵循简单的步骤即可将 RT-Thread 操作系统运行在该开发板上,看到实验效果 。
4980

50-
- 进阶使用
5181

52-
本章节是为需要在 RT-Thread 操作系统上使用更多开发板资源的开发者准备的。通过使用 ENV 工具对 BSP 进行配置,可以开启更多板载资源,实现更多高级功能。
82+
## Translated By
5383

84+
Meco Man @ RT-Thread Community
5485

55-
### 快速上手
56-
57-
本 BSP 为开发者提供 MDK5 和 IAR 工程,并且支持 GCC 开发环境。下面以 MDK5 开发环境为例,介绍如何将系统运行起来。
58-
59-
#### 硬件连接
60-
61-
使用 Type-A to Mini-B 线连接开发板和 PC 供电,红色 LED LD3 (PWR) 和 LD1 (COM) 会点亮。
62-
63-
#### 编译下载
64-
65-
双击 project.uvprojx 文件,打开 MDK5 工程,编译并下载程序到开发板。
66-
67-
> 工程默认配置使用 ST-LINK 下载程序,点击下载按钮即可下载程序到开发板。
68-
69-
#### 运行结果
70-
71-
下载程序成功之后,系统会自动运行,观察开发板上 LED 的运行效果,红色 LD3 和 LD1 常亮、绿色 LD2 会周期性闪烁。
72-
73-
USB 虚拟 COM 端口默认连接串口 2,在终端工具里打开相应的串口(115200-8-1-N),复位设备后,可以看到 RT-Thread 的输出信息:
74-
75-
```bash
76-
\ | /
77-
- RT - Thread Operating System
78-
/ | \ 4.0.3 build Mar 7 2020
79-
2006 - 2020 Copyright by rt-thread team
80-
msh >
81-
```
82-
### 进阶使用
83-
84-
此 BSP 默认只开启了 GPIO 和 串口 2 的功能,更多高级功能需要利用 ENV 工具对 BSP 进行配置,步骤如下:
85-
86-
1. 在 BSP 下打开 env 工具。
87-
88-
2. 输入 `menuconfig` 命令配置工程,配置好之后保存退出。
89-
90-
3. 输入 `pkgs --update` 命令更新软件包。
91-
92-
4. 输入 `scons --target=mdk4/mdk5/iar` 命令重新生成工程。
93-
94-
本章节更多详细的介绍请参考 [STM32 系列 BSP 外设驱动使用教程](../docs/STM32系列BSP外设驱动使用教程.md)
95-
96-
## 注意事项
97-
98-
暂无
99-
100-
## 联系人信息
101-
102-
维护人:
103-
104-
- [tanglj86](https://github.com/tanglj86/rt-thread) ,邮箱:<[email protected]>
86+
87+
>
88+
> https://github.com/mysterywolf

0 commit comments

Comments
 (0)