This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
products:sbc:edge2:applications:gpio:spi [2023/02/14 07:32] hyphop [Introduction] |
products:sbc:edge2:applications:gpio:spi [2023/08/13 23:31] (current) jacobe [Demo Source Code] |
||
|---|---|---|---|
| Line 3: | Line 3: | ||
| ====== Edge2 SPI ====== | ====== Edge2 SPI ====== | ||
| + | SPI interface can be founded on [[products: | ||
| - | + | /* WHY this information was there ???? | |
| - | SPI interface can be founded on [[products: | + | |
| <WRAP important > | <WRAP important > | ||
| For Edge2, in order to use the UART , you need to attach the IO extension board. | For Edge2, in order to use the UART , you need to attach the IO extension board. | ||
| </ | </ | ||
| + | */ | ||
| ===== Reference table ===== | ===== Reference table ===== | ||
| Line 30: | Line 30: | ||
| ``` | ``` | ||
| <WRAP important > | <WRAP important > | ||
| - | As SPI pins are also used for other function, e.g. UART7, PWM14, so that you also need to remove node '' | + | As SPI pins are also can used for other function, e.g. '' |
| </ | </ | ||
| Line 80: | Line 80: | ||
| } | } | ||
| - | static const char *device = "/ | + | static const char *device = "/ |
| static uint32_t mode; | static uint32_t mode; | ||
| static uint8_t bits = 8; | static uint8_t bits = 8; | ||
| Line 543: | Line 543: | ||
| ``` | ``` | ||
| - | Run '' | + | Connect PIN11, PIN12 then run '' |
| ```shell | ```shell | ||