STI STM32G081B-EVAL User manual

November 2018 UM2403 Rev 1 1/78
1
UM2403
User manual
Evaluation board with STM32G081RB MCU
Introduction
The STM32G081B-EVAL Evaluation board is a high-end development platform for Arm®
Cortex®-M0+ core-based STM32G081RBT6 microcontroller with USB Type-C™ and Power
Delivery controller interfaces (UCPD) compliant with USB Type-C r1.2 and USB PD
specification r3.0, two I2Cs, two SPIs, five USARTs, one LP UART, one 12-bit ADC, two
12-bit DACs, two GP comparators, two LP timers, internal 32KB SRAM and 128KB Flash,
CEC, SWD debugging support.
The full range of hardware features on the STM32G081B-EVAL Evaluation board includes
the mother board, the legacy peripheral daughterboard and the USB Type-C and Power
Delivery daughterboard, which help to evaluate all peripherals (USB Type-C connector with
USB PD, motor control connector, RS232, RS485, Audio DAC, microphone ADC, TFT LCD,
IrDA, IR LED, IR receiver, LDR, microSD™card, CEC on two HDMI connectors, smartcard
slot, RF E2PROM and temperature sensor… etc.) and to develop applications. An ST-
LINK/V2-1 is integrated on the board as embedded in-circuit debugger and programmer for
the STM32 MCU.
The daughterboard and extension connectors provide an easy way to connect a
daughterboard or wrapping board for your specific application.
The USB Type-C and Power Delivery daughterboard features two independent USB-C ports
controlled by STM32G0. USB-C port 1 is dual role power (DRP) and can provide up-to 45W
of power. USB-C Port 2 is sink only. Both supports USB PD protocol and alternate mode
functionality.
Pictures are not contractual.
Figure 1. STM32G081B-EVAL board with
legacy peripheral daughterboard
Figure 2. STM32G081B-EVAL board with
UCPD daughterboard
www.st.com

Contents UM2403
2/78 UM2403 Rev 1
Contents
1 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
2 Product marking . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
3 System requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
4 Development toolchains . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
5 Demonstration software . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
6 Ordering information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
7 Delivery recommendations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
8 Hardware layout and configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
8.1 Embedded ST-LINK/V2-1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
8.1.1 Drivers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
8.1.2 ST-LINK/V2-1 firmware upgrade . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
8.2 Power supply . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
8.3 Clock references . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
8.4 Reset source . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
8.5 Boot Option . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
8.6 Peripherals on mother board . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
8.6.1 Audio . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
8.6.2 RS232 and RS485 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
8.6.3 microSD card . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
8.6.4 Analog Input . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
8.6.5 External I2C Connector . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
8.6.6 Motor Control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
8.6.7 Display and Input devices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
8.7 Peripherals on legacy peripheral daughterboard . . . . . . . . . . . . . . . . . . . 25
8.7.1 LDR (Light dependent resistor) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
8.7.2 Temperature sensor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
8.7.3 Smartcard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26

