STI STM32G081B-EVAL User Manual

UM2403
User manual
Evaluation board with STM32G081RB MCU
Introduction
The STM32G081B-EVAL Evaluation board is a high-end development platform for Arm®
®
Cortex 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 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
-M0+ core-based STM32G081RBT6 microcontroller with USB Type-C™ and Power
card, CEC on two HDMI connectors, smartcard
.
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.
Figure 1. STM32G081B-EVAL board with
legacy peripheral daughterboard
Figure 2. STM32G081B-EVAL board with
UCPD daughterboard
Pictures are not contractual.
November 2018 UM2403 Rev 1 1/78
www.st.com
1
Contents UM2403
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
2/78 UM2403 Rev 1
UM2403 Contents
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
UM2403 Rev 1 3/78
4
Contents UM2403
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
4/78 UM2403 Rev 1
UM2403 List of tables
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
UM2403 Rev 1 5/78
5
List of figures UM2403
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
6/78 UM2403 Rev 1
UM2403 List of figures
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
UM2403 Rev 1 7/78
7
Features UM2403

1 Features

Mother board
STM32G081RBT6 Arm 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
2
I
C compatible serial interface
RTC with backup battery
8-Gbyte or more SPI interface microSD
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 I
2
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)
Cortex®-M0+ core-based microcontroller with 128 Kbytes
C connector
card
a. Arm is a registered trademark of Arm Limited (or its subsidiaries) in the US and/or elsewhere.
8/78 UM2403 Rev 1
UM2403 Features
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
UM2403 Rev 1 9/78
77
Product marking UM2403

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
USB Type-A to Micro-B cable

4 Development toolchains

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

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
®(a)
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
10/78 UM2403 Rev 1
UM2403 Ordering information

6 Ordering information

To order the STM32G081B-EVAL Evaluation board, refer to Tab le 1.
Order code Target STM32
STM32G081B-EVAL STM32G081RB

