GPIO Pin分布
下表为昉·惊鸿-7110 DevKit GPIO
pin、映射图以及每个pin的功能说明。
sys | dts | GPIO号 | Pin名 | Pin号 | Pin号 | Pin名 | GPIO号 | dts | sys |
---|---|---|---|---|---|---|---|---|---|
N/A | +3.3V | 1 | 2 | +5V | N/A | ||||
i2c0-4 | i2c0-4 | 58 | GPIO58 (I2C SDA) | 3 | 4 | +5V | N/A | ||
i2c0-4 | i2c0-4 | 57 | GPIO57 (I2C SCL) | 5 | 6 | GND | N/A | ||
ttyS1 | Uart1 | 55 | GPIO55* (UART CTS) | 7 | 8 | GPIO41 (UART RTS) | 41 | uart4/5 | ttyS4/5 |
N/A | GND | 9 | 10 | GPIO33* (MIPI_EDP_BL) | 33 | pwm-gpio | 33 | ||
Spidev1.0-7.0 | SPI0-6 | 42 | GPIO42 (SPI TX) | 11 | 12 | GPIO38* (I2C SCLK) | 38 | i2srx_3ch | 38 |
Spidev1.0-7.0 | SPI0-6 | 43 | GPIO43 (SPI RX) | 13 | 14 | GND | N/A | ||
Spidev1.0-7.0 | SPI0-6 | 47 | GPIO47 (SPI CLK) | 15 | 16 | GPIO54* (UART TX) | 54 | uart1 | ttyS5 |
N/A | +3.3V | 17 | 18 | GPIO51 (UART CTS) | 51 | uart4/5 | ttyS4/5 | ||
52 | 52 | GPIO52 | 19 | 20 | GND | N/A | |||
ttyS3 | Uart3 | 53 | GPIO53* (UART TX) | 21 | 22 | GPIO50 (UART RX) | 50 | uart4/5 | ttyS4/5 |
Spidev1.0-7.0 | SPI0-6 | 48 | GPIO48 (SPI CS) | 23 | 24 | GPIO49 (UART TX) | 49 | uart4/5 | ttyS4/5 |
N/A | GND | 25 | 26 | GPIO56* (UART CTS) | 56 | uart1 | ttyS1 | ||
ttyS2 | Uart2 | 45 | GPIO45* (UART TX) | 27 | 28 | GPIO40 | 40 | 40 | |
ptc | 37 | GPIO37 (PWM CH3) | 29 | 30 | GND | N/A | |||
papower-gpio | 39 | GPIO39* (PA_EN_H) | 31 | 32 | GPIO46* (UART RX) | 46 | uart2 | ttyS2 | |
ptc | 59 | GPIO59 (PWM CH2) | 33 | 34 | GND | N/A | |||
i2srx_3ch | 63 | GPIO63* (I2S LRCLK) | 35 | 36 | GPIO36 (PWM CH0) | 36 | ptc | ||
ptc | 60 | GPIO60 (PWM CH1) | 37 | 38 | GPIO61* (I2S RX) | 61 | i2srx_3ch | ||
N/A | GND | 39 | 40 | GPIO44* (I2S TX) | 44 | i2stx_4ch1 |
注: 带有*号的pin名表示您可以通过设置不同的拨码开关方式,实现多路复用功能,详情请参阅GPIO拨码开关设置。