UM2403 Rev 1 3/78
UM2403 Contents
4
8.7.4 HDMI CEC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
8.7.5 IR LED and IR receiver . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
8.8 USB Type-C and Power Delivery daughterboard . . . . . . . . . . . . . . . . . . . 27
8.8.1 USB Type-C receptacles . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
8.8.2 Power Delivery and local power management . . . . . . . . . . . . . . . . . . . 28
8.8.3 VBUS management and discharge mechanism . . . . . . . . . . . . . . . . . . 28
8.8.4 VBUS voltage-sensing and current-sense stage . . . . . . . . . . . . . . . . . . 29
8.8.5 CC management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
9 Connectors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
9.1 Connectors on mother board . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
9.1.1 Motor control connector CN1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
9.1.2 External I2C connector CN2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
9.1.3 Daughterboard connector CN4 and CN5 . . . . . . . . . . . . . . . . . . . . . . . . 32
9.1.4 ST-LINK/V2-1 USB Micro-B connector CN6 . . . . . . . . . . . . . . . . . . . . . 34
9.1.5 ST-LINK/V2-1 programming connector CN7 . . . . . . . . . . . . . . . . . . . . . 35
9.1.6 microSD connector CN8 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
9.1.7 Extension connector CN9 and CN10 . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
9.1.8 RS232 and RS485 connector CN11 . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
9.1.9 Standard SWD connector CN12 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
9.1.10 High density SWD connector CN13 . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
9.1.11 TFT LCD connector CN14 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
9.1.12 Audio jack CN15 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
9.1.13 5 V Power connector CN16 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
9.1.14 Analog input connector CN17 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
9.2 Connectors on legacy peripheral daughterboard . . . . . . . . . . . . . . . . . . . 40
9.2.1 HDMI sink connector CN1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
9.2.2 Smartcard connector CN2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
9.2.3 HDMI source connector CN3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42
9.2.4 Daughterboard female connector CN4 and CN5 . . . . . . . . . . . . . . . . . . 42
9.3 Connectors on UCPD daughterboard . . . . . . . . . . . . . . . . . . . . . . . . . . . 42
9.3.1 USB Type A connector CN1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42
9.3.2 DisplayPort source connector CN2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
9.3.3 19 V Power connector CN3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
9.3.4 USB3.1 Gen1 Type B connector CN4 . . . . . . . . . . . . . . . . . . . . . . . . . . 44
9.3.5 USB Type-C connector PORT2 CN5 . . . . . . . . . . . . . . . . . . . . . . . . . . . 44
9.3.6 Display port sink connector CN6 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45

Contents UM2403
4/78 UM2403 Rev 1
9.3.7 USB Type-C connector PORT1 CN7 . . . . . . . . . . . . . . . . . . . . . . . . . . . 46
9.3.8 Daughterboard female connector CN8 and CN9 . . . . . . . . . . . . . . . . . . 46
Appendix A Electrical schematics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47
Appendix B STM32G081B-EVAL IO Assignment . . . . . . . . . . . . . . . . . . . . . . . . . 72
Appendix C Federal Communications Commission (FCC) and
Industry Canada (IC) Compliance Statements . . . . . . . . . . . . . . . . 75
C.1 FCC Compliance Statement . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75
C.1.1 Part 15.19 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75
C.1.2 Part 15.105 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75
C.1.3 Part 15.21 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75
C.2 IC Compliance Statement . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75
C.2.1 Compliance Statement . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75
C.3 Déclaration de conformité . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75
Appendix D Mechanical dimensions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76
Revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77

UM2403 Rev 1 5/78
UM2403 List of tables
5
List of tables
Table 1. Ordering information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Table 2. Power source related Jumpers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
Table 3. Low voltage limitation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
Table 4. 32 KHz crystal X2 related solder bridges . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
Table 5. 8 MHz crystal X3 related solder bridges . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
Table 6. Boot related jumper . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
Table 7. Boot0 related jumpers. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
Table 8. Audio related jumpers. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
Table 9. RS232 and RS485 related jumpers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
Table 10. RS485 related solder bridges . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
Table 11. LCD modules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
Table 12. Temperature sensor related solder bridge . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
Table 13. Connection between ST8024L and STM32G081RBT6 . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
Table 14. VBUS related jumpers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
Table 15. Local power related jumpers. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
Table 16. VBUS Power Delivery profiles . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
Table 17. Voltage-sensing and current-sensing ADC. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
Table 18. Dead battery related jumpers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
Table 19. Motor control connector CN1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
Table 20. RF E2PROM connector CN2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
Table 21. Daughterboard connector CN4. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
Table 22. Daughterboard connector CN5. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
Table 23. USB Micro-B connector CN6 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
Table 24. microSD connector CN9 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
Table 25. Extension connector CN9 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
Table 26. Extension connector CN10 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
Table 27. RS232 & RS485 connector CN11 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
Table 28. Standard SWD debugging connector CN12 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
Table 29. High density SWD debugging connector CN13 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
Table 30. Analog input-output connector CN17 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
Table 31. HDMI sink connector CN1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
Table 32. Smartcard connector CN2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
Table 33. HDMI source connector CN3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42
Table 34. USB Type A connector CN1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42
Table 35. DisplayPort source connector CN2. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
Table 36. USB3.1 Gen1 Type B connector CN4 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44
Table 37. USB Type-C connector PORT2 CN5 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44
Table 38. DisplayPort sink connector CN6 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45
Table 39. USB Type-C connector PORT1 CN7 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46
Table 40. STM32G081B-EVAL IO Assignment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72
Table 41. Mechanical dimensions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76
Table 42. Document revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77

