A20 LIME2 SPI bus error

Started by gst_retd, January 30, 2015, 01:57:01 PM

Previous topic - Next topic

gst_retd

Hello all,

Can I ask a dummy question, how do you get SPI bus to work on lime2?

I have been trying to drive the SPI port on /dev/spidev2.0 thanks to the proposed python binding (pyA20LIME2 0.2) as root but I always get errno 22 retrun code when I try to read or write on the device (opening and closing the device are done properly).

Maybe I need some other steps to be done to get the device driver to be connected to the actual hardware? such as loading modules or so and link them to the /dev/spidevx.0 I want to address?

Isn't there a complete tutorial on how to interface an SPI based chip with the A20?

Best regards.

JohnS

See my latest post here https://www.olimex.com/forum/index.php?topic=3686.0

BTW, I expect most would use C so don't expect a lot of replies...

John

gst_retd

Thank you very much M. JohnS!

I'll bereading that post carefully and C is not a problem for me so once again thanks a lot.