This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
products:sbc:common:applications:gpio:40pin-header [2022/10/18 03:02] hyphop [Boards reference table vendor kernel] |
products:sbc:common:applications:gpio:40pin-header [2023/08/16 06:33] (current) jacobe |
||
---|---|---|---|
Line 3: | Line 3: | ||
====== GPIO Header ====== | ====== GPIO Header ====== | ||
- | Universal GPIO 40 pins board header, used for communication between board and different external devices. | + | ===== GPIO usage examples ===== |
- | + | ||
- | ===== Boards reference table vendor kernel ===== | + | |
- | + | ||
- | <WRAP important > | + | |
- | Current GPIO numbers valid for vendor kernel only. Mainline linux kernel GPIO numbers will be different... | + | |
- | </ | + | |
- | + | ||
- | ==== Edge-V ==== | + | |
- | + | ||
- | ^ GPIO ^ Name ^ Physical | + | |
- | | | + | |
- | | | + | |
- | | | + | |
- | | | + | |
- | | | + | |
- | | | + | |
- | | | + | |
- | | | + | |
- | | | + | |
- | | | + | |
- | | | + | |
- | | | + | |
- | | 112 | SPDIF/ | + | |
- | | | + | |
- | | 50 | + | |
- | | 49 | + | |
- | | | + | |
- | | | + | |
- | | | + | |
- | | | + | |
- | + | ||
- | ==== Edge2 ==== | + | |
- | + | ||
- | ^ GPIO ^ Name ^ Physical | + | |
- | | | + | |
- | | | + | |
- | | | + | |
- | | 112 | SPI1_MOSI_M1/ | + | |
- | | 111 | SPI1_MISO_M1/ | + | |
- | | 114 | SPI1_CS_M1/ | + | |
- | | 113 | SPI1_CLK_M1/ | + | |
- | | | + | |
- | | | + | |
- | | | + | |
- | | | + | |
- | | | + | |
- | | | + | |
- | | | + | |
- | | | + | |
- | | | + | |
- | | | + | |
- | | | + | |
- | | | + | |
- | | | + | |
- | + | ||
- | + | ||
- | ===== Control | + | |
<WRAP important > | <WRAP important > | ||
Line 80: | Line 23: | ||
```shell | ```shell | ||
$ echo out | sudo tee / | $ echo out | sudo tee / | ||
- | $ echo in | sudo tee / | + | $ echo in | sudo tee / |
``` | ``` | ||