GPIO Interface
The ROCK Pi E provides a 40-pin GPIO Header.
** Note: Actual compatibility is based on usage. ** ** Note: 40-Pin GPIO for V1.20, V1.21 and V3.0 are functionally identical **
GPIO Number | Function3 | Function2 | Function1 | Pin# | Pin# | Function1 | Function2 | Function3 | GPIO Number |
---|---|---|---|---|---|---|---|---|---|
+3.3V | 1 | 2 | +5.0V | ||||||
100 | UART1_TX | GPIO3_A4 | 3 | 4 | +5.0V | ||||
102 | UART1_RX | GPIO3_A6 | 3 | 6 | GND | ||||
60 | GPIO1_D4 | 7 | 8 | GPIO2_A0 | UART2_TX | 64 | |||
GND | 9 | 10 | GPIO2_A1 | UART2_RX | 65 | ||||
66 | PWM_IR | GPIO2_A2 | 11 | 12 | GPIO2_C2 | PDM_CLK | I2S_SCLK | 82 | |
67 | GPIO2_A3 | 13 | 14 | GND | |||||
27 | GPIO0_D3 | 15 | 16 | USB20DM | |||||
+3.3V | 17 | 18 | USB20DP | ||||||
97 | SPI0_TXD | GPIO3_A1 | 19 | 20 | GND | ||||
98 | SPI0_RXD | GPIO3_A2 | 21 | 22 | ADC_IN1 | ||||
96 | SPI0_CLK | GPIO3_A0 | 23 | 24 | GPIO3_B0 | SPI0_CSN0 | 104 | ||
GND | 25 | 26 | GPIO2_B4 | 76 | |||||
68 | I2C1_SDA | GPIO2_A4 | 27 | 28 | GPIO2_A5 | I2C1_SCL | 69 | ||
84 | I2S1_SDIO1 | PDM_SDI1 | GPIO2_C4 | 29 | 30 | GND | |||
85 | I2S1_SDIO2 | PDM_SDI2 | GPIO2_C5 | 31 | 32 | GPIO2_C0 | I2S1_LRCK_RX | 80 | |
70 | PWM2 | GPIO2_A6 | 33 | 34 | GND | ||||
81 | I2S1_LRCK_TX | GPIO2_C1 | 35 | 36 | GPIO2_B7 | I2S1_MCLK | 79 | ||
86 | PDM_SDI3 | GPIO2_C6 | 37 | 38 | GPIO2_C3 | PDM_SDIO | I2S1_SDI | 83 | |
GND | 39 | 40 | GPIO2_C7 | PDM_FSYNC | I2S1_SDO | 87 |