Open main menu

DAVE Developer's Wiki β

Changes

SBCX-TN-001: Android Things and SPI bus

11 bytes added, 14:06, 9 April 2018
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>
170
edits