UM2514 User manual · 6 2 7 3 8 4 9 5 mt1 mt2 cn11 st3241ebpr c2+ 1 c2-2 v-3 r1in 4 r2in 5 r3in 6...

83
September 2019 UM2514 Rev 4 1/83 1 UM2514 User manual Evaluation board with STM32G4xxQE MCU Introduction The STM32G474E-EVAL board is a complete demonstration and development platform for the STMicroelectronics Arm ® Cortex ® -M4 core-based STM32G474QET6U microcontroller. 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 Kbytes of internal SRAM, 32 Kbytes of CCM SRAM, 512 Kbytes of 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. Pictures are not contractual. Figure 1. STM32G474E-EVAL top view Figure 2. STM32G474E-EVAL bottom view www.st.com

Transcript of UM2514 User manual · 6 2 7 3 8 4 9 5 mt1 mt2 cn11 st3241ebpr c2+ 1 c2-2 v-3 r1in 4 r2in 5 r3in 6...

Page 1: UM2514 User manual · 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

September 2019 UM2514 Rev 4 1/83

1

UM2514User manual

Evaluation board with STM32G4xxQE MCU

Introduction

The STM32G474E-EVAL board is a complete demonstration and development platform for the STMicroelectronics Arm® Cortex®-M4 core-based STM32G474QET6U microcontroller. 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 Kbytes of internal SRAM, 32 Kbytes of CCM SRAM, 512 Kbytes of 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.

Pictures are not contractual.

Figure 1. STM32G474E-EVAL top view Figure 2. STM32G474E-EVAL bottom view

www.st.com

Page 2: UM2514 User manual · 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

Contents UM2514

2/83 UM2514 Rev 4

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

Page 3: UM2514 User manual · 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

UM2514 Rev 4 3/83

UM2514 Contents

5

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

Page 4: UM2514 User manual · 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

Contents UM2514

4/83 UM2514 Rev 4

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

Page 5: UM2514 User manual · 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

UM2514 Rev 4 5/83

UM2514 Contents

5

7 Schematic diagrams . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56

Appendix A STM32G474E-EVAL I/O Assignment . . . . . . . . . . . . . . . . . . . . . . . . 77

Revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82

Page 6: UM2514 User manual · 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

List of tables UM2514

6/83 UM2514 Rev 4

List of tables

Table 1. List of available products . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10Table 2. Codification explanation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11Table 3. Setting of configuration elements for trace connector CN17 . . . . . . . . . . . . . . . . . . . . . . . 17Table 4. Setting of configuration I/Os for PE2, PE3, PE4 and PE5 . . . . . . . . . . . . . . . . . . . . . . . . . 18Table 5. Power supply related jumper and solder bridge settings . . . . . . . . . . . . . . . . . . . . . . . . . . 21Table 6. X3 crystal related solder bridge settings. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22Table 7. X2 crystal related solder bridge settings. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22Table 8. Boot selection switch . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23Table 9. Configuration PA10 of STM32G474QET6U terminals . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25Table 10. Motor control CN2 terminal and function assignment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26Table 11. Motor control CN4 terminal and function assignment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27Table 12. Motor control OpAmp and DAC function assignment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30Table 13. Motor control related switches and solder bridges . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31Table 14. Motor control related switches and solder bridges . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32Table 15. Port assignment for control of physical input devices. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35Table 16. Configuration elements related with OpAmp4 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35Table 17. Configuration elements related with Comp4. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36Table 18. Configuration elements related with VREF+. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37Table 19. MFX signals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39Table 20. IDD measurement related jumper settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40Table 21. TFT LCD connector CN20 and CN24. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40Table 22. Dead battery related jumpers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42Table 23. Connection between ST8024L and STM32F091VCT6 . . . . . . . . . . . . . . . . . . . . . . . . . . . 43Table 24. EXT_I2C connector CN1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44Table 25. Motor control connector CN2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44Table 26. Motor control connector CN4 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45Table 27. SMB connector . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46Table 28. Analog input-output connector CN9 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47Table 29. CAN connector CN10 or CN12. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47Table 30. RS-232/RS-485 D-sub connector CN11. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47Table 31. JTAG debugging connector CN14 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48Table 32. TAG debugging connector CN15 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48Table 33. STDC14 debugging connector CN16 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49Table 34. Trace debugging connector CN17 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49Table 35. Type-C signals connector CN19. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50Table 36. USB Micro-B connector CN21 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51Table 37. USB Type C connector CN22. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52Table 38. Audio Jack Connector CN26 (on board) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53Table 39. MicroSD connector CN28 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54Table 40. Smartcard connector CN31 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55Table 41. STM32G474E-EVAL I/O Assignment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77Table 42. Document revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82

Page 7: UM2514 User manual · 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

UM2514 Rev 4 7/83

UM2514 List of figures

7

List of figures

Figure 1. STM32G474E-EVAL top view . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1Figure 2. STM32G474E-EVAL bottom view . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1Figure 3. Hardware block diagram. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13Figure 4. STM32G474E-EVAL Evaluation board layout (top view) . . . . . . . . . . . . . . . . . . . . . . . . . . 14Figure 5. STM32G474E-EVAL Evaluation board layout (bottom view) . . . . . . . . . . . . . . . . . . . . . . . 15Figure 6. STM32G474E-EVAL Evaluation board mechanical dimensions (top view) . . . . . . . . . . . . 16Figure 7. PCB top side rework for motor control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33Figure 8. PCB bottom side rework for motor control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33Figure 9. I2C EXT connector CN2 (front view) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44Figure 10. Motor control connector CN2 and CN4 (top view) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44Figure 11. SMB connector (front view) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46Figure 12. Analog input-output connector CN9 (top view) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46Figure 13. CAN connector CN10 or CN12 (front view) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47Figure 14. RS232 and RS485 connector CN11 (front view) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47Figure 15. JTAG debugging connector CN14 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48Figure 16. STDC14 debugging connector CN16 (top view). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49Figure 17. Trace debugging connector CN17 (top view) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49Figure 18. Type-C signals connector CN19 (top view) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50Figure 19. USB Micro-B connector CN21 (front view) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51Figure 20. USB Type C connector CN22 (front view) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51Figure 21. Stereo headset with microphone jack CN26. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52Figure 22. Power supply connector CN25 (front view) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53Figure 23. microSD connector CN28 (front view) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54Figure 24. Smartcard connector CN31 (top view) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55Figure 25. MB1397_TOP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57Figure 26. STM32 microcontroller I/Os . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58Figure 27. STM32 microcontroller power . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59Figure 28. USB_PD . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60Figure 29. USB-TYPEC_CON . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61Figure 30. FMC memory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62Figure 31. QSPI memory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63Figure 32. Audio. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64Figure 33. LCD and SD card . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65Figure 34. RS232 and RS485 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66Figure 35. FDCAN . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67Figure 36. Analog interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68Figure 37. Peripherals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69Figure 38. Smartcard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70Figure 39. Motor control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71Figure 40. Extension connector . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72Figure 41. Debug connectors. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73Figure 42. Multi function expander. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74Figure 43. Power board . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75Figure 44. STLINK-V3E -SWD Module . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76

Page 8: UM2514 User manual · 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

Features UM2514

8/83 UM2514 Rev 4

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

Page 9: UM2514 User manual · 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

UM2514 Rev 4 9/83

UM2514 Features

82

-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.

Page 10: UM2514 User manual · 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

Ordering information UM2514

10/83 UM2514 Rev 4

2 Ordering information

To order the STM32G4x4E-EVAL Evaluation board, refer to Table 1. Additional information is available in the datasheet and reference manual of the targeted STM32.

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.

Table 1. List of available products

Order code Board reference Target STM32 Differentiating feature

STM32G474E-EVAL

MB1397STM32G474QET6U

-

STM32G474E-EVAL1Motor-control configuration

board

STM32G484E-EVAL STM32G484QET6U Cryptography

Page 11: UM2514 User manual · 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

UM2514 Rev 4 11/83

UM2514 Ordering information

82

2.2 Codification

The meaning of the codification is explained in Table 2.

The order code is mentioned on a sticker placed on the top side of the board.

Table 2. Codification explanation

STM32XXYYYZ-EVAL(T) Description Example: STM32G484E-EVAL

XXMCU series in STM32 Arm Cortex MCUs

STM32G4 Series

YY

MCU product line in the series

– G474: basic security

– G484: cryptography

STM32G484

ZSTM32 Flash memory size, E for 512 Kbytes

512 Kbytes

T

Evaluation board configuration:

– EVAL: basic

– EVAL1: with motor-control configuration board

Basic

Page 12: UM2514 User manual · 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

Development environment UM2514

12/83 UM2514 Rev 4

3 Development environment

3.1 System requirements

• Windows® OS (7, 8 and 10), Linux® 64-bit or macOS®(a)

• USB Type-A to Micro-B cable

3.2 Development toolchains

• Keil® MDK-ARM(b)

• IAR™ EWARM(b)

• GCC-based IDEs

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.

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

Page 13: UM2514 User manual · 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

UM2514 Rev 4 13/83

UM2514 Hardware layout and configuration

82

5 Hardware layout and configuration

The STM32G474E-EVAL board is designed around STM32G474QET6U target microcontroller in TQFP 128-pin package. Figure 3 illustrates the connections of the 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

Page 14: UM2514 User manual · 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

Hardware layout and configuration UM2514

14/83 UM2514 Rev 4

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

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 connector

CN19 Type-C SIG

JP12 5V source

CN2 Motor control connector 1

CN1 EXT_I2C connector

CN12 CAN1

CN4 Motor control connector 2

CN10 CAN2

CN32 DAC2

CN18 MFX

CN27 ST-LINK SWD

CN25 Power Jack

CN7 AIN+CN8 AIN-

LD6 5V LED

RV3 VDD ADJ

LD5 HB LED

CN9 DAC

Page 15: UM2514 User manual · 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

UM2514 Rev 4 15/83

UM2514 Hardware layout and configuration

82

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

CN31 Smartcard

Page 16: UM2514 User manual · 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

Hardware layout and configuration UM2514

16/83 UM2514 Rev 4

Figure 6 provides the mechanical dimensions of the STM32G474E-EVAL board.

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

Page 17: UM2514 User manual · 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

UM2514 Rev 4 17/83

UM2514 Hardware layout and configuration

82

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. Section 5.3: 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.

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.

Table 3 shows the setting of configuration elements to shunt PE3 and PE4 MCU ports to CN17 connector, to use them as debug trace signals.

Table 4 shows the setting of configuration I/Os to shunt PE2, PE3, PE4 and PE5 MCU ports to use them as the right functions.

Table 3. Setting of configuration elements for trace connector CN17

Element Setting Configuration

R210open

Default setting.

CN17 pin 14 connects to TRACED0.

closed CN17 pin 14 connects to JTAG_TDO.

R207open

Default setting.

CN17 pin 16 connects to TRACED1.

closed CN17 pin 16 connects to JTAG_TRST.

Page 18: UM2514 User manual · 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

Hardware layout and configuration UM2514

18/83 UM2514 Rev 4

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

Default setting.

PE2 connects to TRACECLK.

R147 out

SB111 closed

SB103 open

Default setting.

PE2 connects to SAI_MCLK_A.

R147 out

SB111 open

SB103 closed

PE2 connects to MC1|MC2_PFC_Sync.

R145

SB110

SB118

R146

R145 in

SB110 open

SB118 open

R146 out

Default setting.

PE3 connects to TRACED0.

R145 out

SB110 closed

SB118 open

R146 out

Default setting.

PE3 connects to SAI_SD_B.

R145 out

SB110 open

SB118 closed

R146 out

PE3 connects to MC1|MC2_PFC_pwm.

R145 out

SB110 open

SB118 open

R146 in

Default setting.

PE3 connects to memory address line A19.

R144

SB107

SB109

R143

R144 in

SB107 open

SB109 open

R143 out

Default setting.

PE4 connects to TRACED1.

R144 out

SB107 closed

SB109 open

R143 out

Default setting.

PE4 connects to SAI_FS_A.

R144 out

SB107 open

SB109 closed

R143 out

PE4 connects to MC1_ICL_SHUTOUT.

R144 out

SB107 open

SB109 open

R143 in

Default setting.

PE4 connects to memory address line A20.

Page 19: UM2514 User manual · 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

UM2514 Rev 4 19/83

UM2514 Hardware layout and configuration

82

Warning: Generally we have one default setting for best performance 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).

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 V DC power inputs can be used, upon appropriate 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).

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.

Table 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 V or with

SB28

SB97

SB28 closed

SB97 open

Default setting.

PE5 connects to TRACED2

SB28 open

SB97 closedPE5 connects to MC1_DissipativeBrake

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

Element Setting Configuration

Page 20: UM2514 User manual · 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

Hardware layout and configuration UM2514

20/83 UM2514 Rev 4

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 mA. It is enough because only STLINK-V3E part of the 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 mA. If the answer is positive, the STLINK-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 mA. In such an event, the LD7 LED 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 Table 5: Power supply related jumper and solder bridge settings. STLINK-V3E bypasses STMPS2151 power regardless of enumeration procedure result and passes the power unconditionally to the board.

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.

Page 21: UM2514 User manual · 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

UM2514 Rev 4 21/83

UM2514 Hardware layout and configuration

82

Table 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

setting Configuration

JP12

Power source selector

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 CN25 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

Default setting.

Vbat is connected to VDD.

Vbat is connected to battery.

JP6

VDDA connection

VDDA terminal of STM32G474QET6U is connected with VDD_MCU.

Default setting.

VDDA terminal of STM32G474QET6U is connected to 3.3 V.

JP11

VDD_MCU connection

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.

Page 22: UM2514 User manual · 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

Hardware layout and configuration UM2514

22/83 UM2514 Rev 4

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

Solder bridge

Setting Configuration

SB88

OpenDefault setting.

PC14 OSC32_IN terminal is not routed to extension connector CN5. X3 is used as clock reference.

ClosedPC14 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.

SB87

OpenDefault setting.

PC15 OSC32_OUT terminal is not routed to extension connector CN5. X3 is used as clock reference.

ClosedPC15 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

Solder bridge

Setting Configuration

SB82

openDefault setting.

PF0 OSC_IN terminal is not routed to extension connector CN5. X2 is used as clock reference.

closedPF0 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.

SB81

openDefault setting.

PF1 OSC_OUT terminal is not routed to extension connector CN5. X2 is used as clock reference.

