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 F4 Discovery development kit, please see figure 1 to know the visualization and figure 2 to know the top-view layout.
According to the data brief and user manual document of this minimum systems , the STM32 F4 Discovery is the STM32F4DISCOVERY Discovery kit allows users to easily develop applications with the STM32F407VG high performance microcontroller with the ARM® Cortex®-M4 32-bit core. It includes everything required either for beginners or for experienced users to get quickly started.
Based on STM32F407VG, it includes an ST-LINK/V2 or ST-LINK/V2-A embedded debug tool, two ST-MEMS digital accelerometers, a digital microphone, one audio DAC with integrated class D speaker driver, LEDs, push buttons and a USB OTG micro-AB connector. The STM32F4DISCOVERY Discovery kit comes with the STM32 comprehensive free software libraries and examples available with the STM32Cube package, as well as a direct access to the ARM® mbed Enabled™ on-line resources at http://mbed.org
Figure 1. STM32 F4 Discovery Kit
Figure 2. STM32 F4 Discovery kit - Top layout
STM32 F4 Discovery Kit Key Features
The STM32F4DISCOVERY offers the following features:
- STM32F407VGT6 microcontroller featuring 32-bit ARM Cortex® -M4 with FPU core, 1-Mbyte Flash memory, 192-Kbyte RAM in an LQFP100 package
- On-board ST-LINK/V2 on STM32F4DISCOVERY or ST-LINK/V2-A on STM32F407G-DISC1
- ARM® mbed Enabled™ (http://mbed.org) with ST-LINK/V2-A only
- USB ST-LINK with re-enumeration capability and three different interfaces:
– Mass storage (with ST-LINK/V2-A only)
– Debug port
- Board power supply:
– External power sources: 3 V and 5 V
- LIS302DL or LIS3DSH ST MEMS 3-axis accelerometer
- MP45DT02 ST MEMS audio sensor omni-directional digital microphone
- CS43L22 audio DAC with integrated class D speaker driver
- Eight LEDs:
– LD2 (red) for 3.3 V power on
– Four user LEDs, LD3 (orange), LD4 (green), LD5 (red) and LD6 (blue)
– 2 USB OTG LEDs LD7 (green) VBUS and LD8 (red) over-current
- Two push buttons (user and reset)
- USB OTG FS with micro-AB connector
- Extension header for all LQFP100 I/Os for quick connection to prototyping board and easy probing.
- Comprehensive free software including a variety of examples, part of the STM32CubeF4 package or STSW-STM32068 for legacy standard library usage
- Windows® OS (XP, 7, 8 and 10), Linux® 64-bit or macOS™
- USB type A to Mini-B cable.
- Keil® MDK-ARM(a)
- IAR™ EWARM
- GCC-based IDEs including free SW4STM32 from AC6
- ARM® mbed Enabled™ online
STM32 F4 Discovery Kit Getting Started
Follow the sequence below to configure the STM32F4DISCOVERY board and launch the
- Check jumper position on the board, JP1 on, CN3 on (DISCOVERY selected).
- Connect the STM32F4DISCOVERY board to a PC with a USB cable ‘type A to mini-B’ through USB connector CN1 to power the board. Red LED LD2 (PWR) then lights up.
- Four LEDs between B1 and B2 buttons are blinking.
- Press user button B1 to enable the ST MEMS sensor, move the board and observe the four LEDs blinking according to the motion direction and speed. (If a second USB cable ‘type A to micro-B’ is connected between PC and CN5 connector, then the board is recognized as standard mouse and its motion will also control the PC cursor).
- To study or modify the DISCOVER project related to this demonstration, visit the https://www.st.com/en/evaluation-tools/stm32-discovery-kits.html webpage and follow the tutorial.
- Discover the STM32F407VG features, download and execute programs proposed in the list of projects.
- Develop the application using available examples.
Support Software for Embedded ST-Link/V2 on STM32 F4 Discovery Kit
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!