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 [2023/02/14 07:25]
hyphop
products:sbc:common:applications:gpio:spi [2023/08/13 22:44]
jacobe [Test demonstration]
Line 1: Line 1:
  
-===== Reference table =====+===== SPI 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 121: 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;
Line 584: Line 584:
 ``` ```
  
-Run ''spidev_test'':+Connect PIN36(MOSI), PIN37(MISO) then run ''spidev_test'':
  
 ```shell ```shell
Last modified: 2023/11/07 05:07 by nick