02-407 Control base PCB development board resource introduction materials

Core board + control board
(anti-customer) + + DIY

1. Chip introduction: stm32F407ZGT6 (Development Guide)
product (see Taobao "Anti-off Technology")
Insert picture description here

The core board does not use the STM32F407 development guide, because it is expensive and many functions are not used, so I use the anti-customer, the chip is the same, it's okay.
The development board was drawn by Li Mingfeng.

1.2 ALIENTEK STM32F407 minimum system board resource description The
resource description part, we will divide the description into two parts: hardware resource description and software resource description.
1.2.1 Description of hardware resources
kiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii

Here we first introduce the hardware resources of each part of the STM32F407 minimum system board (the marked part in Figure 1.1.1) in detail. We will introduce them in counterclockwise order:

  1. USB to serial port
    This is a Micro USB socket on the development board, connected to the USB to serial chip CH340C, used for serial communication, serial port one-key download, serial port debugging, power supply, etc.
  2. Power indicator
    This is a blue LED (PWR) on the development board to indicate the power status. The light will be on when the power is turned on, otherwise it will not be on. Through this LED, you can judge the power-on status of the development board.
  3. USB_SLAVE / HOST (OTG)
    This is a Micro USB socket on the development board , which is used for USB communication between STM32 and computer, and can be used for USB slave (SLAVE) communication or USB host communication (HOST). When realizing host communication, an external Micro USB OTG adapter cable is required. The slave communication experiment mainly includes: USB card reader, USB sound card; the host experiment mainly includes: U disk reading, USB mouse, etc.
  4. SWD interface (on the back)
    This is the 4P SWD interface on the development board. Through this interface, program download and program simulation functions can be realized. In addition, SWCLK\SWDIO in the interface can also be used as ordinary IO.
  5. 2 buttons
    These are the 2 mechanical input buttons (KEY0 and KEY_UP) on the development board, which are usually used for human-computer interaction. Note that both KEY0 and KEY_UP are active high, which is one of the main differences from the STM32F407 smallest system board development board.
    KEY0 is connected to STM32's BOOT0, which can be used to start selection. This function is very useful. After downloading the program that prohibits SWD, you can no longer download the program through SWD. At this time, you can press and hold KEY0 and then power on the development board (BOOT0 Pull high), and then use the SWD interface to download again. After the program runs normally, it can be used as a normal button.
    KEY_UP is connected to the WAKE_UP (PA0) pin of STM32 and can be used for wake-up in standby mode. It can also be used as a normal key input when the wake-up function is not used.
  6. Reset button
    This is the reset button (RESET) on the development board, which is used to reset the STM32. It also has the function of resetting the LCD, because the reset pin of the LCD module and the reset pin of the STM32 are connected together. When the key is pressed, the STM32 and the LCD are reset together.
  7. 2 LEDs
    These are the two LED lights (DS0 and DS1) on the development board. DS0 is red and DS1 is green, mainly for easy identification. Here I remind everyone not to stay in the 51 marquee thinking. With so many lights, apart from wasting IO ports, I really can't think of any other advantages.
    For our general application, 2 LEDs are enough. When debugging code, using LEDs to indicate the status of the program is a very good auxiliary debugging method. Almost every instance of the STM32F407 minimum system board uses LEDs to indicate
    the running status of the program .
  8. USB serial port/serial port 1 Select
    this is the interface for connecting the USB serial port with STM32F407ZGT6 serial port 1. The labels RX and TX are the 2 data ports of USB to serial port (for CH340C), and PA9 and PA10 are STM32 serial port 1 The two data ports (under the multiplex
    function). They can be connected with each other through the jumper cap, so as to realize the program download of STM32 and
    serial communication.
    It is designed as a USB serial port because the serial port on the computer is disappearing, especially in the notebook, there is almost no serial
    port. Therefore, the onboard USB serial port is convenient for you to download code and debug. The board is not directly connected together,
    because of the convenience of use. With this design, you can use the ALIENTEK STM32F407 minimum system board as a
    USB to TTL serial port to communicate with other boards, and the serial ports of other boards can also be easily connected to the ALIENTEK
    STM32F407 minimum system board.
  9. 24C02 EEPROM
    This is the EEPROM chip on the development board with a capacity of 2Kb, which is 256 bytes. It is used to store some
    important data that can not be lost when power off , such as some parameters set by the system/touch screen calibration data, etc. With this, it is convenient to
    save power-off data.
  10. Lead IO port
    which is drawn IO port boards, a total of two primary outlet IO: JP1 and JP2, using 2 * 25 pin leads, total
    total IO port leads 90, 10 are remaining: the GND 3, Two 5V, two 3.3V, RESET, VBAT, Vref.
    And STM32F407ZGT6 total of only 112 the IO, was removed RTC crystal occupied by two the IO, left 110, in front of
    the two leads 90, serial 1 select pin leads PA9 & PA10, SWD leads PA13 & PA14, only the remaining 16
    th Not Lead out, of which 16 unleaded IOs contain hardware such as connection buttons, LEDs, etc., 24C02, SPI Flash and so on.
  11. XM8A51216V 8M SRAM
    This is an expanded SRAM chip on the development board, with a capacity of 8M bits, which is 1M bytes. In this way, the
    STM32F4 development guide for large memory requirements (library function version)
    STM32F407 minimum system board tutorial
    8
    applications (such as GUI) , It can be implemented very well.
  12. TFT LCD interface
    This is the LCD module interface (32P FPC socket) on the development board, which is connected to the TFT LCD
    module through the FPC cable and the adapter board . This interface is compatible with the full range of ALIENTEK TFT LCD modules, including: 2.4-inch, 2.8-inch, 3.5-inch, 4.3-inch and
    7-inch TFT LCD modules, and supports resistive/capacitive touch functions.
  13. TF card interface
    This is the TF card interface on the development board. The interface is on the back of the development board and is driven in SDIO mode. With this TF card
    interface, it can meet the needs of massive data storage.
  14. OLED/camera module interface
    This is an OLED/camera module interface (18P FPC socket) on the development board, which is connected
    to the module through the FPC cable and adapter board . If it is an OLED module, just insert it to the left (starting from 1). If it is a camera module (provided by ALIENTEK
    ), it is just fully inserted. Through this interface, two external modules can be connected separately to realize related experiments.
  15. W25Q128 128M FLASH
    This is an externally expanded SPI FLASH chip with a capacity of 128Mbit, which is 16M bytes. It can be used to store fonts
    and other user data to meet the requirements of large-capacity data storage. Of course, if you feel that 16M bytes are not enough, you can
    store the data in an external TF card.
  16. STM32F407ZGT6
    This is the core chip (U4) of the development board, the model is: STM32F407ZGT6. The DSP chip integrated FPU and instruction,
    and has 192KB SRAM, 1024KB FLASH, 12 16-bit timers, two 32-bit timers, two DMA controller
    system device (16 channels), the SPI 3, two full Duplex I2S, 3 IIC, 6 serial ports, 2 USB (support HOST/SLAVE),
    2 CAN, 3 12-bit ADC, 2 12-bit DAC, 1 RTC (with calendar function), 1 SDIO Interface, 1
    FSMC interface, 1 10/100M Ethernet MAC controller, 1 camera interface, 1 hardware random number generator,
    and 112 general-purpose IO ports, etc.
  17. Serial chip CH340C
    This is a USB to serial chip on the development board. One end is connected to the USB socket (USB to serial port), and the other end
    is connected to the STM32 PA9&PA10 through a jumper cap. The chip plus the peripheral circuit realize the one-key download function, that is, only one
    USB data cable can also be used to download the program to the STM32.
  18. 5V/3.3V power input/output
    This is a set of 5V and 3.3V power input and output pins on the development board. It is used to provide 5V and 3.3V power to the outside, and
    it can also be used to connect 5V and 3.3V from the outside. The power supply provides power to the board.

Schematic diagram:
D:\STM32

Guess you like

Origin blog.csdn.net/m0_48808835/article/details/113768542