16
STM32G474RET6 GPIO and pin assignment
Table 23.
STM32G474RET6 GPIO and pin assignment
Pin
number
Pin name
Signal assignment
Main function
Extension connector
Pin number
CN9
CN8
1
VBAT
VDD
MCU power
-
-
2
PC13
JOYSTICK_SELECT
Joystick
23
-
3
PC14-OSC32_IN
BUCKBOOST_LOAD_50%
Buck-boost
24
-
4
PC15-
OSC32_OUT
BUCKBOOST_LOAD_100%
Buck-boost
25
-
5
PF0-OSC_IN
PF0 (Free)
-
26
-
6
PF1-OSC_OUT
PF1 (Free)
-
27
-
7
PG10-NRST
T_NRST
STLINK
30
-
8
PC0
PC0 (Free)
-
28
-
9
PC1
PC1 (Free)
-
29
-
10
PC2
USBPD_VIN
USBPD
31
-
11
PC3
BUCKBOOST_USBPD_EN
Buck-boost
-
31
12
PA0
BUCK_GREEN_SENSE
RGB LED
-
30
13
PA1
BUCKBOOST_VIN
Buck-boost
-
29
14
PA2
BUCKBOOST_I_IN_AVG
Buck-boost
-
28
15
VSS
GND
MCU power
2 / 32
2 / 32
16
VDD
VDD
MCU power
-
3
17
PA3
BUCKBOOST_VOUT
Buck-boost
-
27
18
PA4
PA4 (Free)
-
-
26
19
PA5
PA5 (Free)
-
-
25
20
PA6
PA6 (Free)
-
-
24
21
PA7
BUCK_RED_SENSE
RGB LED
-
23
22
PC4
JOYSTICK_LEFT
Joystick
-
22
23
PB2
JOYSTICK_RIGHT
Joystick
-
21
24
PB0
BUCK_BLUE_SENSE
RGB LED
-
20
25
PB1
LED_LEFT_ORANGE
User LED
-
19
26
PB10
JOYSTICK_UP
Joystick
-
18
27
VSSA
AGND
MCU power
-
4
28
VREF+
VREFP
MCU power
-
6
29
VDDA
AVDD
MCU power
-
7
30
PC5
JOYSTICK_DOWN
Joystick
-
17
31
VSS
GND
MCU power
2 / 32
2 / 32
32
VDD
VDD
MCU power
-
3
33
PB11
BUCKBOOST_I_IN_SENSE
Buck-boost
-
16
34
PB12
BUCKBOOST_P1_DRIVE
Buck-boost
-
15
UM2577
STM32G474RET6 GPIO and pin assignment
UM2577
-
Rev 2
page 44/54