This post was last edited by Robot Enthusiast 1991 on 2023-9-15 11:34
[Evaluation of nucleo development board f413zh] Part 3 Data sheet features and schematics
1. Introduction
The application is for the STM32 Nucleo-144 general development board, which can adapt to NUCLEO-F207ZG, NUCLEO-F303ZE, NUCLEO-F412ZG, NUCLEO-F413ZH, NUCLEO-F429ZI, NUCLEO-F446ZE, NUCLEO-F722ZE, NUCLEO-F746ZG, NUCLEO-F767ZI and NUCLEO-H743ZI and other models. The development board applied for this time is NUCLEO-F413ZH. In addition to the functions of NUCLEO-F413ZH, the board also has a built-in ST-LINK downloader, integrated ST-LINK/V2-1 debugger/programmer, Zio connector to expand the connection function of Arduino Uno V3, and morpho to expand the various interfaces of Nucleo development board.
ST's Nucleo-F413ZH is a development board based on the STM32F413ZH microcontroller. It provides rich hardware resources and functions suitable for embedded system development and prototyping. The following are some of the main features and specifications of the development board:
- Microcontroller: STM32F413ZH microcontroller with ARM Cortex-M4 core and clock speed up to 100 MHz.
- Storage: 1MB of Flash memory and 320KB of RAM.
- Peripherals: including multiple general-purpose timers, serial communication interfaces, SPI, I2C, ADC and other rich peripherals.
- Connectivity: It has communication interfaces such as USB, CAN, Ethernet, SDIO, USART, etc., which is convenient for connecting other devices and external modules.
- Arduino compatibility: Supports Arduino connection, convenient for prototyping with Arduino expansion modules.
- ST morpho connectivity: Functionality and peripherals can be expanded via the ST morpho expansion connector.
- Integrated ST-LINK debugger/programmer: Built-in ST-LINK/V2-1, which can be used for debugging and burning programs.
- Rich sample code and documentation: ST provides rich sample code and documentation to help developers quickly get started and develop applications.
2. Official website information
The official website address www.st.com provides some information, including but not limited to product overview, pdf materials for download, development tools and software, etc.
3. Hardware Layout and Configuration
This part refers to the data sheet on the official website. The board uses a 144-pin LQFP package, including the STM32 chip and its peripheral components, including the ST-LINK downloader, master control, power supply, LED, USB, Zio connector, morpho connector, etc. In terms of hardware layout, although the ST-link downloader and other components are on one board, one board can be separated into two by cutting.
3.1 ST-link Downloader
The board supports downloading programs with onboard downloader and external downloader, which is controlled by CN4. When the two CN4 jumper caps are connected, the onboard downloader is selected; when the two CN4 jumper caps are disconnected, the external downloader is selected. When my stm32cubeide was installed, the ST-LINK driver was automatically installed. When plugged into the computer, a stlink virtual serial port device can be seen. In addition, when I used the onboard downloader, I upgraded the stlink driver.
In addition, the ST-LINK chip of this board is stm32f103c8t6. I will study the ST-LINK circuit in detail when I have time.
3.2 Power Supply
JP3 is a 2X3 pin header, with 246 pins connected to E5V, U5V and VIN_5V respectively, and 135 pins are electrically connected together. The vertical short-circuit cap can only select one of the three, so that one of E5V, U5V and VIN_5V becomes +5V, and +5V is stabilized to +3V3 by LD39050PU333R. +3V3 directly becomes +3V3_PER. +3V3 can only become VDD after being short-circuited by P5.
External power supply VIN. VIN is stabilized by LD1117S50TR to VIN_5V. The source of VIN is pin 15 of CN8 and pin 24 of CN11, which are input pins. The voltage range is 7-12V, and the maximum current is 800mA. Of course, the input current is also related to the input voltage. When VIN=7V, the input current can be equal to 800mA, and when VIN=9-12V, the input current can be equal to 250mA.
External power supply E5V. CN11 pin 6, this does not pass through the voltage regulator chip, the input voltage range is 4.75-5.25V, and the maximum current is 500mA.
U5V power supply from ST-LINK. From the schematic diagram, U5V is directly output from VBUS of CN1. On ST890CDR of U4, SB1 between pins 12 and 67 is in the open state, which means that the ST890CDR power load switch is controlling the input current. ST890CDR is a high gate driver power switch current limiting chip manufactured by STMicroelectronics. A quick look at the data sheet shows that when pin 8 is low, LD5 will light up, and the fault is manifested as over-temperature or over-current; pin 67 is an output pin; pin 3 is a switch, and low level is effective.
+3.3V. When the ST-Link board is broken off, or SB3 becomes Open and SB111 (NRST is connected through SB111 and T_NRST) becomes Closed. At this time, the input voltage range is 3-3.6V from pin 7 of CN8 or pin 16 of CN11.
3.3 LED
The number of LEDs is still relatively large.
Led1, user indicator light. According to the circuit diagram, if the default Zio interface is used, PB0 and SB120-Closed are connected to led1. If PA5 is used, SB120-Open and SB199-Closed are set. TSV631AILT is an operational amplifier from ST/STMicroelectronics. When PB0 outputs a high level, LD1 lights up and displays green.
Led2, user indicator light. Connected to PB7, displays blue.
Led3, user indicator light. Connected to PB14, displays red.
LD4, ST-link communication status indicator. From the circuit diagram, we can see that the light has two colors, red and green, and the pin that controls the color is LED_STLINK. I guess the orange color is the result of the overlap of the two colors. Try it out when you have time. There are many different references for different display colors and alternating frequencies, so I won't go into details here.
LD5, USB power indicator. When LD5 lights up, it means that the onboard power consumption is greater than 500ma and an external power supply is required. The No. 8 pin FAULT of ST890CDR is connected to the negative pole of the LED, and the positive pole of the LED is powered by USB_5V.
LD6, green LED. Indicates +5V has power, JP3 jumper cap is responsible for selecting external E5V, U5V or VIN. Among them, U5V represents USB5V, from ST-link. E5V and VIN are input from Morpho and Zio connectors. Pin 9 on CN8 shows that +5V is output.
LD7 and LD8. The transistor that controls the switch of LD8 can light up when receiving the output of VBUS or the OUT pin of STMPS2151STR. For LD7, it lights up at a low level. The negative pole of LD7 is connected to PG7, and the symbol is USB OverCurrent, USB overcurrent.
3.4 Buttons
B1 user button, by default connected to PC13, SB173 is Closed, SB180 is Open. There is an electrical symbol of Usr But between it and PA0. When SB173 is Open and SB180 is Closed, it has the Wake Up function.
B2, directly connected to pin 25, NRST, used to reset the STM32 controller.
3.5 JP5(IDD)
I saw that one end of JP5 on the circuit diagram is labeled VDD, and the data sheet says IDD, so I have my doubts here. After JP5 is short-circuited, +3V3 flows to VDD, and VDD is connected to the power supply of the microcontroller.
The second function is to connect the two ends of JP5 to the two probes of the ammeter to measure the working current of the STM.
3.6 USBOTG
CN13's Micro AB is connected to the machine. I have never seen such an interface. CN13 is connected to the computer and U12 STMPS2151STR power switch, supporting USB OTG function. Please note that CN13 cannot supply power. Pay attention to safety. Power on the board first, then connect CN13 to the computer.
3.7 Tin short circuit
SBxxx is the abbreviation of Solder Bridges. I see that the translation means tin short circuit, welding bridge, solder bridge, etc. I only knew 0 ohm resistor before, and I learned a lot. The specific functions of each SBxxx need to be checked in the circuit diagram, so I won’t list them here.
3.8 Connectors
Zio connector supports Arduino V3, including CN7, CN8, CN9, and CN10. I don't have a V3 board here, and I haven't read the precautions in detail. However, the chart 6.14 of the data sheet provides a detailed explanation of the pin names, signal names, and the corresponding pin machine functions of the STM32 individual models.
The morpho connector, which has no soldered pins by default, consists of CN11 and CN12. All power and pin signals are brought out here, which can expand the functions of the Nucleo development board and connect various expansion boards, sensors and other modules to achieve more functions and applications.
3.9 Network port
This board does not have a network port, so I won’t go into details.