closedPF1 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.

Page 23: UM2514 User manual · 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

UM2514 Rev 4 23/83

UM2514 Hardware layout and configuration

82

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.

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.

Table 8. Boot selection switch

Switch Setting Description

SW7

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.

Page 24: UM2514 User manual · 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

Hardware layout and configuration UM2514

24/83 UM2514 Rev 4

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 Table 4. The following limitations apply in using the audio features:

• 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.

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. Table 9 shows the 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.

Page 25: UM2514 User manual · 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

UM2514 Rev 4 25/83

UM2514 Hardware layout and configuration

82

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 V to 3.6 V.

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.

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.

Table 9. Configuration PA10 of STM32G474QET6U terminals

JP9

USART1_RX connection

USART1_RX is connected to RS-232 RXD of transceiver.

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.

JP10

VCP_RX connection

Default setting.

VCP_RX is connected to STLINK-V3E STLK_VCP_TX.

VCP_RX is not connected to STLINK-V3E STLK_VCP_TX.

Page 26: UM2514 User manual · 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

Hardware layout and configuration UM2514

26/83 UM2514 Rev 4

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. Table 10 and Table 11 show the assignment of CN2 and CN4 of the STM32G474QET6U terminals.

Table 10 and Table 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

STM32G474QET6 microcontroller

TerminalTerminal

namePort

nameFunction

Alternate

functionBoard modifications for enabling motor control

1Emergency Stop

PE15 TIM1_BKIN - Close SB69, and remove R60

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

15PhaseA current+

PC2 ADC12_IN8 -Close SB113, and remove R133

16PhaseA current-

- GND - -

17PhaseB current+

PC3 ADC12_IN9 -Close SB114, and remove R131

18PhaseB current-

- GND - -

19PhaseC current+

PC0 ADC12_IN6 - Close SB99, and open SB29

20PhaseC current-

- GND - -

21 ICL Shutout PE4 GPIO -Close SB109, and open SB107(1)

Page 27: UM2514 User manual · 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

UM2514 Rev 4 27/83

UM2514 Hardware layout and configuration

82

22 GND - GND - -

23Dissipative Brake

PE5 GPIO - Close SB97, and open SB28(1)

24PFC ind. current

PD8 ADC45_IN12 -Close SB55, remove R34, solder R5, and remove R113

25 +5 V - +5 V - -

26Heatsink Temp.

PC4 ADC2_IN5 -Close SB100, and remove R116

27 PFC Sync PE2 TIM3_CH1 -Close SB103, open SB111(1), solder R8, and remove R126

28 +3.3 V - +3.3 V - -

29 PFC PWM PE3 TIM3_CH2 -Close SB118, open SB110, solder R11, and remove R151

30PFC Shutdown

PD2 TIM3_ETR -Solder SB17, and remove SB123

31 Encoder A PA0 TIM2_CH1 - Close SB98, and open SB26

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

34Encoder Index

PD7 or

PA15

TIM2_CH3 or

TIM2_ETR-

Close SB92, remove R101 or close SB62, and remove R54

Table 11. Motor control CN4 terminal and function assignment

Motor control connector CN4

STM32G474QET6 microcontroller

TerminalTerminal

namePort

nameFunction

Alternate

functionBoard modifications for enabling motor control

1Emergency Stop

PB7 TIM8_BKIN - -

2 GND - GND - -

3 PWM_1H PC6 TIM8_CH1 - Close SB49, and open SB9(1)

4 GND - GND - -

5 PWM_1L PC10 TIM8_CH1N - Close SB64, and open SB12(1)

6 GND - GND - -

7 PWM_2H PC7 TIM8_CH2 - Close SB50, and open SB6(1)

Table 10. Motor control CN2 terminal and function assignment (continued)

Motor control connector CN2

STM32G474QET6 microcontroller

TerminalTerminal

namePort

nameFunction

Alternate

functionBoard modifications for enabling motor control

Page 28: UM2514 User manual · 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

Hardware layout and configuration UM2514

28/83 UM2514 Rev 4

8 GND - GND - -

9 PWM_2L PC11 TIM8_CH2N - Close SB68, and open SB13(1)

10 GND - GND - -

11 PWM_3H PC8 TIM8_CH3 -Close SB51, and remove R26(1)

12 GND - GND - -

13 PWM_3L PC12 TIM8_CH3N - Close SB66, and open SB15(1)

14 Bus Voltage PE14 ADC4_IN1 - Close SB72, and remove R62

15PhaseA current+

PD13 ADC345_IN10 - Close SB60, and remove R41

16PhaseA current-

- GND - -

17PhaseB current+

PD12 ADC345_IN9 - Close SB59, and remove R42

18PhaseB current-

- GND - -

19PhaseC current+

PD10 ADC345_IN7 - Close SB57, and remove R38

20PhaseC current-

- GND - -

21 ICL Shutout PD15 GPIO - Close SB61, and remove R40

22 GND - GND - -

23Dissipative Brake

PF10 GPIO -Close SB112, and remove R136(1)

24PFC ind. current

PD8 ADC45_IN12 -Close SB55, remove R34, solder R113, and remove R5

25 +5 V - +5 V - -

26Heatsink Temp.

PE7 ADC3_IN4 - Close SB83, and remove R84

27 PFC Sync PE2 TIM3_CH1 -Close SB103, open SB111(1), solder R126, and remove R8

28 +3.3 V - +3.3 V - -

29 PFC PWM PE3 TIM3_CH2 -Close SB118, open SB110, solder R151, and remove R11

30PFC Shutdown

PD2 TIM3_ETR - Solder R128, and remove R10

31 Encoder A PF6 TIM5_CH1 - Close SB52, and remove R43

Table 11. Motor control CN4 terminal and function assignment (continued)

Motor control connector CN4

STM32G474QET6 microcontroller

TerminalTerminal

namePort

nameFunction

Alternate

functionBoard modifications for enabling motor control

Page 29: UM2514 User manual · 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

UM2514 Rev 4 29/83

UM2514 Hardware layout and configuration

82

32 PFC Vac PD9 ADC45_IN13 -Close SB56, remove R37, solder R155, and remove R12

33 Encoder B PF7 TIM5_CH2 -Close SB108, and remove R138

34Encoder Index

PF8 or

PD11

TIM5_CH3 or

TIM5_ETR-

Close SB106, remove R135 or close SB58, and remove R39

1. For quality purpose, remove the unused components located on the board.

Table 11. Motor control CN4 terminal and function assignment (continued)

Motor control connector CN4

STM32G474QET6 microcontroller

TerminalTerminal

namePort

nameFunction

Alternate

functionBoard modifications for enabling motor control

Page 30: UM2514 User manual · 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

Hardware layout and configuration UM2514

30/83 UM2514 Rev 4

Table 12 shows OpAmp and DAC of the STM32G474QET6U terminals.

Table 13 and Table 14 show motor control related switches and solder bridges.

Table 12. Motor control OpAmp and DAC function assignment

Motor control connector CN2

STM32G474QET6 microcontroller

Terminal Terminal namePort

nameFunction

Alternate

functionBoard modifications for enabling motor control

1 OPAMP1_INP PA1 OPAMP1_VINP -Close SB95, and open SB27

2 OPAMP1_INN PA3 OPAMP1_VINM -Close SB105, and remove R129

3 OPAMP1_OUT PA2 OPAMP1_VOUT -Close SB117, and remove R150

4 OPAMP2_IN1P PA7 OPAMP2_VINP -Close SB101, and remove R118

5 OPAMP2_IN2P PD14 OPAMP2_VINP -Close SB70, and remove R29

6 OPAMP2_INN PC5 OPAMP2_VINM - -

7 OPAMP2_OUT PA6 OPAMP2_VOUT -Close SB104, and remove R121

8 OPAMP4_IN1P PB11 OPAMP4_VINP -Close SB67, and open SB8

9 OPAMP4_IN2P PB13 OPAMP4_VINP -Close SB63, and open SB5

10 OPAMP4_INN PB10 OPAMP4_VINM -Close SB71, and open SB11

11 OPAMP4_OUT PB12 OPAMP4_VOUT -Close SB65 and open SB7

12 OPAMP3_INP PB0 OPAMP3_VINP -Close SB94, and remove R108

13 OPAMP3_INN PB2 OPAMP3_VINM -Close SB80, and open SB18

14 OPAMP3_OUT PB1 OPAMP3_VOUT -Close SB91, and remove R102

15 DAC_OUT1 PA4 DAC1_OUT1 -Close SB93, and open SB25

16 DAC_OUT2 PA5 DAC1_OUT2 - -

Page 31: UM2514 User manual · 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

UM2514 Rev 4 31/83

UM2514 Hardware layout and configuration

82

Table 13. Motor control related switches and solder bridges

OAM Position

Other conditions Description

SW5

R72,R58 mounted

SB14 open

MC1_CurrentA+ connect to OPAMP1_INP(PA1)

MC1_CurrentB+ connect to OPAMP2_IN1P(PA7)

72,R58 un-mounted

SB14 closedMC1_CurrentB+ connect to OPAMP1_INP(PA1)

SW1 position

MC1_CurrentC+ connect to OPAMP2_IN2P(PD14)

SW1 position

MC1_CurrentC+ connect to OPAMP4_IN1P(PB11)

SW5

-

MC1_CurrentA+ connect to ADC12(PC2)

MC1_CurrentB+ connect to ADC12(PC3)

MC1_CurrentC+ connect to ADC12(PC0)

SW6

R110,R114 mounted

SB19 open

MC2_CurrentA+ connect to OPAMP3_INP(PB0)

MC2_CurrentB+ connect to OPAMP4_IN2P(PB13)

R110,R114 un-mounted

SB19 closedMC2_CurrentB+ connect to OPAMP3_INP(PB0)

SW1 position

MC2_CurrentC+ connect to OPAMP4_IN1P(PB11)

SW1 position

MC2_CurrentC+ connect to OPAMP2_IN2P(PD14)

SW6

-

MC2_CurrentA+ connect to ADC345(PD10)

MC2_CurrentB+ connect to ADC345(PD12)

MC2_CurrentC+ connect to ADC345(PD13)

Page 32: UM2514 User manual · 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

Hardware layout and configuration UM2514

32/83 UM2514 Rev 4

5.11.1 Board modifications to enable motor control

Figure 7 (top side) and Figure 8 (bottom side) illustrate the board modifications listed in Table 10 and Table 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.

Table 14. Motor control related switches and solder bridges

PGM Position Other conditions Description

SW2

-OPAMP1_INP,OPAMP2_IN1P,OPAMP2_IN2P pull up source connect to 3.3 V power

SW2

SW4 positionOPAMP1_INP, OPAMP2_IN1P,OPAMP2_IN2P pull up source connect to DAC_OUT1(PA4)

SW4 position OPAMP1_INP, OPAMP2_IN1P pull up source connect to DAC_OUT1(PA4)

OPAMP2_IN2P pull up source connect to DAC_OUT2(PA5)

SW3

-OPAMP4_INP,OPAMP4_IN1P,OPAMP4_IN2P pull up source connect to 3.3 V power

SW3

SW4 positionOPAMP3_INP, OPAMP4_IN1P,OPAMP4_IN2P pull up source connect to DAC_OUT2(PA5)

SW4 position OPAMP3_INP, OPAMP4_IN2P pull up source connect to DAC_OUT2(PA5)

OPAMP2_IN1P pull up source connect to DAC_OUT1(PA4)

Page 33: UM2514 User manual · 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

UM2514 Rev 4 33/83

UM2514 Hardware layout and configuration

82

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.

Page 34: UM2514 User manual · 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

Hardware layout and configuration UM2514

34/83 UM2514 Rev 4

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Ω potentiometer (RV2)

• light-dependent resistor, LDR (R174)

The potentiometer and the light-dependent resistor can be routed, mutually exclusively, to PB11 port of the STM32G474QET6U. Table 15 depicts the setting of associated configuration jumpers.

Page 35: UM2514 User manual · 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

UM2514 Rev 4 35/83

UM2514 Hardware layout and configuration

82

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.

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 Figure 36.

The gain of OpAmp4 is determined by the ratio of the variable resistor RV1 and the resistor R157, as shown in the following equation:

Gain = 1+ RV1/R157

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.

Table 16 shows the configuration elements and their settings to access the OpAmp4 function.

Table 15. Port assignment for control of physical input devices

Jumper setting Routing

JP5

Default setting.

Potentiometer is routed to pin PB11 of STM32G474QET6U.

LDR is routed to pin PB11 of STM32G474QET6U.

Table 16. Configuration elements related with OpAmp4

Element Setting Configuration

SB11

SB71

SB11 closed

SB71 open

Default setting.

Pin PB10 of STM32G474QET6U is routed to OpAmp4_VINM.

SB11 open

SB71 closedPin PB10 of STM32G474QET6U is routed to OpAmp4_INN of MC.

Page 36: UM2514 User manual · 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

Hardware layout and configuration UM2514

36/83 UM2514 Rev 4

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 Figure 36.

Table 17 shows the configuration elements and their settings to access the Comp4 function (pin PB11 for Comp6_INP refer to Table 16).

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®-

SB8

SB67

SB10

SB8 closed

SB67 open

SB10 open

Pin PB11 of STM32G474QET6U is routed to OpAmp4_VINP or COMP6_INP.

SB8 open

SB67 closed

SB10 open

PB11 of STM32G474QET6U is routed to OpAmp4_IN1P of MC.

SB8 open

SB67 open

SB10 closed

Default setting.

Pin PB11 of STM32G474QET6U is routed to BK_Sense for high brightness LED.

SB7

SB65

SB7 closed

SB65 open

Default setting.

Pin PB12 of STM32G474QET6U is routed to OpAmp4_VOUT.

SB7 open

SB65 closedPin PB12 of STM32G474QET6U is routed to OpAmp4_IN2P of MC.

Table 16. Configuration elements related with OpAmp4 (continued)

Element Setting Configuration

Table 17. Configuration elements related with Comp4

Element Setting Configuration

SB9

SB49

SB9 closed

SB49 open

Default setting.

Pin PC6 of STM32G474QET6U is routed to Comp6_OUT.

SB9 closed

SB49 openPin PC6 of STM32G474QET6U is routed to MC2_PWM_1H.

Page 37: UM2514 User manual · 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

UM2514 Rev 4 37/83

UM2514 Hardware layout and configuration

82

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 Table 18.

