GPIO as
signmen
t and
s
h
aring
U
M22
7
1
4
2/7
D
ocID030
906 Re
v 2
Appendix A
GPIO assignment and sharing
Table 28. 32L4R9IDISCOVERY GPIO assignment and sharing
Pin
GPIO port
GPIO primary interface
STMod+ interface
PMOD interface
ARDUINO interface
K3
PA0
-
-
-
ARD_A4 (ADC1_IN5)
M1
PA1
-
-
-
ARD_D5 (TIM5_CH2)
N1
PA2
STLINK_USART2_TX
-
-
-
M2
PA3
STLINK_USART2_RX
-
-
-
N2
PA4
DCMI_HSYNC/DE
STMod+_ADC (ADC_1_IN9)
-
ARD_D7
L3
PA5
-
STMod+_PWM (TIM2_CH1)
-
ARD_A5 (ADC1_IN10)
L4
PA6
-
STMod+_SPI2_CS //
STMod+_USART3_CTS
(NU)
PMOD_SPI2_CS //
PMOD_USART3_CTS
(NU)
-
M4
PA7
-
-
-
ARD_A0 (ADC1_IN12)
E11
PA8
DSI_SWIRE
(NU)
//
DCMI_CLK (MC0)
-
-
-
E12
PA9
VBUS
-
-
-
D11
PA10
ID
-
-
-
E13
PA11
DM
-
-
-
D13
PA12
DP
-
-
-
A11
PA13
JTMS/SWDIO
-
-
-
A10
PA14
JTCK/SWCLK
-
-
-
A9
PA15
-
STMod+_USART3_RTS
(NU)
PMOD_USART3_RTS
(NU)
-
N4
PB0
DSI_USART3_CK
(NU)
-
-
ARD_A3 (ADC1_IN15)
L5
PB1
DSI_BL_CTRL
(NU)
//
DSI_SWIRE
(NU)
-
-
-
N5
PB2
MFX_WAKEUP_OUT
-
-
-