Pin
number
Pin name
Signal assignment
Main function
Extension connector
Pin number
CN9
CN8
35
PB13
BUCKBOOST_N1_DRIVE
Buck-boost
-
14
36
PB14
BUCKBOOST_N2_DRIVE
Buck-boost
-
13
37
PB15
BUCKBOOST_P2_DRIVE
Buck-boost
-
12
38
PC6
BUCK_RED_DRIVE
RGB LED
-
11
39
PC7
RC sinus function
RC sinus
-
10
40
PC8
BUCK_GREEN_DRIVE
RGB LED
-
9
41
PC9
PC9 (Free)
-
-
8
42
PA8
BUCK_BLUE_DRIVE
RGB LED
4
-
43
PA9
USBPD_DBCC1
USBPD
5
-
44
PA10
USBPD_DBCC2
USBPD
6
-
45
PA11
USBPD_FS_DM
USBPD
7
-
46
PA12
USBPD_FS_DP
USBPD
8
-
47
VSS
GND
MCU power
2 / 32
2 / 32
48
VDD
VDD
MCU power
-
3
49
PA13
T_SWDIO
STLINK
9
-
50
PA14
T_SWCLK
STLINK
10
-
51
PA15
LED_DOWN_BLUE / T_JTDI
User LED / JTAG
11
-
52
PC10
T_VCP_TX
STLINK
12
-
53
PC11
T_VCP_RX
STLINK
13
-
54
PC12
5V_USBPD_1A_PROTECT
USBPD
14
-
55
PD2
USBPD_550mA_PROTECT
USBPD
15
-
56
PB3
T_SWO
STLINK
16
-
57
PB4
USBPD_CC2
USBPD
17
-
58
PB5
LED_UP_RED
User LED
18
-
59
PB6
USBPD_CC1
USBPD
19
-
60
PB7
LED_RIGHT_GREEN
User LED
20
-
61
PB8-BOOT0
PB8 (Free)
-
21
-
62
PB9
PB9 (Free)
-
22
-
63
VSS
GND
MCU power
2 / 32
2 / 32
64
VDD
VDD
MCU power
-
3
UM2577
STM32G474RET6 GPIO and pin assignment
UM2577
-
Rev 2
page 45/54