We're no longer updating This wiki!!

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
en:xu3_hardware_spi [2016/12/09 11:20]
charles.park [Reading the SPI Flash device ID on Expansion-Board]
en:xu3_hardware_spi [2016/12/24 12:15] (current)
odroid [Reading the SPI Flash device ID on Expansion-Board]
Line 13: Line 13:
 </​WRAP>​ </​WRAP>​
  
-=== How to enable driver (Ubuntu 16.04 only need) ===+=== How to enable driver (Only Ubuntu 16.04 or higher is required) ===
 Edit /​etc/​modprobe.d/​blacklist-odroid.conf to comment out following two ines. Edit /​etc/​modprobe.d/​blacklist-odroid.conf to comment out following two ines.
 <​code>​ <​code>​
Line 35: Line 35:
 34 34 34 34 34 34 34 34
 </​code>​ </​code>​
 +
 +If you tie the MOSI and MISO pins, the output is "AB 00 00 00".\\
 +We call it loopback test.
 +
 <file c spidev_test.c>​ <file c spidev_test.c>​
 /*                                                                              ​ /*                                                                              ​
en/xu3_hardware_spi.1481251845.txt.gz ยท Last modified: 2016/12/09 11:20 by charles.park
CC Attribution-Share Alike 3.0 Unported
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0