Hello all,
I'm trying the A20 / MOD-LCD3310 example and I can't make it work.
(https://github.com/OLIMEX/OLINUXINO/tree/master/SOFTWARE/A20/A20-OLinuXino-Micro%20with%20MOD-LCD3310)
I'm using the official last debian image (v8), I've got a /dev/spidev1.0 and /dev/spidev2.0
When I run the programm I've got lines :
"
Can't send spi message!
: Invalid argument
"
Any idea of what I have to check ?
Maybe this guide can help you:
http://www.brianhensley.net/2012/07/getting-spi-working-on-raspberry-pi.html
It's made for RPi but SPI is SPI.
Check what you get from "SPI testing utility"?
Thanks for replying.
I tested but got the same problem :
root@a20-olimex:~/A20-spi-rc522-master/rc522# ./a.out
spi mode: 0
bits per word: 8
max speed: 10000000 Hz (10000 KHz)
can't send spi message: Invalid argument
Aborted
Quote from: shug on November 21, 2014, 06:42:06 PM
Thanks for replying.
I tested but got the same problem :
root@a20-olimex:~/A20-spi-rc522-master/rc522# ./a.out
spi mode: 0
bits per word: 8
max speed: 10000000 Hz (10000 KHz)
can't send spi message: Invalid argument
Aborted
I could attach SPI display to Banana with my kernel compilation. I use the same for Lime1/2.
Copy and paste your fex file definition - only SPI section. Maybe there is a problem.
Hello shug,
I have the same problem with you. The worst thing is, It was working at the beginning but after I tried to make a modification to the code, it didn't work anymore, even though the original code had been restored. So I took another way to make it works, you can found the answer in this topic https://www.olimex.com/forum/index.php?topic=2935.msg16345#msg16345 (https://www.olimex.com/forum/index.php?topic=2935.msg16345#msg16345)
Regards,
arieedzig