FAQ: I heard there is some issue with hardware SPI?
The Omega2 does not support full-duplex SPI transmissions. This is due to a hardware bug in the underlying MT7688 SoC used in the Omega2.
On the bright side, half-duplex SPI transmissions will work. We've done some work to improve the speed and stability of half-duplex transmissions, read more about it here.
When working with SPI on the Omega, we recommend:
- Using the python-spidev module
- Writing C code that directly uses the Linux spidev interface
- General information can be found here: https://www.kernel.org/doc/Documentation/spi/spidev
- And here is a good example of how it can be used: http://linux-sunxi.org/SPIdev#In_the_user_space
A few additional notes:
spi-toolutility and the
pyOnionSpimodule are deprecated and should not be used