Wondering if there is any help available regarding SPI. I've been having a go with it, but something doesn't quite seem to be working and I'm not sure why. Hopefully I can scope it and see the difference.
Essentially, I have spi-dev working with Python 2.7 but was trying to replicate it using WiringPi2 and Python 3.
It "almost" works...but I'm not sure what is going wrong.
Note:CS is on physical pin P1.26
This is supposed to be the same as:
spi = spidev.SpiDev()
The spidev one works, but the wiringpi2 one seems to send glitchy data or something. The chip I am using transmits the DATA IN back out on the DATA OUT but delayed, and it seems like the data is correct, so not sure what is happening.
The chip I am using is a MAX7219C, so perhaps it is the clock speed or something? Let me know if there is something obvious I have missed...SPI clock mode perhaps?
UPDATE: There is nothing like using a scope to see what is happening. It all appears to be working this morning.