Good catch, Dave:

SPI_3WIRE refers to Chip-Select, Data, Clock, where both the input
data and output data share the same pin.

This means that the omap2_mcspi.c works for 4-wire SPI, might work for 3-wire SPI
(as defined by MISO=MOSI, Chip Select, Clock), but not for 3-wire MISO-MOSI-Clock-NoChipSelect
which the ADS1278 is.

Ion A. Beza.
 
On Thu, Feb 25, 2010 at 12:56 PM, Dave Hylands <dhylands@gmail.com> wrote:
Hi Tony,

On Thu, Feb 25, 2010 at 11:36 AM, Tony Oxendahl <toxend@gmail.com> wrote:
> Dave, regarding your:

> The controller omap2_mcspi.c has this comment:
>
> /* standard 4-wire master mode:  SCK, MOSI/out, MISO/in, nCS
>      * REVISIT: this controller could support SPI_3WIRE mode.
>      */

SPI_3WIRE refers to Chip-Select, Data, Clock, where both the input
data and output data share the same pin.

> Regarding your:
>
>> After your system has booted up, what does
>>
>> ls /sys/class/platform/devices
>> ls /sys/class/platform/drivers
>>
>> show?
>
> root@overo:~# ls /sys/devices/platform
> ehci-omap.0   omap-mcbsp.1  omap2_mcspi.1  omapfb        serial8250.2
> i2c_omap.1    omap-mcbsp.2  omap2_mcspi.2  power         smsc911x.0
> i2c_omap.3    omap-mcbsp.3  omap2_mcspi.3  regulatory.0  smsc911x.1

So this tells me the overo isn't using platform devices. I'll need to
figure out what its doing.

--
Dave Hylands
Shuswap, BC, Canada
http://www.DaveHylands.com/

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
gumstix-users mailing list
gumstix-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gumstix-users