Khadas Docs

Amazing Khadas, always amazes you!

User Tools

Site Tools


products:sbc:common:applications:gpio:spi

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
Next revision Both sides next revision
products:sbc:common:applications:gpio:spi [2022/12/20 04:38]
nick [Table]
products:sbc:common:applications:gpio:spi [2023/08/13 22:43]
jacobe [Demo Source Code]
Line 1: Line 1:
-====== SPI ====== 
-===== Introduction ===== 
  
-SPI interface usage examples on [[products:sbc:common:applications:gpio:40pin-header|40-Pin Header]]. +===== SPI Reference table =====
- +
-===== Reference table =====+
  
 |            SPI    ^ Pin  ^ Pin name      GPIO name  ^  GPIO num  ^  DT overlay node  ^  Device node     ^ |            SPI    ^ Pin  ^ Pin name      GPIO name  ^  GPIO num  ^  DT overlay node  ^  Device node     ^
Line 125: Line 121:
 } }
  
-static const char *device = "/dev/spidev1.1";+static const char *device = "/dev/spidev1.0";
 static uint32_t mode; static uint32_t mode;
 static uint8_t bits = 8; static uint8_t bits = 8;
Last modified: 2023/11/07 05:07 by nick