ST MICROELECTRONICS STM32G474E-EVAL1 User guide

Introduction
UM2514
User manual
Evaluation board with STM32G4xxQE MCU
The STM32G474E-EVAL board is a complete demonstration and development platform for the STMicroelectronics Arm It features three FDCAN controllers, four I²C Fast mode plus, five USART/UARTs and one LPUART, four SPIs, one SAI port, USB FS and IRTIM communication interfaces, UCPD, five 12-bit ADCs, seven 12-bit DAC channels, seven comparators and six operational amplifiers, 17 timers, 96 Flash memory, and JTAG/SWD debugging support.
The STM32G474E-EVAL, shown in Figure 1 and Figure 2, is used as a reference design for user application development before porting to the final product. The STM32G484E-EVAL is populated with an STM32G484QET6U MCU with Cryptography. The STM32G474E-EVAL1 is configured as a dedicated motor-control board.
The full range of hardware features available on the board helps users to optimize the application development by the evaluation of all the peripherals (USB FS, UCPD, USART, audio, ADC and DAC, differential ADC, TFT LCD, potentiometer/LDR, SRAM, Quad-SPI Flash memory device, microSD™ card, Smartcard, FDCAN transceiver, high brightness LED, motor control connectors, temperature sensor, and others). Extension headers provide easy connection to daughterboard for specific applications.
STLINK-V3E is integrated into the board, as the embedded in-circuit debugger and programmer for the STM32 MCU and the USB virtual COM port bridge.
The three products (STM32G474E-EVAL, STM32G484E-EVAL, STM32G474E-EVAL1) are described in this user manual, together with STM32G474E-EVAL figures.
Figure 1. STM32G474E-EVAL top view Figure 2. STM32G474E-EVAL bottom view
Cortex®-M4 core-based STM32G474QET6U microcontroller.
Kbytes of internal SRAM, 32 Kbytes of CCM SRAM, 512 Kbytes of
Pictures are not contractual.
September 2019 UM2514 Rev 4 1/83
www.st.com
1
Contents UM2514
Contents
1 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
2 Ordering information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
2.1 Product marking . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
2.2 Codification . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .11
3 Development environment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
3.1 System requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
3.2 Development toolchains . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
3.3 Demonstration software . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
4 Delivery recommendations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
5 Hardware layout and configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
5.1 STLINK-V3E . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
5.1.1 Drivers and firmware upgrade . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
5.2 ETM trace . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
5.3 Power supply . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
5.3.1 Supplying the board through STLINK-V3E USB port . . . . . . . . . . . . . . 20
5.3.2 Using STLINK-V3E along with powering through CN25 power jack . . . 20
5.4 Clock references . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
5.5 Reset source . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
5.6 Boot Option . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
5.6.1 Limitations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
5.7 Audio . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
5.7.1 Limitations in using audio features . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
5.8 USB FS port . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
5.8.1 Operating voltage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
5.9 RS232 and RS485 port . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
5.9.1 Limitations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
5.9.2 Operating voltage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
5.10 microSD card . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
5.10.1 Limitations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
2/83 UM2514 Rev 4
UM2514 Contents
5.10.2 Operating voltage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
5.11 Motor control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
5.11.1 Board modifications to enable motor control . . . . . . . . . . . . . . . . . . . . . 32
5.11.2 Limitations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
5.12 FDCAN . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
5.12.1 Limitations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
5.12.2 Operating voltage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
5.13 Extension connectors CN5 and CN6 . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
5.14 User LEDs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
5.15 Physical input devices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
5.15.1 Limitations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
5.16 Operational amplifier and comparator . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
5.16.1 Operational amplifier . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
5.16.2 Comparator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
5.16.3 Limitations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
5.17 Analog input, output, VREF . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
5.17.1 Analog input . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
5.17.2 Analog output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
5.17.3 VREF+ terminal . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
5.17.4 Limitations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
5.18 SRAM device . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
5.18.1 Limitations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
5.18.2 Operating voltage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
5.19 EXT_I2C connector . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
5.20 Quad-SPI Flash memory device . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
5.20.1 Limitations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
5.20.2 Operating voltage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
5.21 MFX MCU . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
5.21.1 MFX . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
5.21.2 IDD measurement . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
5.21.3 Limitations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
5.22 TFT LCD panel . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
5.23 UCPD . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
5.23.1 USB Type-C receptacles . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
5.23.2 Power Delivery & Local power management . . . . . . . . . . . . . . . . . . . . . 41
UM2514 Rev 4 3/83
5
Contents UM2514
5.23.3 VBUS management and discharge mechanism . . . . . . . . . . . . . . . . . . 41
5.23.4 VBUS voltage-sensing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
5.23.5 CC management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
5.23.6 Limitations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42
5.24 Temperature Sensor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42
5.24.1 Operating voltage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42
5.25 Smartcard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42
5.25.1 Operating voltage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
5.26 High brightness LED . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
5.26.1 Limitations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
6 Connectors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44
6.1 External I2C connector CN1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44
6.2 Motor control connector CN2 and CN4 . . . . . . . . . . . . . . . . . . . . . . . . . . 44
6.3 SMB connector CN3, CN7 and CN8 . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46
6.4 Extension connectors CN5 and CN6 . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46
6.5 DAC connector CN9 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46
6.6 CAN1 and CAN2 connector CN12 and CN10 . . . . . . . . . . . . . . . . . . . . . 47
6.7 RS232 and RS485 connector CN11 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47
6.8 JTAG connector CN14 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48
6.9 TAG connector CN15 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48
6.10 STDC14 connector CN16 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49
6.11 Trace debugging connector CN17 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49
6.12 MFX programming connector CN18 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50
6.13 Type-C signals connector CN19 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50
6.14 LCD connector CN20 and CN24 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
6.15 ST-LINK-V3E USB Micro-B connector CN21 . . . . . . . . . . . . . . . . . . . . . . 51
6.16 USB Type-C connector CN22 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
6.17 Audio blue jack (Line In) CN23 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52
6.18 Audio green jack (Line Out) CN26 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52
6.19 Power connector CN25 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53
6.20 ST-LINK-V3E programming connector CN27 . . . . . . . . . . . . . . . . . . . . . . 53
6.21 microSD connector CN28 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54
6.22 Smartcard connector CN31 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55
4/83 UM2514 Rev 4
UM2514 Contents
7 Schematic diagrams . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56
Appendix A STM32G474E-EVAL I/O Assignment . . . . . . . . . . . . . . . . . . . . . . . . 77
Revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82
UM2514 Rev 4 5/83
5
List of tables UM2514
List of tables
Table 1. List of available products . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
Table 2. Codification explanation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Table 3. Setting of configuration elements for trace connector CN17 . . . . . . . . . . . . . . . . . . . . . . . 17
Table 4. Setting of configuration I/Os for PE2, PE3, PE4 and PE5 . . . . . . . . . . . . . . . . . . . . . . . . . 18
Table 5. Power supply related jumper and solder bridge settings . . . . . . . . . . . . . . . . . . . . . . . . . . 21
Table 6. X3 crystal related solder bridge settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
Table 7. X2 crystal related solder bridge settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
Table 8. Boot selection switch . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
Table 9. Configuration PA10 of STM32G474QET6U terminals . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
Table 10. Motor control CN2 terminal and function assignment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
Table 11. Motor control CN4 terminal and function assignment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
Table 12. Motor control OpAmp and DAC function assignment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
Table 13. Motor control related switches and solder bridges . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
Table 14. Motor control related switches and solder bridges . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
Table 15. Port assignment for control of physical input devices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
Table 16. Configuration elements related with OpAmp4 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
Table 17. Configuration elements related with Comp4 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
Table 18. Configuration elements related with VREF+. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
Table 19. MFX signals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
Table 20. IDD measurement related jumper settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
Table 21. TFT LCD connector CN20 and CN24. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
Table 22. Dead battery related jumpers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42
Table 23. Connection between ST8024L and STM32F091VCT6 . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
Table 24. EXT_I2C connector CN1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44
Table 25. Motor control connector CN2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44
Table 26. Motor control connector CN4 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45
Table 27. SMB connector . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46
Table 28. Analog input-output connector CN9 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47
Table 29. CAN connector CN10 or CN12 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47
Table 30. RS-232/RS-485 D-sub connector CN11 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47
Table 31. JTAG debugging connector CN14 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48
Table 32. TAG debugging connector CN15 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48
Table 33. STDC14 debugging connector CN16 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49
Table 34. Trace debugging connector CN17 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49
Table 35. Type-C signals connector CN19 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50
Table 36. USB Micro-B connector CN21 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
Table 37. USB Type C connector CN22 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52
Table 38. Audio Jack Connector CN26 (on board) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53
Table 39. MicroSD connector CN28 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54
Table 40. Smartcard connector CN31 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55
Table 41. STM32G474E-EVAL I/O Assignment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77
Table 42. Document revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82
6/83 UM2514 Rev 4
UM2514 List of figures
List of figures
Figure 1. STM32G474E-EVAL top view . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
Figure 2. STM32G474E-EVAL bottom view . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
Figure 3. Hardware block diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
Figure 4. STM32G474E-EVAL Evaluation board layout (top view) . . . . . . . . . . . . . . . . . . . . . . . . . . 14
Figure 5. STM32G474E-EVAL Evaluation board layout (bottom view) . . . . . . . . . . . . . . . . . . . . . . . 15
Figure 6. STM32G474E-EVAL Evaluation board mechanical dimensions (top view) . . . . . . . . . . . . 16
Figure 7. PCB top side rework for motor control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
Figure 8. PCB bottom side rework for motor control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
Figure 9. I2C EXT connector CN2 (front view) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44
Figure 10. Motor control connector CN2 and CN4 (top view) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44
Figure 11. SMB connector (front view) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46
Figure 12. Analog input-output connector CN9 (top view) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46
Figure 13. CAN connector CN10 or CN12 (front view) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47
Figure 14. RS232 and RS485 connector CN11 (front view) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47
Figure 15. JTAG debugging connector CN14 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48
Figure 16. STDC14 debugging connector CN16 (top view). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49
Figure 17. Trace debugging connector CN17 (top view) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49
Figure 18. Type-C signals connector CN19 (top view) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50
Figure 19. USB Micro-B connector CN21 (front view) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
Figure 20. USB Type C connector CN22 (front view) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
Figure 21. Stereo headset with microphone jack CN26. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52
Figure 22. Power supply connector CN25 (front view) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53
Figure 23. microSD connector CN28 (front view) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54
Figure 24. Smartcard connector CN31 (top view) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55
Figure 25. MB1397_TOP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57
Figure 26. STM32 microcontroller I/Os . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58
Figure 27. STM32 microcontroller power . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59
Figure 28. USB_PD . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60
Figure 29. USB-TYPEC_CON . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61
Figure 30. FMC memory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62
Figure 31. QSPI memory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63
Figure 32. Audio. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64
Figure 33. LCD and SD card . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65
Figure 34. RS232 and RS485 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66
Figure 35. FDCAN . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67
Figure 36. Analog interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68
Figure 37. Peripherals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69
Figure 38. Smartcard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70
Figure 39. Motor control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71
Figure 40. Extension connector . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72
Figure 41. Debug connectors. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73
Figure 42. Multi function expander. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74
Figure 43. Power board . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75
Figure 44. STLINK-V3E -SWD Module . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76
UM2514 Rev 4 7/83
7
Features UM2514

1 Features

Common features
240x320 TFT color LCD display module with SPI interface
16-Gbyte microSD™ card bundled
On-board current measurement
SAI audio codec
Temperature sensor
8-Mbit (512 K x 16-bit) SRAM
Two 512-Mbit Quad-SPI NOR Flash memories
Four color user LEDs
One high brightness LED
Reset and wake-up / tamper buttons
4-direction joystick with selection button
Light-dependent resistor (LDR)
Potentiometer
Access to comparator and operational amplifier
Board connectors:
-Analog line input jack
-Stereo headset jack
-Two connectors for external speakers
-microSD™ card
-EXT_I2C connector supporting I2C bus
-RS-232 port configurable for communication or MCU flashing
-RS-485 port
-USB Type-C™ port supporting USB FS Device
-Two CAN 2.0A/B-compliant ports
-Connector for DAC output
-JTAG/SWD connector
-ETM trace debug connector
-User interface through USB virtual COM port
-Embedded STLINK-V3E debug and flashing facility
-TAG connector 10-pin footprint
8/83 UM2514 Rev 4
UM2514 Features
-Arm
®(a)
Cortex® 10-pin 1.27 mm-pitch debug connector over STDC14 footprint
-Coin cell battery holder
Board expansion connectors:
-Two sets of motor control expansion connectors
-Board expansion extension connectors
Flexible power-supply options:
-ST-LINK USB VBUS, external sources, USB Type-C™ connector, or daughterboard
On-board STLINK-V3E debugger/programmer with USB re-enumeration
capability: mass storage, Virtual COM port, and debug port
Microcontroller supply voltage: fixed 3.3 V or adjustable range from 1.62 V to
3.6 V
Comprehensive free software libraries and examples available with the
STM32CubeG4 MCU Package
Support of a wide choice of integrated development environments (IDEs) including
IAR™, Keil
, GCC-based IDEs
Board-specific features
-STM32G474QET6U microcontroller with 512 Kbytes of Flash memory and 96 Kbytes of RAM in LQFP128 package (STM32G474E-EVAL and STM32G474E-EVAL1)
-STM32G474E-EVAL1 is the board to use for motor control application with solder bridge and resistor configuration
-STM32G484QET6U with cryptography (STM32G484E-EVAL)
Fully compatible with all microcontrollers of the STM32G4x1 and STM32G4x3 lines with “QET6” part number suffix
a. Arm is a registered trademark of Arm Limited (or its subsidiaries) in the US and/or elsewhere.
UM2514 Rev 4 9/83
82
Ordering information UM2514

2 Ordering information

To order the STM32G4x4E-EVAL Evaluation board, refer to Tab le 1. Additional information is available in the datasheet and reference manual of the targeted STM32.
Order code Board reference Target STM32 Differentiating feature

Table 1. List of available products

STM32G474E-EVAL
STM32G474E-EVAL1
STM32G484E-EVAL STM32G484QET6U Cryptography

2.1 Product marking

Evaluation tools marked as “ES” or “E” are not yet qualified and are therefore not ready to be used as reference design or in production. Any consequences arising from such usage will not be at STMicroelectronics’ charge. In no event will STMicroelectronics be liable for any customer usage of these engineering sample tools as reference designs or in production.
‘E’ or ‘ES’ marking examples of location:
on the targeted STM32 that is soldered on the board (for illustration of STM32 marking, refer to the section Package information in the STM32 datasheet at www.st.com).
next to the evaluation tool ordering part number, that is stuck or silkscreen printed on the board.
This board features a specific STM32 device version which allows the operation of any bundled commercial stack/library available. This STM32 device shows a "U" marking option at the end of the standard part number and is not available for sales.
In order to use the same commercial stack in his application, a developer may need to purchase a part number specific to this stack/library. The price of those part numbers includes the stack/library royalties.
MB1397
STM32G474QET6U
-
Motor-control configuration
board
10/83 UM2514 Rev 4
UM2514 Ordering information

2.2 Codification

The meaning of the codification is explained in Tabl e 2.
STM32XXYYYZ-EVAL(T) Description Example: STM32G484E-EVAL

Table 2. Codification explanation

XX
MCU series in STM32 Arm Cortex MCUs
STM32G4 Series
MCU product line in the series
YY
– G474: basic security
STM32G484
– G484: cryptography
Z
STM32 Flash memory size, E for 512 Kbytes
512 Kbytes
Evaluation board configuration:
T
– EVAL: basic – EVAL1: with motor-control
Basic
configuration board
The order code is mentioned on a sticker placed on the top side of the board.
UM2514 Rev 4 11/83
82
Development environment UM2514

3 Development environment

3.1 System requirements

Windows® OS (7, 8 and 10), Linux® 64-bit or macOS
USB Type-A to Micro-B cable

3.2 Development toolchains

Keil® MDK-ARM
IAR™ EWARM
GCC-based IDEs
(b)
(b)

3.3 Demonstration software

The demonstration software, included in the STM32Cube MCU Package corresponding to the on-board MCU, is preloaded in the STM32 Flash memory for easy demonstration of the device peripherals in standalone mode. The latest versions of the demonstration source code and associated documentation can be downloaded from www.st.com.
®(a)

4 Delivery recommendations

