Khadas Docs

Amazing Khadas, always amazes you!

User Tools

Site Tools


products:sbc:vim3:applications:gpio:mainline-linux-table

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:vim3:applications:gpio:mainline-linux-table [2023/02/17 07:53]
hyphop
products:sbc:vim3:applications:gpio:mainline-linux-table [2023/08/18 01:36] (current)
hyphop
Line 4: Line 4:
  
 <WRAP tip > <WRAP tip >
-We can control any GPIO by **NUM** via /sys/class/gpio/gpio**NUM**+We can control any GPIO from this table by **NUM** via /sys/class/gpio/gpio**NUM**
 </WRAP> </WRAP>
  
 +===== Header PinOut =====
  
-^  GPIO num ^ Name       ^ Pin  ^ Pin  ^ Name     ^ GPIO num  ^ + 
-|           | 5V         |  1    21  | **GND**  |           | +^  GPIO num ^ Name                     ^ Pin  ^ Pin  ^ Name                      ^ GPIO num  ^ 
-|           | 5V         |  2    22  | PIN.A15  | 491       | +|           <wrap danger>5V</wrap>   |  1    21  | **GND**                   |           | 
-|           | USB_DM     |  3    23  | PIN.A14  | 490       | +|           <wrap danger>5V</wrap>   |  2    22  | <wrap safety>A_15</wrap>  | 491       | 
-|           | USB_DP     |  4    24  | **GND**  |           | +|           | USB_DM                   |  3    23  | <wrap safety>A_14</wrap>                      | 490       | 
-|           | **GND**    |  5    25  | PIN.AO2  | 414       | +|           | USB_DP                   |  4    24  | **GND**                   |           | 
-|           | MCU3V3     |  6    26  | PIN.AO3  | 415       | +|           | **GND**                  |  5    25  | <wrap safety>AO_2</wrap>                      | 414       | 
-|           | MCUNRST    |  7    27  | 3V3      |           | +|           | MCU3V3                   |  6    26  | <wrap safety>AO_3</wrap>                      | 415       | 
-|           | MCUSWIM    |  8    28  | **GND**  |           | +|           | MCUNRST                  |  7    27  | <wrap danger>3v3</wrap>   |           | 
-|           | **GND**    |  9    29  | PIN.A1   | 477       | +|           | MCUSWIM                  |  8    28  | **GND**                   |           | 
-|           | ADC0       |  10  |  30  | PIN.A0   | 476       | +|           | **GND**                  |  9    29  | A_1                       | 477       | 
-|           1V8        |  11  |  31  | PIN.A3   | 479       | +|           | ADC0                     |  10  |  30  | A_0                       | 476       | 
-|           | ADC1       |  12  |  32  | PIN.A2   | 478       | +|           <wrap danger>1v8</wrap>  |  11  |  31  | A_3                       | 479       | 
-|       422 | AO10       |  13  |  33  | PIN.A4   | 480       | +|           | ADC1                     |  12  |  32  | A_2                       | 478       | 
-|           | **GND**    |  14  |  34  | **GND**  |           | +|       422 | AO_10                    |  13  |  33  | A_4                       | 480       | 
-|       449 | PIN.H6     |  15  |  35  | PWM-F    | 448       | +|           | **GND**                  |  14  |  34  | **GND**                   |           | 
-|       450 | PIN.H7     |  16  |  36  | RTC      |           | +|       449 | H_6                      |  15  |  35  | PWM-F                     | 448       | 
-|           | **GND**    |  17  |  37  | PIN.H4   | 447       | +|       450 | H_7                      |  16  |  36  | RTC                       |           | 
-|       413 | UART AO01  |  18  |  38  | MCU-FA1  |           | +|           | **GND**                  |  17  |  37  | H_4                       | 447       | 
-|       412 | UART AO00  |  19  |  39  | PIN.Z15  | XXX       | +|       413 | UART AO_1                |  18  |  38  | MCU-FA1                   |           | 
-|           3V3        |  20  |  40  | **GND**  |           |+|       412 | UART AO_0                |  19  |  39  | Z_15                      | XXX       | 
 +|           <wrap danger>3v3</wrap>  |  20  |  40  | **GND**                   |           |
  
 ```shell gpio-banks ```shell gpio-banks
Last modified: 2023/02/17 07:53 by hyphop