VREF_EXT is high resolution of voltage reference from U53 TL1431ACL5T.

Table 18. Configuration elements related with VREF+

Element Setting Configuration

SB84

SB85

SB84 closed

SB85 open

Default setting.

VREF_EXT is routed to VREF+.

SB84 closed

SB85 openVDDA is routed to VREF+.

Page 38: UM2514 User manual · 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

Hardware layout and configuration UM2514

38/83 UM2514 Rev 4

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 Figure 30 mentions several SRAM 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. Section 5.2 provides information on the associated configuration elements.

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 V 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

Voltage of Quad-SPI Flash memory device MT25QL512ABB8ESF-0SIT is in the range of 2.7 V to 3.6 V.

Page 39: UM2514 User manual · 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

UM2514 Rev 4 39/83

UM2514 Hardware layout and configuration

82

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 Table 19.

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 V. The reason is that there are components on the STM32G474E-EVAL supplied from 3.3 V, and they communicate with the MCU through I/O ports. Voltage exceeding 3.3 V on the MCU output port may inject current into 3.3 V-supplied peripheral I/Os and false the MCU current consumption measurement.

Table 20 shows settings of jumper associated with the IDD measurement on the board.

Table 19. MFX signals

Pin number of MFX

Pin name of MFX

MFX functionsFunction of

STM32H7XXI-EVALDirection

(For MFX)Terminal device

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 OutputMicro SD or LCD

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 SmartCard_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

Page 40: UM2514 User manual · 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

Hardware layout and configuration UM2514

40/83 UM2514 Rev 4

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 Table 20 for JP13 configuration.

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.

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

Table 20. IDD measurement related jumper settings

Jumper setting Configuration

JP13

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.

Table 21. TFT LCD connector CN20 and CN24

CN20

terminalTerminal

nameMCU Port

CN24

terminalTerminal

namePower Port

1 - CS PC9 1 VDD 3.3 V

2 - SCL PF9 2 VCI 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

Page 41: UM2514 User manual · 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

UM2514 Rev 4 41/83

UM2514 Hardware layout and configuration

82

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 V / 3 A on Type-C receptacles (CN22). Please refer to Table 5 for JP12 setting selection.

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 Table 22 for details.

Page 42: UM2514 User manual · 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

Hardware layout and configuration UM2514

42/83 UM2514 Rev 4

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.

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 V, 3 V and 5 V smartcards. It performs all supply protection and control functions based on the connections with STM32G474QET6U listed in Table 23.

Table 22. Dead battery related jumpers

Jumper Setting Configuration

JP15

Default setting.

Embed dead battery function is enable.

Embed dead battery function is disable.

JP14

Default setting.

Embed dead battery function is enable.

Embed dead battery function is disable.

Page 43: UM2514 User manual · 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

UM2514 Rev 4 43/83

UM2514 Hardware layout and configuration

82

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

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 Table 16 for PB11 configuration.

5.26.1 Limitations

The high brightness LED is exclusive with OpAmp4/ Comp6 and MC operation.

Table 23. Connection between ST8024L and STM32F091VCT6

Signals of ST8024L

DescriptionConnect to

STM32G474E-EVAL

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 Detect presence of a card, Interrupt to MCU MFX_GPIO10

RSTIN Card Reset Input from MCU MFX_GPIO12

CMDVCC Start activation sequence input (Active Low) MFX_GPIO11

1.8V1.8 V VCC operation selection. Logic high selects 1.8 V operation and overrides any setting on the 5 V / 3 V pin.

MFX_GPIO8

Page 44: UM2514 User manual · 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

Connectors UM2514

44/83 UM2514 Rev 4

6 Connectors

6.1 External I2C connector CN1

Figure 9. I2C EXT connector CN2 (front view)

6.2 Motor control connector CN2 and CN4

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

Table 24. EXT_I2C connector CN1

Pin number Description Pin number Description

1 I2C_SDA (PG8) 5 VDD

2 NC 6 NC

3 I2C_SCL (PG7) 7 GND

4 EXT_RESET(MFX_GPIO15) 8 5 V

Table 25. Motor control connector CN2

DescriptionPin of

STM32G474QET6U

Pin number of CN2

Pin number of CN2

Pin of STM32G474QET6U

Description

Emergency STOP

PE15 1 2 - GND

PWM_1H PE9 3 4 - GND

Page 45: UM2514 User manual · 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

UM2514 Rev 4 45/83

UM2514 Connectors

82

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

DISSIPATIVE BRAKE

PE5 23 24 PD8PCD Ind. Current

+5 V power - 25 26 PC4Heatsink 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

Table 26. Motor control connector CN4

DescriptionPin of

STM32G474QET6U

Pin number of CN4

Pin number of CN4

Pin of STM32G474QET6U

Description

Emergency STOP

PB7 1 2 - GND

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

Table 25. Motor control connector CN2 (continued)

DescriptionPin of

STM32G474QET6U

Pin number of CN2

Pin number of CN2

Pin of STM32G474QET6U

Description

Page 46: UM2514 User manual · 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

Connectors UM2514

46/83 UM2514 Rev 4

6.3 SMB connector CN3, CN7 and CN8

Figure 11. SMB connector (front view)

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)

DISSIPATIVE BRAKE

PF10 23 24 PD8PCD Ind. Current

+5 V power - 25 26 PE7Heatsink temperature

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

Table 26. Motor control connector CN4 (continued)

DescriptionPin of

STM32G474QET6U

Pin number of CN4

Pin number of CN4

Pin of STM32G474QET6U

Description

Table 27. SMB connector

Pin number Description Pin number Description

1 analog input 2,3,4,5 GND

Page 47: UM2514 User manual · 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

UM2514 Rev 4 47/83

UM2514 Connectors

82

6.6 CAN1 and CAN2 connector CN12 and CN10

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

6.7 RS232 and RS485 connector CN11

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

Table 28. Analog input-output connector CN9

Pin number Description Pin number Description

1 analog output PA4 2 GND

Table 29. CAN connector CN10 or CN12

Pin number Description Pin number Description

1 CANL 2 CANH

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

5 GND - -

Page 48: UM2514 User manual · 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

Connectors UM2514

48/83 UM2514 Rev 4

6.8 JTAG connector CN14

Figure 15. JTAG debugging connector CN14

6.9 TAG connector CN15

Table 31. JTAG debugging connector CN14

Terminal Function / MCU port Terminal Function / MCU port

1 VDD power 2 VDD power

3 PB4 4 GND

5 PA15 6 GND

7 PA13 8 GND

9 PA14 10 GND

11 NC 12 GND

13 PB3 14 GND

15 RESET# 16 GND

17 - 18 GND

19 - 20 GND

Table 32. TAG debugging connector CN15

Terminal Function / MCU port Terminal Function / MCU port

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#

Page 49: UM2514 User manual · 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

UM2514 Rev 4 49/83

UM2514 Connectors

82

6.10 STDC14 connector CN16

Figure 16. STDC14 debugging connector CN16 (top view)

6.11 Trace debugging connector CN17

Figure 17. Trace debugging connector CN17 (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)

Table 34. Trace debugging connector CN17

Terminal Function / MCU port Terminal Function / MCU port

1 VDD power 2 TMS/PA13

3 GND 4 TCK/PA14

5 GND 6 TDO/PB3

7 KEY 8 TDI/PA15

Page 50: UM2514 User manual · 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

Connectors UM2514

50/83 UM2514 Rev 4

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)

9 GND 10 RESET#

11 GND 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

Table 34. Trace debugging connector CN17 (continued)

Terminal Function / MCU port Terminal Function / MCU port

Table 35. Type-C signals connector CN19

Terminal Function / MCU port Terminal Function / MCU port

1 GND 2 GND

3 TX1+ 4 RX1+

5 TX1- 6 RX1-

7 VBUS 8 VBUS

9 CC1 10 CC2

11 SUB1 12 SUB2

13 VBUS 14 VBUS

15 RX2- 16 TX2-

17 RX2+ 18 TX2+

19 GND 20 GND

Page 51: UM2514 User manual · 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

UM2514 Rev 4 51/83

UM2514 Connectors

82

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)

6.16 USB Type-C connector CN22

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

Table 36. USB Micro-B connector CN21

Terminal Description Terminal Description

1 VBUS (power) 4 ID

2 DM 5 GND

3 DP 6 - 11 Shield

Page 52: UM2514 User manual · 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

Connectors UM2514

52/83 UM2514 Rev 4

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

Table 37. USB Type C connector CN22

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

Page 53: UM2514 User manual · 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

UM2514 Rev 4 53/83

UM2514 Connectors

82

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 Figure 22. The central pin of CN25 must be positive.

Figure 22. Power supply connector CN25 (front view)

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.

Table 38. Audio Jack Connector CN26 (on board)

Pin number Description Stereo headset with microphone pinning

3 GND GND

4 OUT_Right SPK_R (33 ohms typ.)

6 OUT_Left SPK_L (33 ohms typ.)

1 NC

NA2 NC

5 NC

Page 54: UM2514 User manual · 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

Connectors UM2514

54/83 UM2514 Rev 4

6.21 microSD connector CN28

Figure 23. microSD connector CN28 (front view)

Table 39. MicroSD connector CN28

Pin number Description Pin number Description

1 NC 6 GND

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)

Page 55: UM2514 User manual · 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

UM2514 Rev 4 55/83

UM2514 Connectors

82

6.22 Smartcard connector CN31

Figure 24. Smartcard connector CN31 (top view)

Table 40. Smartcard connector CN31

Pin number DescriptionPin

numberDescription

1 VCC 5 GND

2 RST 6 NC

3 CLK 7 I/O

4 NC 8 NC

17 Card presence detection pin 18 Card presence detection pin

Page 56: UM2514 User manual · 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

Schematic diagrams UM2514

56/83 UM2514 Rev 4

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

Page 57: UM2514 User manual · 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

UM

25

14S

che

matic

dia

gra

ms

UM

2514

Re

v 457

/83

Figure 25. MB1397_TOP

2 22

MB1397 TOPTitle:

Size:Reference:Sheet: ofA3

Revision:

Project: STM32G474E-EVAL

MB1397B 0401-NOV-18

G474E

Date:-

Variant:

FMC

TAMPER_KEY

LED3LED1

MOTOR

SPI

QSPI

AudioFDCAN

TYPEC

TRACESmartCard_IO

PF1-OSC_OUTPC14-OSC32_INPC15-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_VINMOPAMP4/COMP6_INP

I2C3_SMBA

MFX_WAKEUPMFX_IRQ_OUT

USART1_RXUSART1_TXRS485_DIR

U_STM32_microcontroller_IOsSTM32_microcontroller_IOs.SchDoc

FMC

U_FMC MemoryFMC Memory.SchDoc

AudioAudio_I2C

U_AudioAudio.SchDoc

QSPI

U_QSPI MemoryQSPI Memory.SchDoc

FDCAN

U_FDCANFDCAN.SchDoc

SPISPI_MOSI_DIRuSD_Detect

NRESET

U_LCD&SDcardLCD&SDcard.SchDoc

MOTOR

U_MotorControlMotorControl.SchDoc

SmartCard_IOSmartCard_CLK

SmartCard

U_SmartCardSmartCard.SchDoc

BOOTLOADER_BOOT0BOOTLOADER_RST

NRSTBOOT0

PC14-OSC32_INPC15-OSC32_OUT

STLK_MCO

PF0-OSC_INPF1-OSC_OUT

U_STM32_microcontroller_powerSTM32_microcontroller_power.SchDoc

U_Power_BoardPower_Board.SchDoc

U_HW_Mechanical_PartsHW_Mechanical_Parts.SchDoc

ADC_OUTPADC_OUTN

Comp6_OUT

OpAmp4_INMOpAmp4_VOUT

DAC

OPAMP4/COMP6_INP

U_Analog InterfacesAnalog Interfaces.SchDoc

MFX_IRQOUT

MFX_IO15

PA0_WAKEUP

JOYSTICK

SmartCard

I2C3

MFX_IO7MFX_IO6

MFX_IO5MFX_IO13

NRST

U_Multi-Function ExpanderMulti-Function Expander.SchDoc

LED4 LED3LED1LED2

TAMPER_KEYEXT_RESET

JOYSTICK

BK_SenseBK_Drive

I2C3I2C3_SMBA

U_PeripheralsPeripherals.SchDoc

NRST

VCP_TXVCP_RX

STLK_MCO

JTAG-SWD

U_STLink_V3E_SWDSTLink_V3E_SWD.SchDoc

NRSTPA[0..15]PB[0..15]PC[0..15]PD[0..15]PE[0..15]PF[0..15]PG[0..15]

QSPIFMC

U_ExtensionConnectorExtensionConnector.SchDoc

TYPEC CON1_CC2CON1_CC1

U_USB_PDUSB_PD.SchDoc

TRACEJTAG-SWD

RESET

U_Debug connectorDebug connector.SchDoc

BOOTLOADER_BOOT0BOOTLOADER_RST

USART1_RXUSART1_TX

RS485_DIR

U_RS232&RS485RS232&RS485.SchDoc

USB-FSCON1_CC1CON1_CC2

U_USB-TYPEC_CONUSB-TYPEC_CON.SchDoc

JP10

HW14ClosedVCP_RX

Page 58: UM2514 User manual · 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

Sc

he

ma

tic d

iag

ram

sU

M2

514

58/8

3U

M2

514 R

ev 4

Figure 26. STM32 microcontroller I/Os

3 22

STM32_microcontroller_IOsTitle:

Size:Reference:Sheet: ofA3

Revision:

Project: STM32G474E-EVAL

MB1397B 0401-NOV-18

G474E

Date:-

Variant:

SRAM

FMC_D[0..15]FMC_A[0..18]

FMC FMC_NBL0FMC_NBL1

FMC_NOEFMC_NWE

FMC_NE1PA4PA5PA6PA7

PA11PA12

PA0PA1

PA15

PA3

PA13PA14

PA2

PA8

PA10PA9

PB5

PB7

PB14PB15

PB10PB9

PB1

PB4

PB11PB12PB13

PB2PB3

PB0

PB6

PC0PC1PC2PC3PC4PC5PC6PC7PC8PC9PC10PC11PC12PC13

PC14

PC15

PD0PD1PD2PD3PD4PD5PD6PD7PD8PD9PD10PD11PD12PD13PD14PD15

PE14PE15

PE9PE8

PE11PE10

PE12PE13

