I'm trying to communicate with an LPD8806 strip on my BBB using python and installed py-spidev (which is what I already use for the same code on a Raspberry Pi). I enabled SPI0 and have devices spidev1.0 and spidev1.1 (for whatever reason, on the latest debian, SPI0 is spidev1.* instead of spidev0.*).
When I send data to the SPI device with normal file access mode - open("/dev/spidev1.0", "wb") - it works fine. But when I use py-spidev like this:
Code: Select all
spi = spidev.SpiDev()
spi.open(1,0)
spi.xfer2(buffer)
It sends the first data packet and then never another one. It's not hanging or anything as xfer2 is returning just fine. But the later data never makes it to the strip.
Any ideas?