GPIO

GPIO header pin table:

PinNamePhysical Pin (Designation)Linux GPIOAlternate Func 1Alternate Func 2Interrupt
13V3DCDC3
25VPS
3TWI1_SDAPB941TWI1_SDAUART0_RXPB_EINT9
45VPS
5TWI1_SCKPB840TWI1_SCKUART0_TXPB_EINT8
6GNDGND
7PWM1PB537PWM1PB_EINT5
8UART_TXDPB032UART2_TXDPB_EINT0
9GNDGND
10UART_RXDPB133UART2_RXPB_EINT1
11GPIO17PC569SDC2_D2
12GPIO18PC670SDC2_D3
13GPIO27PC771SDC2_D4
14GNDGND
15GPIO22PC872SDC2_D5
16GPIO23PC973SDC2_D6
173V3DCDC3
18GPIO24PC1074SDC2_D7
19SPI-MOSIPC367SPI0_MOSISDC2_D0
20GNDGND
21SPI-MISOPC064SPI0_MISOSDC2_CLK
22PWM0PB436PWM0PB_EINT4
23SPI-CLKPC165SPI0_CLKSDC2_CMD
24SPI_CE0PC266SPI0_CSSDC2_RST
25GNDGND
26SPI_CE1PC468SDC2_D1

Important notes:

  • First ball is marked with white dot
  • SPI is multiplexed also with SPI flash
  • SPI_CE1 is normal GPIO pin"