PE7

PE0PE1PE2PE3PE4PE5PE6

PF0

PF14PF15

PF9PF8

PF11PF10

PF12PF13

PF1

PF2PF3PF4PF5PF6PF7

PG0

PG9PG8

PG1PG2PG3PG4PG5PG6PG7

0RR1390RR1400RR137

0RR138

0RR132

0RR136

0RR930RR890RR880RR87

0RR840RR820RR790RR750RR710RR690RR630RR620RR60

0RR340RR370RR380RR390RR420RR410RR290RR40

0RR830RR85

0RR940RR97

0RR101

0RR1480RR149

FMC_D0FMC_D1

FMC_D2FMC_D3

FMC_D4FMC_D5FMC_D6FMC_D7FMC_D8FMC_D9FMC_D10FMC_D11FMC_D12

FMC_D13FMC_D14FMC_D15

FMC_A0

FMC_A1

FMC_A2FMC_A3FMC_A4FMC_A5

FMC_A6FMC_A7FMC_A8FMC_A9

0RR480RR280RR500RR270RR530RR68

FMC_A10FMC_A11FMC_A12FMC_A13FMC_A14FMC_A15

FMC_NOEFMC_NWE

FMC_NE1

FMC_NBL0FMC_NBL1

0RR1300RR1330RR131

0RR15033RR129

0RR1210RR118

0RR116

0RR1080RR102

0RR90

QSPI_BK1_IO0QSPI_BK1_IO1

QSPI_BK1_IO2QSPI_BK1_IO3

QSPI_BK2_IO0QSPI_BK2_IO1QSPI_BK2_IO2QSPI_BK2_IO3

QSPI_BK2_NCS

QSPI_BK1_NCSQSPI_CLKFMC_NWE

FMC_NOE

FMC_NE1

FMC_A[0..18]FMC_D[0..15]

FMC_NBL0FMC_NBL1

FMC_A19FMC_A20

FMC

SB111SB110SB107SB28

SAI_MCLK_ASAI_SD_BSAI_FS_A

0RR1340R

R96

0RR350RR36

0RR26

SPI2_MOSI

SPI2_SCK

BK_Drive

SPI2_MISO

uSD_CS

VSENSE

DISCHARGE

SOURCE_EN

USB_DMUSB_DP 0RR45

0RR46

SB4SB3

USART1_TXUSART1_RX

PD_CC1

PD_CC2SB96

SB21

SB24

SB17

SB23

SB29

SB20

SB18

SB13SB15

SB26MFX_IRQ_OUTSB27ADC_OUTN

SB25DAC

SB11 OPAMP4_VINMOPAMP4/COMP6_INPOPAMP4_VOUT

SB8SB7SB5

CMOP6_OUTMFX_WAKEUP

LCD_CS

JTDIJTCK-SWCLK

JTDO-SWO

JTMS-SWDIO 0RR440RR470RR54

0RR107

SmartCard_IO

0RR700RR740RR78 I2C3_SDA

I2C3_SCLI2C3_SMBA

0RR112

0RR127

0RR81

Audio_INT

0RR135

LED3

0RR43

LED1

FMC_A16FMC_A17FMC_A18

SAI_SD_A0RR98

SAI_SCK_A 0RR30

SB9SB6

0RR49SB12

MOTOR

MC1_PWM_1HMC1_PWM_1LMC1_PWM_2HMC1_PWM_2LMC1_PWM_3HMC1_PWM_3L

MC1_STOP

MC1_EnAMC1_EnB

MC1_EnIndex

MC1_MC2_PFCsyncMC1_MC2_PFCpwmMC1_MC2_PFC_SD

MC1_ICL_SHUTOUTMC1_DissipativeBrake

MC1_TempMC1_BusVoltage

MC1_MC2_PFC_IndMC1_MC2_PFC_Vac

MC2_STOPMC2_PWM_1HMC2_PWM_1LMC2_PWM_2HMC2_PWM_2LMC2_PWM_3HMC2_PWM_3L

MC2_EnAMC2_EnB

MC2_EnIndex

MC2_ICL_SHUTOUTMC2_DissipativeBrake

MC2_TempMC2_BusVoltage

MC_DAC_OUT1MC_DAC_OUT2

MC1_AinMC1_BinMC1_CinMC2_AinMC2_BinMC2_Cin

OPAMP1_INPOPAMP1_INN

OPAMP1_OUTOPAMP2_IN1POPAMP2_IN2POPAMP2_INN

OPAMP2_OUTOPAMP4_IN1POPAMP4_IN2POPAMP4_INN

OPAMP4_OUTOPAMP3_INPOPAMP3_INN

OPAMP3_OUT

MOTOR

PE11

PE13PE12

PE15PE9PE8

PE10

PD7PD4

PE4PE5PC4

PE14

PD8PD9

PD2

PE2PE3

SB69SB78SB79SB76SB77SB73SB74SB98SB89SB92

SB103SB118

SB97SB109

SB100SB115SB55SB56

PC7

PC8PC12

PB7PC6PC10

PC11

PF8

PF6PF7

PC1

PA4PA5PC2PC3

PF10PE7

PD15

SB49SB64SB50SB68SB51SB66SB52SB108SB106

SB83

SB61SB112

SB72

SB93

SB113SB114

PD10

PA1PA3

PC0

PD13PD12

PA7PD14

PA2

PB10PB12PB0PB2PB1

PB13PB11

PC5PA6

SB99SB60SB59SB57

SB95SB105SB117SB101SB70

SB104SB67

SB65SB71

SB94SB80SB91

SB63

TIM1_BKINTIM1_CH1TIM1_CH1NTIM1_CH2TIM1_CH2NTIM1_CH3TIM1_CH3NTIM2_CH1TIM2_CH2TIM2_CH3TIM2_ETRTIM3_CH1TIM3_CH2TIM3_ETRGPIO1GPIO2ADC2_IN5ADC12_IN7ADC4_IN12/5_IN12ADC4_IN13/5_IN13

TIM8_BKINTIM8_CH1TIM8_CH1NTIM8_CH2TIM8_CH2NTIM8_CH3TIM8_CH3NTIM5_CH1TIM5_CH2TIM5_CH3TIM5_ETRGPIO3GPIO4ADC3_IN4ADC4_IN1

DAC1_OUT1DAC1_OUT2ADC12_IN8ADC12_IN9ADC12_IN6ADC345_IN7ADC345_IN9ADC345_IN10

OPAMP1_VINPOPAMP1_VINMOPAMP1_VOUTOPAMP2_VINPOPAMP2_VINPOPAMP2_VINMOPAMP2_VOUTOPAMP4_VINPOPAMP4_VINPOPAMP4_VINMOPAMP4_VOUTOPAMP3_VINPOPAMP3_VINMOPAMP3_VOUT

DUAL MOTOR

SPI2_SCKSPI2_MISOSPI2_MOSI

LCD_CSuSD_CS

SPI

SPI

LCD and MircoSD

QSPIQSPI_BK1_IO1QSPI_BK1_IO0

QSPI_CLK

QSPI_BK1_NCS

QSPI_BK1_IO2QSPI_BK1_IO3

QSPI_BK2_IO1QSPI_BK2_IO0

QSPI_BK2_IO2QSPI_BK2_IO3

QSPI_BK2_NCS

QSPI

QSPI_BK1_IO0QSPI_BK1_IO1QSPI_BK1_IO2QSPI_BK1_IO3

QSPI_BK1_NCS

QSPI_CLK

QSPI_BK2_IO0QSPI_BK2_IO1QSPI_BK2_IO2QSPI_BK2_IO3

QSPI

AudioSAI_SDB

SAI_FSA

Audio_Int

SAI_SDA

SAI_SCKA

SAI_MCKA

SAIAudio

QSPI_BK2_NCS

SAI_MCLK_A

SAI_SD_B

SAI_FS_A

SPI2_MOSI

SPI2_SCK

LCD_CS

SPI2_MISO

uSD_CS

PD_DBCC1PD_DBCC2PD_CC1PD_CC2VSENSEDISCHARGESOURCE_EN

SB54SB53

PA9PA10

FDCAN1_RXFDCAN1_TX

FDCAN

FDCAN2_RXFDCAN2_TX

FDCAN1_TXFDCAN1_RX

FDCAN2_TXFDCAN2_RX

FDCAN

FDCAN

USB-TYPEC

0RR1460RR143

FMC_A19FMC_A20

PE3PE4

SAI_SCK_A

SAI_SD_A

Audio_INT

USB_DMUSB_DP

USB-FS

USB-FSUSB_DMUSB_DP

USB-FS

PB8

NRST

TAMPER_KEY 0RR141SB58 PD11

SB62 PA15

PA0

FDCAN1_TX

FDCAN2_RX

FDCAN2_TX

0RR123BOOT0

JP1PB8

TRACED2TRACED3 0RR142

Open

STM32G474QET6 MCU I/Os

DEBUG

JTMS-SWDIOJTCK-SWCLK

JTDIJTDO-SWO

JTRST

JTAG-SWD

JTDIJTCK-SWCLK

JTDO-SWO

JTMS-SWDIO

JTRST 0RR109 PB4

PE3PE4

PE2TRACECLKTRACED0TRACED1TRACED2TRACED3

TRACE

TRACE

TRACECLKTRACED0TRACED1TRACED2TRACED3

0RR1470RR1450RR144

JTAG-SWDD

I2C3

I2C

I2C3_SDAI2C3_SCL

VDD

1K5R80

1K5R73

SDASCL

I2C3

TAMPER_KEY

NRST NRSTBOOT0BOOT0

SmartCard_IO

SmartCard_CLK

SmartCard_IO

TAMPER_KEY

BK_DriveBK_Sense

BK_DrivePB11 SB10

OPAMP4/COMP6_INP

OPAMP4_VOUTOPAMP4_VINM

CMOP6_OUT

OPAMP4_VINMOPAMP4_VOUT

OPAMP4/COMP6_INPCMOP6_OUT

DAC DACADC_OUTPADC_OUTN

PA0ADC_OUTN

SB116

USART1_TXUSART1_RX USART1_TX

USART1_RX

LED3LED1

PC14-OSC32_INPC15-OSC32_OUT

PF0-OSC_INPF1-OSC_OUT

PC14PC15

PF0PF1

LED3

MFX_IRQ_OUT MFX_IRQ_OUTMFX_WAKEUPMFX_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_DBCC1PD_DBCC2

PD_CC1PD_CC2VSENSE

DISCHARGESOURCE_EN

USB-TYPEC

TYPEC

SmartCard_CLK

SmartCard_CLK

CAN1_RX

RS485_DIRRS485_DIR

RS485_DIRSB123

STM32G474QET6U

PC137

PC14 - OSC32_IN8

PC15 - OSC32_OUT9

PC022

PC123

PC224

PC325

PA027

PA128

PA229

PA332

PA433

PA534

PA635

PA736

PC437

PC538

PB0 39

PB1 40

PB2 41

PB10 62

PB12 66

PB13 67

PB14 68

PB15 69

PC680

PC781

PC887

PC988

PA889

PA990

PA1091

PA1192

PA1293

PA1396

PA1498

PA1599

PC10100

PC11101

PC12102

PB3 118

PB4 119

PB5 120

PB6 121

PD2 112

PB7 122

PB8-BOOT0123

PB9 124

PB11 65

PF0 - OSC_IN19

PF1 - OSC_OUT20

PG10-NRST21

PE21

PE32

PE43

PE54

PE65

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

PE753

PE854

PE955

PE1056

PE1157

PE1258

PE1359

PE1460

PE1561

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

PE0125

PE1126

PC13

PC14 - OSC32_IN

PC15 - OSC32_OUT

PC0PC1PC2PC3

PA0PA1PA2PA3PA4PA5PA6PA7

PC4PC5

PB0PB1PB2

PB10

PB12PB13PB14PB15

PC6PC7PC8PC9

PA8PA9PA10PA11PA12PA13PA14PA15

PC10PC11PC12

PB3PB4PB5PB6

PD2

PB7

PB8-BOOT0

PB9

PB11

PF0 - OSC_IN

PF1 - OSC_OUT

PG10-NRST

PE2PE3PE4PE5PE6

PF3PF4PF5

PF7PF8PF9

PF10

PF2

PF11PF12PF13PF14PF15

PE7PE8PE9PE10PE11PE12PE13PE14PE15

PD8PD9

PD10PD11PD12PD13PD14PD15

PG0PG1PG2PG3PG4

PF6

PG5PG6PG7PG8PG9

PD0PD1

PD3PD4PD5PD6PD7

PE0PE1

MCU_IOs

MCU CLK & RST

U6A

Page 59: UM2514 User manual · 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

UM

25

14S

che

matic

dia

gra

ms

UM

2514

Re

v 459

/83

Figure 27. STM32 microcontroller power

4 22

STM32_microcontroller_powerTitle:

Size:Reference:Sheet: ofA4

Revision:

Project: STM32G474E-EVAL

MB1397B 0401-NOV-18

G474E

Date:-

Variant:

BOOTLOADER_RST

JP18

BAT60JFILM

D11

PF0-OSC_IN

NRST

PC14-OSC32_INPC15-OSC32_OUT

SWITCH

1 342

B3

MCU POWER, CLOCK, RESET & BOOT

PC14PC15

PF0

32kHz Clock

24MHz Clock

RESET

PF1 PF1-OSC_OUT

STLK_MCO

24MHz4

13

2X2

20pFC172DNF

100RR312 DNF

From STLINK V3E MCO (8MHz) for interposer

ESDALC6V1-1U2

12U51

100nFC174

0RR317

0RR313

NRST

NX3215SA-32.768KX3

4.3pF

C183

4.3pF

C182

1.8pFC178

1.8pFC177

Header 3x1

21

3

JP113V3VDD_ADJ

VDD_MCUVDD

Header 3x1

21

3

JP7VDD

CR1220 holder

CN13

600R@100MHz

L9

Header 3x1

21

3

JP63V3 VDD_MCU

VREF

VDDA

AGND

600R@100MHz

L1DNF

AGND

VREF_EXT

SB84

SB85

VREFVDDA

VDD_MCU

100nFC164

100nFC175

100nFC165

100nFC176

100nFC162

100nFC173

100nFC160

100nFC161

4.7uFC163

VREF VDDA

100nFC168

100nFC170

1uFC167

10uFC166

AGNDAGND

0RR3150RR314

Capacitor close to MCU