List of figures UM2403
6/78 UM2403 Rev 1
List of figures
Figure 1. STM32G081B-EVAL board with legacy peripheral daughterboard . . . . . . . . . . . . . . . . . . . 1
Figure 2. STM32G081B-EVAL board with UCPD daughterboard . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
Figure 3. Hardware block diagram. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
Figure 4. STM32G081B-EVAL Evaluation board layout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
Figure 5. Legacy peripheral daughterboard. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
Figure 6. USB Type-C and Power Delivery daughterboard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
Figure 7. USB Composite Device . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
Figure 8. 5 V power structure. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
Figure 9. GP comparator 1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
Figure 10. Motor Control connector CN1 (top view) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
Figure 11. I2C EXT connector CN2 (front view) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
Figure 12. USB Micro-B connector CN6 (front view) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
Figure 13. microSD connector CN8 (front view) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
Figure 14. RS232 and RS485 connector CN11 (front view) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
Figure 15. Standard SWD debugging connector CN12 (top view) . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
Figure 16. High density SWD debugging connector CN13 (top view) . . . . . . . . . . . . . . . . . . . . . . . . . 39
Figure 17. Power-supply connector CN16 (front view) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
Figure 18. Analog input-output connector CN17 (top view) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
Figure 19. HDMI sink connector CN1 (front view) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
Figure 20. Smartcard connector CN2 (top view) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
Figure 21. HDMI source connector CN3 (front view) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42
Figure 22. USB Type A connector CN1 (front view) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42
Figure 23. DisplayPort source connector CN2 (front view) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
Figure 24. 19 V Power connector CN3 (front view) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
Figure 25. USB3.1 Gen1 Type B connector CN4 (front view) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44
Figure 26. USB Type-C connector PORT2 CN5 (front view). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44
Figure 27. DisplayPort sink connector CN6 (front view) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45
Figure 28. USB Type-C connector PORT1 CN7 (front view). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46
Figure 29. STM32G081B-EVAL mother board top . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48
Figure 30. STM32G081B-EVAL MCU . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49
Figure 31. STM32G081B-EVAL power . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50
Figure 32. STM32G081B-EVAL audio. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
Figure 33. STM32G081B-EVAL LCD microSD . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52
Figure 34. STM32G081B-EVAL motor-control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53
Figure 35. STM32G081B-EVAL peripherals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54
Figure 36. STM32G081B-EVAL RS232 and RS485 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55
Figure 37. STM32G081B-EVAL extension connectors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56
Figure 38. STM32G081B-EVAL ST-LINK V2-1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57
Figure 39. STM32G081B-EVAL SWD . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58
Figure 40. STM32G081B-EVAL legacy peripheral daughterboard . . . . . . . . . . . . . . . . . . . . . . . . . . . 59
Figure 41. STM32G081B-EVAL legacy peripheral daughterboard HDMI and CEC . . . . . . . . . . . . . . 60
Figure 42. STM32G081B-EVAL legacy peripheral daughterboard Smartcard and IR. . . . . . . . . . . . . 61
Figure 43. STM32G081B-EVAL legacy peripheral daughterboard temperature sensor and LDR. . . . 62
Figure 44. STM32G081B-EVAL UCPD daughterboard top . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63
Figure 45. STM32G081B-EVAL UCPD daughterboard CC and VCONN . . . . . . . . . . . . . . . . . . . . . . 64
Figure 46. STM32G081B-EVAL UCPD daughterboard port1 DP USB3 . . . . . . . . . . . . . . . . . . . . . . . 65
Figure 47. STM32G081B-EVAL UCPD daughterboard Type-C source con . . . . . . . . . . . . . . . . . . . . 66
Figure 48. STM32G081B-EVAL UCPD daughterboard port2 DP . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67

