Khadas Docs

Amazing Khadas, always amazes you!

User Tools

Site Tools


products:sbc:vim2:applications:gpio:40pin-header

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
products:sbc:vim2:applications:gpio:40pin-header [2024/08/11 21:53]
xiong [Android]
products:sbc:vim2:applications:gpio:40pin-header [2024/08/19 22:49] (current)
hyphop
Line 8: Line 8:
 Universal GPIO 40 pins board header, used for communication between board and different external devices. Universal GPIO 40 pins board header, used for communication between board and different external devices.
  
-====== Reference table ====== +===== Linux Reference table =====
- +
-<tabbox Linux>+
  
 <WRAP important > <WRAP important >
Line 38: Line 36:
 |       | 3.3v      |  20       |  40       | **GND**   |       | |       | 3.3v      |  20       |  40       | **GND**   |       |
  
-<tabbox Android>+===== Android Reference table =====
  
 ^  GPIO ^ Name      ^ Physical  ^ Physical  ^ Name      ^ GPIO  ^ ^  GPIO ^ Name      ^ Physical  ^ Physical  ^ Name      ^ GPIO  ^
 |       | 5V        |  1        |  21       | **GND**   |       | |       | 5V        |  1        |  21       | **GND**   |       |
-|       | 5V        |  2        |  22       | PIN.DV25  | 239   | +|       | 5V        |  2        |  22       | I2C0_SCK  |       | 
-|       | USB_DM    |  3        |  23       | PIN.DV24  | 238   |+|       | USB_DM    |  3        |  23       | I2C0_SDA  |       |
 |       | USB_DP    |  4        |  24       | **GND**   |       | |       | USB_DP    |  4        |  24       | **GND**   |       |
-|       | **GND**   |  5        |  25       | PIN.DV27  | 241   | +|       | **GND**   |  5        |  25       | I2C1_SCK  |       | 
-|   235 | PIN.DV21  |  6        |  26       | PIN.DV26  | 240   | +|   225 | PIN.DV21  |  6        |  26       | I2C1_SDA  |       | 
-|   236 | PIN.DV22  |  7        |  27       | 3.3V      |       | +|   226 | PIN.DV22  |  7        |  27       | 3.3V      |       | 
-|   237 | PIN.DV23  |  8        |  28       | **GND**   |       | +|   227 | PIN.DV23  |  8        |  28       | **GND**   |       | 
-|       | **GND**   |  9        |  29       | PIN.H7    | 188   | +|       | **GND**   |  9        |  29       | I2S_SCLK  |       | 
-|       | ADC0      |  10       |  30       | PIN.H6    | 187   | +|       | ADC0      |  10       |  30       | I2S_MCLK  |       | 
-|       | 1.8V      |  11       |  31       | PIN.H9    | 190   | +|       | 1.8V      |  11       |  31       | I2S_SDO   |       | 
-|       | ADC1      |  12       |  32       | PIN.H8    | 189   | +|       | ADC1      |  12       |  32       | I2S_LRCK  |       | 
-|   185 | PIN.H4    |  13       |  33       | PIN.AO6   | 151   |+|       | SPDIF     |  13       |  33       | I2S_SDI   |       |
 |       | **GND**   |  14       |  34       | **GND**   |       | |       | **GND**   |  14       |  34       | **GND**   |       |
-|   150 | PIN.AO5   |  15       |  35       | PIN.DV28  | 242   | +|       | UART_RX   |  15       |  35       | PWM       |       | 
-|   149 | PIN.AO4   |  16       |  36       | RTC_CLK   |       | +|       | UART_RX   |  16       |  36       | RTC_CLK   |       | 
-|       | **GND**   |  17       |  37       | PIN.H5    | 186   | +|       | **GND**   |  17       |  37       | PIN.H5    | 176   | 
-|       | UART_RX / PIN.AO1   |  18       |  38       | EXP_INT   |       | +|       | Linux_RX  |  18       |  38       | EXP_INT   |       | 
-|       | UART_TX / PIN.AO0   |  19       |  39       | PIN.DV13  | 227   |+|       | Linux_TX  |  19       |  39       | PIN.DV13  | 217   |
 |       | 3.3v      |  20       |  40       | **GND**   |       | |       | 3.3v      |  20       |  40       | **GND**   |       |
  
-</tabbox> 
  
 ====== Get GPIO number ====== ====== Get GPIO number ======
Last modified: 2024/08/11 21:53 by xiong