Olimex Support Forum

OLinuXino Android / Linux boards and System On Modules => A20 => Topic started by: Cosik on October 17, 2014, 09:27:36 PM

Title: SPI pinout on A20 Lime
Post by: Cosik on October 17, 2014, 09:27:36 PM
Hi,

I'm using release 2 of Olimex Debian image, and I try to find on which pins is SPI. Somebody know?
In user manual there is only TWI marked.

In dev dir i can see spidev2.0 so it's should work without kernel compilation.
Title: Re: SPI pinout on A20 Lime
Post by: JohnS on October 17, 2014, 10:10:50 PM
User manual refers to schematic, which shows the pins.

You may also be able to or need to use FEX entries (but these will not be in later Linux as it uses DT).

TWI = I2C

John
Title: Re: SPI pinout on A20 Lime
Post by: Cosik on October 17, 2014, 10:28:09 PM
Hi John,

I suppose that you didn't understand my question. I want to know, on which pins in Olimex Debian image release 2 for Lime A20 is enabled/muxed spidev2.0 because in User Manual in part about pin description there is no information about this.
Title: Re: SPI pinout on A20 Lime
Post by: JohnS on October 17, 2014, 10:37:36 PM
I suppose you didn't understand the answer.  The pins will be the ones the chip allows and among those you choose somehow, may be by FEX.

Why not use the code and see which pins the signals come from if you don't like these ideas so far.

Or read the code, at least we do have the source...

BTW I think at least one other user has used spidev so maybe their posts can help as well.

John
Title: Re: SPI pinout on A20 Lime
Post by: Cosik on October 17, 2014, 11:34:34 PM
Hi,

Yes, I didn't understand answer, but now I know about you were writing. Thank you for show me the way ;)