|
|
Line 5: |
Line 5: |
| | | |
| __TOC__ | | __TOC__ |
− |
| |
− | === <span id="gpio">General purpose input-output (GPIO) connector</span> ===
| |
− |
| |
− | ROCK Pi X has a 40-pin expansion header. Each pin is distinguished by color.
| |
− | {| class="wikitable"
| |
− | ! GPIO number || Function3 || Function2 || Function1 || GPIO || Pin# || || Pin# || GPIO || Function1 || Function2 || Function3 || GPIO number
| |
− | |-
| |
− | | || || || +3.3V || || style="background:yellow"| 1 || ||style="background:red"| 2 || || +5.0V || || ||
| |
− | |-
| |
− | | || || || I2C2_SDA || || style="background:green; color:white"| 3 || || style="background:red"| 4 || || +5.0V || || ||
| |
− | |-
| |
− | | || || || I2C2_SCL || || style="background:green; color:white"| 5 || || style="background:black; color:white"| 6 || || GND || || ||
| |
− | |-
| |
− | | || || || I2S3_CLK || ISH_GPIO0 || style="background:green; color:white"| 7 || || style="background:green; color:white"| 8 || || UART2_TX || || ||
| |
− | |-
| |
− | | || || || GND || || style="background:black; color:white"| 9 || || style="background:green; color:white"|10 || || UART2_RX || || ||
| |
− | |-
| |
− | | || || SPI2_CLK || UART0_TX || || style="background:green; color:white"|11 || || style="background:green; color:white"|12 || GPIO_DFX3 || C0_BPM3_TX || || ||
| |
− | |-
| |
− | | || || SPI2_MISO || UART0_RX || || style="background:green; color:white"|13 || || style="background:black; color:white"|14 || || GND || || ||
| |
− | |-
| |
− | | || || || SPI2_CS0 || || style="background:green; color:white"|15 || || style="background:green; color:white"|16 || GPIO_DFX4 || SPI2_MOSI || || ||
| |
− | |-
| |
− | | || || || +3.3V || || style="background:yellow"|17 || || style="background:green; color:white"|18 || || UART2_RTS || || ||
| |
− | |-
| |
− | | || ISH_I2C1_DATA || ISH_SPI_MOSI || I2S5_TX || || style="background:green; color:white"|19 || ||style="background:black; color:white"|20 || || GND || || ||
| |
− | |-
| |
− | | || || ISH_SPI_MISO || I2S5_FS || ISH_GPIO9 || style="background:green; color:white"|21 || || style="background:green; color:white"|22 || || UART2_CTS || || ||
| |
− | |-
| |
− | | || ISH_I2C1_CLK || ISH_SPI_CLK || I2S5_RX || || style="background:green; color:white"|23 || || style="background:green; color:white"|24 || ISH_GPIO1 || I2S3_FS || || ||
| |
− | |-
| |
− | | || || || GND || || style="background:black; color:white"|25 || || style="background:green; color:white"|26 || ISH_GPIO4 || I2S4_CLK || || ||
| |
− | |-
| |
− | | || || || I2C5_DATA || || style="background:blue; color:white"|27 || || style="background:blue; color:white"|28 || || I2C5_CLK || || ||
| |
− | |-
| |
− | | || || || I2S3_TX || ISH_GPIO2 || style="background:green; color:white"|29 || || style="background:black; color:white"|30 || || GND || || ||
| |
− | |-
| |
− | | || || || I2S3_RX || ISH_GPIO3 || style="background:green; color:white"|31 || || style="background:green; color:white"|32 || || PWM0 || || ||
| |
− | |-
| |
− | | || || PWM1 || ISH_UART_TX || ISH_GPIO10 || style="background:green; color:white"|33 || || style="background:black; color:white"|34 || || GND || || ||
| |
− | |-
| |
− | | || || || I2S1_FRM || || style="background:green; color:white"|35 || || style="background:green; color:white"|36 || || I2S1_CLK || || ||
| |
− | |-
| |
− | | || || GPIO_DFX2 || C0_BPM2_TX || ISH_GPIO13 || style="background:green; color:white"|37 || || style="background:green; color:white"|38 || || I2S1_RX || || ||
| |
− | |-
| |
− | | || || || GND || || style="background:black; color:white"|39 || ||style="background:green; color:white"|40 || || I2S1_TX || || ||
| |
− | |}
| |