HW15

HW16HW17

Open

default : 1-2

default : 2-3

default : 1-2

CR1220

HW25

BOOT0

VDD

10KR182

BOOTLOADER_BOOT0

BAT60JFILM

D2

JP8

BOOT0

default : 1-3

132

SW7

BOOT0

Open

MCU POWER

C97 and C98 closed to VREF+ and VREF-

600R@100MHz

L8

100nFC169

AGND

DNF

RESET

BOOT01 <----> 00=Flash1=Sys Mem

BL_BOOT

BL_RESET

3V3 ADJ

VDD_MCU 3V3

VDD BAT

100nFC59

100nF

C33DNF

SB31

SB30

Capacitor close to MCU

SB close to MCU

SB close to power source

SB90

SB86

BLACK HATHW26

STM32G474QET6U

VBAT6

VREF- 42VREF+43

VSS 30VDD31

VSS 46VDD47

VSS 63VDD64

VSS 78VDD79

VDDA45

VBAT

VREF-VREF+

VSSVDDVSSVDDVSSVDDVSSVDD

VDDA

MCU_PWR VSS 12VDD13

VREF+44

VSS 110

VSS 127

VSS 94

VDD111

VDD128

VDD95

U6B

Page 60: UM2514 User manual · 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

Sc

he

ma

tic d

iag

ram

sU

M2

514

60/8

3U

M2

514 R

ev 4

Figure 28. USB_PD

5 22

USB_PDTitle:

Size:Reference:Sheet: ofA4

Revision:

Project: STM32G474E-EVAL

MB1397B 0401-NOV-18

G474E

Date:-

Variant:

Power Delivery management

3AVBUS

STL9P3LLH6

4

35

G

SD

678 2 1

Q3STL9P3LLH6

4

3 5

G

S D

6 7 821

Q2

STL6N2VH5

3

68

G

S

D 125

74

T10

STL6N2VH5

3

68

G

S

D 125

74

T9

100RR249

1KR246

1KR250

1KR254

1KR259

SB44

330KR244

CON1_CC1

CON1_CC2

TYPE-C Source port CC management

21

3JP15

PD_DBCC1PD_DBCC2PD_CC1PD_CC2VSENSEDISCHARGESOURCE_EN

USB-TYPEC

TYPEC

PD_CC1

PD_CC2

PD_DBCC1

VSENSEDISCHARGE

SOURCE_EN

PD_DBCC1PD_DBCC2

PD_CC1PD_CC2VSENSE

DISCHARGESOURCE_EN

USB-TYPEC

49K9R263

49K9R323

10KR264

5V_EXT

21KR248

5V_USB_PD

STPS2L40UF

D8

STPS2L40UF

D9

VBUS

5V_EXT

HW22

default : 1-2

USB PD

21

3JP14

PD_DBCC2

HW23

default : 1-2

10pFC185

GND DBCC1 GND DBCC2

Page 61: UM2514 User manual · 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

UM

25

14S

che

matic

dia

gra

ms

UM

2514

Re

v 461

/83

Figure 29. USB-TYPEC_CON

6 22

USB-TYPEC_CONTitle:

Size:Reference:Sheet: ofA4

Revision:

Project: STM32G474E-EVAL

MB1397B 0401-NOV-18

G474E

Date:-

Variant:

VBUS

C1_RX1+C1_RX1-

C1_TX1+C1_TX1-

C1_RX2+C1_RX2-

C1_TX2+C1_TX2-

Differential pairs 90ohm

3A

Differential pairs 90ohm

C1_CC1

C1_CC2C1_SBU1

C1_SBU2

CON1_CC1CON1_CC2

C1_CC1C1_CC2

VBUS

C1_TX1+C1_TX1-

VBUS

C1_CC1C1_SBU1

C1_RX2+C1_RX2-

FTSH-110-01-L-DV-A

135791113151719

2468

101214161820

CN19

C1_RX1+C1_RX1-

C1_TX2+C1_TX2-

C1_CC2C1_SBU2

SB122SB121

CNG008S130R

GND1A1

TX1+A2

TX1-A3

VBUS1A4

CC1A5

D+1A6

D-1A7

SBU1A8

VBUS2A9

RX2-A10

RX2+A11

GND2A12 GND3 B1TX2+ B2TX2- B3VBUS3 B4CC2 B5D+2 B6D-2 B7SBU2 B8VBUS4 B9RX1- B10RX1+ B11GND4 B12

CN22

USB_DMUSB_DP

USB-FS

USB-FSUSB_DMUSB_DP

USB-FS

USB_DMUSB_DP

CON1_CC1CON1_CC2

USB-TYPEC CON

TYPE-C

TYPE-C_SIG

USBLC6-2SC6

IO24 VBUS5 IO16 IO_1 1

GND 2

IO_2 3

U55

ESDA6V1LE

IO1

1

GND

3

IO2

2

U30

ESDA7P120-1U1M

12

U36

Page 62: UM2514 User manual · 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

Sc

he

ma

tic d

iag

ram

sU

M2

514

62/8

3U

M2

514 R

ev 4

Figure 30. FMC memory

7 22

FMC MemoryTitle:

Size:Reference:Sheet: ofA4

Revision:

Project: STM32G474E-EVAL

MB1397B 0401-NOV-18

G474E

Date:-

Variant:

A1A2A3A4A5A6A7A8A9A10A11A12A13A14A15A16

A0

A17A18

D0D1D2D3D4D5D6D7D8D9D10D11D12D13D14D15

PE1PE0

PD5PD4

PD7

A19A20

D[0..15]

A[0..18]

VDD

VDD

10KR171

IS61WV51216BLL-10MLI

A4B4

A3B3

A2A5

A1A4

A0A3

CEB5

I/O0 B6I/O1 C5I/O2 C6I/O3 D5

VDD D6

GND D1

I/O4 E5I/O5 F5I/O6 F6I/O7 G6

WEG5

A16E4

A15F4

A14F3

A13G4

A12G3

A11H5

A10H4

A9H3

A8H2

I/O8 B1I/O9 C1I/O10 C2I/O11 D2

VDD E1

I/O12 E2I/O13 F2I/O14 F1I/O15 G1

LBA1

UBB2

OEA2

A7D4

A6C4

A5C3

A17D3 A18H1

GND E6

NCG2 NCH6

NC A6

NCE3U11

A20 = NC

MEMORY

SRAMDefault config = A0-A18

D[0..15]A[0..18]

FMC FMC_NBL0FMC_NBL1

FMC_NOEFMC_NWE

FMC_NE1

FMC_NWEFMC_NOE

FMC_NE1

FMC_A[0..18]FMC_D[0..15]

FMC_NBL0FMC_NBL1

FMC_A19FMC_A20

FMC

A19A20

FMC_NBL0FMC_NBL1

FMC_NOEFMC_NWEFMC_NE1

VDD

100n

FC

48

100n

FC

47

4.7uFC46DNF

220KR162220KR156A19

A20

A19-20 = 0 by default

Operating range:512Kx16: IS61WV51216BLL-10MLI VDD: 2.4V to 3.6V512x16: IS66WV51216EBLL-55BLI VDD: 2.5V to 3.6V

Place close to SRAM

Page 63: UM2514 User manual · 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

UM

25

14S

che

matic

dia

gra

ms

UM

2514

Re

v 463

/83

Figure 31. QSPI memory

8 22

QSPI MemoryTitle:

Size:Reference:Sheet: ofA4

Revision:

Project: STM32G474E-EVAL

MB1397B 0401-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:MT25TL01GHBB8ESF-0SIT U54:NA

Two Quad SPI Fllash (Default) U12:MT25QL512ABB8ESF-0SIT U54:MT25QL512ABB8ESF-0SIT R319/R320/R321/R322, SB119, C184 ON R167/R168/R169/R170, 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

10KR161

10KR166

100nFC51

100nFC184

SB119

33RR178

33RR319

33RR173

33RR320

33RR170 DNF

33RR169 DNF

33RR168 DNF 33RR167 DNF

33RR159 33RR160

33RR321 33RR322

QSPI_BK2_NCS

QSPIQSPI_BK1_IO1QSPI_BK1_IO0

QSPI_CLK

QSPI_BK1_NCS

QSPI_BK1_IO2QSPI_BK1_IO3

QSPI_BK2_IO1QSPI_BK2_IO0

QSPI_BK2_IO2QSPI_BK2_IO3

QSPI_BK2_NCS

QSPI

QSPI_BK1_IO0QSPI_BK1_IO1QSPI_BK1_IO2QSPI_BK1_IO3

QSPI_BK1_NCS

QSPI_CLK

QSPI_BK2_IO0QSPI_BK2_IO1QSPI_BK2_IO2QSPI_BK2_IO3

QSPI

QSPI_BK2_NCS

MT25QL512ABB8ESF-0SIT

CS#7

DQ18

NC6

NC5 NC 12

NC 11

Vss 10

W#/Vpp/DQ2 9

HOLD#/DQ31

VCC2

NC3

CLK 16

DQ0 15

NC4 NC 13

NC 14

U12

MT25QL512ABB8ESF-0SIT

CS#7

DQ18

NC6

NC5 NC 12

NC 11

Vss 10

W#/Vpp/DQ2 9

HOLD#/DQ31

VCC2

NC3

CLK 16

DQ0 15

NC4 NC 13

NC 14

U54

QSPI Memory

Operating range: 2.7V<VDD<3.6V

SB120

Page 64: UM2514 User manual · 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

Sc

he

ma

tic d

iag

ram

sU

M2

514

64/8

3U

M2

514 R

ev 4

Figure 32. Audio

9 22

AudioTitle:

Size:Reference:Sheet: ofA4

Revision:

Project: STM32G474E-EVAL

MB1397B 0401-NOV-18

G474E

Date:-

Variant:

VDD

1V8

VDD

PE3

PG8PG7

3V3

1V8

3V3

1V8

VDD

Right

Left

SPK Left

SPK Right

SDASCL

I2C3

Audio_I2C

2.2uFC103

2.2uFC1052.2uFC104

100nF

C96

100nF

C94

100nF

C93

100nF

C100

1uF

C92

1uF

C101

1uFC85

1uFC99

1uFC87

4.7uF

C97

4.7uF

C91

4.7uFC90

4.7uFC86

4.7uFC88

0RR2570RR258

10KR261DNF4K7

R237

JP16

JP17

100nFC106

100nFC107

20RR255

20RR256

ESDA6V1BC6

I/O11

GND2

I/O23 I/O3 4GND 5I/O4 6

U41

PA8

PD6PE4

PJ3028B-3_GR34

6

CN26

WM8994ECS/R

ADCDAT1F2

ADCLRCLK1/GPIO1G3

AGND D6

CPVDDG9

CPVOUTN H7

CPVOUTP G7

CS/ADDR G2

DACDAT1E4

CPGND H9

DCVDDF1

DBVDDD2 DGND E2

CPCB H8

AVDD1D9

BCLK1G1

CIFMODE A4

CPCA G8

DMICCLKC6

AGND E7

AGND E8

AVDD2D8

GPIO2/MCLK2 E1

GPIO3/BCLK2H2

GPIO4/LRCLK2F4

GPIO5/DACDAT2H3

GPIO6/ADCLRCLK2G4 GPIO7/ADCDAT2E5

GPIO8/DACDAT3H4

GPIO9/ADCDAT3F5

GPIO10/LRCLK3H5 GPIO11/BCLK3F6

HP2GND F7

HPOUT1FB G5

HPOUT1L H6HPOUT1R G6

HPOUT2N F9

HPOUT2P F8

IN1LND7 IN1LPC8

IN1RNB7 IN1RPC7

IN2LN/DMICDAT1B9 IN2LP/VRXNB8

IN2RN/DMICDAT2A9 IN2RP/VRXPA8

LDO1ENAD4

LDO1VDDE9

LDO2ENAD5

LDO2VDDD1

LINEOUT1N C5

LINEOUT1P B5

LINEOUT2N C4

LINEOUT2P B4

LINEOUTFB A6

LRCLK1E3

MCLK1 D3

MICBIAS1 A7

MICBIAS2 B6

REFGND A5

SCLK H1SDA F3

SPKGND1 A1

SPKGND2 C1

SPKMODE A3

SPKOUTLN B1

SPKOUTLP A2

SPKOUTRN C3

SPKOUTRP B3

SPKVDD1B2

SPKVDD2C2

VMIDC C9

VREFCE6

U35

PJ3028B-3_BE34

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

AudioSAI_SDB

SAI_FSA

Audio_Int

SAI_SDA

SAI_SCKA

SAI_MCKA

SAIAudio

SAI_MCLK_A

SAI_SD_B

SAI_FS_ASAI_SCK_A

SAI_SD_A

Audio_INT

Operating range: 1.62<VDD<3.6VI2C address: 0x34

Jack out Green

Jack in blue

Audio_Out

Audio_In

Page 65: UM2514 User manual · 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

UM

25

14S

che

matic

dia

gra

ms

UM

2514

Re

v 465

/83

Figure 33. LCD and SD card

10 22

LCD & SD CardTitle:

Size:Reference:Sheet: ofA4

Revision:

Project: STM32G474E-EVAL

MB1397B 0401-NOV-18

G474E

Date:-

Variant:

LCD & MICRO SD Card

PJS008-2003-11 2 3 4 5 6 7 8SW

29

SW1

10

GND13 GND 14

GND12 11

CN28

3V3

HSP051-4M10

IO34

NC4 10

NC2 7

IO45

IO11

NC3 9

NC1 6

IO22

GND 8GND3

U46

100nF

C186

0RR216

600R@100MHz

L7

3V3 SB45

SB465V600R@100MHz

L6

100nFC132

10uFC129

BSN20

1

2 3

G

S DQ1

4K7R226

10KR219

270RR231

3V3

3V3VDD

3V3

PB15

SN74LVC2T45DCUT

VccA1

A12

A23

GND4 DIR 5B2 6B1 7VccB 8U28

100nFC69

100nFC70

MCU_1V8/3V3

VDD 3V3

SPI_MOSI_3V3

100K

R222VDD

PF9

SN74LVC2T45DCUT

VccA1

A12

A23

GND4 DIR 5B2 6B1 7VccB 8U26

100nFC64

100nFC65

MCU_1V8/3V3

VDD 3V3

VDD

SPI_SCK_3V3

100KR218

VDD

100KR287

3V3

270RR220

100K

R233

