Olimex Support Forum

OLinuXino Android / Linux boards and System On Modules => A20 => Topic started by: shug on November 17, 2014, 12:15:33 PM

Title: [SPI] - UEXTx and /dev/spidevx.y
Post by: shug on November 17, 2014, 12:15:33 PM
Hello,
I've got my A20 board with latest image. It shows me 2 /dev devices : /dev/spidev1.0 and /dev/spidev2.0. Does this means that /dev/spidev1.0 is UEXT1 and spidev2.0 = UEXT2 or not ?
Thank you !
Title: Re: [SPI] - UEXTx and /dev/spidevx.y
Post by: shug on February 05, 2015, 11:52:25 PM
Answer to myself : /dev/spidevx.y
x is for connector (1 = UEXT1 / 2 = UEXT2)
y is for device (only 1 device per connector on the A20 olinuxino
So /dev/spidev1.0 means first (only) device on UEXT1
/dev/spidev2.0 means first (only) device on UET2