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
Last revisionBoth sides next revision
en:general_information:tutorial:spi [2015/08/17 14:37] – added spidev 4.0 liedmannen:general_information:tutorial:spi [2017/06/22 11:24] liedmann
Line 1: Line 1:
 +~~NOCACHE~~
 +~~NOTOC~~
 ===== SPI ===== ===== SPI =====
 \\ \\
Line 9: Line 11:
 ==== Testing spidev 0.1 ==== ==== Testing spidev 0.1 ====
  
-<wrap Round info 65%>spidev_test is a loopback test to use it on the starterkit please put a bridge between **X27_43 (SPI1.MOSI)** and **X27_44 (SPI1.MISO)**.</wrap>+<wrap Round info 65%>spidev_test is a loopback testto use it on the Starterkit put a bridge between the pins **X27_43 (SPI1.MOSI)** and **X27_44 (SPI1.MISO)**.</wrap>
  
 To run spidev with /dev/spi0.1 you need to specify the device with -D parameter To run spidev with /dev/spi0.1 you need to specify the device with -D parameter
-<code>root@MBa6x:/usr/bin ./spidev_test -D /dev/spidev0.1</code>+<code> 
 +root@MBa6x:cd /usr/bin 
 +root@MBa6x:/usr/bin ./spidev_test -D /dev/spidev0.1 
 +</code> 
  
 ++++console output with open bridge: ++++console output with open bridge:
Line 48: Line 54:
 ==== Testing spidev 4.0 ==== ==== Testing spidev 4.0 ====
  
-<wrap Round info 65%>spidev_test is a loopback test to use it on the starterkit please put a bridge between **X28_51 (ECSPI5.MIS0)** and **X28_53 (ECSPI5.MOSI)**.</wrap>+<wrap Round info 65%>spidev_test is a loopback testto use it on the starterkit put a bridge between the pins **X28_51 (ECSPI5.MIS0)** and **X28_53 (ECSPI5.MOSI)**.</wrap>
  
 To run spidev with /dev/spi4.0 you need to specify the device with -D parameter  To run spidev with /dev/spi4.0 you need to specify the device with -D parameter 
-<code>root@MBa6x:/usr/bin ./spidev_test -D /dev/spidev4.0</code>+<code> 
 +root@MBa6x:cd /usr/bin 
 +root@MBa6x:/usr/bin ./spidev_test -D /dev/spidev4.0 
 +</code>
 ++++console output with open bridge: ++++console output with open bridge:
 <code> <code>
  • Last modified: 2022/08/04 15:02