Khadas Docs

Amazing Khadas, always amazes you!

User Tools

Site Tools


products:sbc:vim1s: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:vim1s:applications:gpio:40pin-header [2022/10/18 03:58]
hyphop [Table]
products:sbc:vim1s:applications:gpio:40pin-header [2024/08/13 03:14] (current)
xiong [Android]
Line 12: Line 12:
 Current GPIO numbers valid for vendor kernel only. Mainline linux kernel GPIO numbers will be different...  Current GPIO numbers valid for vendor kernel only. Mainline linux kernel GPIO numbers will be different... 
 </WRAP> </WRAP>
 +
 +<tabbox Linux>
  
 ^  GPIO num ^ Name              ^ Pin  ^ Pin  ^ Name     ^ GPIO num  ^ ^  GPIO num ^ Name              ^ Pin  ^ Pin  ^ Name     ^ GPIO num  ^
Line 35: Line 37:
 |           | 3V3                20  |  40  | **GND**  |           | |           | 3V3                20  |  40  | **GND**  |           |
  
 +<tabbox Android>
 +
 +^  GPIO num ^ Name              ^ Pin  ^ Pin  ^ Name     ^ GPIO num  ^
 +|           | 5V                |  1    21  | **GND**  |           |
 +|           | 5V                |  2    22  | I2C0_SCK |           |
 +|           | USB_DM            |  3    23  | I2C0_SDA |           |
 +|           | USB_DP            |  4    24  | **GND**  |           |
 +|           | **GND**            5    25  | I2C1_SCK |           |
 +|           | VCCMCU            |  6    26  | I2C1_SDA |           |
 +|           | MCU_NRST          |  7    27  | 3V3      |           |
 +|           | MCU_SWIM          |  8    28  | **GND**  |           |
 +|           | **GND**            9    29  | I2S_SCLK |           |
 +|           | ADC_CH0            10  |  30  | I2S_MCLK |           |
 +|           | VDD1V8            |  11  |  31  | I2S_SDO  |           |
 +|           | ADC_CH2            12  |  32  | I2S_LRCK |           |
 +|           | SPDIFOUT          |  13  |  33  | I2S_SDI  |           |
 +|           | **GND**            14  |  34  | **GND**  |           |
 +|           | UART_RX            15  |  35  | PWM_F    |           |
 +|           | UART_TX            16  |  36  | PIN.Z8   | 506       |
 +|           | **GND**            17  |  37  | PIN.Z10  | 508       |
 +|           | Linux_RX          |  18  |  38  | PWR_EN1  |           |
 +|           | Linux_TX          |  19  |  39  | PIN.H9   | 475       |
 +|           | 3V3                20  |  40  | **GND**  |           |
 +
 +</tabbox>
 +
 +====== Get GPIO number ======
 +
 +If the GPIO number above changed, you can also follow the [[:products:sbc:common:applications:gpio:get-gpio-number | documentation]] to get the gpio number.
  
 {{page>products:sbc:common:applications:gpio:40pin-header&noheader}} {{page>products:sbc:common:applications:gpio:40pin-header&noheader}}
  
Last modified: 2022/10/18 03:58 by hyphop