SPI2_SCKSPI2_MISOSPI2_MOSI

LCD_CSuSD_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

MFX5MFX13

PB14

PC9

PF8

SPI_MOSI_DIRuSD_Detect

SPI_MOSI_DIR

SPI_MOSI_DIR

uSD_Detect

uSD_Detect216208S141

VDD1

VCI2

GND3

GND4

BL_VDD5

BL_Control6

BL_GND7

BL_GND8

CN_B

CN24

Socket 4x2_LCD_PWR_MODULE_MB895C

216208S141

CS1

SCL2

SDI3

RS4

WR5

RD6

RESET8 SDO7

CN_A

CN20Socket 4x2_LCD_IO_MODULE_MB895C

NRESET

Open drain pin!

Open drain pin!

LCD_SIG

LCD_PWR

uSD

ESDALC6V1-1U2

12U52

Page 66: UM2514 User manual · 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

Sc

he

ma

tic d

iag

ram

sU

M2

514

66/8

3U

M2

514 R

ev 4

Figure 34. RS232 and RS485

11 22

RS232 & RS485Title:

Size:Reference:Sheet: ofA4

Revision:

Project: STM32G474E-EVAL

MB1397B 0401-NOV-18

G474E

Date:-

Variant:

3V3

3V3

BOOTLOADER_BOOT0

BOOTLOADER_RST

PA9

PA10

RXD

TXDCTS

DSR

100nFC57

100nFC55

100nFC58

100nFC56

100nFC54

RS232 & RS485 (USART1)

DB9-male USART1

3-1634580-2

162738495

MT1 M

T2

CN11

ST3241EBPR

C2+1

C2-2 V- 3

R1IN 4

R2IN 5

R3IN 6

R4IN 7

R5IN 8

T1OUT 9

T2OUT 10

T3OUT 11T3IN12 T2IN13 T1IN14

R5OUT15 R4OUT16 R3OUT17 R2OUT18 R1OUT19 R2OUTB20 R1OUTB21

nSHDN 22nEN23

C1-24 GND 25VCC 26

V+ 27

C1+28U17

USART1_TX

USART1_RX

BOOT0

NRST

SN74LVC2T45DCUT

VccA1

A12

A23

GND4 DIR 5B2 6B1 7VccB 8U23

100nFC61

100nFC62

UART_TX LEVEL SHIFTER for MCU_1V8MCU_1V8/3V3

RS485_DIR_3V3

VDD 3V3

VDD

USART1_TX_3V3

100KR202

100KR201

VDD

10KR213

120RR192

22KR190

22KR191

SB39SB37

SB38

100nFC60

3V3

3V3

RS485_DIR

USART1_TX_3V3

21

3

JP9

PD2

Open

SB40

USART

RS232 RS485

RO1

RE2

DE3

DI4 GND 5A 6B 7VCC 8U22

ST3485EBDR

Page 67: UM2514 User manual · 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

UM

25

14S

che

matic

dia

gra

ms

UM

2514

Re

v 467

/83

Figure 35. FDCAN

12 22

FDCANTitle:

Size:Reference:Sheet: ofA4

Revision:

Project: STM32G474E-EVAL

MB1397B 0401-NOV-18

G474E

Date:-

Variant:

120RR165

JP2

100nF

C44

10K

R163

MCP2562FDT-H/SN

TXD1

VSS2

VDD3

RXD4 VIO 5CANL 6CANH 7STBY 8U10

5V

VDD

100nFC40

FDCAN2_TX

FDCAN2_RX PB5

PB13

CAN2H

CAN2L

120RR181

JP4

2x CAN FD

10K

R180

MCP2562FDT-H/SN

TXD1

VSS2

VDD3

RXD4 VIO 5CANL 6CANH 7STBY 8U15

5V

VDD

100nFC52

FDCAN1_TX

FDCAN1_RX PB8

PB9

CAN1H

CAN1L

FDCAN1_RXFDCAN1_TX

FDCAN

FDCAN2_RXFDCAN2_TX

FDCAN1_TXFDCAN1_RX

FDCAN2_TXFDCAN2_RX

FDCAN

FDCAN

100nF

C53

Open

Open

Operating range: VDD>1.8V

header 2x1

12

CN12

header 2x1

12

CN10

CAN1

CAN2

ESDCAN03-2BWY

31 2

U16

ESDCAN03-2BWY

31 2

U13

Page 68: UM2514 User manual · 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

Sc

he

ma

tic d

iag

ram

sU

M2

514

68/8

3U

M2

514 R

ev 4

Figure 36. Analog interfaces

13 22

Analog InterfacesTitle:

Size:Reference:Sheet: ofA4

Revision:

Project: STM32G474E-EVAL

MB1397B 0401-NOV-18

G474E

Date:-

Variant:

100nFC159

100nF

C158SMB-ZJWE-3

RF 1

GND2

GND3

GND4 GND5

CN3

SMB-ZJWE-3

RF1

GND 2

GND 3

GND 4GND 5

CN8

DNF

SMB-ZJWE-3

RF1

GND 2

GND 3

GND 4GND 5

CN7

DNF

AGND

AGND

AGND

ADC_OUTP

ADC_OUTN

5V

AD8058ARMZ backup for high performance

1K

R302

51RR19

AGND

1K

R304

1K

R307

1K

R308

33R

R310

1K

R303

1K

R306

1K

R301

1K

R305

33R

R152

100pF, 50VC171

100pF, 50VC35

AGND

AGND

AGND

AGND

AGND

AGND

TSH82IDTV+

V-

3

21

48 U4A

TSH82IDT

5

67

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

LDRComparator

OpAmp/ADC

STM32G4

Comp6 Comp6_OUT

Variable gain

Default setting: 1<->2 from Potentiometer

100nFC50

10K

13

2RV2

8K2R179

21

3

JP5

TP1

TP2

1K

R164

1KR158 DNF

1KR157

VINP

10K

13

2

RV1

GL5528R174

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 0RR154

Close to MCU on PCB

PA4

CN9

Two pin header for external analog input

0RR153

100nFC36DNF

DAC connector

AGND

AGND

DAC

Iref<=6.5mA

AGND

LM4030AMF-2.5 Backup for high accuracy

270RR111

AGND

VREF_BIAS

3V3

100nFC28 TL1431ACL5T

35

Ref 4

NC 1

NC 2

U5310KR117

TS432AILT

23

Ref 1

U8

5V

180RR318

47KR124

10uFC30

9013-SOT23

3

1

2

Q4

100pF

C181

VREF_EXT

100nFC179

10KR316

47KR311

10uFC180

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 2U14

COMP

OA_OUT

Open

Page 69: UM2514 User manual · 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

UM

25

14S

che

matic

dia

gra

ms

UM

2514

Re

v 469

/83

Figure 37. Peripherals

14 22

PeripheralsTitle:

Size:Reference:Sheet: ofA4

Revision:

Project: STM32G474E-EVAL

MB1397B 0401-NOV-18

G474E

Date:-

Variant:

3V3

LEDs

LED4

LED3

LED1

LED2

TAMPER_KEY

VDD

TAMPER & KEY BUTTON

100nFC157

10KR294DNF

KSC721GLFS

134

2

B2

PC13

BLUE HATHW11

EXT_I2C

SSM-104-L-DH

1 23 45 67 8

CN1

VDDEXT_RESET

PG9

MFX7

MFX6

From MFX

From MFX

PG8PG7 MFX15

excl with WIFI wake-up

ESDALC6V1-1U2

1 2U50

Curr=5mA, Lum=25%

Curr=5mA, Lum=25%

Curr=4mA, Lum=25%

Curr=2mA, Lum=25%

270RR297

360RR298

REDLD3

GREENLD1

ORANGELD2

0R

R1

470RR299

MT-008A

COMMON5

CENTER2

DOWN3 LEFT1

RIGHT6

UP4

621

4

3 MT

7M

T8

B1

MFX2MFX1MFX3MFX4

MFX0

JOYSTICK

JOY_SELJOY_LEFT

JOY_DOWNJOY_RIGHT

JOY_UPJOY

STIC

K

JOYSTICK

ESDA6V1-5SC6

I/O11

GND2

I/O23 I/O3 4I/O4 5I/O5 6U49

Temperature sensor

PG8

VDD

VDD

PG6PG7

100nFC13

7K5

R14

0RR13

0RR170RR15

4K7R16

BLUELD4 270RR300

PF11

BK_Sense

BK_Drive PC8

PB11

With LPB1

5V

STPS1L40AYD1

10R

R175

10KR176

STL6N2VH5

3

68

G

S

D 125

74

T1

1nFC49

33R

R172

100nFC45

47uFC41

1uFC43

SB33

SB34

I2C3

I2C I2C3_SDAI2C3_SCLSDA

SCL

I2C3

I2C3_SDAI2C3_SCL I2C3_SDA

I2C3_SCLI2C3_SMBAI2C3_SMBA

STTS751-0DP3F

Addr/Therm 4

GND 5

VDD 3SCL1 EVENT2 SDA6U3

TP3

LE-CWC12100[D]LD5

1RR177

LPB-S01110101S-110945

WhiteLPB

LPB1

LPB-S01110101S

82uH

L2

LED BUCK converter

Operating range: VDD>2.25VI2C address: 1001000

SB15V

USERJoystick

EXT_I2C

consideration for heat dissipation (350mA/1W)

USBLC6-2SC6

IO24 VBUS5 IO16 IO_1 1

GND 2

IO_2 3

U1

HB_LED

5V

JOYSTICK BLUE HAT

HW20

100nF should be placeclose to the MCU

Page 70: UM2514 User manual · 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

Sc

he

ma

tic d

iag

ram

sU

M2

514

70/8

3U

M2

514 R

ev 4

Figure 38. Smartcard

15 22

Smart CardTitle:

Size:Reference:Sheet: ofA4

Revision:

Project: STM32G474E-EVAL

MB1397B 0401-NOV-18

G474E

Date:-

Variant:

5V

SmartCard_IO

SmartCard_CLK

MFX12

MFX10PC12

PC10

MFX11

MFX9

VDD>2.7V

MFX8

VDD

VDD

VDD

VDD

VDD

10KR275

DNF

10KR276

DNF

10KR273

10KR274

4K7R291

47uFC152

100nFC153

100nF

C126

100nFC127

47uFC121100nF

C155

100nFC154

100K

R290

MFX_SmartCard_1V8

MFX_SmartCard_3/5V

MFX_SmartCard_OFF

MFX_SmartCard_RSTMFX_SmartCard_CMDVCC

ST8024LACDR

CLKDIV11

CLKDIV22

5V/3V3

PGND4

C1+5

Vddp6

C1-7

Vup8

PRES9

PRES10

I/O11

AUX212

AUX113

CGND14 CLK 15RST 16Vcc 17PORADJ 18CMDVCC 19RSTIN 20Vdd 21GND 22OFF 23XTAL1 24XTAL2 25I/OUC 26AUX1UC 27AUX2UC 28U42

TP10TP11

Smart Card

SmartCard_1V8SmartCard_3/5VSmartCard_OFFSmartCard_CMDVCCSmartCard_RST

SmartCard

SmartCard

MFX_SmartCard_1V8MFX_SmartCard_3/5VMFX_SmartCard_OFF

MFX_SmartCard_RSTMFX_SmartCard_CMDVCC

2480-208-503-100-RC

VCC C1

RST C2

CLK C3

NC C4

GNDC5

NCC6

I/OC7

NCC8

S2

S1

CN31

ESDALC6V1-1U2

12U44

Operating range: VDD>2.7V

EMIF03-SIM02M8

VCC 1

RSTin 2

CLKin 3

DATAin 4

RST ext7 VCC8

DATAext5 CLKext6PA

D9

D10

Smart Card

AUX2AUX1

Page 71: UM2514 User manual · 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

UM

25

14S

che

matic

dia

gra

ms

UM

2514

Re

v 471

/83

Figure 39. Motor control

16 22

Motor ControlTitle:

Size:Reference:Sheet: ofA3

Revision:

Project: STM32G474E-EVAL

MB1397B 0401-NOV-18

G474E

Date:-

Variant:

3V3

3V35V

Motor control connector 1PE15

PE9PE8PE11PE10PE13PE12

PE5

PA0PD4 PD7/PA15

PE14

PE4

PC4

3V3

3V35V

PB7PC6PC10PC7PC11PC8PC12

PF10

PF6PF7 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_SDMC1_MC2_PFC_Vac

MC1_MC2_PFC_SDMC1_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+

PE2PE3

PD8

PD2PD9

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 STOP1

PWM_1H3

PWM_1L5

PWM_2H7

PWM_2L9

PWM_3H11

PWM_3L13

PHASE A CURRENT +15

PHASE C CURRENT +19 PHASE B CURRENT +17

ICL shut out21

DISSIPATIVE BRAKE23

+5V POWER25

PFC SYNC27

PFC PWM29

Encoder A31

Encoder B33

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 STOP1

PWM_1H3

PWM_1L5

PWM_2H7

PWM_2L9

PWM_3H11

PWM_3L13

PHASE A CURRENT +15

PHASE C CURRENT +19 PHASE B CURRENT +17

ICL shut out21

DISSIPATIVE BRAKE23

+5V POWER25

PFC SYNC27

PFC PWM29

Encoder A31

Encoder B33

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

C9DNF

100nF

C3DNFSB2

10nFC12

100nF

C10DNF

100nF

C5

100nF

C7

100nF

C4

3K3R9

1nFC1

100nF

C2DNF

100nF

C6DNF

100nF

C8DNF

3K3R23

1nFC16

100nF

C26DNF

100nF

C24DNF

100nF

C23DNF

100nF

C42DNF

100nF

C37DNFSB32

10nFC38

100nF

C11DNF

100nF

C39DNF

100nF

C34DNF

100nF

C31DNF

100nF

C29DNF

100nF

C22

SB14

SB19

9K1

R66

9K1

R51

9K1

R25

9K1

R20

9K1

R95

9K1

R122

MOTOR

MC1_PWM_1HMC1_PWM_1LMC1_PWM_2HMC1_PWM_2LMC1_PWM_3HMC1_PWM_3L

MC1_STOP

MC1_EnAMC1_EnB

MC1_EnIndex

MC1_MC2_PFCsyncMC1_MC2_PFCpwmMC1_MC2_PFC_SD

MC1_ICL_SHUTOUTMC1_DissipativeBrake

MC1_TempMC1_BusVoltage