UM2403 Rev 1 7/78
UM2403 List of figures
7
Figure 49. STM32G081B-EVAL UCPD daughterboard Type-C sink con . . . . . . . . . . . . . . . . . . . . . . 68
Figure 50. STM32G081B-EVAL UCPD daughterboard USB PD. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69
Figure 51. STM32G081B-EVAL UCPD daughterboard power . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70
Figure 52. STM32G081B-EVAL UCPD daughterboard source power. . . . . . . . . . . . . . . . . . . . . . . . . 71
Figure 53. Mechanical dimensions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76

Features UM2403
8/78 UM2403 Rev 1
1 Features
Mother board
•STM32G081RBT6 Arm®(a) Cortex®-M0+ core-based microcontroller with 128 Kbytes
of Flash memory and 32 Kbytes of RAM in LQFP64 package
•MCU voltage choice fixed 3.3 V or adjustable from 1.65 V to 3.6 V
•I2C compatible serial interface
•RTC with backup battery
•8-Gbyte or more SPI interface microSD™card
•Potentiometer
•4 color user LEDs and one LED as MCU low-power alarm
•Reset, Tamper and User buttons
•4-direction control and selection joystick
•Board connectors:
– 5 V power jack
– RS-232 and RS485 communications
– Stereo audio jack including analog microphone input
–microSD™card
– Extension I2C connector
– Motor-control connector
•Board extension connectors:
– Daughterboard connectors for legacy peripheral daughterboard or USB Type-C
and Power Delivery daughterboard
– Extension connectors for daughterboard or wire-wrap board
•Flexible power-supply options:
– 5 V power jack
– ST-LINK/V2-1 USB connector
– Daughterboard
•On-board ST-LINK/V2-1 debugger/programmer with USB enumeration capability:
mass storage, virtual COM port and debug port
•Comprehensive free software libraries and examples available with the STM32Cube
package
•Support of a wide choice of Integrated Development Environments (IDEs) including
IAR™, Keil®, GCC-based IDEs.
a. Arm is a registered trademark of Arm Limited (or its subsidiaries) in the US and/or elsewhere.

UM2403 Rev 1 9/78
UM2403 Features
77
Legacy peripheral daughterboard
•IrDA transceiver
•IR LED and IR receiver
•Light dependent resistor (LDR)
•Temperature Sensor
•Board connectors:
– Two HDMI connectors with DDC and CEC
– Smartcard slot
USB Type-C and Power Delivery daughterboard
•Multiplexer for USB3.1 Gen1 / DisplayPort™ input and Type-C port1 output
•Multiplexer for Type-C port2 input and DisplayPort output / USB2.0
•VCONN on Type-C port1
•USB PD on Type-C port1
•Board connectors:
– Type-C port1 DRP (Dual Role Port)
– Type-C port2 sink
– DisplayPort input
– DisplayPort output
– USB 3.1 Gen1 Type-B receptacle
– USB2.0 Type-A receptacle
– 19 V power jack for USB PD

Product marking UM2403
10/78 UM2403 Rev 1
2 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
3 System requirements
•Windows®OS (7, 8 and 10), Linux®64-bit or macOS®(a)
•USB Type-A to Micro-B cable
4 Development toolchains
•Keil®MDK-ARM(b)
•IAR™ EWARM(b)
•GCC-based IDEs
5 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 the www.st.com web page.
a. macOS® is a trademark of Apple Inc., registered in the U.S. and other countries.
b. On Windows only

