This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
products:sbc:common:applications:gpio:spi [2022/12/02 02:30] ivan |
products:sbc:common:applications:gpio:spi [2023/02/17 11:00] hyphop |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== SPI ====== | ||
- | ===== Introduction ===== | ||
- | SPI interface usage examples on [[products: | + | ===== SPI Reference table ===== |
- | ===== Reference table ===== | + | | |
- | + | ^ VIM3/ | |
- | | | + | | ::: | ::: |
- | ^ VIM3/ | + | | ::: | ::: |
- | | ::: | ::: | + | | ::: | ::: |
- | | ::: | ::: | + | ^ VIM4 |
- | | ::: | ::: | + | | ::: | ::: |
- | ^ VIM4 | + | | ::: | ::: |
+ | | ::: | ::: | ||
+ | ^ VIM1S | SPI_A | 29 | SPI_A_MOSI | ||
+ | | ::: | ||
+ | | ::: | ||
+ | | ::: | ||
===== Enable SPI ===== | ===== Enable SPI ===== | ||
Line 41: | Line 44: | ||
<tabbox VIM4> | <tabbox VIM4> | ||
- | TODO. | + | Edit ''/ |
+ | |||
+ | e.g. Enable '' | ||
+ | |||
+ | ```shell | ||
+ | fdt_overlays=spi0 | ||
+ | |||
+ | ``` | ||
+ | |||
+ | After reboot, you will see the SPI device node. | ||
+ | |||
+ | ```shell | ||
+ | $ ls / | ||
+ | / | ||
+ | ``` | ||
+ | <tabbox VIM1S> | ||
+ | |||
+ | Edit ''/ | ||
+ | |||
+ | |||
+ | e.g. Enable '' | ||
+ | |||
+ | ```shell | ||
+ | fdt_overlays=spi0 | ||
+ | |||
+ | ``` | ||
+ | |||
+ | After reboot, you will see the SPI device node. | ||
+ | |||
+ | ```shell | ||
+ | $ ls / | ||
+ | / | ||
+ | ``` | ||
</ | </ |