170
edits
Changes
no edit summary
=== Managing the device connection ===
In order to open a connection to a particular SPI slave, you need to know the unique name of the bus.
Boot the device developer board and run the following commands from the serial console
<pre>
root@sbcx:/ # ls /dev/spi*
device.setBitsPerWord(8); // 8 BPW
device.setBitJustification(false); // MSB first
}
</pre>