MC1_MC2_PFC_IndMC1_MC2_PFC_Vac

MC2_STOPMC2_PWM_1HMC2_PWM_1LMC2_PWM_2HMC2_PWM_2LMC2_PWM_3HMC2_PWM_3L

MC2_EnAMC2_EnB

MC2_EnIndex

MC2_ICL_SHUTOUTMC2_DissipativeBrake

MC2_TempMC2_BusVoltage

MC_DAC_OUT1MC_DAC_OUT2

MC1_AinMC1_BinMC1_CinMC2_AinMC2_BinMC2_Cin

OPAMP1_INPOPAMP1_INN

OPAMP1_OUTOPAMP2_IN1POPAMP2_IN2POPAMP2_INN

OPAMP2_OUTOPAMP4_IN1POPAMP4_IN2POPAMP4_INN

OPAMP4_OUTOPAMP3_INPOPAMP3_INN

OPAMP3_OUT

MOTOR

MC1_Temp

TIM1_BKINTIM1_CH1TIM1_CH1NTIM1_CH2TIM1_CH2NTIM1_CH3TIM1_CH3NTIM2_CH1TIM2_CH2TIM2_CH3TIM2_ETRTIM3_CH1TIM3_CH2TIM3_ETRGPIO1GPIO2ADC2_IN5ADC12_IN7ADC4_IN12/5_IN12ADC4_IN13/5_IN13

TIM8_BKINTIM8_CH1TIM8_CH1NTIM8_CH2TIM8_CH2NTIM8_CH3TIM8_CH3NTIM5_CH1TIM5_CH2TIM5_CH3TIM5_ETRGPIO3GPIO4ADC3_IN4ADC4_IN1

DAC1_OUT1DAC1_OUT2ADC12_IN8ADC12_IN9ADC12_IN6ADC345_IN7ADC345_IN9ADC345_IN10

OPAMP1_VINPOPAMP1_VINMOPAMP1_VOUTOPAMP2_VINPOPAMP2_VINPOPAMP2_VINMOPAMP2_VOUTOPAMP4_VINPOPAMP4_VINPOPAMP4_VINMOPAMP4_VOUTOPAMP3_VINPOPAMP3_VINMOPAMP3_VOUT

DUAL MOTOR

MC1_PWM_1HMC1_PWM_1LMC1_PWM_2HMC1_PWM_2LMC1_PWM_3HMC1_PWM_3L

MC1_STOPMC1_PWM_1HMC1_PWM_1LMC1_PWM_2HMC1_PWM_2LMC1_PWM_3HMC1_PWM_3L

MC1_STOP

MC1_EnAMC1_EnB MC1_EnIndex

MC1_EnIndex

MC1_EnAMC1_EnB

MC1_MC2_PFCsyncMC1_MC2_PFCpwmMC1_MC2_PFC_SD

MC1_ICL_SHUTOUTMC1_DissipativeBrake

MC1_ICL_SHUTOUTMC1_DissipativeBrake

MC1_Temp

MC1_BusVoltage

MC1_BusVoltageMC1_MC2_PFC_IndMC1_MC2_PFC_Vac

MC2_PWM_1HMC2_PWM_1LMC2_PWM_2HMC2_PWM_2LMC2_PWM_3HMC2_PWM_3L

MC2_STOP

MC2_EnIndex

MC2_EnAMC2_EnB

MC2_STOP

MC2_EnIndex

MC2_PWM_1HMC2_PWM_1LMC2_PWM_2HMC2_PWM_2LMC2_PWM_3HMC2_PWM_3L

MC2_EnAMC2_EnB

MC2_ICL_SHUTOUTMC2_DissipativeBrake

MC2_ICL_SHUTOUTMC2_DissipativeBrake

MC2_Temp

MC2_BusVoltage

MC2_TempMC2_BusVoltage

MC_DAC_OUT1

MC_DAC_OUT2

MC_DAC_OUT1MC_DAC_OUT2

MC1_Ain

MC1_Bin

MC1_Cin

MC1_AinMC1_BinMC1_CinMC2_AinMC2_BinMC2_Cin

MC2_Ain

MC2_Bin

MC2_Cin

OPAMP1_INPOPAMP1_INNOPAMP1_OUTOPAMP2_IN1POPAMP2_IN2POPAMP2_INNOPAMP2_OUT

OPAMP3_INPOPAMP3_INNOPAMP3_OUT

OPAMP4_IN1POPAMP4_IN2POPAMP4_INNOPAMP4_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

54

6

23

1SW1

SWITCH_MS-22D16

MS-22D16

54

6

23

1SW4

SWITCH_MS-22D16

SS42D02

54

6

23

1

87

9

1110

12

SW5

SWITCH_SS42D02

SS42D02

54

6

23

1

87

9

1110

12

SW6

SWITCH_SS42D02

SS42D02

54

6

23

1

87

9

1110

12

SW3

SWITCH_SS42D02

SS42D02

54

6

23

1

87

9

1110

12

SW2

SWITCH_SS42D02

Default to 3V3

Default to 3V3

1K1R65DNF

3K3R67DNF

0RR61

0RR31

0RR91

0RR72

0RR119

0RR99

0RR103

0RR64

0RR55

0RR52

0RR58

0RR110

0RR114

0RR125

1K1R56DNF

3K3R57DNF

1K1R32DNF

3K3R33DNF

1K1R106DNF

3K3R105DNF

1K3

R59

1K3

R24

1K3

R22

1K3

R104

1K3

R115

1K3

R76

0RR3

0RR50RR7

0RR100RR12

0RR20RR40RR6

0RR80RR11

0RR21

0RR860RR920RR100

0RR77

0RR18

0RR120

0RR128 DNF 0RR155 DNF

0RR113 DNF

0RR126 DNF 0RR151 DNF

120pF

C21

120pF

C18

120pF

C15

120pF

C14

120pF

C25

120pF

C32

120pFC19

DNF

120pFC20

DNF

120pFC17

DNF

120pFC27

DNF

Dual Motor Control

3-phase voltage

MC1

MC2

CN32

DAC2

HW27

Closed

Page 72: UM2514 User manual · 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

Sc

he

ma

tic d

iag

ram

sU

M2

514

72/8

3U

M2

514 R

ev 4

Figure 40. Extension connector

17 22

Extension ConnectorsTitle:

Size:Reference:Sheet: ofA4

Revision:

Project: STM32G474E-EVAL

MB1397B 0401-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_NBL0FMC_NBL1

FMC_NOEFMC_NWE

FMC_NE1

FMC_NWEFMC_NOE

FMC_NE1

FMC_A[0..18]FMC_D[0..15]

FMC_NBL0FMC_NBL1

FMC_A19FMC_A20

FMC

A19A20

QSPIQSPI_BK1_IO1QSPI_BK1_IO0

QSPI_CLK

QSPI_BK1_NCS

QSPI_BK1_IO2QSPI_BK1_IO3

QSPI_BK2_IO1QSPI_BK2_IO0

QSPI_BK2_IO2QSPI_BK2_IO3

QSPI_BK2_NCS

QSPI

QSPI_BK1_IO0QSPI_BK1_IO1QSPI_BK1_IO2QSPI_BK1_IO3

QSPI_BK1_NCS

QSPI_CLK

QSPI_BK2_IO0QSPI_BK2_IO1QSPI_BK2_IO2QSPI_BK2_IO3

QSPI

QSPI_BK2_NCS

PC14 PC15

VDD5V_D

VDD5V_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 23 45 67 89 1011 1213 1415 1617 1819 2021 2223 2425 2627 2829 3031 3233 3435 3637 3839 4041 4243 4445 4647 4849 5051 5253 5455 5657 5859 60

CN6

Header 30x2

1 23 45 67 89 1011 1213 1415 1617 1819 2021 2223 2425 2627 2829 3031 3233 3435 3637 3839 4041 4243 4445 4647 4849 5051 5253 5455 5657 5859 60

CN5

PC15_EPC14_E

PA0PA1

PA4PA5

PA8

PA9

PA10PA11PA12 PA13

PA14PA15

PB2

PB3 PB4PB5 PB6

PB7

PB8PB9

PB10PB11 PB12PB13PB14

PB15

PC0

PC5

PC6PC7PC8

PC9PC10PC11

PC12

PC13

PD2

PD6

PE2

PE5

PE6

PF6

PF8PF9

PF11

PG6PG7PG8 PG9

D0D1

D2 D3 D4D5

D6D7D8D9D10D11D12

D13D14

D15

A0A1

A2

A3A4

A5

A6A7A8A9

A10A11

A12A13A14

A15

A16A17A18

A19A20FMC_NBL0

FMC_NBL1

FMC_NOE

FMC_NWEFMC_NE1

QSPI_BK1_IO0QSPI_BK1_IO1QSPI_BK1_IO2 QSPI_BK1_IO3

QSPI_BK1_NCSQSPI_CLK

QSPI_BK2_IO0QSPI_BK2_IO1

QSPI_BK2_IO2

QSPI_BK2_IO3QSPI_BK2_NCS

PE8PE9PE10PE11PE12PE13PE14PE15

PD0 PD1

PD4

PD5PD7

PD8PD9

PD10PD11PD12PD13

PG0PG1

PG2PG3PG4

PG5

PF2

PF3PF4

PF5 PF7PF10

PF12PF13PF14PF15

PE0PE1

PE7

PE3PE4

PD14PD15

PC1PC2

PC3

PC4PB0PB1

PA2PA3

PA6PA7

PD3PF1SB81PF1_EPF0 SB82 PF0_E NRST820RR309NRST_E

SB82 and SB81 close to PF0/PF1 for HSE accuracySB88 and SB87 close to PC14/PC15 for LSE accuracy

Page 73: UM2514 User manual · 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

UM

25

14S

che

matic

dia

gra

ms

UM

2514

Re

v 473

/83

Figure 41. Debug connectors

18 22

Debug connectorTitle:

Size:Reference:Sheet: ofA4

Revision:

Project: STM32G474E-EVAL

MB1397B 0401-NOV-18

G474E

Date:-

Variant:

10KR212 10K

R214

10KR203

Trace connector JTAG connector

KEY

PA13PA14PB3PA15PB4

PE6PE5PE4PE3PE2

VDD

22RR188

ESDALC6V1W5

1 32

4 5

U24

Remove Pin7

TMS/SWDIOTCK/SWCLKTDO/SWOTDITRSTNRST

JTAG & TRACE

TRACE

TRACECLKTRACED0TRACED1TRACED2TRACED3

TRACETRACED3TRACED2TRACED1TRACED0TRACECLK

FTSH-110-01-L-DV-A

135791113151719

2468

101214161820

CN17

JTAG_TMSJTAG_TCKJTAG_TDOJTAG_TDIJTAG_TRSTJTAG_HOST_NRST

TRSTTDITMS/SWDIOTCK/SWCLK

TDO/SWONRST

TMS/SWDIOTCK/SWCLKTDO/SWOTDINRSTTRACECLKTRACED0TRACED1TRACED2TRACED3

TST-110-01-G-D

13579

1113151719

2468101214161820

CN14

0RR210 DNF

0RR207 DNF

Only footprint with Cable: TC2050-IDC-NL

TC2050-IDC-NL1 102 93 84 75 6

CN15

DNF

TMS/SWDIO

TCK/SWCLKTDO/SWO

TDI

NRSTTRST

ESDALC6V1W5

1 32

4 5U20

JTMS-SWDIOJTCK-SWCLK

JTDIJTDO-SWO

JTRST

JTAG-SWD

JTAG-SWDD

RESET

VDD

VDDVDD

VDD

VDD

10KR195DNF

10KR186DNF 10K

R197DNF 10KR184DNF 10K

R183DNF

10KR200DNF

22RR19322RR20922RR18522RR20522RR211

ESDALC6V1W5

1 32

4 5

U18

TAG

TRACE JTAG

Page 74: UM2514 User manual · 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

Sc

he

ma

tic d

iag

ram

sU

M2

514

74/8

3U

M2

514 R

ev 4

Figure 42. Multi function expander

19 22

Multi-Function ExpanderTitle:

Size:Reference:Sheet: ofA3

Revision:

Project: STM32G474E-EVAL

MB1397B 0401-NOV-18

G474E

Date:-

Variant:

MFX_IRQOUT

MFX_SWCLKMFX_SWDIO

0RR232

PC7

100nFC82

100nFC80

100nFC83

100nFC98

one capacitor close to each MFX pins:VDD, VDD_1, VDD_2, VDD_3

10KR234

47KR224DNF

10KR225DNF

100nFC78

510R R236

100nFC77

Loop

MFX_IO5MFX_IO6MFX_IO7

MFX_IO13

MFX_IO15

VDD

VDD

VDD

Default I2C Address:1000010

VDD

0RR223PA0_WAKEUP

TP6

NRST

BAT60JFILM

D7 PA0

STM32L152CCT6

MFX_V3WAKEUP2 NRST7

TSC_XP/GPO010

TSC_XN/GPO111

TSC_YP/GPO212

TSC_YN/GPO313

USART_TX21

USART_RX22

SPARE14

SWDIO34

SWCLK37

I2C_SCL42

I2C_SDA43

BOOT044

I2C_ADDR45

IRQOUT46

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

VD

D1

VD

DA

9

VD

D_1

24

VD

D_2

36

VD

D_3

48

VSS

A8

VSS

_123

VSS

_235

VSS

_347

U32

10K

R235DNF

0RR240DNF

MFX I/O EXPANDER

MFX0 MFX_JOY_SELMFX1 MFX_JOY_DOWNMFX2 MFX_JOY_LEFTMFX3 MFX_JOY_RIGHTMFX4 MFX_JOY_UPMFX5 MFX_uSD_DetectMFX6 MFX_LED2MFX7 MFX_LED4MFX8 MFX_SmartCard_1V8MFX9 MFX_SmartCard_3/5VMFX10 MFX_SmartCard_OFFMFX11 MFX_SmartCard_CMDVCCMFX12 MFX_SmartCard_RSTMFX13 MFX_uSD_LCD_SPI2_DIRMFX14 NCMFX15 MFX_EXT_RST0RR243

0RR239

Header 4x1

1234

CN18

DNFMFX_SWDIO

MFX_SWCLKVDD

LIMITATIONS :

LED4 & EXT RESET exclusive together (MFX I/O 13)

0RR245

VDD1

VDD1

VDD_MCU

Currentdirection

to MCU

differentialamplifier

