Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
en:c1_hardware_spidev [2016/06/09 18:04] ck.kim [SPIDEV Test] |
en:c1_hardware_spidev [2016/06/17 14:26] (current) odroid [SPI-mode change test] |
||
---|---|---|---|
Line 43: | Line 43: | ||
===== SPI-mode change test ===== | ===== SPI-mode change test ===== | ||
- | spidev 32 bits per word, spi mode = 0 | + | <WRAP left round important 100%> |
+ | **Update**\\ | ||
+ | SPI mode works correctly only with kernel version 3.10.96-151 or higher\\ | ||
+ | </WRAP>\\ | ||
+ | \\ | ||
+ | spidev 32 bits per word, spi mode = 0 \\ | ||
<code> | <code> | ||
$ sudo ./spidev_test -D /dev/spidev0.0 -s 1000000 -b 32 | $ sudo ./spidev_test -D /dev/spidev0.0 -s 1000000 -b 32 | ||
Line 66: | Line 71: | ||
spidev 32 bits per word, spi mode = 3 | spidev 32 bits per word, spi mode = 3 | ||
<code> | <code> | ||
- | $ sudo ./spidev_test -D /dev/spidev0.0 -s 1000000 -b 32 -O -H -O | + | $ sudo ./spidev_test -D /dev/spidev0.0 -s 1000000 -b 32 -H -O |
</code> | </code> | ||