|
@@ -1,10 +1,10 @@
|
|
# STM32 Nucleo-64 BSP Introduction
|
|
# STM32 Nucleo-64 BSP Introduction
|
|
|
|
|
|
-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.
|
|
|
|
|
|
+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.
|
|
|
|
|
|
The document is covered in three parts:
|
|
The document is covered in three parts:
|
|
|
|
|
|
-- Resources Introduction
|
|
|
|
|
|
+- Resources Introduction
|
|
- Quickly Get Started
|
|
- Quickly Get Started
|
|
- Advanced Features
|
|
- Advanced Features
|
|
|
|
|
|
@@ -14,21 +14,35 @@ By reading the ***Quickly Get Started*** section developers can quickly get thei
|
|
|
|
|
|
## Resources Introduction
|
|
## Resources Introduction
|
|
|
|
|
|
-The STM32 Nucleo-64 development boards are produced by ST official for STM32 series.
|
|
|
|
|
|
+[](figures/stm32-nucleo-64.jpg)
|
|
|
|
|
|
-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.
|
|
|
|
|
|
+### Description
|
|
|
|
|
|
-### **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).**
|
|
|
|
|
|
+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.
|
|
|
|
|
|
-[](figures/stm32-nucleo-64.jpg)
|
|
|
|
|
|
+### Features
|
|
|
|
|
|
-The mainly-used resources of this board are shown as follows:
|
|
|
|
|
|
+- Common features
|
|
|
|
+ - STM32 microcontroller in LQFP64 package
|
|
|
|
+ - 1 user LED shared with ARDUINO®
|
|
|
|
+ - 1 user and 1 reset push-buttons
|
|
|
|
+ - 32.768 kHz crystal oscillator
|
|
|
|
+ - Board connectors:
|
|
|
|
+ - ARDUINO® Uno V3 expansion connector
|
|
|
|
+ - ST morpho extension pin headers for full access to all STM32 I/Os
|
|
|
|
+ - Flexible power-supply options: ST-LINK, USB VBUS, 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
|
|
|
|
+- Board-specific features
|
|
|
|
+ - External SMPS to generate Vcore logic supply
|
|
|
|
+ - 24 MHz HSE – Board connectors:
|
|
|
|
+ - External SMPS experimentation dedicated connector
|
|
|
|
+ - Micro-AB or Mini-AB USB connector for the ST-LINK
|
|
|
|
+ - MIPI® debug connector
|
|
|
|
+ - Arm® Mbed Enabled™ compliant
|
|
|
|
|
|
-- Common-used peripherals:
|
|
|
|
- - 3 LEDs: USB communication (LD1), user LED (LD2), power LED (LD3)
|
|
|
|
- - 2 Buttons: USER and RESET
|
|
|
|
-- Common-used interfaces: USB, Arduino Uno interface, and ST morpho
|
|
|
|
-- Debug interface: ST-LINK/V2-1
|
|
|
|
|
|
+### **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).**
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@@ -36,6 +50,8 @@ The mainly-used resources of this board are shown as follows:
|
|
|
|
|
|
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.
|
|
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.
|
|
|
|
|
|
|
|
+
|
|
|
|
+
|
|
### Hardware connection
|
|
### Hardware connection
|
|
|
|
|
|
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.
|
|
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,7 +82,7 @@ msh >
|
|
|
|
|
|
### Terminal tool - PuTTy
|
|
### Terminal tool - PuTTy
|
|
|
|
|
|
-If you have no terminal tool software available, you can download *PuTTy*:
|
|
|
|
|
|
+If you don't have a terminal tool software available, you can download *PuTTy*:
|
|
|
|
|
|
> https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html
|
|
> https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html
|
|
|
|
|
|
@@ -74,7 +90,7 @@ If you have no terminal tool software available, you can download *PuTTy*:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
-These two videos will show you how to use PuTTy:
|
|
|
|
|
|
+Follow these tutorial videos to learn PuTTy:
|
|
|
|
|
|
> https://www.youtube.com/watch?v=ab4ilbsteWU
|
|
> https://www.youtube.com/watch?v=ab4ilbsteWU
|
|
>
|
|
>
|
|
@@ -82,23 +98,29 @@ These two videos will show you how to use PuTTy:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
-## **Advanced Features**
|
|
|
|
|
|
+## Advanced Features
|
|
|
|
|
|
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:
|
|
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:
|
|
|
|
|
|
-1. Open the ENV tool under the specific BSP folder;
|
|
|
|
|
|
+1. Open the Env tool under the specific BSP folder;
|
|
2. Enter `menuconfig` command to configure the project, then save and exit;
|
|
2. Enter `menuconfig` command to configure the project, then save and exit;
|
|
3. Enter `pkgs --update` command to update the package;
|
|
3. Enter `pkgs --update` command to update the package;
|
|
4. Enter `scons --target=mdk4/mdk5/iar` command to regenerate the project.
|
|
4. Enter `scons --target=mdk4/mdk5/iar` command to regenerate the project.
|
|
|
|
|
|
-Learn how to use RT-Thread ENV, click [Here](https://github.com/RT-Thread/rtthread-manual-doc/blob/master/env/env.md).
|
|
|
|
|
|
+Learn how to use RT-Thread Env, click [Here](https://github.com/RT-Thread/rtthread-manual-doc/blob/master/env/env.md).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
-## Maintained By
|
|
|
|
|
|
+## Translated & Maintained By
|
|
|
|
|
|
-Meco Man @ RT-Thread Community
|
|
|
|
|
|
+Cathy Lee @ RT-Thread Team
|
|
|
|
+
|
|
|
|
+> https://github.com/Cathy-lulu
|
|
|
|
+>
|
|
|
|
+> contact@rt-thread.org
|
|
|
|
|
|
-jiantingman@foxmail.com
|
|
|
|
|
|
+Meco Man @ RT-Thread Community
|
|
|
|
|
|
-https://github.com/mysterywolf
|
|
|
|
|
|
+> jiantingman@foxmail.com
|
|
|
|
+>
|
|
|
|
+> https://github.com/mysterywolf
|