This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
products:sbc:vim2:applications:gpio:40pin-header [2022/07/13 22:17] frank |
products:sbc:vim2:applications:gpio:40pin-header [2024/08/19 22:49] (current) hyphop |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| {{indexmenu_n> | {{indexmenu_n> | ||
| - | ====== VIM2 40-Pin | + | |
| + | ~~tag> | ||
| + | |||
| + | ====== VIM2 GPIO Header ====== | ||
| + | |||
| + | Universal GPIO 40 pins board header, used for communication between board and different external devices. | ||
| + | |||
| + | ===== Linux Reference table ===== | ||
| + | |||
| + | <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 | ||
| + | | | USB_DM | ||
| + | | | USB_DP | ||
| + | | | **GND** | ||
| + | | 470 | PIN.DV21 | ||
| + | | 471 | PIN.DV22 | ||
| + | | 472 | PIN.DV23 | ||
| + | | | **GND** | ||
| + | | | ADC0 | 10 | ||
| + | | | 1.8V | 11 | ||
| + | | | ADC1 | 12 | ||
| + | | 420 | PIN.H4 | ||
| + | | | **GND** | ||
| + | | 506 | PIN.AO5 | ||
| + | | 505 | PIN.AO4 | ||
| + | | | **GND** | ||
| + | | | UART_RX / PIN.AO1 | ||
| + | | | UART_TX / PIN.AO0 | ||
| + | | | 3.3v | 20 | ||
| + | |||
| + | ===== Android Reference table ===== | ||
| + | |||
| + | ^ GPIO ^ Name ^ Physical | ||
| + | | | 5V | 1 | 21 | **GND** | ||
| + | | | 5V | 2 | 22 | I2C0_SCK | ||
| + | | | USB_DM | ||
| + | | | USB_DP | ||
| + | | | **GND** | ||
| + | | 225 | PIN.DV21 | ||
| + | | 226 | PIN.DV22 | ||
| + | | 227 | PIN.DV23 | ||
| + | | | **GND** | ||
| + | | | ADC0 | 10 | ||
| + | | | 1.8V | 11 | ||
| + | | | ADC1 | 12 | ||
| + | | | SPDIF | ||
| + | | | **GND** | ||
| + | | | UART_RX | ||
| + | | | UART_RX | ||
| + | | | **GND** | ||
| + | | | Linux_RX | ||
| + | | | Linux_TX | ||
| + | | | 3.3v | 20 | ||
| + | |||
| + | |||
| + | ====== Get GPIO number ====== | ||
| + | |||
| + | If the GPIO number above changed, you can also follow the [[: | ||
| {{page> | {{page> | ||