I have another post on here regarding the Nokia Colour display and the speed problem, so I have now reverted to spidev to get better performance rather than bit bashing.
But I need to operate in 9 bit mode, and as soon as I change the SPI port to 9 bit using the bpw attribute and then send the writebytes() function, it crashes / hangs the entire system.
I am assuming that writebytes() is not limited to just 8 bit and that by setting the bpw (Bits Per Word) that the writebytes() is not limited to 8 bits.
Code: Select all
import spi def main(): x = spi.SPI(0,0) x.bpw = 9 print x.bpw x.writebytes([0x1FF,0x100])