Some verifications are needed before using the board for the first time, to make sure that no damage occurred during shipment and that no components are unplugged or lost.
When the board is extracted from its plastic bag, check that no component remains in the bag. The main components to verify are:
1. microSD card which may have been ejected from the connector CN28 (right side of the board),
2. TFT LCD display MB895 daughterboard which must be in its CN20 and CN24 connectors
For product information related to STM32G4xxQET6U microcontroller, visit the www.st.com website.
a. macOS® is a trademark of Apple Inc., registered in the U.S. and other countries.
®
b. on Windows
only
12/83 UM2514 Rev 4
UM2514 Hardware layout and configuration
06Y9
9
SRZHUVXSSO\
9
SRZHUVXSSO\
$'-
SRZHUVXSSO\
670*4(7
74)3
9%$7
57&
63,
8&3'
86%)6
86$57
&$1
'$3
6$,
463,
)0&
,&
$'&'$&
23$03
&203
*3,2
$XGLRFRGHF
[VLQJOH
4XDG63,)ODVK
65$0365$0
7HPSHUDWXUHVHQVRU
(;7B,&FRQQHFWRU
$'&'$&FRQQHFWRU
3RWHQWLRPHWHU/'5
-R\VWLFNEXWWRQV
&RORU/('V
0RWRUFRQWUROFRQQHFWRU
&$1FRQQHFWRU
67/,1.9(
-7$*6:'FRQQHFWRU
7$*FRQQHFWRU
7UDFHFRQQHFWRU
67'&FRQQHFWRU
9EDWWHU\
.+]FU\VWDO
7)7/&'FRQQHFWRU
PLFUR6'FDUG
86%7\SH&FRQQHFWRU
5656FRQQHFWRU
+LJKEULJKWQHVV/('
6PDUWFDUG

5 Hardware layout and configuration

The STM32G474E-EVAL board is designed around STM32G474QET6U target microcontroller in TQFP 128-pin package. STM32G474QET6U with the peripheral components. Figure 4 and Figure 5 show the locations of main components on the evaluation board.

Figure 3. Hardware block diagram

Figure 3 illustrates the connections of the
UM2514 Rev 4 13/83
82
Hardware layout and configuration UM2514
CN21 STLINK
-
V3E
USB
CN14 JTAG/SWD
CN23 Audio In
LD8 STLINK
-V3E
COM LED
B1 Joystick
B3 Reset Button
4 colour LEDs
CN22 Type
-C
connector
U6 STM32G474QET6U
CN5, CN6 Extension header
CN16 STDC14
CN11 USART
CN28 MicroSD card
B2 USRE Button
CN26 Audio out
CN3 DIFF ADC input
RV2 Potentiometer
LD7 STLINK
-
V3E Power over current alarm
CN17 ETM TRACE
CN15 TAG
CN20/CN24 TFT LCD c
onnector
CN19 Type-C SIG
JP12 5V source
CN2 Motor control c
onnector 1
CN1 EXT_I2C c
onnector
CN12 CAN1
CN4 Motor control connector 2
CN10 CAN2
CN32 DAC2
CN18 MFX
CN27 ST
-LINK
SWD
CN25 Power Jack
CN7
CN8
LD6 5V LED
RV3 VDD ADJ
LD5 HB LED
CN9 DAC

Figure 4. STM32G474E-EVAL Evaluation board layout (top view)

14/83 UM2514 Rev 4
UM2514 Hardware layout and configuration
CN31 Smartc
ard

Figure 5. STM32G474E-EVAL Evaluation board layout (bottom view)

UM2514 Rev 4 15/83
82
Hardware layout and configuration UM2514
Figure 6 provides the mechanical dimensions of the STM32G474E-EVAL board.

Figure 6. STM32G474E-EVAL Evaluation board mechanical dimensions (top view)

16/83 UM2514 Rev 4
UM2514 Hardware layout and configuration

5.1 STLINK-V3E

STLINK-V3E facility for debug and flashing of STM32G474QET6U is integrated on the STM32G474E-EVAL board. It features:
Self-powered through a USB connector (Micro-B)
USB 2.0 high-speed compatible interface
Direct firmware update support (DFU)
SWD and serial wire viewer (SWV) communication support
Drag-and-drop Flash programming
Two color LEDs: communication, power
The USB connector CN21 can be used to power the STM32G474E-EVAL regardless of the STLINK-V3E facility used for debugging or programming STM32G474QET6U. This holds also when the STLINK stand-alone tool is connected to connector CN14 or CN15 or CN16 or CN17 and used for debugging or programming the STM32G474QET6U.
Power supply provides more detail about powering the STM32G474E-EVAL.
Refer to www.st.com for details about STLINK-V3E.

5.1.1 Drivers and firmware upgrade

The STLINK-V3E requires drivers to be installed on Windows, and embeds a firmware which needs to be updated from time to time in order to benefit from new functionality or corrections. Refer to the Overview of ST-LINK derivatives technical note (TN1235) for details.
Section 5.3:
Before connecting the STM32G474E-EVAL to a Windows (7, 8 10) PC via USB, a driver for STLINK-V3E must be installed. It is available from www.st.com.

5.2 ETM trace

The connector CN17 is available to output trace signals used for debug. By default, the evaluation board is configured such that, STM32G474QET6U signals PE2, PE3 and PE4 are connected to trace outputs TRACECLK, TRACED0, and TRACED1 of CN17, but these signals shared with Audio codec, motor control connectors and FMC.
Tabl e 3 shows the setting of configuration elements to shunt PE3 and PE4 MCU ports to
CN17 connector, to use them as debug trace signals.
Tabl e 4 shows the setting of configuration I/Os to shunt PE2, PE3, PE4 and PE5 MCU ports
to use them as the right functions.
R210
R207

Table 3. Setting of configuration elements for trace connector CN17

Element Setting Configuration
open
closed CN17 pin 14 connects to JTAG_TDO.
open
closed CN17 pin 16 connects to JTAG_TRST.
Default setting.
CN17 pin 14 connects to TRACED0.
Default setting.
CN17 pin 16 connects to TRACED1.
UM2514 Rev 4 17/83
82
Hardware layout and configuration UM2514

Table 4. Setting of configuration I/Os for PE2, PE3, PE4 and PE5

Element Setting Configuration
R147 SB111 SB103
R147 in SB111 open SB103 open
R147 out SB111 closed SB103 open
Default setting.
PE2 connects to TRACECLK.
Default setting.
PE2 connects to SAI_MCLK_A.
R147 out SB111 open
PE2 connects to MC1|MC2_PFC_Sync.
SB103 closed
R145 in SB110 open SB118 open
Default setting.
PE3 connects to TRACED0.
R146 out
R145 out
R145 SB110 SB118 R146
SB110 closed SB118 open R146 out
R145 out SB110 open SB118 closed
Default setting.
PE3 connects to SAI_SD_B.
PE3 connects to MC1|MC2_PFC_pwm.
R146 out
R145 out SB110 open SB118 open
Default setting.
PE3 connects to memory address line A19.
R146 in
R144 in SB107 open SB109 open
Default setting.
PE4 connects to TRACED1.
R143 out
R144 out
R144 SB107 SB109 R143
SB107 closed SB109 open R143 out
R144 out SB107 open SB109 closed
Default setting.
PE4 connects to SAI_FS_A.
PE4 connects to MC1_ICL_SHUTOUT.
R143 out
R144 out SB107 open SB109 open
Default setting.
PE4 connects to memory address line A20.
R143 in
18/83 UM2514 Rev 4
UM2514 Hardware layout and configuration
Table 4. Setting of configuration I/Os for PE2, PE3, PE4 and PE5 (continued)
Element Setting Configuration
SB28 closed
SB28 SB97
SB97 open
SB28 open SB97 closed
Warning: Generally we have one default setting for best performance

5.3 Power supply

The STM32G474E-EVAL board is designed to be powered from a 5 V DC power source. It incorporates a precise PTC and transil to protect the board from damage due to wrong power supply. One of the following five 5 board configuration:
Power jack CN25: Marked PSU on the board (JP12 jumper setting on E5V on silkscreen). The positive pole is on the center pin as illustrated in Figure 22. The External power supply from Power jack CN25 is from 5 V to 18 V input voltage. The dedicated DC/DC regulator ST1S41PHR is used for about 5.2 V output voltage and provided up to 3 A current.
Micro-B USB receptacle CN21 of STLINK-V3E with enumeration: Up to 500 mA can be supplied to the board (JP12 jumper setting on STLK on silkscreen). Offers the enumeration feature described in Section 5.3.1.
Micro-B USB receptacle CN21 of STLINK-V3E without enumeration: Up to 1000 mA can be supplied to the board directly without enumeration (JP12 jumper setting on CHGR on silkscreen).
USB Type-C receptacle CN22 of USB PD interface: Marked TYPE-C on the board (JP12 jumper setting on U5V on silkscreen). Up to 500 mA can be supplied to the board in this way.
Pin 49 of CN5 and Pin 49 of CN6 extension connectors for custom daughterboard: Marked 5V_D on the board (JP12 jumper setting on D5V on silkscreen).
Default setting.
PE5 connects to TRACED2
PE5 connects to MC1_DissipativeBrake
of many shared features, but it is easy for users to configure features as we have many default settings for MCU ports (solder bridge or resistor is soldered).
V DC power inputs can be used, upon appropriate
The LD6 green LED turns on when the voltage on the power line marked as 5 V is present. All supply lines required for the operation of the components on the STM32G474E-EVAL are derived from that 5
V line.
Tabl e 5: Power supply related jumper and solder bridge settings describes the settings of all
jumpers related to powering the STM32G474E-EVAL and extension board. VDD_MCU is STM32G474QET6U digital supply voltage line. It can be connected to a fixed 3.3
UM2514 Rev 4 19/83
V or with
82
Hardware layout and configuration UM2514
an adjustable voltage regulator controlled by RV3 potentiometer and producing a range of voltages between 1.62
V and 3.6 V.

5.3.1 Supplying the board through STLINK-V3E USB port

To power the STM32G474E-EVAL this way, the USB host (a PC) gets connected to the Micro-B USB receptacle of the STM32G474E-EVAL board via a USB cable. The connection event starts the USB enumeration procedure. In its initial phase, the host USB port current supply capability is limited to 100 STM32G474E-EVAL draws power at that time: the U25 STMPS2151 power switch is set to the OFF position, which isolates the rest of the STM32G474E-EVAL from the power source. In the next phase of the enumeration procedure, the host PC informs the STLINK-V3E facility of its capability to supply current up to 300 V3E sets the U25 STMPS2151 switch to ON position to supply power to the rest of the STM32G474E-EVAL board. If the PC USB port is not capable of supplying current up to 300
mA, the CN25 power jack is available to supply the board.
If a short-circuit occurs on the board, the STMPS2151 power switch protects the USB port of the host PC against a current demand exceeding 500 lights up.
The STM32G474E-EVAL board can also be supplied from a USB power source not supporting enumeration, such as a USB charger. In this particular case, jumper JP12 must be fitted with a jumper hat as shown in
bridge settings. STLINK-V3E bypasses STMPS2151 power regardless of enumeration
procedure result and passes the power unconditionally to the board.
mA. It is enough because only STLINK-V3E part of the
mA. If the answer is positive, the STLINK-
mA. In such an event, the LD7 LED
Tabl e 5: Power supply related jumper and solder
The LD6 green LED turns on whenever the whole board is powered.

5.3.2 Using STLINK-V3E along with powering through CN25 power jack

When the board requires a current higher than 300 mA, the host PC, connected to STLINK­V3E USB port for debugging or programming, cannot supply the STM32G474QET6U MCU. In such a case, the board can be powered through CN25 (marked PSU on the board).
To do this, it is important to power the board before connecting it with the host PC, which requires the following sequence to be respected:
1. Set the jumper JP12 in E5V position
2. Connect the external power source to CN25
3. Check that the green LED LD6 is turned on
4. Connect host PC to USB connector CN21
Caution: In case the board requires more than 300 mA and the host PC is connected via USB before
the board is powered from CN25, the following risk events are possible (listed in reverse severity order):
1. The host PC is capable of supplying 300 mA (the enumeration succeeds) but it features no over-current protection on its USB port. It is damaged due to over- current.
2. The host PC is capable of supplying 300 mA (the enumeration succeeds) and it has a built-in over-current protection on its USB port, limiting or shutting down the power out of its USB port when the excessive current demand from the STM32G474E-EVAL is detected. This causes an operating failure of the STM32G474E-EVAL.
3. The host PC is not capable of supplying 300 mA (the enumeration fails). The STLINK­V3E does not supply the rest of the STM32G474E-EVAL from its USB port VBUS line.
20/83 UM2514 Rev 4
UM2514 Hardware layout and configuration
67/. &+*5(989 '69
67/. &+*5(989 '69
67/. &+*5(989 '69
67/. &+*5(989 '69
67/. &+*5(989 '69
Tabl e 5 details jumper and solder bridge settings used for the configuration of the power
supply of the STM32G474E-EVAL.
Table 5. Power supply related jumper and solder bridge settings
Jumper /
solder bridge
JP12 Power source
selector
setting Configuration
Default setting.
STM32G474E-EVAL is supplied through CN21 Micro-B USB receptacle. Depend on host PC USB port’s powering capability declared in the enumeration.
STM32G474E-EVAL is supplied through CN22 USB Type-C receptacle.
STM32G474E-EVAL is supplied through pin 49 of CN5 and pin 49 of CN6 extension connectors.
Default setting.
STM32G474E-EVAL is supplied through CN 25 power jack.
STM32G474E-EVAL is supplied through CN21 Micro-B USB receptacle.
Setting for powering the board through CN21 using USB charger.
JP7 Vbat connection
JP6 VDDA
connection
JP11 VDD_MCU
connection
Default setting.
Vbat is connected to VDD.
Vbat is connected to battery.
VDDA terminal of STM32G474QET6U is connected with VDD_MCU.
Default setting.
VDDA terminal of STM32G474QET6U is connected to 3.3 V.
Default setting.
VDD_MCU (VDD terminals of STM32G474QET6U) is connected to fixed 3.3 V.
VDD_MCU is connected to voltage in the range from +1.62 V to +3.61 V, adjustable with potentiometer RV3.
UM2514 Rev 4 21/83
82
Hardware layout and configuration UM2514
Note: On all STLINK-V3E boards, the target application is now able to run even if the STLINK-V3E
is either not connected to a USB host, or is powered through a USB charger (or through a not-enumerating USB host).

5.4 Clock references

Two clock references are available on the STM32G474E-EVAL Evaluation board for the STM32G474QET6U target microcontroller.
32.768 kHz crystal X3, for embedded RTC
24 MHz crystal X2, for main clock generator
The main clock generation is possible via an internal RC oscillator or from STLK_MCO, disconnected by removing resistors R312, R313 and R317 when internal RC clock is used.

Table 6. X3 crystal related solder bridge settings

SB88
SB87
SB82
SB81
Solder
bridge
Solder
bridge
Setting Configuration
Default setting.
Open
Closed
Open
Closed
PC14 OSC32_IN terminal is not routed to extension connector CN5. X3 is used as clock reference.
PC14 OSC32_IN is routed to extension connector CN5. Resistor R315 must be removed, for X3 quartz circuit not to disturb clock reference or source on daughter board.
Default setting.
PC15 OSC32_OUT terminal is not routed to extension connector CN5. X3 is used as clock reference.
PC15 OSC32_OUT is routed to extension connector CN5. Resistor R314 must be removed, for X3 quartz circuit not to disturb clock reference on daughter board.

Table 7. X2 crystal related solder bridge settings

Setting Configuration
Default setting.
open
closed
open
closed
PF0 OSC_IN terminal is not routed to extension connector CN5. X2 is used as clock reference.
PF0 OSC_IN is routed to extension connector CN5. Resistor R317 and R312 must be removed, in order not to disturb clock reference or source on daughterboard.
Default setting.
PF1 OSC_OUT terminal is not routed to extension connector CN5. X2 is used as clock reference.
PF1 OSC_OUT is routed to extension connector CN5. Resistor R313 must be removed, in order not to disturb clock reference or source on daughter board.
22/83 UM2514 Rev 4
UM2514 Hardware layout and configuration
!
!

5.5 Reset source

The general reset of the STM32G474E-EVAL board is active low. The reset sources are:
reset button B3
JTAG/SWD connector CN14, ETM trace connector CN17, STDC14 connector CN16
and TAG connector CN15 (reset from debug tools)
Through extension connector CN5 pin 30 (reset from daughter board)
Embedded STLINK-V3E

5.6 Boot Option

After reset, the STM32G474QET6U MCU can boot from the following embedded memory locations:
Main (user, non-protected) Flash memory
System (protected) Flash memory
RAM, for debugging
The boot option is configured by setting switch SW7 (BOOT0) and the boot base address programmed in the nBOOT1, nBOOT0 and nSWBOOT0 of FLASH_OPTR option bytes.

Table 8. Boot selection switch

Switch Setting Description
SW7

5.6.1 Limitations

BOOT0 PB8 is exclusive with FDCAN1, JP1 must be opened to disconnect FDCAN1_RX signal.

5.7 Audio

A WM8894 codec is connected to SAI interface of the STM32G474QET6U. It supports the TDM feature of the SAI port. The TDM feature enables the STM32G474QET6U to simultaneously stream two independent stereo audio channels to two separate stereo analog audio outputs. The codec communicates with the STM32G474QET6U via the I2C3 bus, which is shared with MFX, Temperature Sensor, EXT_I2C connector.
BOOT0 line is tied high. STM32G474QET6U boots from system Flash memory (nBOOT1 bit of FLASH_OPTR register is set high) or from RAM (nBOOT1 is set low).
Default setting. BOOT0 line is tied low. STM32G474QET6U boots from Main Flash
memory.
-
UM2514 Rev 4 23/83
82
Hardware layout and configuration UM2514
The audio connections are:
The analog line input is connected to ADC of WM8994ECS/R through blue audio jack CN23.
The analog line output is connected to DAC of WM8994ECS/R via green audio jack CN26.
Two external speakers can be connected to WM8994ECS/R via JP17 for right speaker and JP16 for left speaker, not fitted as default.
The I2C-bus address of WM8994 codec are 0x34 or 0x35.

5.7.1 Limitations in using audio features

Due to the share of PE2, PE3, PE4 and PF6 terminals of STM32G474QET6U by multiple peripherals, refer to
If the SAI_MCLKA, SAI_SDB and SAI_FSA are used as part of SAI port, it cannot be used as TRACE and FMC peripheral.
If the SAI port of STM32G474QET6U is used for streaming audio to the WM8994 codec IC, STM32G474QET6U cannot control the motor.
Tabl e 4. The following limitations apply in using the audio features:

5.8 USB FS port

The STM32G474E-EVAL board supports USB full-speed (FS) as a USB device communication via USB Type-C receptacle CN22.
When a USB host connection to the USB Type-C receptacle CN22 of STM32G474E-EVAL is detected, the STM32G474E-EVAL board starts behaving as a USB device. Depending on the powering capability of the USB host, the board can take power from VBUS terminal of CN22. In the board schematic diagrams, the corresponding power voltage line is called U5V.

5.8.1 Operating voltage

The USB-related operating supply voltage of STM32G474QET6U (VDD_USB line) must be within the range from 3.0
V to 3.6 V.

5.9 RS232 and RS485 port

The STM32G474E-EVAL board offers one RS-232 communication or RS-485 communication port. They use the same DB9 male connector CN11. RX and TX signals of USART1 port of STM32G474QET6U are shared with USBPD and VCP. configuration PA10 of STM32G474QET6U terminals.

5.9.1 Limitations

Due to the sharing of PA9 and PA10 terminals of STM32G474QET6U by multiple peripherals, if RS-232 or RS485 port use as part of USART1 port, it cannot be used as USBPD and VCP peripheral.
Table 9 shows the
24/83 UM2514 Rev 4
UM2514 Hardware layout and configuration

5.9.2 Operating voltage

The RS-232 or RS-485 operating supply voltage of STM32G474QET6U (VDD line) must be within the range from 1.62
Table 9. Configuration PA10 of STM32G474QET6U terminals
V to 3.6 V.
USART1_RX is connected to RS-232 RXD of transceiver.
JP9 USART1_RX
connection
JP10 VCP_RX
connection

5.10 microSD card

The CN28 slot for microSD card is routed to STM32G474QET6U SPI port, accepting 8GB (or more) Micro SD card. One 16-Gbyte microSD card is delivered as part of STM32G474E­EVAL. The card insertion switch is routed to the MFX_GPIO5 of MFX MCU port and it must be set with internal pull-up.

5.10.1 Limitations

Due to the share of I/O port, the following limitations apply:
The microSD card cannot be operated simultaneously with motor control connector 2.
USART1_RX is connected to RS-485 RO of transceiver.
Default setting.
USART1_RX is not connected to RS-232 or RS-485 of transceiver.
Default setting.
VCP_RX is connected to STLINK-V3E STLK_VCP_TX.
VCP_RX is not connected to STLINK-V3E STLK_VCP_TX.

5.10.2 Operating voltage

The supply voltage for STM32G474E-EVAL microSD card operation must be within the range from 1.62
V to 3.6 V.

5.11 Motor control

The CN2 (MC1) and CN4 (MC2) connectors are designed to receive a motor control module. Available signals on these connectors include emergency stop, motor speed, 3­phase motor current, bus voltage, heatsink temperature coming from the motor driving board and 6 channels of PWM control signal going to the motor driving circuit.
The dedicated motor control STM32G474E-EVAL1 board is supported for motor control module application only.
UM2514 Rev 4 25/83
82
Hardware layout and configuration UM2514
If the STM32G474E-EVAL board is used, some PCB reworks are needed for motor control applications: the goal is to disconnect peripherals sharing I/Os with motor control connectors, and to connect these I/Os to motor control connectors.
Tabl e 10 and Ta bl e 11
show the assignment of CN2 and CN4 of the STM32G474QET6U terminals.
Tabl e 10 and Ta bl e 11 also list the modifications to be made on the board versus its by-
default configuration. See Section 5.11.1 for further details.

Table 10. Motor control CN2 terminal and function assignment

Motor control
connector CN2
Ter min al
1
Terminal
name
Emergency Stop
Port
name
PE15 TIM1_BKIN - Close SB69, and remove R60
STM32G474QET6 microcontroller
Function
Alternate
function
Board modifications for
enabling motor control
2 GND - GND - -
3 PWM_1H PE9 TIM1_CH1 - Close SB78, and remove R79
4 GND - GND - -
5 PWM_1L PE8 TIM1_CH1N - Close SB79, and remove R82
6 GND - GND - -
7 PWM_2H PE11 TIM1_CH2 - Close SB76, and remove R71
8 GND - GND - -
9 PWM_2L PE10 TIM1_CH2N - Close SB77, and remove R75
10 GND - GND - -
11 PWM_3H PE13 TIM1_CH3 - Close SB73, and remove R63
12 GND - GND - -
13 PWM_3L PE12 TIM1_CH3N - Close SB74, and remove R69
14 Bus Voltage PC1 ADC12_IN7 -
Close SB115, and remove R130
15
16
17
18
19
20
PhaseA current+
PhaseA current-
PhaseB current+
PhaseB current-
PhaseC current+
PhaseC current-
PC2 ADC12_IN8 -
-GND - -
PC3 ADC12_IN9 -
-GND - -
PC0 ADC12_IN6 - Close SB99, and open SB29
-GND - -
21 ICL Shutout PE4 GPIO -
26/83 UM2514 Rev 4
Close SB113, and remove R133
Close SB114, and remove R131
Close SB109, and open
(1)
SB107
UM2514 Hardware layout and configuration
Table 10. Motor control CN2 terminal and function assignment (continued)
Motor control
connector CN2
Ter min al
Terminal
name
Port
name
STM32G474QET6 microcontroller
Function
Alternate
function
Board modifications for
enabling motor control
22 GND - GND - -
23
24
Dissipative Brake
PFC ind. current
PE5 GPIO - Close SB97, and open SB28
PD8 ADC45_IN12 -
Close SB55, remove R34, solder R5, and remove R113
25 +5 V - +5 V - -
26
Heatsink Te mp .
PC4 ADC2_IN5 -
27 PFC Sync PE2 TIM3_CH1 -
Close SB100, and remove R116
Close SB103, open SB111
(1)
solder R8, and remove R126
28 +3.3 V - +3.3 V - -
29 PFC PWM PE3 TIM3_CH2 -
30
PFC Shutdown
PD2 TIM3_ETR -
Close SB118, open SB110, solder R11, and remove R151
Solder SB17, and remove SB123
31 Encoder A PA0 TIM2_CH1 - Close SB98, and open SB26
(1)
,
32 PFC Vac PD9 ADC45_IN13 -
Close SB56, remove R37, solder R12, and remove R155
33 Encoder B PD4 TIM2_CH2 - Close SB89, and remove R94
34
Motor control
connector CN4
Ter min al
1
Encoder Index
PD7 or PA1 5

Table 11. Motor control CN4 terminal and function assignment

Terminal
name
Emergency Stop
Port
name
PB7 TIM8_BKIN - -
TIM2_CH3 or TIM2_ETR
-
STM32G474QET6 microcontroller
Function
Alternate
function
Close SB92, remove R101 or close SB62, and remove R54
Board modifications for
enabling motor control
2 GND - GND - -
3 PWM_1H PC6 TIM8_CH1 - Close SB49, and open SB9
4 GND - GND - -
5 PWM_1L PC10 TIM8_CH1N - Close SB64, and open SB12
6 GND - GND - -
7 PWM_2H PC7 TIM8_CH2 - Close SB50, and open SB6
(1)
(1)
(1)
UM2514 Rev 4 27/83
82
Hardware layout and configuration UM2514
Table 11. Motor control CN4 terminal and function assignment (continued)
Motor control
connector CN4
Ter min al
Terminal
name
Port
name
STM32G474QET6 microcontroller
Function
Alternate
function
Board modifications for
enabling motor control
8 GND - GND - -
9 PWM_2L PC11 TIM8_CH2N - Close SB68, and open SB13
10 GND - GND - -
11 PWM_3H PC8 TIM8_CH3 -
Close SB51, and remove
(1)
R26
12 GND - GND - -
13 PWM_3L PC12 TIM8_CH3N - Close SB66, and open SB15
14 Bus Voltage PE14 ADC4_IN1 - Close SB72, and remove R62
15
16
17
18
PhaseA current+
PhaseA current-
PhaseB current+
PhaseB current-
PD13 ADC345_IN10 - Close SB60, and remove R41
-GND - -
PD12 ADC345_IN9 - Close SB59, and remove R42
-GND - -
(1)
(1)
19
20
PhaseC current+
PhaseC current-
PD10 ADC345_IN7 - Close SB57, and remove R38
-GND - -
21 ICL Shutout PD15 GPIO - Close SB61, and remove R40
22 GND - GND - -
23
24
Dissipative Brake
PFC ind. current
PF10 GPIO -
PD8 ADC45_IN12 -
Close SB112, and remove
(1)
R136
Close SB55, remove R34, solder R113, and remove R5
25 +5 V - +5 V - -
26
27 PFC Sync PE2 TIM3_CH1 -
Heatsink Te mp .
PE7 ADC3_IN4 - Close SB83, and remove R84
Close SB103, open SB111
(1)
solder R126, and remove R8
28 +3.3 V - +3.3 V - -
29 PFC PWM PE3 TIM3_CH2 -
30
PFC Shutdown
PD2 TIM3_ETR - Solder R128, and remove R10
Close SB118, open SB110, solder R151, and remove R11
31 Encoder A PF6 TIM5_CH1 - Close SB52, and remove R43
,
28/83 UM2514 Rev 4
UM2514 Hardware layout and configuration
Table 11. Motor control CN4 terminal and function assignment (continued)
Motor control
connector CN4
Ter min al
Terminal
name
Port
name
STM32G474QET6 microcontroller
Function
Alternate
function
32 PFC Vac PD9 ADC45_IN13 -
33 Encoder B PF7 TIM5_CH2 -
34
1. For quality purpose, remove the unused components located on the board.
Encoder Index
PF8 or PD11
TIM5_CH3 or TIM5_ETR
-
Board modifications for
enabling motor control
Close SB56, remove R37, solder R155, and remove R12
Close SB108, and remove R138
Close SB106, remove R135 or close SB58, and remove R39
UM2514 Rev 4 29/83
82
Hardware layout and configuration UM2514
Tabl e 12 shows OpAmp and DAC of the STM32G474QET6U terminals.

Table 12. Motor control OpAmp and DAC function assignment

Motor control connector
CN2
Terminal Terminal name
Port
name
STM32G474QET6 microcontroller
Function
Alternate
function
1 OPAMP1_INP PA1 OPAMP1_VINP -
2 OPAMP1_INN PA3 OPAMP1_VINM -
3 OPAMP1_OUT PA2 OPAMP1_VOUT -
4 O PAMP2_IN1P PA 7 OPA MP2_VINP -
5 OPAMP2_IN2P PD14 OPAMP2_VINP -
6 OPAMP2_INN PC5 OPAMP2_VINM - -
7 OPAMP2_OUT PA6 OPAMP2_VOUT -
8 OPAMP4_IN1P PB11 OPAMP4_VINP -
9 OPAMP4_IN2P PB13 OPAMP4_VINP -
10 OPAMP4_INN PB10 OPAMP4_VINM -
Board modifications for
enabling motor control
Close SB95, and open SB27
Close SB105, and remove R129
Close SB117, and remove R150
Close SB101, and remove R118
Close SB70, and remove R29
Close SB104, and remove R121
Close SB67, and open SB8
Close SB63, and open SB5
Close SB71, and open SB11
11 OPAMP4_OUT PB12 OPAMP4_VOUT -
12 OPAMP3_INP PB0 OPAMP3_VINP -
13 OPAMP3_INN PB2 OPAMP3_VINM -
14 OPAMP3_OUT PB1 OPAMP3_VOUT -
15 DAC_OUT1 PA4 DAC1_OUT1 -
16 DAC_OUT2 PA5 DAC1_OUT2 - -
Tabl e 13 and Ta bl e 14 show motor control related switches and solder bridges.
30/83 UM2514 Rev 4
Close SB65 and open SB7
Close SB94, and remove R108
Close SB80, and open SB18
Close SB91, and remove R102
Close SB93, and open SB25
UM2514 Hardware layout and configuration
OAM
Position
SW5
SW5

Table 13. Motor control related switches and solder bridges

Other conditions Description
R72,R58 mounted
SB14 open
72,R58 un-mounted
SB14 closed
SW1 position
SW1 position
-
MC1_CurrentA+ connect to OPAMP1_INP(PA1) MC1_CurrentB+ connect to OPAMP2_IN1P(PA7)
MC1_CurrentB+ connect to OPAMP1_INP(PA1)
MC1_CurrentC+ connect to OPAMP2_IN2P(PD14)
MC1_CurrentC+ connect to OPAMP4_IN1P(PB11)
MC1_CurrentA+ connect to ADC12(PC2) MC1_CurrentB+ connect to ADC12(PC3) MC1_CurrentC+ connect to ADC12(PC0)
SW6
SW6
R110,R114 mounted
SB19 open
R110,R114 un-mounted
SB19 closed
SW1 position
SW1 position
-
MC2_CurrentA+ connect to OPAMP3_INP(PB0) MC2_CurrentB+ connect to OPAMP4_IN2P(PB13)
MC2_CurrentB+ connect to OPAMP3_INP(PB0)
MC2_CurrentC+ connect to OPAMP4_IN1P(PB11)
MC2_CurrentC+ connect to OPAMP2_IN2P(PD14)
MC2_CurrentA+ connect to ADC345(PD10) MC2_CurrentB+ connect to ADC345(PD12) MC2_CurrentC+ connect to ADC345(PD13)
UM2514 Rev 4 31/83
82
Hardware layout and configuration UM2514
PGM Position Other conditions Description
SW2
SW2
SW3
SW3

Table 14. Motor control related switches and solder bridges

-
SW4 position
SW4 position
-
SW4 position
SW4 position
OPAMP1_INP,OPAMP2_IN1P,OPAMP2_IN2P pull up source connect to 3.3 V power
OPAMP1_INP, OPAMP2_IN1P,OPAMP2_IN2P pull up source connect to DAC_OUT1(PA4)
OPAMP1_INP, OPAMP2_IN1P pull up source connect to DAC_OUT1(PA4)
OPAMP2_IN2P pull up source connect to DAC_OUT2(PA5)
OPAMP4_INP,OPAMP4_IN1P,OPAMP4_IN2P pull up source connect to 3.3 V power
OPAMP3_INP, OPAMP4_IN1P,OPAMP4_IN2P pull up source connect to DAC_OUT2(PA5)
OPAMP3_INP, OPAMP4_IN2P pull up source connect to DAC_OUT2(PA5)
OPAMP2_IN1P pull up source connect to DAC_OUT1(PA4)

5.11.1 Board modifications to enable motor control

Figure 7 (top side) and Figure 8 (bottom side) illustrate the board modifications listed in Tabl e 10 and Ta bl e 11, required for the operation of motor control. Blue color denotes a
component to be removed. Red color denotes a component to be fitted.

5.11.2 Limitations

Motor control operation is exclusive with Octo-SPIP1 Flash memory device, audio codec, potentiometer, LDR, Micro SD card, LED1 to LED4 drive, MEMs, MFX, PMOD, USB OTG_FS, TFT LCD connector, DSI LCD connector and touch sensing.
Refer to Section 5.16.3 for OPAMP1, 2 and 4 limitations.
32/83 UM2514 Rev 4
UM2514 Hardware layout and configuration
Figure 7. PCB top side rework for motor control
Figure 8. PCB bottom side rework for motor control

5.12 FDCAN

The STM32G474E-EVAL board supports two CAN2.0A/B channel compliant with FDCAN specification. The CN10 and CN12 are available as CAN interface.
Two CAN transceiver are fitted between the CN10 and CN12 connectors and the CAN controller port of STM32G474QET6U.
UM2514 Rev 4 33/83
82
Hardware layout and configuration UM2514

5.12.1 Limitations

CAN operation is exclusive with BOOT0 and motor control connector 2.

5.12.2 Operating voltage

The supply voltage for STM32G474E-EVAL CAN operation must be more than 1.8 V.

5.13 Extension connectors CN5 and CN6

The CN5 and CN6 headers complement to give access to all GPIOs of the STM32G474QET6U microcontroller. In addition to GPIOs, the following signals and power supply lines are also routed on CN5 or CN6:
GND
5V
5V_D
VDD
RESET#
Clock terminals PC14-OSC32_IN, PC15-OSC32_OUT, PF0-OSC_IN, PF1-OSC_OUT
Each header has two rows of 30 pins, with 1.27 mm pitch and 2.54 mm row spacing. For extension modules, SAMTEC RSM-130-02-L-D-xxx and SMS-130-x-x-D can be recommended as SMD and through-hole receptacles, respectively (x is a wild card).

5.14 User LEDs

Four general-purpose color LEDs (LD1, LD2, LD3, LD4) are available as light indicators. Each LED is in light-emitting state with low level of the corresponding ports of the STM32G474QET6U MCU.
And the LD1 and LD3 LEDs are exclusive with MC operation, LD2 and LD4 are controlled by MFX_GPIO6 and MFX_GPIO7.

5.15 Physical input devices

The STM32G474E-EVAL board provides a number of input devices for physical human control.
four-way joystick controller with select key (B1)
wake-up/ tamper button (B2)
reset button (B3)
10 k
light-dependent resistor, LDR (R174)
potentiometer (RV2)
The potentiometer and the light-dependent resistor can be routed, mutually exclusively, to PB11 port of the STM32G474QET6U. configuration jumpers.
34/83 UM2514 Rev 4
Table 15 depicts the setting of associated
UM2514 Hardware layout and configuration
As illustrated in the schematic diagram in Figure 36, the PB11 port is routed, in the STM32G474QET6U, to the non-inverting input of comparator Comp6 or non-inverting input of operational amplifier OpAmp4.
Jumper setting Routing
JP5

Table 15. Port assignment for control of physical input devices

Default setting.
Potentiometer is routed to pin PB11 of STM32G474QET6U.
LDR is routed to pin PB11 of STM32G474QET6U.

5.15.1 Limitations

The potentiometer and the light-dependent resistor are exclusive with high brightness LED and MC operation. And they are mutually exclusive.

5.16 Operational amplifier and comparator

5.16.1 Operational amplifier

STM32G474QET6U provides on-board operational amplifier, OpAmp4, is made accessible on STM32G474E-EVAL. OpAmp4 has its inputs and its output routed to I/O ports PB11, PB10 and PB12, respectively.
The PB12 output of the operational amplifier can be accessed on test point TP2. Refer to the schematic diagram in
The gain of OpAmp4 is determined by the ratio of the variable resistor RV1 and the resistor R157, as shown in the following equation:
With the RV1 ranging from 0 to 10 k and R157 being 1 k, the gain can vary from 1 to 11.
The R158 resistor in series with PB12 is beneficial for reducing the output offset.
Tabl e 16 shows the configuration elements and their settings to access the OpAmp4
function.
Element Setting Configuration
SB11 SB71
Table 16. Configuration elements related with OpAmp4
SB11 closed SB71 open
SB11 open SB71 closed
Figure 36.
Gain = 1+ RV1/R157
Default setting.
Pin PB10 of STM32G474QET6U is routed to OpAmp4_VINM.
Pin PB10 of STM32G474QET6U is routed to OpAmp4_INN of MC.
UM2514 Rev 4 35/83
82
Hardware layout and configuration UM2514
Table 16. Configuration elements related with OpAmp4 (continued)
Element Setting Configuration
SB8 SB67 SB10
SB7 SB65

5.16.2 Comparator

STM32G474QET6U provides on-board comparator, Comp4, is made accessible on STM32G474E-EVAL. Comp4 has its non-inverting input and its output routed to I/O ports PB11 and PC6, respectively.
The PC6 output of the comparator can be accessed on test point TP1. Refer to the schematic diagram in
SB8 closed SB67 open SB10 open
SB8 open SB67 closed SB10 open
SB8 open SB67 open SB10 closed
SB7 closed SB65 open
SB7 open SB65 closed
Figure 36.
Pin PB11 of STM32G474QET6U is routed to OpAmp4_VINP or COMP6_INP.
PB11 of STM32G474QET6U is routed to OpAmp4_IN1P of MC.
Default setting.
Pin PB11 of STM32G474QET6U is routed to BK_Sense for high brightness LED.
Default setting.
Pin PB12 of STM32G474QET6U is routed to OpAmp4_VOUT.
Pin PB12 of STM32G474QET6U is routed to OpAmp4_IN2P of MC.
Tabl e 17 shows the configuration elements and their settings to access the Comp4 function
(pin PB11 for Comp6_INP refer to Tabl e 16).
Element Setting Configuration
SB9 SB49

5.16.3 Limitations

Issue observed
The OPAMP offset value is minimized using a trimming circuitry. At startup, the trimming values are initialized with the preset factory trimming values. The trimming values of OPAMP1, OPAMP2 and OPAMP4 are not programmed correctly, resulting in a large offset compared to the one specified.
Proposed workaround
The offset values of OPAMP1, OPAMP2 and OPAMP4 must be calibrated by software, applying the calibration procedure described in the STM32G4 Series advanced Arm®-
Table 17. Configuration elements related with Comp4
SB9 closed SB49 open
SB9 closed SB49 open
Default setting.
Pin PC6 of STM32G474QET6U is routed to Comp6_OUT.
Pin PC6 of STM32G474QET6U is routed to MC2_PWM_1H.
36/83 UM2514 Rev 4
UM2514 Hardware layout and configuration
based 32-bit MCUs reference manual (RM0440), in the Calibration section of the Operational amplifiers (OPAMP) chapter. Such a procedure is already implemented in the
STM32CubeG4 MCU Package.
Parts impacted
This applies only to the MB1397-based boards within the following range of serial numbers:
MB1397-G474E: A191000001-A191000170 MB1397-G474EMC: A191000001- A191000100 MB1397-G484E: A191000001-A191000030
Other issues
The OpAmp4 is exclusive with high brightness LED and MC operation.
The Comp6 is exclusive with high brightness LED and MC operation.

5.17 Analog input, output, VREF

5.17.1 Analog input

STM32G474QET6U provides on-board Differential analog-to-digital converter, Differential ADC. The port PA0 and PA1 can be configured to operate as Differential ADC input which is routed to the CN7 and CN8 SMB connectors or CN3 SMB connector via a Single-Ended to Differential circuit. The default setting is Analog input signal from CN3 SMB connector.
Parameters of the ADC input low-pass filter formed with R310/C171 and R152/C35 can be modified by replacing these components according to application requirements.

5.17.2 Analog output

STM32G474QET6U provides on-board digital-to-analog converter, DAC. The port PA4 can be configured to operate as DAC output. PA4 is routed to the two-way header CN9 to fetch signals from PA4 to ground it by fitting a jumper into CN9.
Parameters of the DAC output low-pass filter formed with R153 and C36 can be modified by replacing these components according to application requirements.

5.17.3 VREF+ terminal

The VREF+ terminal of STM32G474QET6U is used as reference voltage for both ADC and DAC. It is routed to VDDA or VREF_EXT through solder bridges configuration shown as
Tabl e 18.
VREF_EXT is high resolution of voltage reference from U53 TL1431ACL5T.
Element Setting Configuration
SB84 SB85
Table 18. Configuration elements related with VREF+
SB84 closed SB85 open
SB84 closed SB85 open
Default setting.
VREF_EXT is routed to VREF+.
VDDA is routed to VREF+.
UM2514 Rev 4 37/83
82
Hardware layout and configuration UM2514

5.17.4 Limitations

The Differential ADC is exclusive with MFX_IRQ_OUT and MC operation.
The DAC is exclusive with MC operation.

5.18 SRAM device

IS61WV51216BLL, an 8-Mbit static RAM (SRAM), 512K x16-bit, is fitted on the STM32G474E-EVAL main board, in U11 position. The STM32G474E-EVAL main board as well as the addressing capabilities of FMC allow hosting SRAM devices up to 64 Mbytes. This is the reason why the schematic diagram in devices.
The SRAM device is attached to the 16-bit data bus and accessed with FMC. The base address is 0x6000 0000, corresponding to NOR/SRAM1 bank1. The SRAM device is selected with FMC_NE1 chip select. FMC_NBL0 and FMC_NBL1 signals allow selecting 8­bit and 16-bit data word operating modes.

5.18.1 Limitations

The SRAM addressable space is limited if some or all of A20 FMC address lines is shunted to the CN17 connector for debug trace purposes. In such a case, the disconnected addressing inputs of the SRAM device are pulled down by resistors. information on the associated configuration elements.
Figure 30 mentions several SRAM
Section 5.2 provides
The SRAM is exclusive with MC operation.

5.18.2 Operating voltage

The SRAM device operating voltage is in the range from 2.4 V to 3.6 V.

5.19 EXT_I2C connector

EXT_I2C connector CN1 can be connected to I²C bus daughter board. MFX_GPIO15 of MFX MCU provide EXT_RSET signal. And solder bridge SB1 is used to connector 5 power supply for daughter board.

5.20 Quad-SPI Flash memory device

Two 512-Mbit Quad-SPI Flash memory device MT25QL512ABB8ESF-0SIT are fitted on the STM32G474E-EVAL main board, in U12 and U54 position. It allows evaluating STM32G474QET6U Quad-SPI interface.

5.20.1 Limitations

Quad-SPI Flash memory device operation is exclusive with motor control.

5.20.2 Operating voltage

V
Voltage of Quad-SPI Flash memory device MT25QL512ABB8ESF-0SIT is in the range of
2.7
V to 3.6 V.
38/83 UM2514 Rev 4
UM2514 Hardware layout and configuration

5.21 MFX MCU

The MFX MCU is used as MFX (Multi function expander) and IDD measurement.

5.21.1 MFX

MFX circuit on the STM32G474E-EVAL board acts as IO-expander. The communication interface between MFX and STM32G474QET6U is I2C3 bus. The signals connected to MFX are listed in
Tabl e 19.
Table 19. MFX signals
Pin number
of MFX
15 PA5 MFX_GPIO5 uS_Detect Input Micro SD
16 PA6 MFX_GPIO6 LED2 Output LEDs
17 PA7 MFX_GPIO7 LED4 Output LEDs
18 PB0 MFX_GPIO0 JOY_SEL Input Joystick
19 PB1 MFX_GPIO1 JOY_DOWN Input Joystick
20 PB2 MFX_GPIO2 JOY_LEFT Input Joystick
26 PB13 MFX_GPIO13 uSD_LCD_SPI2_DIR Output
27 PB14 MFX_GPIO14 - - -
28 PB15 MFX_GPIO15 EXT_RESET Output EXT_I2C
29 PA8 MFX_GPIO8 SmartCard_1V8 Output Smartcard
30 PA9 MFX_GPIO9 SmartCard_3/5V Output Smartcard
31 PA10 MFX_GPIO10 SmartCard_OFF Output Smartcard
32 PA11 MFX _GPIO11 Sma rtCard_CMDVCC Output Smartcard
33 PA12 MFX_GPIO12 SmartCard_RST Output Smartcard
39 PB3 MFX_GPIO3 JOY_RIGHT Input Joystick
40 PB4 MFX_GPIO4 JOY_UP Input Joystick
Pin name
of MFX
MFX functions
Function of
STM32H7XXI-EVAL
Direction
(For MFX)
Termi nal
device
Micro SD or LCD

5.21.2 IDD measurement

STM32G474QET6U has a built-in circuit to measure its own current consumption (IDD) in Run and Low-power modes, except for Shutdown mode. It is strongly recommended for the MCU supply voltage (VDD_MCU line) not to exceed 3.3 components on the STM32G474E-EVAL supplied from 3.3 the MCU through I/O ports. Voltage exceeding 3.3 current into 3.3 measurement.
Tabl e 20 shows settings of jumper associated with the IDD measurement on the board.
V-supplied peripheral I/Os and false the MCU current consumption
V. The reason is that there are
V, and they communicate with
V on the MCU output port may inject
UM2514 Rev 4 39/83
82
Hardware layout and configuration UM2514
Jumper setting Configuration
JP13

5.21.3 Limitations

1. The MFX is exclusive with Differential ADC and MC operation.
2. The IDD measurement operating voltage is in the range of 2.05 V to 3.6 V. This applies only to the MB1397-based boards within the following range of serial numbers:
MB1397-G474E: A191000001 -A191000170
MB1397-G474EMC: A191000001- A191000100
MB1397-G484E: A191000001-A191000030
It can be used as bypass mode for normal MCU working. Refer to Tab le 20 for JP13 configuration.
Table 20. IDD measurement related jumper settings
Default setting.
STM32G474QET6U has a built-in circuit to measure its own current consumption.
IDD measurement is not available, bypass mode only for STM32G474QET6U VDD_MCU power supply.

5.22 TFT LCD panel

The STM32G474E-EVAL is delivered with MB895C, a daughterboard plugged into the CN20 and CN24 connectors. It bears a TFT 2.4-inch color TFT LCD panel with resistive touchscreen and an on-board controller. The TFT LCD connected to SPI2 port of the STM32G474QET6U.
Thanks to level shifters on all signal lines, the TFT LCD panel works with the entire operating voltage range of the STM32G474E-EVAL.
CN20
terminal
1-CS PC9 1VDD 3.3 V
2-SCL PF9 2VCI 3.3 V
3 - SDI PB15 3 GND GND
4 - RS - 4 GND GND
5 - WR - 5 BL_VDD 5 V or 3.3 V
6 - RD - 6 BL_Control 5 V or 3.3 V
7 - SDO PB14 7 BL_GND GND
8 - RESET RESET# 8 BL_GND GND
Termi nal
name

Table 21. TFT LCD connector CN20 and CN24

MCU Port
CN24
terminal
Terminal
name
Power Port
Note: The bi-directional voltage translator is implemented on SPI MOSI signal between the
STM32G474QET6U and LCD to support 3-wires serial interface of LCD panel only supports
40/83 UM2514 Rev 4
UM2514 Hardware layout and configuration
3-wire SPI port. The direction of this voltage translator is controlled by MFX_GPIO13 (the I/O PB15 is working as MOSI when MFX_GPIO13 is high or as MISO when MFX_GPIO13 is LOW).

5.23 UCPD

5.23.1 USB Type-C receptacles

The USB Type-C certified receptacle CN22 is present on the STM32G474E-EVAL board. It can be used as DRP (Dual-Role Port), which is eligible to supply another platform plugged by a USB Type-C cable when they are configured as Provider or, otherwise, to be supplied in case of Consumer configuration.
The STM32G474E-EVAL board also supports USB2.0 compliant full speed communication via USB Type-C receptacle CN22.

5.23.2 Power Delivery & Local power management

The STM32G474E-EVAL board has its own external power jack (CN25, 5 V to 18 V input) with internal DC/DC regulator to support power delivery function and to provide up to 5.2 3
A on Type-C receptacles (CN22). Please refer to Tabl e 5 for JP12 setting selection.
V /

5.23.3 VBUS management and discharge mechanism

Type-C receptacle (CN22) can be used as DRP (Dual-Role Port) Its VBUS can be managed for supplying other platforms as Provider, or to be supplied as Consumer. Two MOSFETs Q2 and Q3 are set in back-to-back configuration to protect and isolate the VBUS supplying path on both directions.
If the CN22 acts as Provider, the VBUS is on the supply path by mean of the discrete load switch (Q2 and Q3) driven by the STM32G474QET6U (GPIO, PC11). For the Consumer case, the same VBUS path is managed by PC11 of the STM32G474QET6U enabling the discrete load switch.
Moreover, the VBUS path on receptacle presents a discharge mechanism implemented by the MOSFET T9 and an RC filter and controlled by PB2.

5.23.4 VBUS voltage-sensing

Type-C receptacle (CN22) is equipped by a voltage-sensing stage which are matched with the voltage sensing carried by the STM32G474QET6U ADC port PC0. It can be able to monitor the right power level applied on the port VBUS.

5.23.5 CC management

Dead battery function is supported by embedded in the STM32G474QET6U, it can be enable or disable through enable signals by set JP15 (CC1) or JP14 (CC2). Refer to
Tabl e 22 for details.
UM2514 Rev 4 41/83
82
Hardware layout and configuration UM2514
Jumper Setting Configuration
JP15
JP14

5.23.6 Limitations

UCPD operation is exclusive with motor control and JTAG JTRST signal PB4.
Due to the share of PA9 and PA10 terminals of the STM32G474QET6U by multiple peripherals, if USBPD use as part of USART1 port, it cannot be used as RS-232 or RS485 port and VCP peripheral.
Only SWD may be used for dead battery applications. It is impossible to use the JTAG due to the pull down on the PB4.
Table 22. Dead battery related jumpers
Default setting.
Embed dead battery function is enable.
Embed dead battery function is disable.
Default setting.
Embed dead battery function is enable.
Embed dead battery function is disable.
For no dead battery applications, the alternative to use the JTAG is:
Either pulling low the DBCC2 pin (PA10)
Or putting an external pull up on the PB4 (R183)

5.24 Temperature Sensor

A Temperature Sensor STTS751 is connected to I2C3 bus of the STM32G474QET6U, and shares same I2C3 bus with MFX, Audio and EXT_I2C connector.
I2C address of temperature sensor is 0x90 or 0x91.
Note: The temperature result measured from STTS751 may be a little higher than the ambient temperature due to the power dissipation of components on the board.

5.24.1 Operating voltage

The temperature Sensor operating voltage is in the range from 2.25 V to 3.6 V.

5.25 Smartcard

STMicroelectronics smartcard interface chip ST8024L is used on the STM32G474E-EVAL evaluation board for asynchronous 1.8 protection and control functions based on the connections with STM32G474QET6U listed in
Tabl e 23.
V, 3 V and 5 V smartcards. It performs all supply
42/83 UM2514 Rev 4
UM2514 Hardware layout and configuration
Signals of
ST8024L
5 V / 3 V Smart card power supply selection pin MFX_GPIO9
I/OUC MCU data I/O line PC10
XTAL1 Crystal or external clock input PC12
OFF
RSTIN Card Reset Input from MCU MFX_GPIO12
CMDVCC Start activation sequence input (Active Low) MFX_GPIO11
1.8V

Table 23. Connection between ST8024L and STM32F091VCT6

Detect presence of a card, Interrupt to MCU MFX_GPIO10
CC operation selection. Logic high selects 1.8 V
1.8 V V operation and overrides any setting on the 5 V / 3 V pin.

5.25.1 Operating voltage

The Smart card operating voltage is in the range from 2.7 V to 3.6 V.

5.26 High brightness LED

Description
Connect to
STM32G474E-
EVAL
MFX_GPIO8
An Everluck company high brightness LED LE-CWC12100 and its power control circuits with the inverted buck topology are on the STM32G474E-EVAL board. The brightness can be adjusted by the PWM signal from STM32G474QET6U through PC8. The current on the LED can be monitored by the STM32G474QET6U thanks to the voltage measured on PB11, which corresponds to current through R177 (1 ohm). Please refer configuration.

5.26.1 Limitations

The high brightness LED is exclusive with OpAmp4/ Comp6 and MC operation.
Tabl e 16 for PB11
UM2514 Rev 4 43/83
82
Connectors UM2514
069


06Y9
           
            

6 Connectors

6.1 External I2C connector CN1

Figure 9. I2C EXT connector CN2 (front view)

Pin number Description Pin number Description
1I2C_SDA (PG8) 5 VDD
2NC 6 NC
3 I2C_SCL (PG7) 7 GND
4 EXT_RESET(MFX_GPIO15) 8 5 V

Table 24. EXT_I2C connector CN1

6.2 Motor control connector CN2 and CN4

Figure 10. Motor control connector CN2 and CN4 (top view)

Description
Emergency STOP
PWM_1H PE9 3 4 - GND
STM32G474QET6U
PE15 1 2 - GND

Table 25. Motor control connector CN2

Pin of
44/83 UM2514 Rev 4
Pin
number
of CN2
Pin
number
of CN2
Pin of
STM32G474QET6U
Description
UM2514 Connectors
Table 25. Motor control connector CN2 (continued)
Description
Pin of
STM32G474QET6U
Pin
number
of CN2
Pin
number
of CN2
Pin of
STM32G474QET6U
Description
PWM_1L PE8 5 6 - GND
PWM_2H PE11 7 8 - GND
PWM_2L PE10 9 10 - GND
PWM_3H PE13 11 12 - GND
PWM_3L PE12 13 14 PC1 BUS VOLTAGE
CURRENT A PC2 15 16 - GND
CURRENT B PC3 17 18 - GND
CURRENT C PC0 19 20 - GND
ICL Shutout PE4 21 22 - GND
DI SSIPATI VE BRAKE
PE5 23 24 PD8
+5 V power - 25 26 PC4
PCD Ind. Current
Heatsink temperature
PFC SYNC PE2 27 28 - 3.3 V power
PFC PWM PE3 29 30 PD2 PFC Shut Down
Encoder A PA0 31 32 PD9 PFC Vac
Encoder B PD4 33 34 PD7 or PA15 Encoder Index
Description
Emergency STOP
STM32G474QET6U
PB7 1 2 - GND

Table 26. Motor control connector CN4

Pin of
Pin
number
of CN4
Pin
number
of CN4
STM32G474QET6U
Pin of
Description
PWM_1H PC6 3 4 - GND
PWM_1L PC10 5 6 - GND
PWM_2H PC7 7 8 - GND
PWM_2L PC11 9 10 - GND
PWM_3H PC8 11 12 - GND
PWM_3L PC12 13 14 PE14 BUS VOLTAGE
CURRENT A PD10 15 16 - GND
CURRENT B PD12 17 18 - GND
CURRENT C PD13 19 20 - GND
ICL Shutout PD15 21 22 - GND
UM2514 Rev 4 45/83
82
Connectors UM2514
06Y9


06Y9
Table 26. Motor control connector CN4 (continued)
Description
DI SSIPATI VE BRAKE
+5 V power - 25 26 PE7
PFC SYNC PE2 27 28 - 3.3 V power
PFC PWM PE3 29 30 PD2 PFC Shut Down
Encoder A PF6 31 32 PD9 PFC Vac
Encoder B PF7 33 34 PF8 or PD11 Encoder Index
Pin of
STM32G474QET6U
PF10 23 24 PD8
Pin
number
of CN4
Pin
number
of CN4

6.3 SMB connector CN3, CN7 and CN8

Figure 11. SMB connector (front view)

Pin of
STM32G474QET6U
Description
PCD Ind. Current
Heatsink temperature
Pin number Description Pin number Description
1 analog input 2,3,4,5 GND

Table 27. SMB connector

6.4 Extension connectors CN5 and CN6

All GPIO signals from the STM32G474QET6U are connected to extension connectors CN5 and CN6.

6.5 DAC connector CN9

Figure 12. Analog input-output connector CN9 (top view)

46/83 UM2514 Rev 4
UM2514 Connectors
06Y9
-36

Table 28. Analog input-output connector CN9

Pin number Description Pin number Description
1 analog output PA4 2 GND

6.6 CAN1 and CAN2 connector CN12 and CN10

Figure 13. CAN connector CN10 or CN12 (front view)

Pin number Description Pin number Description
1CANL 2CANH

Table 29. CAN connector CN10 or CN12

6.7 RS232 and RS485 connector CN11

Figure 14. RS232 and RS485 connector CN11 (front view)

Table 30. RS-232/RS-485 D-sub connector CN11

Terminal Terminal name Terminal Terminal name
1 NC 6 RS-232_DSR (BOOT0)
2 RS-232_RX (PA10) 7 NC
3 RS-232_TX (PA9) 8 RS-232_CTS (NRST)
4 RS-485_A 9 RS-485_B
5GND - -
UM2514 Rev 4 47/83
82
Connectors UM2514
D^ϯϬϳϮϮsϮ
  
 

  
 

6.8 JTAG connector CN14

Figure 15. JTAG debugging connector CN14

Table 31. JTAG debugging connector CN14

Terminal Function / MCU port Terminal Function / MCU port
1 VDD power 2 VDD power
3 PB4 4 GND
5PA15 6 GND
7PA13 8 GND
9PA14 10 GND
11 N C 12 GN D
13 PB3 14 GND
15 RESET# 16 GND
17 - 18 GND
19 - 20 GND

6.9 TAG connector CN15

Terminal Function / MCU port Terminal Function / MCU port

Table 32. TAG debugging connector CN15

1 VDD 2 SWDIO/TMS (PA13)
3 GND 4 SWDCLK/TCK (PA14)
5 GND 6 SWO/TDO (PB3)
7 NC 8 TDI (PA15)
9 TRST (PB4) 10 RESET#
48/83 UM2514 Rev 4
UM2514 Connectors
D^ǀϯϬϳϮϮsϮ
  
 

  
 

6.10 STDC14 connector CN16

Figure 16. STDC14 debugging connector CN16 (top view)

Table 33. STDC14 debugging connector CN16

Terminal Function / MCU port Terminal Function / MCU port
1- 2 -
3 VDD 4 SWDIO/TMS (PA13)
5 GND 6 SWDCLK/TCK (PA14)
7 GND 8 SWO/TDO (PB3)
9 KEY 10 TDI (PA15)
11 GND 12 RESET#
13 VCP_RX_STDC (PA10) 14 VCP_TX_STDC (PA9)

6.11 Trace debugging connector CN17

Figure 17. Trace debugging connector CN17 (top view)

Table 34. Trace debugging connector CN17

Terminal Function / MCU port Terminal Function / MCU port
1 VDD power 2 TMS/PA13
3GND 4TCK/PA14
5 GND 6 TDO/PB3
7 KEY 8 TDI/PA15
UM2514 Rev 4 49/83
82
Connectors UM2514
D^ǀϯϬϳϮϮsϮ
  
 

  
 
Table 34. Trace debugging connector CN17 (continued)
Terminal Function / MCU port Terminal Function / MCU port
9 GND 10 RESET#
11 G N D 12 Trace_CLK/PE2
13 GND 14 Trace_D0/PE3 or SWO/PB3
15 GND 16 Trace_D1/PE4 or nTRST/PB4
17 GND 18 Trace_D2/PE5
19 GND 20 Trace_D3/PE6

6.12 MFX programming connector CN18

The connector CN18 is used only for embedded MFX (Multi function expander) programming during board manufacture. It is not populated by default and not for end user.

6.13 Type-C signals connector CN19

Figure 18. Type-C signals connector CN19 (top view)

Terminal Function / MCU port Terminal Function / MCU port
1 GND 2 GND
3TX1+ 4RX1+
5TX1- 6RX1-
7 VBUS 8 VBUS
9 CC1 10 CC2
11 SUB1 12 SUB2

Table 35. Type-C signals connector CN19

13 VBUS 14 VBUS
15 RX2- 16 TX2-
17 RX2+ 18 TX2+
19 GND 20 GND
50/83 UM2514 Rev 4
UM2514 Connectors

6.14 LCD connector CN20 and CN24

A TFT color LCD with SPI interface board is mounted on CN20 and CN24.

6.15 ST-LINK-V3E USB Micro-B connector CN21

The USB connector CN21 is used to connect on-board ST-LINK-V3E facility to PC for flashing and debugging software.

Figure 19. USB Micro-B connector CN21 (front view)

Terminal Description Terminal Description
1 VBUS (power) 4 ID
2DM 5 GND
3DP 6 - 11 Shield

Table 36. USB Micro-B connector CN21

6.16 USB Type-C connector CN22

Figure 20. USB Type C connector CN22 (front view)

UM2514 Rev 4 51/83
82
Connectors UM2514
06Y9
ϯ
Ϯ
ϲ
ϰ
ϱ
ϭ
Pin number Description Pin number Description
A1 GND B1 GND
A2 TX1+ B2 TX2+
A3 TX1- B3 TX2-
A4 VBUS B4 VBUS
A5 CC1 (PB6) B5 CC2 (PB4)
A6 D+ B6 D+
A7 D- B7 D-
A8 SBU1 B8 SBU2
A9 VBUS B9 VBUS
A10 RX2- B10 RX1-
A11 RX2+ B11 RX1+
A12 GND B12 GND

Table 37. USB Type C connector CN22

6.17 Audio blue jack (Line In) CN23

A 3.5 mm Stereo audio blue jack input CN23 is available on STM32G474E-EVAL board to support audio Line input.

6.18 Audio green jack (Line Out) CN26

A 3.5 mm Stereo audio green jack output CN26 is available on STM32G474E-EVAL board to support headphone.

Figure 21. Stereo headset with microphone jack CN26

52/83 UM2514 Rev 4
UM2514 Connectors
-36
'&9
*1'
Pin number Description Stereo headset with microphone pinning
3GND GND
4 OUT_Right SPK_R (33 ohms typ.)
6 OUT_Left SPK_L (33 ohms typ.)
1NC
2NC
5NC

Table 38. Audio Jack Connector CN26 (on board)

6.19 Power connector CN25

The STM32G474E-EVAL board can be powered from a DC 5 V to 18 V power supply via the external power supply jack (CN25) shown in positive.

Figure 22. Power supply connector CN25 (front view)

NA
Figure 22. The central pin of CN25 must be

6.20 ST-LINK-V3E programming connector CN27

The connector CN27 is used only for embedded ST-LINK-V3E programming during board manufacturing. It is not populated by default and not for end user.
UM2514 Rev 4 53/83
82
Connectors UM2514

6.21 microSD connector CN28

Figure 23. microSD connector CN28 (front view)

Pin number Description Pin number Description
1NC 6GND
2 uSD_CS (PF8) 7 SPI2_MISO (PV14)
3 SPI2_MOSI (PB15) 8 NC
4 VDD 9 GND
5 SPI2_SCK (PF9) 10 uSD_Detect (MFX_GPIO5)

Table 39. MicroSD connector CN28

54/83 UM2514 Rev 4
UM2514 Connectors
06Y9



 

6.22 Smartcard connector CN31

Figure 24. Smartcard connector CN31 (top view)

Pin number Description

Table 40. Smartcard connector CN31

Pin
number
Description
1 VCC 5 GND
2RST 6NC
3 CLK 7 I/O
4NC 8NC
17 Card presence detection pin 18 Card presence detection pin
UM2514 Rev 4 55/83
82
Schematic diagrams UM2514

7 Schematic diagrams

This chapter provides design schematics for the STM32G474E-EVAL key features to help users to implement these features in application designs.
This section includes:
Figure 25: MB1397_TOP on page 57
Figure 26: STM32 microcontroller I/Os on page 58
Figure 27: STM32 microcontroller power on page 59
Figure 28: USB_PD on page 60
Figure 29: USB-TYPEC_CON on page 61
Figure 30: FMC memory on page 62
Figure 31: QSPI memory on page 63
Figure 32: Audio on page 64
Figure 33: LCD and SD card on page 65
Figure 34: RS232 and RS485 on page 66
Figure 35: FDCAN on page 67
Figure 36: Analog interfaces on page 68
Figure 37: Peripherals on page 69
Figure 38: Smartcard on page 70
Figure 39: Motor control on page 71
Figure 40: Extension connector on page 72
Figure 41: Debug connectors on page 73
Figure 42: Multi function expander on page 74
Figure 43: Power board on page 75
Figure 44: STLINK-V3E -SWD Module on page 76
56/83 UM2514 Rev 4

Figure 25. MB1397_TOP

222
MB1397 TOP
Title:
Size:
Reference: Sheet: ofA3
Revision:
Project: STM32G474E-EVAL
MB1397B04
01-NOV-18
G474E
Date:
-
Variant:
FMC
TAMPER_KEY
LED3
LED1
MOTOR
SPI
QSPI
Audio
FDCAN
TYPEC
TRACE
SmartCard_IO
PF1-OSC_OUT PC14-OSC32_IN PC15-OSC32_OUT
I2C3
SmartCard_CLK
PF0-OSC_IN
BK_Drive
NRST
USB-FS
JTAG-SWD
BOOT0
BK_Sense
DAC
PC[0..15]
PB[0..15]
PE[0..15] PF[0..15] PG[0..15]
PA[0..15]
PD[0..15]
CMOP6_OUT
ADC_OUTN
OPAMP4_VOUT
ADC_OUTP
OPAMP4_VINM
OPAMP4/COMP6_INP
I2C3_SMBA
MFX_WAKEUP MFX_IRQ_OUT
USART1_RX USART1_TX RS485_DIR
U_STM32_microcontroller_IOs STM32_microcontroller_IOs.SchDoc
FMC
U_FMC Memory FMC Memory.SchDoc
Audio
Audio_I2C
U_Audio Audio.SchDoc
QSPI
U_QSPI Memory QSPI Memory.SchDoc
FDCAN
U_FDCAN FDCAN.SchDoc
SPI
SPI_MOSI_DIR
uSD_Detect
NRESET
U_LCD&SDcard LCD&SDcard.SchDoc
MOTOR
U_MotorControl MotorControl.SchDoc
SmartCard_IO
SmartCard_CLK
SmartCard
U_SmartCard SmartCard.SchDoc
BOOTLOADER_BOOT0
BOOTLOADER_RST
NRST
BOOT0
PC14-OSC32_IN
PC15-OSC32_OUT
STLK_MCO
PF0-OSC_IN
PF1-OSC_OUT
U_STM32_microcontroller_power STM32_microcontroller_power.SchDoc
U_Power_Board Power_Board.SchDoc
U_HW_Mechanical_Parts HW_Mechanical_Parts.SchDoc
ADC_OUTP ADC_OUTN
Comp6_OUT
OpAmp4_INM OpAmp4_VOUT
DAC
OPAMP4/COMP6_INP
U_Analog Interfaces Analog Interfaces.SchDoc
MFX_IRQOUT
MFX_IO15
PA0_WAKEUP
JOYSTICK
SmartCard
I2C3
MFX_IO7
MFX_IO6
MFX_IO5
MFX_IO13
NRST
U_Multi-Function Expander Multi-Function Expander.SchDoc
LED4 LED3
LED1LED2
TAMPER_KEY
EXT_RESET
JOYSTICK
BK_Sense
BK_Drive
I2C3
I2C3_SMBA
U_Peripherals Peripherals.SchDoc
NRST
VCP_TX
VCP_RX
STLK_MCO
JTAG-SWD
U_STLink_V3E_SWD STLink_V3E_SWD.SchDoc
NRST PA[0..15] PB[0..15] PC[0..15] PD[0..15] PE[0..15] PF[0..15] PG[0..15]
QSPI FMC
U_ExtensionConnector ExtensionConnector.SchDoc
TYPEC CON1_CC2
CON1_CC1
U_USB_PD USB_PD.SchDoc
TRACE JTAG-SWD
RESET
U_Debug connector Debug connector.SchDoc
BOOTLOADER_BOOT0
BOOTLOADER_RST
USART1_RX USART1_TX
RS485_DIR
U_RS232&RS485 RS232&RS485.SchDoc
USB-FS
CON1_CC1 CON1_CC2
U_USB-TYPEC_CON USB-TYPEC_CON.SchDoc
JP10
HW14
Closed
VCP_RX
UM2514 Schematic diagrams
UM2514 Rev 4 57/83
58/83 UM2514 Rev 4
322
STM32_microcontroller_IOs
Title:
Size:
Reference: Sheet: ofA3
Revision:
Project: STM32G474E-EVAL
MB1397B04
01-NOV-18
G474E
Date:
-
Variant:
SRAM
FMC_D[0..15]
FMC_A[0..18]
FMC
FMC_NBL0 FMC_NBL1
FMC_NOE FMC_NWE
FMC_NE1
PA4 PA5 PA6 PA7
PA11 PA12
PA0 PA1
PA15
PA3
PA13 PA14
PA2
PA8
PA10
PA9
PB5
PB7
PB14 PB15
PB10
PB9
PB1
PB4
PB11 PB12 PB13
PB2 PB3
PB0
PB6
PC0 PC1 PC2 PC3 PC4 PC5 PC6 PC7 PC8 PC9 PC10 PC11 PC12 PC13
PC14
PC15
PD0 PD1 PD2 PD3 PD4 PD5 PD6 PD7 PD8 PD9 PD10 PD11 PD12 PD13 PD14 PD15
PE14 PE15
PE9
PE8
PE11
PE10
PE12 PE13
PE7
PE0 PE1 PE2 PE3 PE4 PE5 PE6
PF0
PF14 PF15
PF9
PF8
PF11
PF10
PF12 PF13
PF1
PF2 PF3 PF4 PF5 PF6 PF7
PG0
PG9
PG8
PG1 PG2 PG3 PG4 PG5 PG6 PG7
0RR139 0R
R140
0R
R137
0R
R138
0R
R132
0R
R136
0R
R93
0R
R89
0R
R88
0R
R87
0R
R84
0R
R82
0R
R79
0R
R75
0R
R71
0R
R69
0R
R63
0R
R62
0R
R60
0R
R34
0R
R37
0R
R38
0R
R39
0R
R42
0R
R41
0R
R29
0R
R40
0R
R83
0R
R85
0R
R94
0R
R97
0R
R101
0R
R148
0R
R149
FMC_D0 FMC_D1
FMC_D2 FMC_D3
FMC_D4 FMC_D5 FMC_D6 FMC_D7 FMC_D8 FMC_D9 FMC_D10 FMC_D11 FMC_D12
FMC_D13 FMC_D14 FMC_D15
FMC_A0
FMC_A1
FMC_A2 FMC_A3 FMC_A4 FMC_A5
FMC_A6 FMC_A7 FMC_A8 FMC_A9
0R
R48
0R
R28
0R
R50
0R
R27
0R
R53
0R
R68
FMC_A10 FMC_A11 FMC_A12 FMC_A13 FMC_A14 FMC_A15
FMC_NOE FMC_NWE
FMC_NE1
FMC_NBL0 FMC_NBL1
0R
R130
0R
R133
0R
R131
0R
R150
33R
R129
0R
R121
0R
R118
0R
R116
0R
R108
0R
R102
0R
R90
QSPI_BK1_IO0
QSPI_BK1_IO1
QSPI_BK1_IO2
QSPI_BK1_IO3
QSPI_BK2_IO0 QSPI_BK2_IO1 QSPI_BK2_IO2 QSPI_BK2_IO3
QSPI_BK2_NCS
QSPI_BK1_NCS QSPI_CLK
FMC_NWE
FMC_NOE
FMC_NE1
FMC_A[0..18] FMC_D[0..15]
FMC_NBL0 FMC_NBL1
FMC_A19 FMC_A20
FMC
SB111 SB110 SB107 SB28
SAI_MCLK_A SAI_SD_B SAI_FS_A
0R
R134
0R
R96
0R
R35
0R
R36
0R
R26
SPI2_MOSI
SPI2_SCK
BK_Drive
SPI2_MISO
uSD_CS
VSENSE
DISCHARGE
SOURCE_EN
USB_DM USB_DP 0R
R45
0R
R46
SB4 SB3
USART1_TX USART1_RX
PD_CC1
PD_CC2
SB96
SB21
SB24
SB17
SB23
SB29
SB20
SB18
SB13 SB15
SB26MFX_IRQ_OUT SB27ADC_OUTN
SB25DAC
SB11 OPAMP4_VINM
OPAMP4/COMP6_INP OPAMP4_VOUT
SB8 SB7 SB5
CMOP6_OUT MFX_WAKEUP
LCD_CS
JTDI
JTCK-SWCLK
JTDO-SWO
JTMS-SWDIO 0R
R44
0R
R47
0R
R54
0R
R107
SmartCard_IO
0R
R70
0R
R74
0R
R78 I2C3_SDA
I2C3_SCL
I2C3_SMBA
0R
R112
0R
R127
0R
R81
Audio_INT
0RR135
LED3
0RR43
LED1
FMC_A16 FMC_A17 FMC_A18
SAI_SD_A0R
R98
SAI_SCK_A 0RR30
SB9 SB6
0RR49
SB12
MOTOR
MC1_PWM_1H MC1_PWM_1L MC1_PWM_2H MC1_PWM_2L MC1_PWM_3H MC1_PWM_3L
MC1_STOP
MC1_EnA MC1_EnB
MC1_EnIndex
MC1_MC2_PFCsync MC1_MC2_PFCpwm
MC1_MC2_PFC_SD MC1_ICL_SHUTOUT MC1_DissipativeBrake
MC1_Temp
MC1_BusVoltage
MC1_MC2_PFC_Ind
MC1_MC2_PFC_Vac
MC2_STOP MC2_PWM_1H MC2_PWM_1L MC2_PWM_2H MC2_PWM_2L MC2_PWM_3H MC2_PWM_3L
MC2_EnA MC2_EnB
MC2_EnIndex
MC2_ICL_SHUTOUT MC2_DissipativeBrake
MC2_Temp
MC2_BusVoltage
MC_DAC_OUT1 MC_DAC_OUT2
MC1_Ain MC1_Bin MC1_Cin MC2_Ain MC2_Bin MC2_Cin
OPAMP1_INP
OPAMP1_INN OPAMP1_OUT OPAMP2_IN1P OPAMP2_IN2P
OPAMP2_INN OPAMP2_OUT OPAMP4_IN1P OPAMP4_IN2P
OPAMP4_INN OPAMP4_OUT
OPAMP3_INP
OPAMP3_INN OPAMP3_OUT
MOTOR
PE11
PE13 PE12
PE15 PE9 PE8
PE10
PD7
PD4
PE4 PE5 PC4
PE14
PD8 PD9
PD2
PE2 PE3
SB69 SB78 SB79 SB76 SB77 SB73 SB74 SB98 SB89 SB92
SB103 SB118
SB97
SB109
SB100 SB115 SB55 SB56
PC7
PC8 PC12
PB7 PC6 PC10
PC11
PF8
PF6 PF7
PC1
PA4 PA5 PC2 PC3
PF10 PE7
PD15
SB49 SB64 SB50 SB68 SB51 SB66 SB52 SB108 SB106
SB83
SB61 SB112
SB72
SB93
SB113 SB114
PD10
PA1 PA3
PC0
PD13
PD12
PA7 PD14
PA2
PB10 PB12 PB0 PB2 PB1
PB13
PB11
PC5 PA6
SB99 SB60 SB59 SB57
SB95 SB105 SB117 SB101 SB70
SB104 SB67
SB65
SB71
SB94 SB80 SB91
SB63
TIM1_BKIN TIM1_CH1 TIM1_CH1N TIM1_CH2 TIM1_CH2N TIM1_CH3 TIM1_CH3N TIM2_CH1 TIM2_CH2 TIM2_CH3 TIM2_ETR TIM3_CH1 TIM3_CH2 TIM3_ETR GPIO1 GPIO2 ADC2_IN5 ADC12_IN7 ADC4_IN12/5_IN12 ADC4_IN13/5_IN13
TIM8_BKIN TIM8_CH1 TIM8_CH1N TIM8_CH2 TIM8_CH2N TIM8_CH3 TIM8_CH3N TIM5_CH1 TIM5_CH2 TIM5_CH3 TIM5_ETR GPIO3 GPIO4 ADC3_IN4 ADC4_IN1
DAC1_OUT1 DAC1_OUT2 ADC12_IN8 ADC12_IN9 ADC12_IN6 ADC345_IN7 ADC345_IN9 ADC345_IN10
OPAMP1_VINP OPAMP1_VINM OPAMP1_VOUT OPAMP2_VINP OPAMP2_VINP OPAMP2_VINM OPAMP2_VOUT OPAMP4_VINP OPAMP4_VINP OPAMP4_VINM OPAMP4_VOUT OPAMP3_VINP OPAMP3_VINM
DUAL MOTOR
SPI2_SCK SPI2_MISO SPI2_MOSI
LCD_CS
uSD_CS
SPI
SPI
LCD and MircoSD
QSPI
QSPI_BK1_IO1
QSPI_BK1_IO0
QSPI_CLK
QSPI_BK1_NCS
QSPI_BK1_IO2 QSPI_BK1_IO3
QSPI_BK2_IO1
QSPI_BK2_IO0
QSPI_BK2_IO2 QSPI_BK2_IO3
QSPI_BK2_NCS
QSPI
QSPI_BK1_IO0 QSPI_BK1_IO1 QSPI_BK1_IO2 QSPI_BK1_IO3
QSPI_BK1_NCS
QSPI_CLK
QSPI_BK2_IO0 QSPI_BK2_IO1 QSPI_BK2_IO2 QSPI_BK2_IO3
QSPI
Audio
SAI_SDB
SAI_FSA
Audio_Int
SAI_SDA
SAI_SCKA
SAI_MCKA
SAI
Audio
QSPI_BK2_NCS
SAI_MCLK_A
SAI_SD_B
SAI_FS_A
SPI2_MOSI
SPI2_SCK
LCD_CS
SPI2_MISO
uSD_CS
PD_DBCC1 PD_DBCC2 PD_CC1 PD_CC2 VSENSE DISCHARGE SOURCE_EN
SB54 SB53
PA9 PA10
FDCAN1_RX
FDCAN1_TX
FDCAN
FDCAN2_RX
FDCAN2_TX
FDCAN1_TX FDCAN1_RX
FDCAN2_TX FDCAN2_RX
FDCAN
FDCAN
USB-TYPEC
0RR146 0R
R143
FMC_A19 FMC_A20
PE3 PE4
SAI_SCK_A
SAI_SD_A
Audio_INT
USB_DM USB_DP
USB-FS
USB-FS
USB_DM
USB_DP
USB-FS
PB8
NRST
TAMPER_KEY 0R
R141
SB58 PD11
SB62 PA15
PA0
FDCAN1_TX
FDCAN2_RX
FDCAN2_TX
0R
R123BOOT0
JP1
PB8
TRACED2 TRACED3 0R
R142
Open
STM32G474QET6 MCU I/Os
DEBUG
JTMS-SWDIO JTCK-SWCLK
JTDI
JTDO-SWO
JTRST
JTAG-SWD
JTDI
JTCK-SWCLK
JTDO-SWO
JTMS-SWDIO
JTRST 0R
R109 PB4
PE3 PE4
PE2
TRACECLK
TRACED0 TRACED1 TRACED2 TRACED3
TRACE
TRACE
TRACECLK TRACED0 TRACED1 TRACED2 TRACED3
0R
R147
0R
R145
0R
R144
JTAG-SWD
I2C3
I2C
I2C3_SDA I2C3_SCL
VDD
1K5
R80
1K5
R73
SDA SCL
I2C3
TAMPER_KEY
NRST
NRST
BOOT0
BOOT0
SmartCard_IO
SmartCard_CLK
SmartCard_IO
TAMPER_KEY
BK_Drive BK_Sense
BK_Drive PB11
SB10
OPAMP4/COMP6_INP
OPAMP4_VOUT OPAMP4_VINM
CMOP6_OUT
OPAMP4_VINM
OPAMP4_VOUT
OPAMP4/COMP6_INP CMOP6_OUT
DAC
DAC ADC_OUTP ADC_OUTN
PA0 ADC_OUTN
SB116
USART1_TX USART1_RX
USART1_TX USART1_RX
LED3
LED1
PC14-OSC32_IN
PC15-OSC32_OUT
PF0-OSC_IN
PF1-OSC_OUT
PC14 PC15
PF0 PF1
LED3
MFX_IRQ_OUT
MFX_IRQ_OUT MFX_WAKEUP
MFX_WAKEUP
LED1
I2C3_SMBA
I2C3_SMBA
PORT
PA[0..15]
PA[0..15]
PB[0..15]
PB[0..15]
PC[0..15]
PC[0..15]
PD[0..15]
PD[0..15]
PE[0..15]
PE[0..15]
PF[0..15]
PF[0..15]
PG[0..15]
PG[0..15]
PD_DBCC1 PD_DBCC2
PD_CC1 PD_CC2
VSENSE DISCHARGE SOURCE_EN
USB-TYPEC
TYPEC
SmartCard_CLK
SmartCard_CLK
CAN1_RX
RS485_DIR
RS485_DIR
RS485_DIRSB123
STM32G474QET6U
PC13
7
PC14 - OSC32_IN
8
PC15 - OSC32_OUT
9
PC0
22
PC1
23
PC2
24
PC3
25
PA0
27
PA1
28
PA2
29
PA3
32
PA4
33
PA5
34
PA6
35
PA7
36
PC4
37
PC5
38
PB0
39
PB1
40
PB2
41
PB10
62
PB12
66
PB13
67
PB14
68
PB15
69
PC6
80
PC7
81
PC8
87
PC9
88
PA8
89
PA9
90
PA10
91
PA11
92
PA12
93
PA13
96
PA14
98
PA15
99
PC10
100
PC11
101
PC12
102
PB3
118
PB4
119
PB5
120
PB6
121
PD2
112
PB7
122
PB8-BOOT0
123
PB9
124
PB11
65
PF0 - OSC_IN
19
PF1 - OSC_OUT
20
PG10-NRST
21
PE2
1
PE3
2
PE4
3
PE5
4
PE6
5
PF3
10
PF4
11
PF5
14
PF7
15
PF8
16
PF9
17
PF10
18
PF2
26
PF11
48
PF12
49
PF13
50
PF14
51
PF15
52
PE7
53
PE8
54
PE9
55
PE10
56
PE11
57
PE12
58
PE13
59
PE14
60
PE15
61
PD8
70
PD9
71
PD10
72
PD11
73
PD12
74
PD13
75
PD14
76
PD15
77
PG0
82
PG1
83
PG2
84
PG3
85
PG4
86
PF6
97
PG5
103
PG6
104
PG7
105
PG8
106
PG9
107
PD0
108
PD1
109
PD3
113
PD4
114
PD5
115
PD6
116
PD7
117
PE0
125
PE1
126
C1
3
O
SC3
_ IN
C1
5
O
SC3
2
_ O
U
T
C1
C2
A
0
A
1PA
2
3
A
5P6
7
C5
0
1PB2
0
3
5
C8
8
A
9
0
3
5
C1
0
C1
C1
2
3
5PB6
D
2
PB7
8
-BO
O
0
9
O
S
N
O
S O
U
T
G
0
N
RST
2
3
5
6
3
4
5
PF7
8
9
P
0
2
3
PF14
P
5
PE
7
8
9
1
0
3
1
4
1
5
PD
8
PD
PD
1
0
D12
D
1
3
D14
D
1
5
G
0
G
G
G
3
6
G
5
G
6
G
7
G
8
G
9
0
PD
3
5
6
D
7
PE
0
1
MCU_IOs
MCU CLK & RST
U6A

Figure 26. STM32 microcontroller I/Os

Schematic diagrams UM2514
P P
P
P
P
P P P P P P
4
P
PC0 P P PC3 PC4 P PC6 PC7 P PC9 P P P P
PE PE PE PE4 PE
PE PE PE
PE PE
PC1 -
P
PF0 -
PF1 -
P
PB
-
-
C_I
C_
PB PB
PB
PB
PB PB PB PB PB PB PB
P
P
P
P
P
P
9
P P P P P
PF
PF
PF
PF
PF
PF
PF
F1 F1 F1 F
F1
P
P
P
P
PG4
P
P
P
P
P
OPAMP3_VOUT

Figure 27. STM32 microcontroller power

422
STM32_microcontroller_power
Title:
Size:
Reference: Sheet: ofA4
Revision:
Project: STM32G474E-EVAL
MB1397B04
01-NOV-18
G474E
Date:
-
Variant:
BOOTLOADER_RST
JP18
BAT60JFILM
D11
PF0-OSC_IN
NRST
PC14-OSC32_IN
PC15-OSC32_OUT
SWITCH
1 3
42
B3
MCU POWER, CLOCK, RESET & BOOT
PC14 PC15
PF0
32kHz Clock
24MHz Clock
RESET
PF1
PF1-OSC_OUT
STLK_MCO
24MHz
4
13
2
X2
20pF
C172
DNF
100R
R312
DNF
From STLINK V3E MCO (8MHz) for interposer
ESDALC6V1-1U2
12
U51
100nF
C174
0RR317
0R
R313
NRST
NX3215SA-32.768K
X3
4.3pF
C183
4.3pF
C182
1.8pF
C178
1.8pF
C177
Header 3x1
2
1
3
JP11
3V3VDD_ADJ
VDD_MCUVDD
Header 3x1
2
1
3
JP7
VDD
CR1220 holder
CN13
600R@100MHz
L9
Header 3x1
2
1
3
JP6
3V3 VDD_MCU
VREF
VDDA
AGND
600R@100MHz
L1
DNF
AGND
VREF_EXT
SB84
SB85
VREF
VDDA
VDD_MCU
100nF
C164
100nF
C175
100nF
C165
100nF
C176
100nF
C162
100nF
C173
100nF
C160
100nF
C161
4.7uF
C163
VREF VDDA
100nF
C168
100nF
C170
1uF
C167
10uF
C166
AGNDAGND
0RR315 0RR314
Capacitor close to MCU
HW15
HW16
HW17
Open
default : 1-2
default : 2-3
default : 1-2
CR1220
HW25
BOOT0
VDD
10K
R182
BOOTLOADER_BOOT0
BAT60JFILM
D2
JP8
BOOT0
default : 1-3
1
3
2
SW7
BOOT0
Open
MCU POWER
C97 and C98 closed to VREF+ and VREF-
600R@100MHz
L8
100nF
C169
AGND
DNF
RESET
BOOT0 1 <----> 0 0=Flash 1=Sys Mem
BL_BOOT
BL_RESET
3V3 ADJ
VDD_MCU 3V3
VDD BAT
100nF
C59
100nF
C33
DNF
SB31
SB30
Capacitor close to MCU
SB close to MCU
SB close to power source
SB90
SB86
BLACK HAT
HW26
STM32G474QET6U
VBAT
6
VREF-
42
VREF+
43
VSS
30
VDD
31
VSS
46
VDD
47
VSS
63
VDD
64
VSS
78
VDD
79
VDDA
45
V
V
V
VSSV
VSSV
D
D
VSSV
VSSV
V
MCU_PWR
VSS
12
VDD
13
VREF+
44
VSS
110
VSS
127
VSS
94
VDD
111
VDD
128
VDD
95
U6B
UM2514 Schematic diagrams
UM2514 Rev 4 59/83
R
F
B
EF-
60/83 UM2514 Rev 4
522
USB_PD
Title:
Size:
Reference: Sheet: ofA4
Revision:
Project:
STM32G474E-EVAL
MB1397B04
01-NOV-18
G474E
Date:
-
Variant:
Power Delivery management
3A
VBUS
STL9P3LLH6
4
3
5
G
S
D
678
2
1
Q3
STL9P3LLH6
4
3
5
G
S
D
678
2
1
Q2
STL6N2VH5
3
6
8
G
S
D
1
2
5
7
4
T10
STL6N2VH5
3
6
8
G
S
D
1
2
5
7
4
T9
100R
R249
1K
R2461KR2501KR2541KR259
SB44
330K
R244
CON1_CC1
CON1_CC2
TYPE-C Source port CC management
2
1
3
JP15
PD_DBCC1 PD_DBCC2 PD_CC1 PD_CC2 VSENSE DISCHARGE SOURCE_EN
USB-TYPEC
TYPEC
PD_CC1
PD_CC2
PD_DBCC1
VSENSEDISCHARGE
SOURCE_EN
PD_DBCC1 PD_DBCC2
PD_CC1 PD_CC2
VSENSE DISCHARGE SOURCE_EN
USB-TYPEC
49K9
R263
49K9
R323
10K
R264
5V_EXT
21K
R248
5V_USB_PD
STPS2L40UF
D8
STPS2L40UF
D9
VBUS
5V_EXT
HW22
default : 1-2
USB PD
2
1
3
JP14
PD_DBCC2
HW23
default : 1-2
10pF
C185
GND DBCC1 GND DBCC2

Figure 28. USB_PD

Schematic diagrams UM2514
622
USB-TYPEC_CON
Title:
Size:
Reference: Sheet: ofA4
Revision:
Project:
STM32G474E-EVAL
MB1397B04
01-NOV-18
G474E
Date:
-
Variant:
VBUS
C1_RX1+ C1_RX1-
C1_TX1+ C1_TX1-
C1_RX2+
C1_RX2-
C1_TX2+
C1_TX2-
Differential pairs 90 ohm
3A
Differential pairs 90 ohm
C1_CC1
C1_CC2C1_SBU1
C1_SBU2
CON1_CC1 CON1_CC2
C1_CC1 C1_CC2
VBUS
C1_TX1+ C1_TX1-
VBUS
C1_CC1 C1_SBU1
C1_RX2+
C1_RX2-
FTSH-110-01-L-DV-A
1 3 5 7 9 11 13 15 17 19
2 4 6
8 10 12 14 16 18 20
CN19
C1_RX1+ C1_RX1-
C1_TX2+
C1_TX2-
C1_CC2 C1_SBU2
SB122 SB121
CNG008S130R
GND1
A1
TX1+
A2
TX1-
A3
VBUS1
A4
CC1
A5
D+1
A6
D-1
A7
SBU1
A8
VBUS2
A9
RX2-
A10
RX2+
A11
GND2
A12
GND3
B1
TX2+
B2
TX2-
B3
VBUS3
B4
CC2
B5
D+2
B6
D-2
B7
SBU2
B8
VBUS4
B9
RX1-
B10
RX1+
B11
GND4
B12
CN22
USB_DM USB_DP
USB-FS
USB-FS
USB_DM
USB_DP
USB-FS
USB_DM
USB_DP
CON1_CC1 CON1_CC2
USB-TYPEC CON
TYPE-C
TYPE-C_SIG
USBLC6-2SC6
IO2
4
VBUS
5
IO16IO_1
1
GND
2
IO_2
3
U55
ESDA6V1L
E
IO1
1
GND
3
IO2
2
U30
ESDA7P120-1U1M
12
U36

Figure 29. USB-TYPEC_CON

UM2514 Schematic diagrams
UM2514 Rev 4 61/83
722
FMC Memory
Title:
Size:
Reference: Sheet: ofA4
Revision:
Project: STM32G474E-EVAL
MB1397B04
01-NOV-18
G474E
Date:
-
Variant:
A1
A2
A3
A4
A5
A6
A7
A8
A9
A10
A11
A12
A13
A14
A15
A16
A0
A17
A18
D0
D1
D2
D3
D4
D5
D6
D7
D8
D9
D10
D11
D12
D13
D14
D15
PE1
PE0
PD5 PD4
PD7
A19
A20
D[0..15]
A[0..18]
VDD
VDD
10K
R171
IS61WV51216BLL-10MLI
A4
B4
A3
B3
A2
A5
A1
A4
A0
A3
CE
B5
I/O0
B6
I/O1
C5
I/O2
C6
I/O3
D5
VDD
D6
GND
D1
I/O4
E5
I/O5
F5
I/O6
F6
I/O7
G6
WE
G5
A16
E4
A15
F4
A14
F3
A13
G4
A12
G3
A11
H5
A10
H4
A9
H3
A8
H2
I/O8
B1
I/O9
C1
I/O10
C2
I/O11
D2
VDD
E1
I/O12
E2
I/O13
F2
I/O14
F1
I/O15
G1
LB
A1
UB
B2
OE
A2
A7
D4
A6
C4
A5
C3
A17
D3
A18
H1
GND
E6
NC
G2
NC
H6
NC
A6
NC
E3
U11
A20 = NC
MEMORY
SRAM
Default config = A0-A18
D[0..15]
A[0..18]
FMC
FMC_NBL0 FMC_NBL1
FMC_NOE FMC_NWE
FMC_NE1
FMC_NWE
FMC_NOE
FMC_NE1
FMC_A[0..18] FMC_D[0..15]
FMC_NBL0 FMC_NBL1
FMC_A19 FMC_A20
FMC
A19 A20
FMC_NBL0 FMC_NBL1
FMC_NOE
FMC_NWE
FMC_NE1
VDD
100nFC48
100nF
C47
4.7uF
C46
DNF
220KR162 220K
R156A19
A20
A19-20 = 0 by default
Operating range: 512Kx16: IS61WV51216BLL-10MLI VDD: 2.4V to 3.6V 512x16: IS66WV51216EBLL-55BLI VDD: 2.5V to 3.6V
Place close to SRAM
62/83 UM2514 Rev 4

Figure 30. FMC memory

Schematic diagrams UM2514
822
QSPI Memory
Title:
Size:
Reference: Sheet: ofA4
Revision:
Project:
STM32G474E-EVAL
MB1397B04
01-NOV-18
G474E
Date:
-
Variant:
QSPI_BK1_NCS
VDD
PB0
PA6
PA2
VDD
VDD
PB1
PA7
PA3
QSPI_CLK
QSPI_CLK
QSPI_CLK
PC3
PC4
PC1
PC2
PD3
Twin Quad SPI Flash solutions:
One Twin Quad SPI Fllash U12:MT25 TL01GHBB8ESF-0SIT U54:NA
Two Quad SPI Fllash (Default) U12:MT25QL512ABB8ESF-0SIT U54:MT25QL5 12ABB8ESF-0SIT R319/R320/R321/R322, SB119, C184 ON R167/R168/R169/R17 0, SB120, SB35, SB36 OFF
R167/R168/R169/R170, SB120,SB36 ON R319/R320/R321/R322, SB119 , SB35, C184 OFF
QSPI_BK1_IO0
QSPI_BK1_IO1 QSPI_BK1_IO2
QSPI_BK1_IO3
QSPI_BK2_IO0
QSPI_BK2_IO1 QSPI_BK2_IO2
QSPI_BK2_IO3
QSPI_BK2_IO0
QSPI_BK2_IO1 QSPI_BK2_IO2
QSPI_BK2_IO3
QSPI_BK2_NCS
SB35
SB36
10K
R161
10K
R166
100nF
C51
100nF
C184
SB119
33R
R178
33R
R319
33R
R173
33R
R320
33RR170
DNF
33R
R169
DNF
33R
R168
DNF
33RR167
DNF
33R
R159 33RR160
33R
R321 33RR322
QSPI_BK2_NCS
QSPI
QSPI_BK1_IO1
QSPI_BK1_IO0
QSPI_CLK
QSPI_BK1_NCS
QSPI_BK1_IO2 QSPI_BK1_IO3
QSPI_BK2_IO1
QSPI_BK2_IO0
QSPI_BK2_IO2 QSPI_BK2_IO3
QSPI_BK2_NCS
QSPI
QSPI_BK1_IO0 QSPI_BK1_IO1 QSPI_BK1_IO2 QSPI_BK1_IO3
QSPI_BK1_NCS
QSPI_CLK
QSPI_BK2_IO0 QSPI_BK2_IO1 QSPI_BK2_IO2 QSPI_BK2_IO3
QSPI
QSPI_BK2_NCS
MT25QL512ABB8ESF-0SIT
CS#
7
DQ1
8
NC
6
NC
5
NC
12
NC
11
Vss
10
W#/Vpp/DQ2
9
HOLD#/DQ3
1
VCC
2
NC
3
CLK
16
DQ0
15
NC
4
NC
13
NC
14
U12
MT25QL512ABB8ESF-0SIT
CS#
7
DQ1
8
NC
6
NC
5
NC
12
NC
11
Vss
10
W#/Vpp/DQ2
9
HOLD#/DQ3
1
VCC
2
NC
3
CLK
16
DQ0
15
NC
4
NC
13
NC
14
U54
QSPI Memory
Operating range: 2.7V<VDD<3.6V
SB120
UM2514 Rev 4 63/83

Figure 31. QSPI memory

UM2514 Schematic diagrams
922
Audio
Title:
Size:
Reference: Sheet: ofA4
Revision:
Project:
STM32G474E-EVAL
MB1397B04
01-NOV-18
G474E
Date:
-
Variant:
VDD
1V8
VDD
PE3
PG8 PG7
3V3
1V8
3V3
1V8
VDD
Right
Left
SPK Left
SPK Right
SDA SCL
I2C3
Audio_I2C
2.2uFC103
2.2uF
C105
2.2uF
C104
100nF
C96
100nF
C94
100nF
C93
100nF
C100
1uF
C92
1uF
C101
1uF
C85
1uF
C99
1uF
C87
4.7uF
C97
4.7uF
C91
4.7uF
C90
4.7uF
C86
4.7uF
C88
0R
R257
0R
R258
10K
R261
DNF
4K7
R237
JP16
JP17
100nF
C106
100nF
C107
20R
R255
20R
R256
ESDA6V1BC6
I/O1
1
GND
2
I/O23I/O3
4
GND
5
I/O4
6
U41
PA8
PD6
PE4
PJ3028B-3_GR
3 4
6
CN26
WM8994ECS/R
ADCDAT1
F2
ADCLRCLK1/GPIO1
G3
AGND
D6
CPVDD
G9
CPVOUTN
H7
CPVOUTP
G7
CS/ADDR
G2
DACDAT1
E4
CPGND
H9
DCVDD
F1
DBVDD
D2
DGND
E2
CPCB
H8
AVDD1
D9
BCLK1
G1
CIFMODE
A4
CPCA
G8
DMICCLK
C6
AGND
E7
AGND
E8
AVDD2
D8
GPIO2/MCLK2
E1
GPIO3/BCLK2
H2
GPIO4/LRCLK2
F4
GPIO5/DACDAT2
H3
GPIO6/ADCLRCLK2
G4
GPIO7/ADCDAT2
E5
GPIO8/DACDAT3
H4
GPIO9/ADCDAT3
F5
GPIO10/LRCLK3
H5
GPIO11/BCLK3
F6
HP2GND
F7
HPOUT1FB
G5
HPOUT1L
H6
HPOUT1R
G6
HPOUT2N
F9
HPOUT2P
F8
IN1LN
D7
IN1LP
C8
IN1RN
B7
IN1RP
C7
IN2LN/DMICDAT1
B9
IN2LP/VRXN
B8
IN2RN/DMICDAT2
A9
IN2RP/VRXP
A8
LDO1ENA
D4
LDO1VDD
E9
LDO2ENA
D5
LDO2VDD
D1
LINEOUT1N
C5
LINEOUT1P
B5
LINEOUT2N
C4
LINEOUT2P
B4
LINEOUTFB
A6
LRCLK1
E3
MCLK1
D3
MICBIAS1
A7
MICBIAS2
B6
REFGND
A5
SCLK
H1
SDA
F3
SPKGND1
A1
SPKGND2
C1
SPKMODE
A3
SPKOUTLN
B1
SPKOUTLP
A2
SPKOUTRN
C3
SPKOUTRP
B3
SPKVDD1
B2
SPKVDD2
C2
VMIDC
C9
VREFC
E6
U35
PJ3028B-3_BE 3
4
6
CN23
4.7uF
C84
SAI_SD_B
SAI_FS_A
PF6
PE2 SAI_MCLK_A
SAI_SCK_A
SAI_SD_A
Audio_INT
Open
Open
Audio
Audio
SAI_SDB
SAI_FSA
Audio_Int
SAI_SDA
SAI_SCKA
SAI_MCKA
SAI
Audio
SAI_MCLK_A
SAI_SD_B
SAI_FS_A
SAI_SCK_A
SAI_SD_A
Audio_INT
Operating range: 1.62<VDD<3.6V I2C address: 0x34
Jack out Green
Jack in blue
Audio_Out
Audio_In
64/83 UM2514 Rev 4

Figure 32. Audio

Schematic diagrams UM2514

Figure 33. LCD and SD card

10 22
LCD & SD Card
Title:
Size:
Reference: Sheet: ofA4
Revision:
Project: STM32G474E-EVAL
MB1397B04
01-NOV-18
G474E
Date:
-
Variant:
LCD & MICRO SD Card
PJS008-2003-1
1234567
8
SW29SW1
10
GND
13
GND
14
GND
12
11
CN28
3V3
HSP051-4M10
IO3
4
NC4
10
NC2
7
IO4
5
IO1
1
NC3
9
NC1
6
IO2
2
GND
8
GND
3
U46
100nF
C186
0RR216
600R@100MHz
L7
3V3
SB45
SB46
5V
600R@100MHz
L6
100nF
C132
10uF
C129
BSN20
1
2 3
G
SD Q1
4K7
R226
10K
R219
270R
R231
3V3
3V3
VDD
3V3
PB15
SN74LVC2T45DCUT
VccA
1
A1
2
A2
3
GND4DIR
5
B2
6
B1
7
VccB
8
U28
100nF
C69
100nF
C70
MCU_1V8/3V3
VDD 3V3
SPI_MOSI_3V3
100K
R222
VDD
PF9
SN74LVC2T45DCUT
VccA
1
A1
2
A2
3
GND4DIR
5
B2
6
B1
7
VccB
8
U26
100nF
C64
100nF
C65
MCU_1V8/3V3
VDD 3V3
VDD
SPI_SCK_3V3
100K
R218
VDD
100K
R287
3V3
270R
R220
100K
R233
SPI2_SCK SPI2_MISO SPI2_MOSI
LCD_CS
uSD_CS
SPI
SPI
LCD and MircoSD
SPI2_MOSI
SPI2_SCK
LCD_CS
SPI2_MISO
uSD_CS
SPI2_MOSI
SPI2_SCK
LCD_CS
SPI2_MISO
uSD_CS
MFX5
MFX13
PB14
PC9
PF8
SPI_MOSI_DIR
uSD_Detect
SPI_MOSI_DIR
SPI_MOSI_DIR
uSD_Detect
uSD_Detect
216208S141
VDD
1
VCI
2
GND
3
GND
4
BL_VDD
5
BL_Control
6
BL_GND
7
BL_GND
8
CN_B
CN24
Socket 4x2_LCD_PWR_MODULE_MB895C
216208S141
CS
1
SCL
2
SDI
3
RS
4
WR
5
RD
6
RESET
8
SDO
7
CN_A
CN20
Socket 4x2_LCD_IO_MODULE_MB895C
NRESET
Open drain pin!
Open drain pin!
LCD_SIG
LCD_PWR
uSD
ESDALC6V1-1U2
12
U52
UM2514 Schematic diagrams
UM2514 Rev 4 65/83
66/83 UM2514 Rev 4
11 22
RS232 & RS485
Title:
Size:
Reference: Sheet: ofA4
Revision:
Project: STM32G474E-EVAL
MB1397B04
01-NOV-18
G474E
Date:
-
Variant:
3V3
3V3
BOOTLOADER_BOOT0
BOOTLOADER_RST
PA9
PA10
RXD
TXD CTS
DSR
100nF
C57
100nF
C55
100nF
C58
100nF
C56
100nF
C54
RS232 & RS485 (USART1)
DB9-male USART1
3-1634580-2
1 6 2 7 3 8 4 9 5
MT1
MT2
CN11
ST3241EBPR
C2+
1
C2-
2
V-
3
R1IN
4
R2IN
5
R3IN
6
R4IN
7
R5IN
8
T1OUT
9
T2OUT
10
T3OUT
11
T3IN
12
T2IN
13
T1IN
14
R5OUT
15
R4OUT
16
R3OUT
17
R2OUT
18
R1OUT
19
R2OUTB
20
R1OUTB
21
nSHDN
22
nEN
23
C1-
24
GND
25
VCC
26
V+
27
C1+
28
U17
USART1_TX
USART1_RX
BOOT0
NRST
SN74LVC2T45DCUT
VccA
1
A1
2
A2
3
GND4DIR
5
B2
6
B1
7
VccB
8
U23
100nF
C61
100nF
C62
UART_TX LEVEL SHIFTER for MCU_1 V8 MCU_1V8/3V3
RS485_DIR_3V3
VDD 3V3
VDD
USART1_TX_3V3
100K
R202
100K
R201
VDD
10K
R213
120R
R192
22K
R190
22K
R191
SB39SB37
SB38
100nF
C60
3V3
3V3
RS485_DIR
USART1_TX_3V3
2
1
3
JP9
PD2
Open
SB40
USART
RS232 RS485
RO
1
RE
2
DE
3
DI4GND
5
A
6
B
7
VCC
8
U22
ST3485EBDR

Figure 34. RS232 and RS485

Schematic diagrams UM2514
12 22
FDCAN
Title:
Size:
Reference: Sheet: ofA4
Revision:
Project: STM32G474E-EVAL
MB1397B04
01-NOV-18
G474E
Date:
-
Variant:
120R
R165
JP2
100nF
C44
10K
R163
MCP2562FDT-H/SN
TXD
1
VSS
2
VDD
3
RXD4VIO
5
CANL
6
CANH
7
STBY
8
U10
5V
VDD
100nF
C40
FDCAN2_TX
FDCAN2_RX PB5
PB13
CAN2H
CAN2L
120R
R181
JP4
2x CAN FD
10K
R180
MCP2562FDT-H/SN
TXD
1
VSS
2
VDD
3
RXD4VIO
5
CANL
6
CANH
7
STBY
8
U15
5V
VDD
100nF
C52
FDCAN1_TX
FDCAN1_RX PB8
PB9
CAN1H
CAN1L
FDCAN1_RX
FDCAN1_TX
FDCAN
FDCAN2_RX
FDCAN2_TX
FDCAN1_TX
FDCAN1_RX
FDCAN2_TX
FDCAN2_RX
FDCAN
FDCAN
100nF
C53
Open
Open
Operating range: VDD>1.8V
header 2x1
1 2
CN12
header 2x1
1 2
CN10
CAN1
CAN2
ESDCAN03-2BWY
3
1
2
U16
ESDCAN03-2BWY
3
1
2
U13
UM2514 Rev 4 67/83

Figure 35. FDCAN

UM2514 Schematic diagrams
68/83 UM2514 Rev 4
13 22
Analog Interfaces
Title:
Size:
Reference: Sheet: ofA4
Revision:
Project:
STM32G474E-EVAL
MB1397B04
01-NOV-18
G474E
Date:
-
Variant:
100nF
C159
100nF
C158
SMB-ZJWE-3
RF
1
GND
2
GND
3
GND
4
GND
5
CN3
SMB-ZJWE-3
RF
1
GND
2
GND
3
GND
4
GND
5
CN8
DNF
SMB-ZJWE-3
RF
1
GND
2
GND
3
GND
4
GND
5
CN7
DNF
AGND
AGND
AGND
ADC_OUTP
ADC_OUTN
5V
AD8058ARMZ backup for hig h performance
1K
R302
51R
R19
AGND
1K
R304
1K
R307
1K
R308
33R
R310
1K
R303
1K
R306
1K
R301
1K
R305
33R
R152
100pF, 50V
C171
100pF, 50V
C35
AGND
AGND
AGND
AGND
AGND
AGND
TSH82IDT
V+
V-
3
2
1
4 8
U4A
TSH82IDT
5
6
7
U4B
Differential ADC
VREF_BIAS
VREF_BIAS
R105/C102 and R111/C103 must be as close as possible from the MCU pins
AIN
AIN+
AIN-
SB75
SB16
VDD
VDD
OpAmp4_INM
OpAmp4_VOUT
+
-
OpAmp4
STM32G4
VDD
Potentiometer
LDR
Comparator
OpAmp/ADC
STM32G4
Comp6 Comp6_OUT
Variable gain
Default setting: 1 <->2 from Potentio meter
100nF
C50
10K
13
2
RV2
8K2
R179
2
1
3
JP5
TP1
TP2
1K
R164
1K
R158
DNF
1K
R157
VINP
10K
13
2
RV1
GL5528
R174
HW18
Potentiometer/LDR
POT LDR
OPAMP4/COMP6_INP
OpAmp4_VOUT
OpAmp4_INM
OpAmp4_VOUT
OpAmp4_INM
PB12
PB10
Comp6_OUT
Comp6_OUT
PB11
PC6
VINP
DAC
0R
R154
Close to MCU on PCB
PA4
CN9
Two pin header for external analog input
0R
R153
100nF
C36
DNF
DAC connector
AGND
AGND
DAC
Iref<=6.5mA
AGND
LM4030AMF-2.5 Backup for high accuracy
270R
R111
AGND
VREF_BIAS
3V3
100nF
C28
TL1431ACL5T
35
Ref
4
NC
1
NC
2
U53
10K
R117
TS432AILT
23
Ref
1
U8
5V
180R
R318
47K
R124
10uF
C30
9013-SOT23
3
1
2
Q4
100pF
C181
VREF_EXT
100nF
C179
10K
R316
47K
R311
10uF
C180
SB102
SB22
AGND
ESDALC6V1-1U2
12
U9
AGND
ESDALC6V1-1BU2
12
U5
AGND
ESDALC6V1-1BU2
12
U7
AGND
ESDALC6V1-1BU2
12
U2
AGND
ESDALC6V1-1U2
1 2
U14
COMP
OA_OUT
Open

Figure 36. Analog interfaces

Schematic diagrams UM2514

Figure 37. Peripherals

14 22
Peripherals
Title:
Size:
Reference: Sheet: ofA4
Revision:
Project: STM32G474E-EVAL
MB1397B04
01-NOV-18
G474E
Date:
-
Variant:
3V3
LEDs
LED4
LED3
LED1
LED2
TAMPER_KEY
VDD
TAMPER & KEY BUTTON
100nF
C157
10K
R294
DNF
KSC721GLFS
13
4 2
B2
PC13
BLUE HAT
HW11
EXT_I2C
SSM-104-L-DH
1 2 3 4 5 6 7 8
CN1
VDD
EXT_RESET
PG9
MFX7
MFX6
From MFX
From MFX
PG8 PG7 MFX15
excl with WIFI wake-up
ESDALC6V1-1U2
1 2
U50
Curr=5mA, Lum=25%
Curr=5mA, Lum=25%
Curr=4mA, Lum=25%
Curr=2mA, Lum=25%
270R
R297
360R
R298
RED
LD3
GREEN
LD1
ORANGE
LD2
0R
R1
470R
R299
MT-008A
COMMON
5
CENTER
2
DOWN
3
LEFT
1
RIGHT
6
UP
4
6
2
1
4
3
MT7MT
8
B1
MFX2 MFX1 MFX3 MFX4
MFX0
JOYSTICK
JOY_SEL
JOY_LEFT JOY_DOWN JOY_RIGHT
JOY_UP
JOYSTICK
JOYSTICK
ESDA6V1-5SC6
I/O1
1
GND
2
I/O23I/O3
4
I/O4
5
I/O5
6
U49
Temperature sensor
PG8
VDD
VDD
PG6 PG7
100nF
C13
7K5
R14
0RR13
0R
R17
0R
R15
4K7
R16
BLUE
LD4 270RR300
PF11
BK_Sense
BK_Drive
PC8
PB11
With LPB1
5V
STPS1L40AY
D1
10R
R175
10K
R176
STL6N2VH5
3
6
8
G
S
D
1
2
5
7
4
T1
1nF
C49
33R
R172
100nF
C45
47uF
C41
1uF
C43
SB33
SB34
I2C3
I2C
I2C3_SDA I2C3_SCL
SDA
SCL
I2C3
I2C3_SDA I2C3_SCL
I2C3_SDA
I2C3_SCL
I2C3_SMBA
I2C3_SMBA
STTS751-0DP3F
Addr/Therm
4
GND
5
VDD
3
SCL
1
EVENT
2
SDA
6
U3
TP3
LE-CWC12100[D]
LD5
1R
R177
LPB-S01110101S-110 945
White
LPB
LPB1
LPB-S01110101S
82uH
L2
LED BUCK converter
Operating range: VDD>2.25V I2C address: 1001000
SB1
5V
USER
Joystick
EXT_I2C
consideration for heat dissipati on (350mA/1W)
USBLC6-2SC6
IO2
4
VBUS
5
IO16IO_1
1
GND
2
IO_2
3
U1
HB_LED
5V
JOYSTICK BLUE HAT
HW20
100nF should be place close to the MCU
UM2514 Schematic diagrams
UM2514 Rev 4 69/83
70/83 UM2514 Rev 4
15 22
Smart Card
Title:
Size:
Reference: Sheet: ofA4
Revision:
Project:
STM32G474E-EVAL
MB1397B04
01-NOV-18
G474E
Date:
-
Variant:
5V
SmartCard_IO
SmartCard_CLK
MFX12
MFX10
PC12
PC10
MFX11
MFX9
VDD>2.7V
MFX8
VDD
VDD
VDD
VDD
VDD
10K
R275
DNF
10K
R276
DNF
10K
R273
10K
R274
4K7
R291
47uF
C152
100nF
C153
100nF
C126
100nF
C127
47uF
C121
100nF
C155
100nF
C154
100K
R290
MFX_SmartCard_1V8
MFX_SmartCard_3/5V
MFX_SmartCard_OFF
MFX_SmartCard_RST MFX_SmartCard_CMDVCC
ST8024LACDR
CLKDIV1
1
CLKDIV2
2
5V/3V
3
PGND
4
C1+
5
Vddp
6
C1-
7
Vup
8
PRES
9
PRES
10
I/O
11
AUX2
12
AUX1
13
CGND14CLK
15
RST
16
Vcc
17
PORADJ
18
CMDVCC
19
RSTIN
20
Vdd
21
GND
22
OFF
23
XTAL1
24
XTAL2
25
I/OUC
26
AUX1UC
27
AUX2UC
28
U42
TP10 TP11
Smart Card
SmartCard_1V8 SmartCard_3/5V SmartCard_OFF SmartCard_CMDVCC SmartCard_RST
SmartCard
SmartCard
MFX_SmartCard_1V8 MFX_SmartCard_3/5V MFX_SmartCard_OFF
MFX_SmartCard_RST
MFX_SmartCard_CMDVCC
2480-208-503-100-RC
VCC
C1
RST
C2
CLK
C3
NC
C4
GND
C5
NC
C6
I/O
C7
NC
C8
S2
S1
CN31
ESDALC6V1-1U2
12
U44
Operating range: VDD>2.7V
EMIF03-SIM02M8
VCC
1
RSTin
2
CLKin
3
DATAin
4
RST ext
7
VCC
8
DATAext
5
CLKext
6
PAD
9
D10
Smart Card
AUX2 AUX1

Figure 38. Smartcard

Schematic diagrams UM2514

Figure 39. Motor control

16 22
Motor Control
Title:
Size:
Reference: Sheet: ofA3
Revision:
Project: STM32G474E-EVAL
MB1397B04
01-NOV-18
G474E
Date:
-
Variant:
3V3
3V3
5V
Motor control connector 1
PE15
PE9 PE8 PE11 PE10 PE13 PE12
PE5
PA0 PD4 PD7/PA15
PE14
PE4
PC4
3V3
3V3
5V
PB7
PC6 PC10 PC7 PC11 PC8 PC12
PF10
PF6 PF7 PF8/PD11
PC1
PD15
PE7
MC1_MC2_PFCsync
MC1_MC2_PFCsync
MC1_MC2_PFCpwm
MC1_MC2_PFCpwm
MC1_MC2_PFC_Ind
MC1_MC2_PFC_Ind
MC1_MC2_PFC_SD MC1_MC2_PFC_Vac
MC1_MC2_PFC_SD MC1_MC2_PFC_Vac
MC2_CurrentA+ MC2_CurrentB+ MC2_CurrentC+
MC1_CurrentA+ MC1_CurrentB+ MC1_CurrentC+
MC1_CurrentA+
MC1_CurrentB+
MC1_CurrentC+
+
-
OpAmp1
To ADC
+
-
OpAmp2
To ADC
3V3
3V3
3V3
3V3
3V3
3V3
+
-
OpAmp4
To ADC
+
-
OpAmp3
To ADC
MC2_CurrentA+
MC2_CurrentB+
MC2_CurrentC+
PE2 PE3
PD8
PD2 PD9
PC2
PC0
PC3
PD10
PD12
PD13
PA1
PA3
PA2
PA7
PD14
PC5
PA6
PB11
PB13
PB10
PB12
PB0
PB2
PB1
PA5
PA4
Motor control connector 2
Header 17x2 IDC34 MotorControl
EMERGENCY STOP
1
PWM_1H
3
PWM_1L
5
PWM_2H
7
PWM_2L
9
PWM_3H
11
PWM_3L
13
PHASE A CURRENT +
15
PHASE C CURRENT +
19
PHASE B CURRENT +
17
ICL shut out
21
DISSIPATIVE BRAKE
23
+5V POWER
25
PFC SYNC
27
PFC PWM
29
Encoder A
31
Encoder B
33
GND
2
GND
4
GND
6
GND
8
GND
10
GND
12
BUS VOLTAGE
14
PHASE A CURRENT -
16
PHASE B CURRENT -
18
PHASE C CURRENT -
20
GND
22
PFC Inductor current
24
Heatsink Temperature
26
3.3V Power
28
PFC Shut down
30
PFC Vac
32
Encoder Index
34
CN2
Header 17x2 IDC34 MotorControl
EMERGENCY STOP
1
PWM_1H
3
PWM_1L
5
PWM_2H
7
PWM_2L
9
PWM_3H
11
PWM_3L
13
PHASE A CURRENT +
15
PHASE C CURRENT +
19
PHASE B CURRENT +
17
ICL shut out
21
DISSIPATIVE BRAKE
23
+5V POWER
25
PFC SYNC
27
PFC PWM
29
Encoder A
31
Encoder B
33
GND
2
GND
4
GND
6
GND
8
GND
10
GND
12
BUS VOLTAGE
14
PHASE A CURRENT -
16
PHASE B CURRENT -
18
PHASE C CURRENT -
20
GND
22
PFC Inductor current
24
Heatsink Temperature
26
3.3V Power
28
PFC Shut down
30
PFC Vac
32
Encoder Index
34
CN4
100nF
C9
DNF
100nF
C3
DNF
SB2
10nF
C12
100nF
C10
DNF
100nF
C5
100nF
C7
100nF
C4
3K3
R9
1nF
C1
100nF
C2
DNF
100nF
C6
DNF
100nF
C8
DNF
3K3
R23
1nF
C16
100nF
C26
DNF
100nF
C24
DNF
100nF
C23
DNF
100nF
C42
DNF
100nF
C37
DNF
SB32
10nF
C38
100nF
C11
DNF
100nF
C39
DNF
100nF
C34
DNF
100nF
C31
DNF
100nF
C29
DNF
100nF
C22
SB14
SB19
9K1
R66
9K1
R51
9K1
R25
9K1
R20
9K1
R95
9K1
R122
MOTOR
MC1_PWM_1H MC1_PWM_1L MC1_PWM_2H MC1_PWM_2L MC1_PWM_3H MC1_PWM_3L
MC1_STOP
MC1_EnA MC1_EnB
MC1_EnIndex
MC1_MC2_PFCsync
MC1_MC2_PFCpwm
MC1_MC2_PFC_SD
MC1_ICL_SHUTOUT
MC1_DissipativeBrake
MC1_Temp
MC1_BusVoltage
MC1_MC2_PFC_Ind
MC1_MC2_PFC_Vac
MC2_STOP MC2_PWM_1H MC2_PWM_1L MC2_PWM_2H MC2_PWM_2L MC2_PWM_3H MC2_PWM_3L
MC2_EnA MC2_EnB
MC2_EnIndex
MC2_ICL_SHUTOUT
MC2_DissipativeBrake
MC2_Temp
MC2_BusVoltage
MC_DAC_OUT1 MC_DAC_OUT2
MC1_Ain
MC1_Bin MC1_Cin
MC2_Ain
MC2_Bin MC2_Cin
OPAMP1_INP
OPAMP1_INN OPAMP1_OUT OPAMP2_IN1P OPAMP2_IN2P
OPAMP2_INN OPAMP2_OUT OPAMP4_IN1P OPAMP4_IN2P
OPAMP4_INN OPAMP4_OUT
OPAMP3_INP
OPAMP3_INN OPAMP3_OUT
MOTOR
MC1_Temp
TIM1_BKIN TIM1_CH1 TIM1_CH1N TIM1_CH2 TIM1_CH2N TIM1_CH3 TIM1_CH3N TIM2_CH1 TIM2_CH2 TIM2_CH3 TIM2_ETR TIM3_CH1 TIM3_CH2 TIM3_ETR GPIO1 GPIO2 ADC2_IN5 ADC12_IN7 ADC4_IN12/5_IN12 ADC4_IN13/5_IN13
TIM8_BKIN TIM8_CH1 TIM8_CH1N TIM8_CH2 TIM8_CH2N TIM8_CH3 TIM8_CH3N TIM5_CH1 TIM5_CH2 TIM5_CH3 TIM5_ETR GPIO3 GPIO4 ADC3_IN4 ADC4_IN1
DAC1_OUT1 DAC1_OUT2 ADC12_IN8 ADC12_IN9 ADC12_IN6 ADC345_IN7 ADC345_IN9 ADC345_IN10
OPAMP1_VINP OPAMP1_VINM OPAMP1_VOUT OPAMP2_VINP OPAMP2_VINP OPAMP2_VINM OPAMP2_VOUT OPAMP4_VINP OPAMP4_VINP OPAMP4_VINM OPAMP4_VOUT OPAMP3_VINP OPAMP3_VINM
DUAL MOTOR
MC1_PWM_1H MC1_PWM_1L MC1_PWM_2H MC1_PWM_2L MC1_PWM_3H MC1_PWM_3L
MC1_STOP
MC1_PWM_1H MC1_PWM_1L MC1_PWM_2H MC1_PWM_2L MC1_PWM_3H MC1_PWM_3L
MC1_STOP
MC1_EnA MC1_EnB MC1_EnIndex
MC1_EnIndex
MC1_EnA MC1_EnB
MC1_MC2_PFCsync MC1_MC2_PFCpwm MC1_MC2_PFC_SD
MC1_ICL_SHUTOUT
MC1_DissipativeBrake MC1_ICL_SHUTOUT MC1_DissipativeBrake
MC1_Temp
MC1_BusVoltage
MC1_BusVoltage MC1_MC2_PFC_Ind MC1_MC2_PFC_Vac
MC2_PWM_1H MC2_PWM_1L MC2_PWM_2H MC2_PWM_2L MC2_PWM_3H MC2_PWM_3L
MC2_STOP
MC2_EnIndex
MC2_EnA MC2_EnB
MC2_STOP
MC2_EnIndex
MC2_PWM_1H MC2_PWM_1L MC2_PWM_2H MC2_PWM_2L MC2_PWM_3H MC2_PWM_3L
MC2_EnA
MC2_EnB
MC2_ICL_SHUTOUT
MC2_DissipativeBrake
MC2_ICL_SHUTOUT MC2_DissipativeBrake
MC2_Temp
MC2_BusVoltage
MC2_Temp MC2_BusVoltage
MC_DAC_OUT1
MC_DAC_OUT2
MC_DAC_OUT1 MC_DAC_OUT2
MC1_Ain
MC1_Bin
MC1_Cin
MC1_Ain MC1_Bin MC1_Cin MC2_Ain MC2_Bin MC2_Cin
MC2_Ain
MC2_Bin
MC2_Cin
OPAMP1_INP OPAMP1_INN OPAMP1_OUT OPAMP2_IN1P OPAMP2_IN2P OPAMP2_INN OPAMP2_OUT
OPAMP3_INP OPAMP3_INN OPAMP3_OUT
OPAMP4_IN1P OPAMP4_IN2P OPAMP4_INN OPAMP4_OUT
OPAMP1_INP
OPAMP1_INN
OPAMP1_OUT
OPAMP2_IN1P
OPAMP2_IN2P
OPAMP2_INN
OPAMP2_OUT
OPAMP4_IN1P
OPAMP4_IN2P
OPAMP4_INN
OPAMP4_OUT
OPAMP3_INP
OPAMP3_INN
OPAMP3_OUT
MS-22D16
5
4
6
2
3
1
SW1
SWITCH_MS-22D16
MS-22D16
5
4
6
2
3
1
SW4
SWITCH_MS-22D16
SS42D02
5
4
6
2
3
1
8
7
9
11
10
12
SW5
SWITCH_SS42D02
SS42D02
5
4
6
2
3
1
8
7
9
11
10
12
SW6
SWITCH_SS42D02
SS42D02
5
4
6
2
3
1
8
7
9
11
10
12
SW3
SWITCH_SS42D02
SS42D02
5
4
6
2
3
1
8
7
9
11
10
12
SW2
SWITCH_SS42D02
Default to 3V3
Default to 3V3
1K1R65
DNF
3K3
R67
DNF
0R
R61
0R
R31
0R
R91
0R
R72
0R
R119
0R
R99
0R
R103
0R
R64
0R
R55
0R
R52
0R
R58
0R
R110
0R
R114
0RR125
1K1
R56
DNF
3K3
R57
DNF
1K1
R32
DNF
3K3
R33
DNF
1K1
R106
DNF
3K3
R105
DNF
1K3
R59
1K3
R24
1K3
R22
1K3
R104
1K3
R115
1K3
R76
0RR3
0R
R5
0R
R7
0R
R10
0R
R12
0R
R2
0R
R4
0R
R6
0R
R8
0R
R11
0R
R21
0R
R86
0R
R92
0R
R100
0R
R77
0R
R18
0RR120
0R
R128
DNF
0R
R155
DNF
0R
R113
DNF
0R
R126
DNF
0R
R151
DNF
120pF
C21
120pF
C18
120pF
C15
120pF
C14
120pF
C25
120pF
C32
120pF
C19
DNF
120pF
C20
DNF
120pF
C17
DNF
120pF
C27
DNF
Dual Motor Control
3-phase voltage
MC1
MC2
CN32
DAC2
HW27
Closed
UM2514 Schematic diagrams
UM2514 Rev 4 71/83
OPAMP3_VOUT
72/83 UM2514 Rev 4
17 22
Extension Connectors
Title:
Size:
Reference: Sheet: ofA4
Revision:
Project: STM32G474E-EVAL
MB1397B04
01-NOV-18
G474E
Date:
-
Variant:
MCU EXTENSION CONNECTORS
PA[0..15]
PA[0..15]
PB[0..15]
PB[0..15]
PC[0..15]
PC[0..15]
PD[0..15]
PD[0..15]
PE[0..15]
PE[0..15]
PF[0..15]
PF[0..15]
PG[0..15]
PG[0..15]
D[0..15]
A[0..18]
FMC
FMC_NBL0 FMC_NBL1
FMC_NOE FMC_NWE
FMC_NE1
FMC_NWE
FMC_NOE
FMC_NE1
FMC_A[0..18] FMC_D[0..15]
FMC_NBL0 FMC_NBL1
FMC_A19 FMC_A20
FMC
A19 A20
QSPI
QSPI_BK1_IO1
QSPI_BK1_IO0
QSPI_CLK
QSPI_BK1_NCS
QSPI_BK1_IO2 QSPI_BK1_IO3
QSPI_BK2_IO1
QSPI_BK2_IO0
QSPI_BK2_IO2 QSPI_BK2_IO3
QSPI_BK2_NCS
QSPI
QSPI_BK1_IO0 QSPI_BK1_IO1 QSPI_BK1_IO2 QSPI_BK1_IO3
QSPI_BK1_NCS
QSPI_CLK
QSPI_BK2_IO0 QSPI_BK2_IO1 QSPI_BK2_IO2 QSPI_BK2_IO3
QSPI
QSPI_BK2_NCS
PC14 PC15
VDD
5V_D
VDD
5V_D
Left Right
5V 5V
FTR-130-03-L-D-LC (Samtec) TSW-130-07-G-DSamtec)
or FTR-130-53-L-D-LC (Samtec) ? or FTR-130-53-L-D-LC (Samtec) ?
SB87SB88
Header 30x2
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60
CN6
Header 30x2
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60
CN5
PC15_EPC14_E
PA0
PA1
PA4
PA5
PA8
PA9
PA10PA11
PA12 PA13
PA14
PA15
PB2
PB3 PB4 PB5 PB6
PB7
PB8PB9
PB10
PB11 PB12
PB13
PB14
PB15
PC0
PC5
PC6PC7PC8
PC9 PC10 PC11
PC12
PC13
PD2
PD6
PE2
PE5
PE6
PF6
PF8PF9
PF11
PG6PG7
PG8 PG9
D0D1
D2 D3 D4
D5
D6D7
D8D9
D10D11
D12
D13
D14
D15
A0
A1
A2
A3A4
A5
A6A7
A8
A9
A10A11
A12
A13
A14
A15
A16
A17A18
A19 A20FMC_NBL0
FMC_NBL1
FMC_NOE
FMC_NWE FMC_NE1
QSPI_BK1_IO0 QSPI_BK1_IO1 QSPI_BK1_IO2 Q SPI_BK1_IO3
QSPI_BK1_NCS
QSPI_CLK
QSPI_BK2_IO0
QSPI_BK2_IO1
QSPI_BK2_IO2
QSPI_BK2_IO3
QSPI_BK2_NCS
PE8
PE9PE10
PE11PE12
PE13PE14
PE15
PD0 PD1
PD4
PD5 PD7
PD8
PD9
PD10PD11
PD12PD13
PG0PG1
PG2
PG3
PG4
PG5
PF2
PF3PF4
PF5 PF7
PF10
PF12PF13
PF14
PF15
PE0
PE1
PE7
PE3 PE4
PD14PD15
PC1
PC2
PC3
PC4PB0
PB1
PA2
PA3
PA6PA7
PD3
PF1
SB81PF1_EPF0 SB82 PF0_E
NRST
820R
R309N RST_E
SB82 and SB81 close to PF0/PF1 for HSE accuracy SB88 and SB87 close to PC14/PC15 for LSE accuracy

Figure 40. Extension connector

Schematic diagrams UM2514

Figure 41. Debug connectors

18 22
Debug connector
Title:
Size:
Reference: Sheet: ofA4
Revision:
Project: STM32G474E-EVAL
MB1397B04
01-NOV-18
G474E
Date:
-
Variant:
10K R212 10K
R214
10K
R203
Trace connector JTAG connector
KEY
PA13 PA14 PB3 PA15 PB4
PE6 PE5 PE4 PE3 PE2
VDD
22RR188
ESDALC6V1W5
1
324
5
U24
Remove Pin7
TMS/SWDIO TCK/SWCLK TDO/SWO TDI TRST NRST
JTAG & TRACE
TRACE
TRACECLK
TRACED0
TRACED1
TRACED2
TRACED3
TRACE
TRACED3 TRACED2 TRACED1 TRACED0 TRACECLK
FTSH-110-01-L-DV-A
1 3 5 7 9 11 13 15 17 19
2 4 6
8 10 12 14 16 18 20
CN17
JTAG_TMS JTAG_TCK JTAG_TDO JTAG_TDI JTAG_TRST JTAG_HOST_NRST
TRST TDI TMS/SWDIO TCK/SWCLK
TDO/SWO NRST
TMS/SWDIO TCK/SWCLK TDO/SWO TDI NRST TRACECLK TRACED0 TRACED1 TRACED2 TRACED3
TST-110-01-G-D
1 3 5 7
9 11 13 15 17 19
2 4 6 8 10 12 14 16 18 20
CN14
0RR210
DNF
0R
R207
DNF
Only footprint with Cable: TC2050-IDC-NL
TC2050-IDC-NL 1 10 2 9 3 8 4 7 5 6
CN15
DNF
TMS/SWDIO
TCK/SWCLK
TDO/SWO
TDI
NRST TRST
ESDALC6V1W5
1
324
5
U20
JTMS-SWDIO
JTCK-SWCLK
JTDI
JTDO-SWO
JTRST
JTAG-SWD
JTAG-SWD
RESET
VDD
VDDVDD
VDD
VDD
10K
R195
DNF
10K
R186
DNF
10K
R197
DNF
10K
R184
DNF
10K
R183
DNF
10K
R200
DNF
22RR193 22R
R209
22R
R185
22R
R205
22R
R211
ESDALC6V1W5
1
324
5
U18
TAG
TRACE JTAG
UM2514 Schematic diagrams
UM2514 Rev 4 73/83
74/83 UM2514 Rev 4
19 22
Multi-Function Expander
Title:
Size:
Reference: Sheet: ofA3
Revision:
Project: STM32G474E-EVAL
MB1397B04
01-NOV-18
G474E
Date:
-
Variant:
MFX_IRQOUT
MFX_SWCLK
MFX_SWDIO
0RR232
PC7
100nF
C82
100nF
C80
100nF
C83
100nF
C98
one capacitor close to each MFX pins: VDD, VDD_1, VDD_2, VDD_3
10K
R234
47K
R224
DNF
10K
R225
DNF
100nF
C78
510R
R236
100nF
C77
Loop
MFX_IO5 MFX_IO6 MFX_IO7
MFX_IO13
MFX_IO15
VDD
VDD
VDD
Default I2C Address:1000010
VDD
0RR223
PA0_WAKEUP
TP6
NRST
BAT60JFILM
D7
PA0
STM32L152CCT6
MFX_V3
WAKEUP
2
NRST
7
TSC_XP/GPO0
10
TSC_XN/GPO1
11
TSC_YP/GPO2
12
TSC_YN/GPO3
13
USART_TX
21
USART_RX
22
SPARE
14
SWDIO
34
SWCLK
37
I2C_SCL
42
I2C_SDA
43
BOOT0
44
I2C_ADDR
45
IRQOUT
46
IDD_CAL/GPO4
3
IDD_SH0
4
IDD_SH1/GPO5
5
IDD_SH2/GPO6
6
IDD_MEAS
25
GPIO0
18
GPIO1
19
GPIO2
20
GPIO3
39
GPIO4
40
GPIO5
15
GPIO6
16
GPIO7
17
GPIO8
29
GPIO9
30
GPIO10
31
GPIO11
32
GPIO12
33
GPIO13
26
IDD_SH3/GPO7
38
GPIO14
27
GPIO15
28
IDD_VDD_MCU
41
VDD
1
VDDA
9
VDD_124VDD_236VDD_3
48
VSSA8VSS_123VSS_235VSS_3
47
U32
10K
R235
DNF
0R
R240
DNF
MFX I/O EXPANDER
MFX0 MFX_JO Y_SEL MFX1 MFX_JOY_DOWN MFX2 MFX_JOY_LEFT MFX3 MFX_JO Y_RIGHT MFX4 MFX_JO Y_UP MFX5 MFX_uSD_ Detect MFX6 MFX_LED2 MFX7 MFX_LED4 MFX8 MFX_SmartCard_1 V8 MFX9 MFX_SmartCard_3/5V MFX10 MFX_SmartCard_O FF MFX11 MFX_SmartCard_CMDVCC MFX12 MFX_SmartCard_RST MFX13 MFX_uSD_L CD_SPI2_DIR MFX14 NC MFX15 MFX_EXT_RST
0R
R243
0R
R239
Header 4x1
1 2 3 4
CN18
DNF
MFX_SWDIO
MFX_SWCLK
VDD
LIMITATIONS :
LED4 & EXT RESET exclusive to gether (MFX I/O 13)
0R
R245
VDD1
VDD1
VDD_MCU
Current direction
to MCU
differential amplifier
SH0 SH1 SH2
Shunts
decoupling capacitors close to TSZ122
IDD_MEAS
SH1_D SH2_DSH0_D
CAL_D
bypass
decoupling capacitors close to TSZ122
VDD1
VDD
VDD
5V
5V
New Parts
New Parts
CAL
MFX_aGPIO1
MFX_aGPIO1
T50_4 T50_6
AMP_VDD
AMP_5V
TSZ122IST
V+
V-
3
2
1
4 8
U38A
TSZ122IST
V+
V-
3
2
1
4 8
U39A
TSZ122IST
5
6
7
U38B
TSZ122IST
5
6
7
U39B
STT4P3LLH6
3
4
5
G
S
D
621
T2
STT4P3LLH6
3
4
5
G
S
D
621
T7
STT4P3LLH6
3
4
5
G
S
D
6
2
1
T4
STT4P3LLH6
3
4
5
G
S
D
6
2
1
T3
STT4P3LLH6
3
4
5
G
S
D
6
2
1
T6
STT4P3LLH6
3
4
5
G
S
D
6
2 1
T5
STT4P3LLH6
3
4
5
G
S
D
6
2 1
T8
100K
R228
100K
R230
100K
R229
100K
R242
100K
R241
1R
R227
2
1
3
JP13
0R
R267
100nF
C108
100nF
C119
100nF
C120
100nF
C110
11K
R271
300K
R260
300K
R265
1uF
C112
100R
R266
10K
R253
620R
R252
24R
R238
6K04
R270
6K04
R262
357K
R268
JOY_SEL
JOY_LEFT
JOY_DOWN
JOY_RIGHT JOY_UP
JOYSTICK
JOYSTICK
MFX_JOY_SEL MFX_JOY_DOWN MFX_JOY_LEFT
MFX_JOY_UP
MFX_JOY_RIGHT
MFX_JOY_SEL MFX_JOY_DOWN MFX_JOY_LEFT
MFX_JOY_UP
MFX_JOY_RIGHT
SmartCard_1V8 SmartCard_3/5V SmartCard_OFF SmartCard_CMDVCC SmartCard_RST
SmartCard
SmartCard
MFX_SmartCard_1V8 MFX_SmartCard_3/5V MFX_SmartCard_OFF
MFX_SmartCard_RST
MFX_SmartCard_CMDVCC
MFX_SmartCard_1V8 MFX_SmartCard_3/5V MFX_SmartCard_OFF
MFX_SmartCard_RST
MFX_SmartCard_CMDVCC
I2C3
I2C3_SDA I2C3_SCL
SDA SCL
I2C3
I2C3_SDA
I2C3_SCL
100nF
C111
MFX_aGPIO1
1uF
C76
4.7uF
C75
600R@100MHz
L3
IDD_MEAS
CAL
SH2
SH1
SH0
VDD_MCU
SB43
HW21
_
MFX CURRENT MEASUREMENT
IDD BYPASS
MFX
default :1-2

Figure 42. Multi function expander

Schematic diagrams UM2514
20 22
Board Power
Title:
Size:
Reference: Sheet: ofA4
Revision:
Project: STM32G474E-EVAL
MB1397B04
01-NOV-18
G474E
Date:
-
Variant:
BNX002-01
B
1
PSG
3
CB
2
CG1
4
CG2
5
CG3
6
L4
VIN_EXT
5V 3V3
DC10B
1
3
2
CN25
100nF
C147
220uF
C109
HW12
5V
5V_EXT
5V_D
5V_STLK
5V_USB_PD
5V Power Supply options
3V3 Supply
5V to 18V External supply
5V_USB_CHGR
BOARD POWER
4.7uF
C156 4.7uF
C149
100nF
C146
10K
R289
SB47
ST1L05CPU33R 3.3V 1.3A
EN
1
GND
2
VO
4
VO_SENSE
5
GND
EP
VI
6
NC
3
U47
Curr=5mA, Lum=25%
GREEN
LD6
VIN_EXT_CONN
GND_EXT_UNFILT
VIN_EXT_UNFILT
TP9
620R
R198
TP4
SB42
1V81V8_LDO
LD3985M18R
51
2
GND
3
4
BYPASS
INH
Vin Vout
U29
10nF
C74
1uF
C73
1uF
C79
1V8
3V3
VDD_ADJ
VDD ADJ Supply
SB48
TP8
4.7uF
C150
10K
R286
DNF
DNF
TP7
4.7uF
C151
5V
ST1L05BPUR
EN
1
GND
2
VO
4
ADJ
5
GND
EP
VI
6
PG
3
U48
Vout=1.22*(1+R1/R2)
R1
R2
20K
R292
VDD_ADJ [1.62V to 3.61V]
50K
13
2
RV3
10K2
R293
5V PWR
Shunt Fitted 1-2
1 2 3 4 5 6 7 8 9 10
JP12
CHGR
D5V E5V
U5V
STLK
5V Source
SMC30J18A
12
U43
PTC FUSE 2.6A
F1
15K
R251
82K
R247
22pF
C95
10uF
C124
10uF
C123
100nF
C125
22uF
C102
10K
R272
SMC30J5.0A
12
U33
VIN_EXT 5V_EXT
TP5
5V_EXT = 5.2V
4A
4A
4.7uH_4.2A
L5
ST1S41PHR
NC
5
VINA
1
EN
2
FB
3
AGND
4
SW
7
VINSW
6
PGND8PAD
9
U37
PSU
3V3
PG ADJ
1V8
UM2514 Rev 4 75/83

Figure 43. Power board

UM2514 Schematic diagrams
21 22
ST-LINK V3 SWD Module
Title:
Size:
Reference: Sheet: ofA3
Revision:
Project: STM32G474E-EVAL
MB1397B04
01-NOV-18
G474E
Date:
-
Variant:
GNDDetect
STLK_VCP_RX STLK_VCP_TX
T_SWCLK
T_SWDIO_IN T_SWDIO
T_SWO
T_NRST
3V3_STLK
LED_STLK
STLK_SWDIO STLK_SWCLK
T_PWR_EN
T_PWR_EXT
USB_DEV_HS_N USB_DEV_HS_P
3V3_STLK
USB_DEV_HS_N USB_DEV_HS_P
i
USB
Matched Net Lengths [Tolerance = 0.2mm]
Impedance Constraint [Min = 85.00 Max = 95.00 ]
i
USB
T_SWCLK T_SWO
T_SWDIO
T_NRSTGNDDetect
KEY
100nF
C141
10K
R280
10K
R278
2.2uF
C114
3K
R269
4K7
R282
4K7
R281
100nF
C148
NRST
LED_STLK
3V3_STLK
330R
R296
330R
R295
Header 4x1
1 2 3 4
CN27
DNF
3V3_STLK
25MHz
VDD4OUT
3
EN1GND
2
X1
10K
R288
USB_uB_105017-0001
VBUS
1
DM
2
DP
3
ID
4
GND
5
Shield
6
USB_Micro-B receptacle
Shield
7
Shield
8
Shield
9
EXP
10
EXP
11
CN21
USB_DEV_HS_CN_N USB_DEV_HS_CN_P
i
USB
i
USB
100RR285
100R
R284
100R
R187
LD_BICOLOR_CMS
21
4 3
Red
Green
LD8
I/Os
100pF, 50V
C81
header 2x1
1
2
CN29
DNF
ECMF02-2AMX6
GND
3
NC
4
D-5D-
2
D+6D+
1
U31
ESDALC6V1W5
1
3
2
4
5
U21
ESDALC6V1W5
1
3
2
4
5
U19
T_SWDIO_STDC
T_SWCLK_STDC
T_SWO_STDC
T_NRST_STDC
VCP_TX_STDC
VCP_RX_STDC
GNDDetect
VDD
VDD
ST-LINK
3V3_STLK
100nF
C130
100nF
C131
100nF
C140
3V3_STLK
100nF
C133
100nF
C134
100nF
C145
100nF
C128
100nF
C116
100nF
C144
100nF
C137
100nF
C138
100nF
C143
100nF
C139
3V3_STLK
1uF
C135
4.7uF
C113
100nF
C118
100nF
C117
100nF
C142
100nF
C136
Ceramic capacitor (Low ESR)
3V3_STLK
10K
R283
3V3_STLK
BAT60JFILMD3
100nF
C67
1uF
C68
LD3985M33R
51
2
GND
3
4
BYPASS
INH
Vin Vout
U27
BAT60JFILMD6
BAT60JFILM
D5
5V_EXT
5V_USB_PD
1uF
C66
5V_D
BAT60JFILM
D4
10nF
C71100nF
C63
5V
2K7
R277
4K7
R279
POWER
header 2x1
1
2
CN30
DNF
USB HS LED
STDC14 RECEIVER
NRST
pin2 = JTMS / pin1= JTCK
STLK_MCO
STLINK V3E SWD
STLINK V3E USB HS
ST-LINKV3E_SWD
T_VCC AIN/PA0
N3
T_NRST/PA6
P3
T_PWR_EN/PB0
R5
T_PWR_EXT/PB1
R4
USB_DEV_HS_N/PB14
R14
USB_DEV_HS_P/PB15
R15
STLK_MCO/PA8
F15
STLK_LED/PA10
D15
STLK_SWDIO/PA13
A15
STLK_SWCLK/PA14
A14
OSC_IN/PH0
G1
OSC_OUT/PH1
H1
NRST
J1
BOOT0
D6
PDR_ON
C6
STLK_VCP_RX/PG9
C10
STLK_VCP_TX/PG14
A7
T_SWCLK/PH6
M11
T_SWDIO_IN/PH7
N12
T_SWDIO_OUT/PF9
L2
T_SWO/PD2
D12
V12_OTGPHY
J14
REXT_OTGPHY
J15
GNDDetect/PG5
K13
HW_TYP_0/PI4
D4
HW_TYP_1/PI5
C4
T_SW_DIR/PA7
R3
U40A
ST-LINKV3E_SWD
VBAT
C1
VSSF9VSS
F8
VREF-
N1
VSSA
M1
VREF+
P1
VSS
H9
VSS
H10
VCAP2
F13
VSS
J6
VDD
K4
VDD
C5
VSS
J7
VCAP1
M10
VSS
J8
VDD
G13
VSS
J9
VSS
J10
VDD
N10
VDD
G3
VDDA
R1
VDD
C8
VDD
C7
VDD
F3
VDD
J12
VDD
C9
VSS
K6
VSS
K7
VSS
F10
VSS
G6
BYPASS-REG
L4
VDD
N8
VDD
N9
VDD
J13
VDD
H13
VSSG7VSS
G8
VSS
H6
VSS
H7
VSS
H8
VSS
K8
VSS
K9
VSS
K10
VSS
F12
VSS
D5
VSS
G2
VSS
M8
VSS
G9
VSS
G10
VSSM9VSS
G12
VSSD8VSSD7VSSF2VSS
H12
VSS
D9
VSSF6VSS
F7
U40B
2.2uF
C122
2.2uF
C115
ESDA7P60-1U1M
1 2
U34
5V ST-LINK
3.3V ST-LINK
T_SWCLK_STDC T_SWO_STDC
T_SWDIO_STDC
T_NRST_STDC VCP_TX_STDCVCP_RX_STDC
47R
R208
47R
R206
47R
R204
47R
R196
47R
R19422RR189
T_PWR_EN
10K
R217
RED
LD7
820R
R221
5V_STLK
100nF
C72
SB41
LED Curr=4mA, Lum=25%
JTMS-SWDIO JTCK-SWCLK JTDI JTDO-SWO JTRST
JTAG-SWD
JTAG-SWD
JTDI
JTCK-SWCLK
JTDO-SWO
JTMS-SWDIO
JTRST
JTCK-SWCLK JTDO-SWO
JTMS-SWDIO
5V_USB_CHGR
5V_USB_CHGR
5V_USB_CHGR
4.7uF
C89
STMPS2151STR
IN5OUT
1
GND
2
EN4FAULT
3
U25
100K
R215
JTDI47RR199
DNF
22R resistor must be as close as possible from the STDC14 connector
STDC14
COM
CURR OVER
ESDALC6V1W5
1
324
5
U45
STLK_SWDIO STLK_SWCLK
T_JTDI_STDC
T_JTDI_STDC
MIPI10 on STDC14 footprint
1 2 3 4 5 6 7 8
109
111312
14
CN16
VCP_TX VCP_RX
PA9 PA10
STLK_VCP_RXSTLK_VCP_TX
VCP_RX_STDC
VCP_TX_STDC
Must be on a border or the PCB.
76/83 UM2514 Rev 4

Figure 44. STLINK-V3E -SWD Module

Schematic diagrams UM2514
UM2514 STM32G474E-EVAL I/O Assignment

Appendix A STM32G474E-EVAL I/O Assignment

Pin Name

Table 41. STM32G474E-EVAL I/O Assignment

Double motor control
RockFish-EVAL
General purpose features
RockFish-EVAL
LQFP128
PE2 1 MC1|MC2_PFC_Sync_TIM3_CH1 Audio_SAI_MCLK_A || TRACECK
PE3 2 MC1|MC2_PFC_Pwm_TIM3_CH2
PE4 3 MC1_ICL-shut-out_GPIO
Audio_SAI_SD_B || FMC_A19 || TRACED0
Audio_SAI_FS_A || FMC_A20 || TRACED1
PE5 4 MC1_Dissipative_brake_GPIO TRACED2
PE6 5 - TRACED3
VBAT 6 - -
PC13 7 -
PC14­OSC32_IN
PC15­OSC32_OUT
8 - OSC32_IN
9 - OSC32_OUT
WKUP2, RTC_TAMP1, RTC_TS, RTC_OUT1
PF3 10 - FMC_A3
PF4 11 - FMC_A4
VSS_1 12 - -
VDD_1 13 - -
PF5 14 - FMC_A5
PF7 15 MC2_Encoder_B_TIM5_CH2 FMC_A1
PF8 16 MC2_Encoder Index_TIM5_CH3 uSD_CS
PF9 17 - uSD-LCD_SPI2_SCK
PF10 18 MC2_Dissipative_brake_GPIO FMC_A0
PF0-OSC_IN 19 - OSC_IN
PF1­OSC_OUT
20 - OSC_OUT
PG10-NRST 21 - NRST
PC0 22 MC1_Cin+_ADC12_IN6 USBPD_Vsense_ADC12_IN6
PC1 23 MC2_BUS_VOLTAGE_ADC12_IN7 QSPI_BK2_IO0
PC2 24 MC1_Ain+_ADC12_IN8 QSPI_BK2_IO1
UM2514 Rev 4 77/83
82
STM32G474E-EVAL I/O Assignment UM2514
Table 41. STM32G474E-EVAL I/O Assignment (continued)
Pin Name
LQFP128
PC3 25 MC1_Bin+_ADC12_IN9 QSPI_BK2_IO2
PF2 26 - FMC_A2
PA0 27 MC1_Encoder_A_TIM2_CH1 DIFF_ADC12_IN1 || MFX_IRQ_OUT
PA1 28 MC1_OPAMP1_VINP DIFF_ADC12_IN2
PA2 29 MC1_OPAMP1_VOUT QSPI_BK1_NCS
VSS_2 30 - -
VDD_2 31 - -
PA3 32
PA4 33 MC_DAC1_OUT1 DAC
PA5 34 MC_DAC1_OUT2 USBPD_FRSTX
PA6 35 MC1|MC2_OPAMP2_VOUT QSPI_BK1_IO3
PA7 36 MC1_OPAMP2_VINP QSPI_BK1_IO2
PC4 37 MC1_heatsink_temp_ADC2_IN5 QSPI_BK2_IO3
PC5 38 MC1|MC2_OPAMP2_VINM USBPD_Isense_ADC2_IN11
MC1_OPAMP1_VINM/ 1_VINP
Double motor control
RockFish-EVAL
General purpose features
RockFish-EVAL
QSPI_CLK
PB0 39 MC2_OPAMP3_VINP QSPI_BK1_IO1
PB1 40 MC2_OPAMP3_VOUT QSPI_BK1_IO0
PB2 41 MC2_OPAMP3_VINM USBPD_Discharge
VSSA 42 - -
VREF- [42] - -
VREF+ 43 - -
VREF+ 44 - -
VDDA 45 - -
VSS_3 46 - -
VDD_3 47 - -
PF11 48 - LED3
PF12 49 - FMC_A6
PF13 50 - FMC_A7
PF14 51 - FMC_A8
PF15 52 - FMC_A9
78/83 UM2514 Rev 4
UM2514 STM32G474E-EVAL I/O Assignment
Table 41. STM32G474E-EVAL I/O Assignment (continued)
Pin Name
Double motor control
RockFish-EVAL
General purpose features
RockFish-EVAL
LQFP128
PE7 53 MC2_heatsink_temp_ADC3_IN4 FMC_D4
PE8 54 MC1_PWM_TIM1_CH1N FMC_D5
PE9 55 MC1_PWM_TIM1_CH1 FMC_D6
PE10 56 MC1_PWM_TIM1_CH2N FMC_D7
PE11 57 MC1_PWM_TIM1_CH2 FMC_D8
PE12 58 MC1_PWM_TIM1_CH3N FMC_D9
PE13 59 MC1_PWM_TIM1_CH3 FMC_D10
PE14 60 MC1_BUS_VOLTAGE_ADC4_IN1 FMC_D11
PE15 61 MC1_PWM_TIM1_BKIN FMC_D12
PB10 62 MC1|MC2_OPAMP4_VINM OPAMP4_VINM
VSS_4 63 - -
VDD_4 64 - -
PB11 65 MC1|MC2_OPAMP4_VINP
OPAMP4_VINP || COMP6_INP || BK_sense
PB12 66 MC1|MC2_OPAMP4_VOUT OPAMP4_VOUT
PB13 67 MC2_OPAM4_VINP CAN2_TX
PB14 68 - uSD-LCD_SPI2_MISO
PB15 69 - uSD-LCD_SPI2_MOSI
PD8 70
MC1|MC2_PFC-inductor­current_ADC4_IN12/5_IN12
FMC_D13
PD9 71 MC1|MC2_PFC_VAC_ADC4_IN13/5_IN13 FMC_D14
PD10 72 MC2_Cin+_ADC345_IN7 FMC_D15
PD11 73 MC2_Encoder Index_TIM5_ETR FMC_A16
PD12 74 MC2_Bin+_ADC345_IN9 FMC_A17
PD13 75 MC2_Ain+_ADC345_IN10 FMC_A18
PD14 76 MC1|MC2_OPAMP2_VINP FMC_D0
PD15 77 MC2_ICL-shut-out_GPIO FMC_D1
VSS_5 78 - -
VDD_5 79 - -
PC6 80 MC2_PWM_TIM8_CH1 COMP6_OUT
UM2514 Rev 4 79/83
82
STM32G474E-EVAL I/O Assignment UM2514
Table 41. STM32G474E-EVAL I/O Assignment (continued)
Pin Name
LQFP128
PC7 81 MC2_PWM_TIM8_CH2 MFX_WAKEUP
PG0 82 - FMC_A10
PG1 83 - FMC_A11
PG2 84 - FMC_A12
PG3 85 - FMC_A13
PG4 86 - FMC_A14
PC8 87 MC2_PWM_TIM8_CH3 BK_Driver_TIM3_CH3
PC9 88 - LCD_CS
PA8 89 - Audio_SAI_SCK_A
PA9 90 - USBPD_DBCC1 || USART1_TX
PA10 91 - USBPD_DBCC2 || USART1_RX
PA11 92 - USB_DM
PA12 93 - USB_DP
VSS_6 94 - -
VDD_6 95 - -
Double motor control
RockFish-EVAL
General purpose features
RockFish-EVAL
PA13 96 - SWDIO-JTMS
PF6 97 MC2_Encoder A_TIM5_CH1 Audio_INT
PA14 98 - SWCLK-JTCK
PA15 99 MC1_Encoder_Index_TIM2_ETR JTDI
PC10 100 MC2_PWM_TIM8_CH1N SmartCard_IO_USART3_TX
PC11 101 MC2_PWM_TIM8_CH2N USBPD_Source_EN
PC12 102 MC2_PWM_TIM8_CH3N
PG5 103 - FMC_A15
PG6 104 - I2C3_SMBA
PG7 105 - I2C3_SCL
PG8 106 - I2C3_SDA
PG9 107 - LED1
PD0 108 - FMC_D2
PD1 109 - FMC_D3
80/83 UM2514 Rev 4
SmartCard_CLK_USART3_CK || USBPD_FRSTX
UM2514 STM32G474E-EVAL I/O Assignment
Table 41. STM32G474E-EVAL I/O Assignment (continued)
Pin Name
Double motor control
RockFish-EVAL
General purpose features
RockFish-EVAL
LQFP128
VSS_7 110 - -
VDD_7 111 - -
PD2 112 MC1|MC2_PFC_Shunt-Down_TIM3_ETR RS485_DIR
PD3 113 - QSPI_BK2_NCS
PD4 114 MC1_Encoder_B_TIM2_CH2 FMC_NOE
PD5 115 - FMC_NWE
PD6 116 - Audio_SAI_SD_A
PD7 117 MC1_Encoder_Index_TIM2_CH3 FMC_NE1
PB3 118 - JTDO-TRACESWO
PB4 119 - USBPD_CC2 || JTRST
PB5 120 - CAN2_RX
PB6 121 - USBPD_CC1
PB7 122 MC2_STOP_TIM8_BKIN USBPD_VCONN_EN2
PB8-BOOT0 123 - CAN1_RX || BOOT0
PB9 124 - CAN1_TX
PE0 125 - FMC_NBL0
PE1 126 - FMC_NBL1
VSS_8 127 - -
VDD_8 128 - -
UM2514 Rev 4 81/83
82
Revision history UM2514

Revision history

Date Revision Changes
8-Feb-2019 1 Initial version
18-Apr-2019 2
3-Jun-2019 3
10-Sep-2019 4

Table 42. Document revision history

Updated:
Section 5.16.3 with OPAMP1, 2 and 4 limitations
Updated:
Section 5.21.3 with MFX limitations
Updated:
Section 5.20 with external Flash memory reference
82/83 UM2514 Rev 4
UM2514
IMPORTANT NOTICE – PLEASE READ CAREFULLY
STMicroelectronics NV and its subsidiaries (“ST”) reserve the right to make changes, corrections, enhancements, modifications, and improvements to ST products and/or to this document at any time without notice. Purchasers should obtain the latest relevant information on ST products before placing orders. ST products are sold pursuant to ST’s terms and conditions of sale in place at the time of order acknowledgement.
Purchasers are solely responsible for the choice, selection, and use of ST products and ST assumes no liability for application assistance or the design of Purchasers’ products.
No license, express or implied, to any intellectual property right is granted by ST herein.
Resale of ST products with provisions different from the information set forth herein shall void any warranty granted by ST for such product.
ST and the ST logo are trademarks of ST. For additional information about ST trademarks, please refer to www.st.com/trademarks.All other product or service names are the property of their respective owners.
Information in this document supersedes and replaces information previously supplied in any prior versions of this document.
© 2019 STMicroelectronics – All rights reserved
UM2514 Rev 4 83/83
83
Loading...