STM32F407 discovery board—-STM32F407ZGT6
Ideal discovery board for beginner
STM32F407 discovery board (STM32F407ZGT6) also known as STM32F407ZGT6 development board, it is a circuit board that uses STM32F407ZGT6 as the main control chip. And it is a learning tool for developing STM32F407ZGT6 microcontroller software and hardware.
The STM32F407ZGT6 development board uses a 32-bit high-performance ARM Cortex-M4 processor, its operating frequency is up to 168 MHz, and the flash memory (Flash) is up to 1 MB, which not only improves the performance, but also improves the computing power a lot. The STM32F407ZGT6 development board integrates learning resources such as WIFI module, Ethernet, MP3, recording, 232, 485, buzzer, USB and USB-HOST, serial port, 6-axis gyroscope, photosensitive sensor, etc., without additional access to the module. The STM32F407ZGT6 development board integrates many onboard resources, with strong performance, powerful functions and convenient use. This discovery board is ideal for lifters/technicians to learn and develop various functions.
STM32F407 discovery board (STM32F407ZGT6) versions
STM32F407 discovery board (STM32F407ZGT6) has two versions:
The baseboard and core board are newly designed, and the core board can work independently of the baseboard. Except for the IO occupied by the onboard SDRAM and SPI FLASH, all other IO ports of the core board are led out, which is very suitable for DIY production. On the supported baseboard, many functional modules are integrated for beginners to learn and use.
All-in-one board design, leading out all IO ports, easy to connect various modules.
STM32F407 discovery board (STM32F407ZGT6) Features
The STM32F407 discovery board price of the STM32F407ZGT6 model is favorable, and the bulk price will be lower.
There are 2 versions of the STM32F407 discovery board (STM32F407ZGT6) , one is the design of base board + core board, which is flexible to use, and the core board can work independently of the base board. One is an all-in-one board, which leads out all the IO ports, which is convenient for connecting various modules, and the resources are flexibly configured. Two versions can be selected at will according to the needs.
The STM32F407ZGT6 development board uses STM32F407ZGT6 as the main control chip. The STM32F407ZGT6 chip provides 32-bit high performance with a Cortex™-M4 core (with floating point unit) operating at 168 MHZ. When executed from Flash memory, the STM32F407ZGT6 can deliver 210 DMIPS/566 Coremark performance and achieve FLASH zero wait states using ST’s ART accelerator. DSP instructions and floating-point units expand the product’s application range. The more powerful the chip is, the more powerful the development board function.
Many resources of the discovery board can be flexibly configured to meet the use under different conditions. We have introduced all IO ports except the IO ports occupied by the crystal oscillator, which can greatly facilitate everyone’s expansion and use. In addition, the on-board one-key download function can avoid the trouble of frequently setting B0 and B1, and the development of STM32 can be realized with only one USB cable.
The STM32F407 development board (STM32F407ZGT6) provides more than ten standard interfaces, which can facilitate the experiment and development of various peripherals.
The main chip adopts STM32F407ZGT6 with 1M bytes of FLASH, and externally expands 1M bytes of SRAM and 16M bytes of FLASH to meet large memory requirements and large data storage. There are high-performance audio codec chips, six-axis sensors, 100M network cards, photosensitive sensors and various interface chips onboard to meet various application needs.
STM32 discovery board datasheet–STM32 development board comparison of hardware resources between STM32F407ZGT6 V1 and V2
The base board of the V1 version is separated from the core board and can be disassembled, while the V2 version is a whole.
STM32F407 discovery board schematic
Common problems of the STM32F407 discovery board (STM32F407ZGT6)
1.Can’t find the USB to serial port.
There may be several reasons for this problem:
1)The discovery board is not powered.
In this case, please check whether the blue power light in the lower right corner of the discovery board is on, if not, press the power switch. The power indicator must be on for the computer to find the USB to serial port. In addition, the STM32F407 discovery board (STM32F407ZGT6) does not support JLINK power supply, and it is not recommended that you use ST LINK to power the STM32F407 discovery board (STM32F407ZGT6).
2) The wrong USB port is inserted.
To use USB to serial port, the USB cable must be plugged into the USB_232 interface in the lower left corner of the STM32F407 discovery board (STM32F407ZGT6). As shown in Figure Q1.1:
3) The USB driver is not installed.
Please install the CH340G driver. The CH340 driver is in the CD data: 6, software data\software\CH340 driver (uSB serial port driver)_XP_WIN7 shared folder.
2. flymcu cannot download the code.
Common reasons are as follows:
1) The DTR and RTS settings of the flymcu software are wrong.
The correct setting is: the low level of DTR resets, the high level of RTS enters the BootLoader, as shown in Figure Q2.1:
As shown in the figure: do not check: use Ramlsp, do not check: write option bytes when programming to FLASH, DTR, RTS should not be set incorrectly, the serial port number should be selected correctly, and the maximum baud rate cannot exceed 76800.
2) The serial port is wrong.
This must be checked, which is the USB to serial port of your discovery board. In the device manager, you can check the type of USB to serial port, as shown in Figure Q2.2:
As shown in the figure, you can see that the computer has a total of 2 COM ports, and obviously we can know that the USB to serial port of the STM32F407 discovery board (STM32F407ZGT6) is COM3. Because the STM32F407 discovery board (STM32F407ZGT6) is a USB to serial port, it must be USB-SERIAL, and the CH340G chip is used, so it must be COM3.
Special attention: your computer is not necessarily COM3, but the string of USB-SERIAL CH340 must be the same, please choose according to the specific situation!
STM32F407 discovery board (STM32F407ZGT6) experiment
Experiment 1. Camera function
The STM32F407ZGT6 development board is connected to an external camera module, which can realize functions such as taking pictures and video monitoring.
Experiment 2. MP3 function
The STM32F407ZGT6 development board integrates an MP3 module, model WM8978, which supports music playback and recording functions.
STM32F407 discovery board (STM32F407ZGT6) function application field
The STM32F407ZGT6 development board integrates a lot of resources. Using the STM32F407ZGT6 microcontroller and functional modules, many products can be developed. Because the STM32F407ZGT6 microcontroller runs faster and has stronger performance, many fields will choose the STM32F407ZGT6 microcontroller to be embedded in mid-range products. Such as electronic products (remote control aircraft, cameras, monitors, scanners, etc.), medical equipment (thermometer guns, blood pressure monitors, blood glucose meters, etc.), industrial products (servo amplifiers, etc.).