SH0 SH1 SH2

Shunts

decoupling capacitorsclose to TSZ122

IDD_MEAS

SH1_D SH2_DSH0_D

CAL_D

bypass

decoupling capacitorsclose to TSZ122

VDD1

VDD

VDD

5V

5VNew Parts

New Parts

CAL

MFX_aGPIO1

MFX_aGPIO1

T50_4 T50_6

AMP_VDD

AMP_5V

TSZ122ISTV+

V-

3

21

48 U38A

TSZ122ISTV+

V-

3

21

48 U39A

TSZ122IST

5

67

U38B

TSZ122IST

5

67

U39B

STT4P3LLH6

3

4 5

G

S

D

621

T2

STT4P3LLH6

3

4 5

G

S

D

621

T7

STT4P3LLH63

4

5

G

S

D

6

21

T4STT4P3LLH6

3

4

5

G

S

D

6

21

T3STT4P3LLH6

3

4

5

G

S

D

6

21

T6

STT4P3LLH6

3

4

5

G

S

D

6

21

T5

STT4P3LLH6

3

4

5

G

S

D

6

21

T8

100KR228

100KR230

100KR229

100KR242

100KR241

1RR227

213

JP13

0RR267

100nFC108

100nF

C119 100nF

C120

100nFC110

11KR271

300K

R260

300K

R265 1uFC112

100R

R266

10KR253

620RR252

24RR238

6K04

R270

6K04

R262

357KR268

JOY_SEL

JOY_LEFTJOY_DOWN

JOY_RIGHTJOY_UP

JOYSTICK

JOYSTICKMFX_JOY_SELMFX_JOY_DOWNMFX_JOY_LEFT

MFX_JOY_UPMFX_JOY_RIGHT

MFX_JOY_SELMFX_JOY_DOWNMFX_JOY_LEFT

MFX_JOY_UPMFX_JOY_RIGHT

SmartCard_1V8SmartCard_3/5VSmartCard_OFFSmartCard_CMDVCCSmartCard_RST

SmartCard

SmartCard

MFX_SmartCard_1V8MFX_SmartCard_3/5VMFX_SmartCard_OFF

MFX_SmartCard_RSTMFX_SmartCard_CMDVCC

MFX_SmartCard_1V8MFX_SmartCard_3/5VMFX_SmartCard_OFF

MFX_SmartCard_RSTMFX_SmartCard_CMDVCC

I2C3

I2C3_SDAI2C3_SCLSDA

SCL

I2C3

I2C3_SDAI2C3_SCL

100nFC111

MFX_aGPIO1

1uFC76

4.7uFC75

600R@100MHz

L3

IDD_MEASCAL

SH2SH1SH0

VDD_MCUSB43

HW21 _

MFX CURRENT MEASUREMENT

IDD BYPASS

MFX

default :1-2

Page 75: UM2514 User manual · 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

UM

25

14S

che

matic

dia

gra

ms

UM

2514

Re

v 475

/83

Figure 43. Power board

20 22

Board PowerTitle:

Size:Reference:Sheet: ofA4

Revision:

Project: STM32G474E-EVAL

MB1397B 0401-NOV-18

G474E

Date:-

Variant:

BNX002-01

B1

PSG3

CB 2

CG1 4

CG2 5

CG3 6

L4VIN_EXT

5V 3V3

DC10B1

32

CN25

100nFC147

220uFC109

HW12

5V5V_EXT5V_D

5V_STLK5V_USB_PD

5V Power Supply options

3V3 Supply

5V to 18V External supply

5V_USB_CHGR

BOARD POWER

4.7uFC156 4.7uF

C149

100nFC146

10K

R289

SB47ST1L05CPU33R 3.3V 1.3A

EN1

GN

D2

VO 4

VO_SENSE 5

GN

DEP

VI6

NC 3

U47

Curr=5mA, Lum=25%

GREEN

LD6

VIN_EXT_CONN

GND_EXT_UNFILT

VIN_EXT_UNFILT

TP9

620R

R198

TP4SB42

1V81V8_LDOLD3985M18R

51

2

GND3

4

BYPASSINH

Vin Vout

U29

10nFC741uF

C731uFC79

1V8

3V3

VDD_ADJ

VDD ADJ Supply

SB48

TP8

4.7uFC150

10KR286

DNF

DNF

TP7

4.7uFC151

5V

ST1L05BPUR

EN1

GN

D2

VO 4

ADJ 5GN

DEP

VI6 PG 3U48

Vout=1.22*(1+R1/R2)

R1

R2

20K

R292

VDD_ADJ [1.62V to 3.61V]

50K

13

2RV3

10K2R293

5V PWR

Shunt Fitted 1-2

1 23 45 67 89 10

JP12

CHGR

D5VE5V

U5VSTLK

5V Source

SMC30J18A

12

U43PTC FUSE 2.6A

F1

15KR251

82KR247

22pFC95

10uFC124

10uFC123

100nFC125

22uFC102

10KR272

SMC30J5.0A

12

U33

VIN_EXT 5V_EXT

TP55V_EXT = 5.2V

4A4A

4.7uH_4.2A

L5

ST1S41PHR

NC5

VINA1

EN2 FB 3

AG

ND

4

SW 7VINSW6

PGN

D8

PAD

9

U37

PSU

3V3

PG ADJ

1V8

Page 76: UM2514 User manual · 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

Sc

he

ma

tic d

iag

ram

sU

M2

514

76/8

3U

M2

514 R

ev 4

Figure 44. STLINK-V3E -SWD Module

21 22

ST-LINK V3 SWD ModuleTitle:

Size:Reference:Sheet: ofA3

Revision:

Project: STM32G474E-EVAL

MB1397B 0401-NOV-18

G474E

Date:-

Variant:

GNDDetect

STLK_VCP_RXSTLK_VCP_TX

T_SWCLK

T_SWDIO_INT_SWDIO

T_SWO

T_NRST

3V3_STLK

LED_STLK

STLK_SWDIOSTLK_SWCLK

T_PWR_ENT_PWR_EXT

USB_DEV_HS_NUSB_DEV_HS_P

3V3_STLK

USB_DEV_HS_NUSB_DEV_HS_P

iUSB

Matched Net Lengths [Tolerance = 0.2mm]Impedance Constraint [Min = 85.00 Max = 95.00 ]

iUSB

T_SWCLKT_SWO

T_SWDIO

T_NRSTGNDDetect

KEY

100nFC141

10K

R280

10K

R278

2.2uFC1143KR269

4K7R282

4K7R281100nF

C148

NRST

LED_STLK

3V3_STLK

330R

R296

330R

R295

Header 4x1

1234

CN27

DNF

3V3_STLK

25MHz

VDD4 OUT 3

EN1 GND 2

X1

10K

R288

USB_uB_105017-0001

VBUS 1

DM 2

DP 3

ID 4

GND 5

Shield 6

USB

_Mic

ro-B

rece

ptac

le

Shield 7

Shield 8

Shield 9

EXP 10

EXP 11

CN21

USB_DEV_HS_CN_NUSB_DEV_HS_CN_P

iUSB

iUSB

100RR285

100RR284

100RR187

LD_BICOLOR_CMS

21

4 3

Red

Green

LD8

I/Os

100pF, 50V

C81

header 2x1

12

CN29

DNF

ECMF02-2AMX6

GND 3NC4

D-5 D- 2

D+6 D+ 1

U31

ESDALC6V1W5

1

32

4

5

U21

ESDALC6V1W5

1

32

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

100nFC130

100nFC131

100nFC140

3V3_STLK

100nFC133

100nFC134

100nFC145

100nFC128

100nFC116

100nFC144

100nFC137

100nFC138

100nFC143

100nFC139

3V3_STLK

1uFC135

4.7uFC113

100nFC118

100nFC117

100nFC142

100nFC136

Ceramic capacitor (Low ESR)

3V3_STLK

10KR283

3V3_STLK

BAT60JFILMD3100nFC67

1uF

C68

LD3985M33R51

2

GND3

4

BYPASSINH

Vin Vout

U27

BAT60JFILMD6

BAT60JFILMD5

5V_EXT

5V_USB_PD

1uF

C66

5V_D BAT60JFILMD4

10nFC71100nF

C63

5V

2K7R277

4K7R279

POWER

header 2x1

12

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 R5T_PWR_EXT/PB1 R4

USB_DEV_HS_N/PB14R14

USB_DEV_HS_P/PB15R15

STLK_MCO/PA8 F15

STLK_LED/PA10 D15

STLK_SWDIO/PA13A15

STLK_SWCLK/PA14A14

OSC_IN/PH0G1

OSC_OUT/PH1H1

NRSTJ1

BOOT0D6

PDR_ONC6

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_OTGPHYJ14

REXT_OTGPHYJ15

GNDDetect/PG5 K13

HW_TYP_0/PI4 D4

HW_TYP_1/PI5 C4

T_SW_DIR/PA7 R3

U40A

ST-LINKV3E_SWD

VBATC1

VSS

F9V

SSF8

VREF- N1VSSA M1

VREF+P1

VSS H9

VSS H10

VCAP2F13

VSS J6

VDDK4 VDDC5

VSS J7

VCAP1M10

VSS J8

VDDG13

VSS J9

VSS J10

VDDN10

VDDG3

VDDAR1

VDDC8

VDDC7

VDDF3

VDDJ12

VDDC9

VSS K6

VSS K7

VSS

F10

VSS

G6

BYPASS-REGL4

VDDN8

VDDN9

VDDJ13

VDDH13

VSS

G7

VSS

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

VSS

M9

VSS

G12

VSS

D8

VSS

D7

VSS

F2V

SSH

12V

SSD

9V

SSF6

VSS

F7

U40B

2.2uFC122

2.2uFC115

ESDA7P60-1U1M

1 2U34

5V ST-LINK

3.3V ST-LINK

T_SWCLK_STDCT_SWO_STDC

T_SWDIO_STDC

T_NRST_STDCVCP_TX_STDCVCP_RX_STDC

47RR20847RR20647RR204

47RR19647RR19422RR189

T_PWR_EN

10KR217

RED

LD7

820R

R221

5V_STLK

100nFC72

SB41

LED Curr=4mA, Lum=25%

JTMS-SWDIOJTCK-SWCLKJTDIJTDO-SWOJTRST

JTAG-SWD

JTAG-SWDJTDIJTCK-SWCLK

JTDO-SWO

JTMS-SWDIO

JTRST

JTCK-SWCLKJTDO-SWO

JTMS-SWDIO

5V_USB_CHGR

5V_USB_CHGR

5V_USB_CHGR

4.7uF

C89

STMPS2151STR

IN5 OUT 1

GND

2

EN4 FAULT 3

U25

100K

R215

JTDI47RR199 DNF

22R resistor must be as close as possible from the STDC14 connectorSTDC14

COM

CURR OVER

ESDALC6V1W5

1 32

4 5

U45

STLK_SWDIOSTLK_SWCLK

T_JTDI_STDC

T_JTDI_STDC

MIPI10 on STDC14 footprint

1 23 45 67 8

1091113

1214

CN16

VCP_TXVCP_RX

PA9PA10

STLK_VCP_RXSTLK_VCP_TX

VCP_RX_STDCVCP_TX_STDC

Must be on a border or thePCB.

Page 77: UM2514 User manual · 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

UM2514 Rev 4 77/83

UM2514 STM32G474E-EVAL I/O Assignment

82

Appendix A STM32G474E-EVAL I/O Assignment

Table 41. STM32G474E-EVAL I/O Assignment

Pin Name

LQ

FP

128

Double motor controlRockFish-EVAL

General purpose features RockFish-EVAL

PE2 1 MC1|MC2_PFC_Sync_TIM3_CH1 Audio_SAI_MCLK_A || TRACECK

PE3 2 MC1|MC2_PFC_Pwm_TIM3_CH2Audio_SAI_SD_B || FMC_A19 || TRACED0

PE4 3 MC1_ICL-shut-out_GPIOAudio_SAI_FS_A || FMC_A20 || TRACED1

PE5 4 MC1_Dissipative_brake_GPIO TRACED2

PE6 5 - TRACED3

VBAT 6 - -

PC13 7 -WKUP2, RTC_TAMP1, RTC_TS, RTC_OUT1

PC14-OSC32_IN

8 - OSC32_IN

PC15-OSC32_OUT

9 - OSC32_OUT

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

Page 78: UM2514 User manual · 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

STM32G474E-EVAL I/O Assignment UM2514

78/83 UM2514 Rev 4

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 32MC1_OPAMP1_VINM/ 1_VINP

QSPI_CLK

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

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

Table 41. STM32G474E-EVAL I/O Assignment (continued)

Pin NameL

QF

P12

8

Double motor controlRockFish-EVAL

General purpose features RockFish-EVAL

Page 79: UM2514 User manual · 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

UM2514 Rev 4 79/83

UM2514 STM32G474E-EVAL I/O Assignment

82

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_VINPOPAMP4_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 70MC1|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

Table 41. STM32G474E-EVAL I/O Assignment (continued)

Pin NameL

QF

P12

8

Double motor controlRockFish-EVAL

General purpose features RockFish-EVAL

Page 80: UM2514 User manual · 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

STM32G474E-EVAL I/O Assignment UM2514

80/83 UM2514 Rev 4

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 - -

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 SmartCard_CLK_USART3_CK || USBPD_FRSTX

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

Table 41. STM32G474E-EVAL I/O Assignment (continued)

Pin NameL

QF

P12

8

Double motor controlRockFish-EVAL

General purpose features RockFish-EVAL

Page 81: UM2514 User manual · 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

UM2514 Rev 4 81/83

UM2514 STM32G474E-EVAL I/O Assignment

82

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 - -

Table 41. STM32G474E-EVAL I/O Assignment (continued)

Pin NameL

QF

P12

8

Double motor controlRockFish-EVAL

General purpose features RockFish-EVAL

Page 82: UM2514 User manual · 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

Revision history UM2514

82/83 UM2514 Rev 4

Revision history

Table 42. Document revision history

Date Revision Changes

8-Feb-2019 1 Initial version

18-Apr-2019 2Updated:

Section 5.16.3 with OPAMP1, 2 and 4 limitations

3-Jun-2019 3Updated:

Section 5.21.3 with MFX limitations

10-Sep-2019 4Updated:

Section 5.20 with external Flash memory reference

Page 83: UM2514 User manual · 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

UM2514 Rev 4 83/83

UM2514

83

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