Table 1. Ordering information

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.
UM2403 Rev 1 11/78
77
Hardware layout and configuration UM2403
06Y9
670*5%7
*3,2
,5B287
,&
,&
&(&
86%&
7,0B&+
63,
86$57
$'&
'$&
6:'
86$57
0RWKHUERDUG
/HJDF\SHULSKHUDOGDXJKWHUERDUG
86%GDXJKWHUERDUG
*3,2
$'&
NH\WDPSHU
EXWWRQ
/('V
PRWRUFRQWURO
FRQQHFWRU
SRWHQWLRPHWHU
YROWDJH
WUDQVODWRU
&03B,1S
PLFUR6'
FDUG
GRWPDWUL[
/&'
56
WUDQVFHLYHU
56
WUDQVFHLYHU
'%
FRQQHFWRU
YROWDJH
WUDQVODWRU
HPEHGGHG
67/,1.9
86%0LFUR%
FRQQHFWRU
'LVSOD\3RUW '3VRXUFH
'LVSOD\3RUW
'3VLQN
86%7\SH$
FRQQHFWRU
86%&
86%7\SH%
FRQQHFWRU
08;
86%
3'
7\SH&
FRQQHFWRU
08;
7\SH&
FRQQHFWRU
,55HFHLYHU
,5/('
6PDUWFDUG
/'5
+'0,VLQN
+'0,VRXUFH
PLFURSKRQHDPSOLILHU
VSHDNHUDPSOLILHU
PPDXGLRMDFN
WHPSHUDWXUH
VHQVRU
,&H[WHQVLRQ
FRQQHFWRU
MR\VWLFN

8 Hardware layout and configuration

The STM32G081B-EVAL Evaluation board is designed around the STM32G081RBT6 (64­pin LQFP package). The hardware block diagram 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

Figure 3 illustrates the connection
12/78 UM2403 Rev 1
UM2403 Hardware layout and configuration
06Y9
-3PRWRUFRQWURO VLJQDOVHOHFWLRQ
&1PRWRUFRQWURO
FRQQHFWRU
&1&1
GDXJKWHUERDUG
FRQQHFWRUV
&1PLFUR6'FDUG
&16:'
FRQQHFWRU
&16:'
FRQQHFWRU
&1DXGLRMDFN
&17)7/&'
59 SRWHQWLRPHWHU
% MR\VWLFN
% WDPSHUEXWWRQ
% UHVHWEXWWRQ
59 9''DGMXVWPHQW
XVHU/('V
&1SRZHUMDFN
/' ORZYROWDJH DODUP/('
&1 86$57
&1&1 H[WHQVLRQKHDGHU
8 670*5%7
&1 67/,1.9 86%
&1 H[WHQVLRQ,& FRQQHFWRU
/' 67/,1.9 &20/('

Figure 4. STM32G081B-EVAL Evaluation board layout

UM2403 Rev 1 13/78
77
Hardware layout and configuration UM2403
06Y9
&1 +'0,VRXUFH
&1 +'0,VLQN
5/'5
&1 VPDUWFDUG
/',5/('
',5UHFHLYHU
06Y9
&1 7\SH&'53 GXDOUROHSRUW
&1 'LVSOD\3RUW LQSXW
&1 86%FRQQHFWRU
&1 H[WHQVLRQSRZHU LQSXW
&1 'LVSOD\3RUW RXWSXW
&1 86%7\SH$
&1 7\SH&VLQN

Figure 5. Legacy peripheral daughterboard

Figure 6. USB Type-C and Power Delivery daughterboard

14/78 UM2403 Rev 1
UM2403 Hardware layout and configuration

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.
UM2403 Rev 1 15/78
77
Hardware layout and configuration UM2403

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.
16/78 UM2403 Rev 1
UM2403 Hardware layout and configuration
06Y9
3RZHUMDFNRQPRWKHUERDUG
9
67/,1.986%
9
'9SLQRQ&1&1
9
3RZHU VZLWFK
'&
'&
3RZHUMDFNRQ86%ERDUG9
9
0RWKHUERDUG
86%&GDXJKWHUERDUG
-3
368
67ON
89
'9
7\SH&3257
7\SH&3257
-3'
3257
3257
7

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 the USB enumeration, the STM32G081B-EVAL board requires 300 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:
mA to the boards at that time. During
mA power from the host
UM2403 Rev 1 17/78
77
Hardware layout and configuration UM2403
89
368
'9 67ON
89
368
'9 67ON
89
368
'9 67ON
89
368
'9 67ON
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 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)
JP17
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:
18/78 UM2403 Rev 1
UM2403 Hardware layout and configuration
Table 2. Power source related Jumpers (continued)
Jumper Description
The Vbat pin of STM32G081RBT6 is connected to VDD when JP15 is set as shown on the right (default setting):
JP15
The Vbat pin of STM32G081RBT6 is connected to 3V battery when JP15 is set as shown on the right:
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:
JP16
The VDD pin of STM32G081RBT6 is connected to VDD_ADJ when JP16 is set as shown on the right:
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.
Tab le 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.
Board peripheral component IO name
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

Table 3. Low voltage limitation

UM2403 Rev 1 19/78
Low voltage
limitation
77
Hardware layout and configuration UM2403

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
Jumper Description
PC14 is connected to 32KHz crystal when SB18 is open (default setting).
SB18
SB19
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.
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 4. 32 KHz crystal X2 related solder bridges

Jumper Description
PF0 is connected to 8MHz crystal when SB20 is open (default setting).
SB20
SB21
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.
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 5. 8 MHz crystal X3 related solder bridges

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.
20/78 UM2403 Rev 1
UM2403 Hardware layout and configuration

8.5 Boot Option

The STM32G081B-EVAL Evaluation board is able to boot from:
Embedded User Flash
System memory with boot loader for ISP
Embedded SRAM for debugging
The boot option is configured by closing JP9 pin2-3 and setting one jumper cap on CN10 among pin 17, pin 19 and pin 21 and one option bit (see

Table 6. Boot related jumper

Table 6 and Tab le 7).
Jumper
configuration
Bit25 in USER
OPTION BYTES
CN10 pin 19 and pin 17 closed by
X STM32G081B-EVAL boot from User Flash (default setting)
jumper
CN10 pin 19 and pin 21 closed by
0 STM32G081B-EVAL boot from Embedded SRAM
jumper
CN10 pin 19 and pin 21 closed by
1 STM32G081B-EVAL boot from System Memory
jumper

Table 7. Boot0 related jumpers

Jumper Description
PA14-BOOT0 is used as SWCLK when JP9 is set as shown on the right (default setting).
JP9
The Bootloader_BOOT0 is managed by pin 6 of connector CN11 (RS232 DSR signal) and it is connected to PA14-BOOT0 when JP9 is set as shown on the right. This configuration is used for boot loader application only.
Boot from

8.6 Peripherals on mother board

8.6.1 Audio

The STM32G081B-EVAL Evaluation board supports stereo audio playback and microphone recording by an external headset connected on audio jack CN15. Audio play is connected to DAC output of STM32G081RBT6 through an audio amplifier and microphone on headset is connected to ADC input of STM32G081RBT6 through a microphone amplifier. Audio amplifier can be enabled or disabled by setting of JP18 and mono/stereo playback can be chosen by setting of JP6, refer to
Tabl e 8 for detail.
UM2403 Rev 1 21/78
77
Hardware layout and configuration UM2403
Table 8. Audio related jumpers
Jumper Description
Speaker amplifier U17 is enabled when JP18 is closed (default setting)
JP18
Speaker amplifier U17 is disabled when JP18 is open
PA4 is connected to VIN1 of Audio amplifier when JP19 is closed (default setting)
JP19
PA4 is disconnected to VIN1 of Audio amplifier when JP19 is open
Mono playback is enabled when JP6 is set as shown on the right (default setting):
JP6
Stereo playback is enabled when JP6 is set as shown on the right:
Audio amplifier operates correctly when VDD > 2.2 V and microphone amplifier operates correctly when VDD > 2.7
V.

8.6.2 RS232 and RS485

Communication through RS232 (with Hardware flow control CTS and RTS) and RS485 is supported by D-type 9-pins RS232/RS485 connector CN11, which is connected to USART1 of STM32G081RBT6 on STM32G081B-EVAL Evaluation board. The signal Bootloader_RESET (shared with CTS signal) and Bootloader_BOOT0 (shared with DSR signal) are added on RS232 connector CN11 for ISP support.
By default, PC4 and PC5 are connected as TX and RX signals. PA9 and PA10 are also can be connected as these two signals for bootloader which is NOT supported on PC4 and PC5 by setting of jumpers in
Jumper Description
RS232_RX is connected to RS232 transceiver and RS232 communication is enabled when JP14 is set as shown on the right (default setting):
JP14
RS485_RX is connected to RS485 transceiver and RS485 communication is enabled when JP14 is set as shown on the right:
PC4 is connected as TX signal without bootloader being supported when JP10 is set as shown on the right (Default setting):
JP10
PA9 is connected as TX signal with bootloader being supported when JP10 is set as shown on the right (CN1 motor control connector is needed to be open in this case):
Table 9.
Table 9. RS232 and RS485 related jumpers
22/78 UM2403 Rev 1
UM2403 Hardware layout and configuration
Table 9. RS232 and RS485 related jumpers (continued)
PC5 is connected as RX signal without bootloader being supported when JP8 is set as shown on the right (default setting):
JP8
PA10 is connected as RX signal with bootloader being supported when JP8 is set as shown on the right (in this case, CN1 motor control connector must be open):
The RS485 communication is supported by RS485 transceiver ST3485EBDR which connected to pin4 and pin9 of D-type 9-pins connector CN11 (share same connector with USART1).
Jumper Description
The external failsafe biasing are enabled when solder bridges SB29 and SB31 was closed
SB29,SB31
Default Setting: Not fitted
The bus termination is enabled when solder bridge SB32 is closed.
SB32
Default Setting: Not fitted
The AC termination is disabled when solder bridge SB30 is closed for high baud rate
SB30
communication.
Default Setting: Not fitted
Table 10. RS485 related solder bridges

8.6.3 microSD card

The 8-GB (or more) microSD card connected to SPI1 port (shared with color LCD) of STM32G081RBT6 is available on the board. microSD card detection is managed by standard IO port PC9 and it must be set with internal pull-up.

8.6.4 Analog Input

The two-pin header CN17 and 10K ohm potentiometer RV3 was connected to PB2 of STM32G081RBT6 as analog input. A low pass filter can be implemented by replacing of R111 and C90 with right value of resistor and capacitor as requested by end user's application.

8.6.5 External I2C Connector

The I2C1 bus of the STM32G081RBT6 is connected to CN2 on the STM32G081B-EVAL. The I2C functional daughterboard can be mounted on the CN2 connector and accessed by the microcontroller through the I2C1 bus, it shares same I2C1 bus with Temperature sensor U3 and DDC on HDMI_Source connector CN3 on legacy peripheral daughterboard.
The pull up voltage level of I2C1 bus is automatically decided by the daughterboard (the legacy peripheral daughterboard or the UCPD daughterboard) on CN4 and CN5. If there is
UM2403 Rev 1 23/78
77
Hardware layout and configuration UM2403
no daughterboard on these connector, pin17 must be closed to pin18 on both CN4 and CN5 by jumpers. Thus I2C pull up voltage and reset pull up voltage on CN2 would be the voltage of VDD.

8.6.6 Motor Control

The STM32G081B-EVAL Evaluation board supports both asynchronous and synchronous three-phase brushless motor control via a 34-pins connector CN1, which provides all required control and feedback signals to and from motor power-driving board.
Available signals on this connector includes emergency stop, motor speed, 3 phase motor current, bus voltage, power heatsink coming from the motor driving board and 6 channels of PWM control signal going to the motor driving circuit.
Daughterboard on CN4 and CN5 must be removed and some jumpers set for motor control application:
Close JP1, JP2 and JP3.
Open JP4 and JP6.
Open pin2-3 of JP8 and JP10.

8.6.7 Display and Input devices

The 2.4" color TFT LCD connected to SPI1 port of STM32G081RBT6 and 4 general purpose color LED's (LD 1,2,3,4) are available as display device. The 4-direction joystick (B3) with selection key which connected to PA0 and supports wakeup feature. Tamper button (B2) are also available as input devices.
Pin Description Pin connection Pin Description Pin connection
1 CS PB8 9 VDD 3.3V
2 SCL PB3 10 VCI 3.3V
3SDI PA7 11GND GND
4RS - 12GND GND
5 WR - 13 BL_VDD 5V
6 RD - 14 BL_Control 5V
7 SDO PB4 15 BL_GND GND
8 RESET RESET# 16 BL_GND GND
Table 11. LCD modules
2.4” TFT LCD connector CN14
Note: The bi-directional voltage translator is implemented on SPI MOSI signal between
STM32G081RBT6 and LCD to support 3-wires serial interface of LCD panel only supports 3-wire SPI port. The direction of this voltage translator is controlled by IO PC12 (the IO PA7 is working as MOSI when PC12 is high or as MISO when PC12 is LOW).
24/78 UM2403 Rev 1
Loading...
+ 54 hidden pages