UM2403 Rev 1 11/78
UM2403 Ordering information
77
6 Ordering information
To order the STM32G081B-EVAL Evaluation board, refer to Table 1.
7 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 component to verify is microSD card which may have been ejected from the
connector CN8 (right side of the board).
Caution: There is an explosion risk if the battery is replaced by an incorrect one. Make sure to
dispose of used batteries according to the instructions.
Table 1. Ordering information
Order code Target STM32
STM32G081B-EVAL STM32G081RB

Hardware layout and configuration UM2403
12/78 UM2403 Rev 1
8 Hardware layout and configuration
The STM32G081B-EVAL Evaluation board is designed around the STM32G081RBT6 (64-
pin LQFP package). The hardware block diagram Figure 3 illustrates the connection
between STM32G081RBT6 and peripherals (motor control connector, RS232, RS485,
Audio DAC, microphone ADC, TFT LCD, CAN, IrDA, IR LED, IR receiver, LDR, MicroSD
card, CEC on two HDMI connectors, Smartcard slot, Temperature sensor… etc.) and
Figure 4 help users to locate these features on the Evaluation board.
Figure 3. Hardware block diagram
06Y9
670*5%7
*3,2
,5B287
,&
,&
&(&
86%&
7,0B&+
63,
86$57
$'&
'$&
6:'
86$57
0RWKHUERDUG
/HJDF\SHULSKHUDOGDXJKWHUERDUG
86%GDXJKWHUERDUG
*3,2
$'&
NH\WDPSHU
EXWWRQ
/('V
PRWRUFRQWURO
FRQQHFWRU
SRWHQWLRPHWHU
YROWDJH
WUDQVODWRU
&03B,1S
PLFUR6'
FDUG
GRWPDWUL[
/&'
56
WUDQVFHLYHU
56
WUDQVFHLYHU
'%
FRQQHFWRU
YROWDJH
WUDQVODWRU
HPEHGGHG
67/,1.9
86%0LFUR%
FRQQHFWRU
'LVSOD\3RUW
'3VRXUFH
'LVSOD\3RUW
'3VLQN
86%7\SH$
FRQQHFWRU
86%&
86%7\SH%
FRQQHFWRU
08;
86%
3'
7\SH&
FRQQHFWRU
08;
7\SH&
FRQQHFWRU
,55HFHLYHU
,5/('
6PDUWFDUG
/'5
+'0,VLQN
+'0,VRXUFH
PLFURSKRQHDPSOLILHU
VSHDNHUDPSOLILHU
PPDXGLRMDFN
WHPSHUDWXUH
VHQVRU
,&H[WHQVLRQ
FRQQHFWRU
MR\VWLFN

UM2403 Rev 1 13/78
UM2403 Hardware layout and configuration
77
Figure 4. STM32G081B-EVAL Evaluation board layout
06Y9
-3PRWRUFRQWURO
VLJQDOVHOHFWLRQ
&1PRWRUFRQWURO
FRQQHFWRU
&1&1
GDXJKWHUERDUG
FRQQHFWRUV
&1PLFUR6'FDUG
&16:'
FRQQHFWRU
&16:'
FRQQHFWRU
&1DXGLRMDFN
&17)7/&'
59
SRWHQWLRPHWHU
%
MR\VWLFN
%
WDPSHUEXWWRQ
%
UHVHWEXWWRQ
59
9''DGMXVWPHQW
XVHU/('V
&1SRZHUMDFN
/'
ORZYROWDJH
DODUP/('
&1
86$57
&1&1
H[WHQVLRQKHDGHU
8
670*5%7
&1
67/,1.9
86%
&1
H[WHQVLRQ,&
FRQQHFWRU
/'
67/,1.9
&20/('

Hardware layout and configuration UM2403
14/78 UM2403 Rev 1
Figure 5. Legacy peripheral daughterboard
Figure 6. USB Type-C and Power Delivery daughterboard
06Y9
&1
+'0,VRXUFH
&1
+'0,VLQN
5/'5 &1
VPDUWFDUG
/',5/('
',5UHFHLYHU
06Y9
&1
7\SH&'53
GXDOUROHSRUW
&1
'LVSOD\3RUW
LQSXW
&1
86%FRQQHFWRU
&1
H[WHQVLRQSRZHU
LQSXW
&1
'LVSOD\3RUW
RXWSXW
&1
86%7\SH$
&1
7\SH&VLQN

UM2403 Rev 1 15/78
UM2403 Hardware layout and configuration
77
8.1 Embedded ST-LINK/V2-1
The ST-LINK/V2-1 programming and debugging tool is integrated on the STM32G081B-
EVAL Evaluation board. Compared to ST-LINK/V2 the changes are listed below.
The new features supported on ST-LINK/V2-1 are:
•USB software enumeration
•Virtual COM port interface on USB
•Mass storage interface on USB
•USB power management request for more than 100 mA power on USB
This feature is no longer supported on ST-LINK/V2-1:
•SWIM interface
For all general information concerning debugging and programming features common
between V2 and V2-1 refer to ST-LINK/V2 in-circuit debugger/programmer for STM8 and
STM32 User manual (UM1075) in the www.st.com website.
Note: It is possible to power the board via CN6 (Embedded ST-LINK/V2-1 USB connector) even if
an external tools is connected to CN12 or CN13 (External SWD connector).
8.1.1 Drivers
The ST-LINK/V2-1 requires a dedicated USB driver, which can be found on www.st.com for
Windows PC (7, 8 or 10).
In case the STM32G081B-EVAL Evaluation board is connected to the PC before the driver
is installed, some STM32G081B-EVAL interfaces may be declared as “Unknown” in the PC
device manager. In this case, the user must install the driver files, and update the driver of
the connected device from the device manager.
Note: Prefer using the “USB Composite Device” handle for a full recovery.
Figure 7. USB Composite Device
8.1.2 ST-LINK/V2-1 firmware upgrade
The ST-LINK/V2-1 embeds a firmware upgrade mechanism for in-situ upgrade through the
USB port. As the firmware may evolve during the lifetime of the ST-LINK/V2-1 product (for
example new functionality, bug fixes, support for new microcontroller families), it is
recommended to visit the www.st.com website before starting to use the STM32G081B-
EVAL board and periodically, to stay up-to-date with the latest firmware version.

Hardware layout and configuration UM2403
16/78 UM2403 Rev 1
8.2 Power supply
The STM32G081B-EVAL Evaluation mother board is designed to be powered by 5 V DC
power supply and is protected by PolyZen from wrong power plug-in event. It is possible to
configure the mother board to use any of the following four sources for the power supply:
•5 V DC power adapter connected to CN16, the power Jack on the board (Power
Supply Unit on silk screen of JP17 (PSU)). The external power supply is not provided
with the board.
•5 V DC power with 500 mA limitation from CN6, the USB Micro-B connector of
STLINK/V2-1 (USB 5 V power source on silkscreen of JP17 (STlk)). If the USB
enumeration succeeds, the ST-LINK U5V power is enabled, by asserting the PWR_EN
pin. This pin is connected to a power switch, which powers the board. This power
switch features also a current limitation to protect the PC in case of short-circuit on the
board. If overcurrent (more than 500 mA) happens on the board, the LED LD5 lights
up.
•5 V DC power from CN6 directly, the USB Micro-B connector of STLINK/V2-1 (USB 5 V
power source on silkscreen of JP17 (U5V)).
•5 V DC power from CN5 or CN9, the extension connector for daughterboard power
source (D5V) on silkscreen of JP19).
The UCPD daughterboard uses its own 19V power adapter to support USB PD, in this case
the mother board uses D5V from the UCPD daughterboard to supply all circuits on
STM32G081B-EVAL Evaluation board. D5V of the UCPD daughterboard has three sources
as below:
•19 V DC power adapter connected to CN3 on the UCPD daughterboard
•Power from Type-C Port1 CN7 on the UCPD daughterboard
•Power from Type-C port2 CN5 on the UCPD daughterboard
19 V DC power adapter and Type-C Port1 sources are automatically selected by circuit (D8
and T10 on the UCPD daughterboard). Refer to Table15 for detail.

UM2403 Rev 1 17/78
UM2403 Hardware layout and configuration
77
Figure 8. 5 V power structure
The STM32G081B-EVAL Evaluation board can be powered from the ST-LINK/V2-1 USB
connector CN6 with a PC, but only the ST-LINK/V2-1 circuit has the power before USB
enumeration, because the host PC only provides 100 mA to the boards at that time. During
the USB enumeration, the STM32G081B-EVAL board requires 300 mA power from the host
PC. If the host is able to provide the required power, the enumeration succeeds, the power
transistor U5 is switched ON, the red LED LD7 is turned ON, and thus the STM32G081B-
EVAL board is powered and can consume maximum 300 mA current. If the host PC is not
able to provide the requested current, the enumeration fails. Therefore the STM32 part
including the extension board is not powered. As a consequence the red LED LD7 remains
turned OFF. In this case it is mandatory to use an external power supply to supply extra
power.
E5V (from PSU) or D5V can be used as external power supply in case current consumption
of the STM32G081B-EVAL board exceeds the allowed current on USB. In this condition it is
still possible to use USB for communication, for programming or debugging only, but it is
mandatory to power the board first using E5V or D5V, and then connecting the USB cable to
the PC. Proceeding this way ensures that the enumeration succeeds thanks to the external
power source.
The following power sequence procedure must be respected:
06Y9
3RZHUMDFNRQPRWKHUERDUG
9
67/,1.986%
9
'9SLQRQ&1&1
9
3RZHU
VZLWFK
'&
'&
3RZHUMDFNRQ86%ERDUG9
9
0RWKHUERDUG
86%&GDXJKWHUERDUG
-3
368
67ON
89
'9
7\SH&3257
7\SH&3257
-3'
3257
3257
7

Hardware layout and configuration UM2403
18/78 UM2403 Rev 1
1. Connect jumper JP17 for PSU or D5V side
2. Check that JP5 is removed
3. Connect the external power source to PSU or D5V (daughterboard mounted)
4. Check red LED LD7 is turned ON
5. Connect the PC to USB connector CN6
If this order is not respected, the board may be powered by VBUS first then E5V or D5V,
and the following risks may be encountered:
1. If more than 300 mA current is needed by the board, the PC may be damaged or
current can be limited by PC. As a consequence the board is not powered correctly.
2. 300 mA is requested at enumeration (since JP5 must be OFF), so there is risk that
request is rejected and enumeration does not succeed if PC can't provide such current.
Consequently the board is not powered (LED LD7 remains OFF).
In case the STM32G081B-EVAL board is powered by an USB charger through CN6, there is
no USB enumeration needed. User can set JP17 to U5V to allow the board to be powered
anyway from CN6.
The power source is selected by setting the related jumpers JP17, JP15 and JP16 as
described in table 2.
Table 2. Power source related Jumpers
Jumper Description
JP17
JP17 is used to select one of the four possible power supply resources.
Only for power supply from USB (CN6) of ST-LINK/V2-1 to STM32G081B-EVAL, JP17 is set as
shown on the right:
Only for power supply from the daughterboard connectors(CN5 or CN9) to STM32G081B-
EVAL, JP17 is set as shown on the right: (default Setting)
Only for power supply jack(CN16) to the STM32G081B-EVAL, JP17 is set as shown on the
right:
Only for power supply from USB (CN6) to STM32G081B-EVAL without current limited, JP17 is
set as shown on the right:
89 368 '9 67ON
89 368 '9 67ON
89 368 '9 67ON
89 368 '9 67ON

UM2403 Rev 1 19/78
UM2403 Hardware layout and configuration
77
Note: The VDD_MCU Idd measurement can be done by current meter which mounted on JP11
when it is open. But JP11 is not allowed to be opened without current meter; otherwise
STM32G081RBT6 would be damaged due to lacking of power supply on its power pins.
Note: LD8 is lit when VDD < 2.7 V and in this case IOs and some Analog IPs of STM32G081RBT6
work with degraded performances.
Note: The UCPD daughterboard works with VDD=3.3V, so it is mandatory to close JP16 pin1 and
pin2.
The LED LD7 is lit when the STM32G081B-EVAL Evaluation board is powered by the 5V
correctly.
Table 3 shows the low voltage limitations that might apply depending on the characteristics
of some peripheral components. Components might work incorrectly when the power level
is lower than the limitation.
JP15
The Vbat pin of STM32G081RBT6 is connected to VDD when JP15 is set as shown on the right
(default setting):
The Vbat pin of STM32G081RBT6 is connected to 3V battery when JP15 is set as shown on the
right:
JP16
The VDD pin of STM32G081RBT6 is connected to 3.3V when JP16 is set as shown on the right
(default setting), when the UCPD daughterboard is used, this setting is mandatory:
The VDD pin of STM32G081RBT6 is connected to VDD_ADJ when JP16 is set as shown on the
right:
Table 2. Power source related Jumpers (continued)
Jumper Description
Table 3. Low voltage limitation
Board peripheral component IO name Low voltage
limitation
Mother board Audio amplifier U17 Audio input 2.2V
Mother board Microphone amplifier U12 Audio output 2.7V
Legacy daughterboard Smartcard CN2 USART1 2.7V

Hardware layout and configuration UM2403
20/78 UM2403 Rev 1
8.3 Clock references
Two clock sources are available on STM32G081B-EVAL Evaluation board for
STM32G081RBT6 and RTC embedded.
•X2, 32KHz Crystal for embedded RTC
•X3, 8MHz Crystal for the STM32G081RBT6 microcontroller, it can be disconnected by
removing R45 and R46 when internal RC clock is used
8.4 Reset source
The general reset of the STM32G081B-EVAL Evaluation board is active low and the reset
sources include:
•Reset button B1
•Debugging Tools from SWD connector CN12 and CN13
•Daughterboard from CN4
•Embedded ST-LINK/V2-1
•RS232 connector CN11 for ISP.
Note: The jumper JP12 to be closed for RESET handled by pin8 of RS232 connector CN11 (CTS
signal), please refer to Section 8.6.2 for detail.
Table 4. 32 KHz crystal X2 related solder bridges
Jumper Description
SB18
PC14 is connected to 32KHz crystal when SB18 is open (default setting).
PC14 is connected to extension connector CN9 when SB18 is closed. In such case R43 must be
removed to avoid disturbance due to the 32Khz quartz.
SB19
PC15 is connected to 32KHz crystal when SB19 is open (default setting).
PC15 is connected to extension connector CN9 when SB19 is closed. In such case R44 must be
removed to avoid disturbance due to the 32Khz quartz.
Table 5. 8 MHz crystal X3 related solder bridges
Jumper Description
SB20
PF0 is connected to 8MHz crystal when SB20 is open (default setting).
PF0 is connected to extension connector CN10 when SB20 is closed. In such case R45 must be
removed to avoid disturbance due to the 8Mhz quartz.
SB21
PF1 is connected to 8MHz crystal when SB21 is open (default setting).
PF1 is connected to extension connector CN10 when SB21 is closed. In such case R46 must be
removed to avoid disturbance due to the 8Mhz quartz.
Table of contents
Other STI Motherboard manuals