This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
products:sbc:vim1:applications:gpio:40pin-header [2022/10/18 02:58] hyphop |
products:sbc:vim1:applications:gpio:40pin-header [2024/08/12 23:00] (current) xiong [Android] |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| {{indexmenu_n> | {{indexmenu_n> | ||
| + | |||
| + | ~~tag> | ||
| ====== VIM1 GPIO Header ====== | ====== VIM1 GPIO Header ====== | ||
| - | ===== Reference table ===== | + | Universal GPIO 40 pins board header, used for communication between board and different external devices. |
| + | |||
| + | ====== Reference table ====== | ||
| + | |||
| + | <tabbox Linux> | ||
| + | |||
| + | <WRAP important > | ||
| + | Current GPIO numbers valid for vendor kernel only. Mainline linux kernel GPIO numbers will be different... | ||
| + | </ | ||
| + | ^ GPIO ^ Name ^ Physical | ||
| + | | | 5V | 1 | 21 | **GND** | ||
| + | | | 5V | 2 | 22 | PIN.DV25 | ||
| + | | | HUB_DM1 | ||
| + | | | HUB_DP1 | ||
| + | | | **GND** | ||
| + | | | 5V | 6 | 26 | PIN.DV26 | ||
| + | | | HUB_DM2 | ||
| + | | | HUB_DP2 | ||
| + | | | **GND** | ||
| + | | | ADC.CH0 | ||
| + | | | **GND** | ||
| + | | | ADC.CH2 | ||
| + | | 420 | PIN.H4 | ||
| + | | | **GND** | ||
| + | | 506 | PIN.AO5 | ||
| + | | 505 | PIN.AO4 | ||
| + | | | **GND** | ||
| + | | | UART_RX | ||
| + | | | UART_TX / PIN.AO2 | ||
| + | | | 3.3V | 20 | ||
| + | |||
| + | <tabbox Android> | ||
| + | |||
| + | ^ GPIO ^ Name ^ Physical | ||
| + | | | 5V | 1 | 21 | **GND** | ||
| + | | | 5V | 2 | 22 | I2C_SCK_A | | | ||
| + | | | HUB_DM1 | ||
| + | | | HUB_DP1 | ||
| + | | | **GND** | ||
| + | | | 5V | 6 | 26 | I2C_SDA_B | | | ||
| + | | | HUB_DM2 | ||
| + | | | HUB_DP2 | ||
| + | | | **GND** | ||
| + | | | ADC.CH0 | ||
| + | | | **GND** | ||
| + | | | ADC.CH2 | ||
| + | | | SPDIF | ||
| + | | | **GND** | ||
| + | | | UART_RX | ||
| + | | | UART_TX | ||
| + | | | **GND** | ||
| + | | | Linux_RX | ||
| + | | | Linux_TX | ||
| + | | | 3.3V | 20 | ||
| + | |||
| + | </ | ||
| - | ^ GPIO | + | ====== Get GPIO number ====== |
| - | | | + | |
| - | | | + | |
| - | | | + | |
| - | | | + | |
| - | | | + | |
| - | | | + | |
| - | | | + | |
| - | | | + | |
| - | | | + | |
| - | | | + | |
| - | | | + | |
| - | | | + | |
| - | | 420 | | + | |
| - | | | + | |
| - | | 506 | PIN.AO5 | 15 | + | |
| - | | 505 | PIN.AO4 | 16 | + | |
| - | | | + | |
| - | | | + | |
| - | | | + | |
| - | | | + | |
| + | If the GPIO number above changed, you can also follow the [[: | ||
| {{page> | {{page> | ||