robotics-university.com | Hello my friends, on this article, I will give an overview about one STM32 microcontroller minimum systems/development kit/evaluation board which manufactured by ST Microelectronics (STM). The product I mean is STM32 Nucleo-64 evaluation board, please see figure 1 to know the visualization, figure 2 to know the hardware block diagram, figure 3 to know the top-view layout, and figure 4 to know the pinout.
According to the user manual document of this minimum systems , the STM32 Nucleo-64 board is a low-cost and easy-to-use development platform used to quickly evaluate and start a development with an STM32 microcontroller in LQFP64 package. The STM32 Nucleo-64 boards (NUCLEO-F030R8, NUCLEO-F070RB, NUCLEO-F072RB, NUCLEO-F091RC, NUCLEO-F103RB, NUCLEO-F302R8, NUCLEO-F303RE, NUCLEO-F334R8, NUCLEO-F401RE, NUCLEO-F410RB, NUCLEO-F411RE, NUCLEO-F446RE, NUCLEO-L010RB, NUCLEO-L053R8, NUCLEO-L073RZ, NUCLEO-L152RE, NUCLEO-L452RE, NUCLEO-L476RG) provide an affordable and flexible way for users to try out new concepts and build prototypes with the STM32 microcontrollers in LQFP64 package, choosing from the various combinations of performance, power consumption and features.
STM32 Nucleo-64 board equipped with Arduino™ Uno V3 connectivity support and the ST morpho headers allow to expand easily the functionality of the Nucleo opendevelopment platform with a wide choice of specialized shields. The STM32 Nucleo-64 boards do not require any separate probe as they integrate the ST-LINK/V2-1 debugger and programmer. The STM32 Nucleo boards come with the STM32 comprehensive software HAL library together with various packaged software examples, as well as direct access to the Arm® Mbed™ online resources at http://mbed.org/.
Figure 1. STM32 Nucleo-64 board
Figure 2. STM32 Nucleo-64 hardware block diagram
Figure 3. STM32 Nucleo-64 Board - Top view layout
Figure 4. STM32 Nucleo-F401RE (ARM Cortex-M4) board pinout
Figure 4 show the signals connected by default to Arduino Uno V3 connectors (CN5, CN6, CN8, CN9) and to ST morpho connector (CN7 and CN10), for STM32 Nucleo-F401RE board.
1. STM32 Nucleo-64 Board Features
The STM32 Nucleo-64 board offers the following features:
- STM32 microcontroller in LQFP64 package.
- Three LEDs: USB communication (LD1), user LED (LD2), power LED (LD3).
- Two push-buttons: USER and RESET.
- Two types of extension resources: Arduino™ Uno V3 connectivity and ST morpho extension pin headers for full access to all STM32 I/Os.
- Flexible board power supply: USB VBUS or external source (3.3 V, 5 V, 7 - 12 V) and Power management access point.
- On-board ST-LINK/V2-1 debugger and programmer with SWD connector - Selection-mode switch to use the kit as a standalone ST-LINK/V2-1.
- USB re-enumeration capability. Three different interfaces supported on USB: Virtual COM port, Mass storage, Debug port.
- Comprehensive free software HAL library including a variety of software examples.
- Arm® Mbed™ (see http://mbed.org).
2. STM32 Nucleo-64 Board System Requirements
- Windows PC (XP, 7, 8, 10)
- USB type A to mini-B cable
3. STM32 Nucleo-64 Board Development Toolchain
4. Embedded ST-LINK/V2 on STM32 Nucleo-64 Board
The ST-LINK/V2-1 programming and debugging tool is integrated in the STM32 Nucleo board. The ST-LINK/V2-1 makes the STM32 Nucleo boards Mbed enabled. The embedded ST-LINK/V2-1 supports only SWD for STM32 devices. For information about debugging and programming features refer to ST-LINK/V2 in-circuit debugger/programmer for STM8 and STM32 User manual (UM1075), which describes in details all the ST-LINK/V2 features.
The changes versus ST-LINK/V2 version are listed below.
• New features supported on ST-LINK/V2-1:
– USB software re-enumeration
– Virtual COM port interface on USB
– Mass storage interface on USB
– USB power management request for more than 100 mA power on USB
• Features not supported on ST-LINK/V2-1:
– SWIM interface
– Minimum supported application voltage limited to 3 V
• Known limitation:
– Activating the readout protection on ST-LINK/V2-1 target prevents the target application from running afterwards. The target readout protection must be kept disabled on ST-LINK/V2-1 boards.
Below is the support software for embedded ST-LINK/V2 on STM32 Nucleo-64 board:
1. STM32 ST-LINK utility (GUI for download program process), dowload here!
2. ST-Link/V2 Firmware, dowload here!
3. ST-LINK/V2 USB driver (for Windows7/8/10), dowload here!
5. STM32 Nucleo-64 Board Getting Started
Before installing and using the product, accept the Evaluation Product License Agreement from the www.st.com/epla webpage. For more information on the STM32 Nucleo board and to access the demonstrationsoftware, visit www.st.com/stm32nucleo website.
To get started using STM32 Nucleo-64 board (On the first-time use), follow the sequence below to configure the STM32 Nucleo board and launch the demo software:
- Check the jumper position on the board, JP1 off, JP5 (PWR) on U5V, JP6 on (IDD), CN2 on (NUCLEO) selected.
- For correct identification of all device interfaces from the host PC, install the Nucleo USB driver available from the www.st.com/stm32nucleo webpage, prior to connecting the board.
- Connect the STM32 Nucleo board to a PC with a USB cable ‘Type-A to Mini-B’ through USB connector CN1 to power the board. The red LED LD3 (PWR) and LD1 (COM) should light up. LD1 (COM) and green LED LD2 should blink.
- Press button B1 (left button).
- Observe the blinking frequency of the three LEDs LD1 to LD3, by clicking on the button B1.
- The demonstration software and several software examples on how to use the STM32 Nucleo board features are available at the www.st.com/stm32nucleo webpage.
- Develop the application using the available examples.