ts-7000
[Top] [All Lists]

[ts-7000] Re: SPI kernel driver sample code?

To:
Subject: [ts-7000] Re: SPI kernel driver sample code?
From: "Blair" <>
Date: Mon, 06 Sep 2010 23:18:47 -0000
Yeah, that's the driver.  Maybe it's improved since TS looked at it.

Nevertheless, I got some peek/poke code working just now.  It's all about the 
timing.  I have to poll the status register before reading the data.  Even so, 
I'm able to get about 89Ksps on a single channel.

There are still some bizarre lines of code in there that I don't understand but 
that's a project for another day.


--- In  Mika Westerberg <> wrote:
>
> I'm assuming that we are talking about the ep93xx_spi driver that
> is in the mainline kernel, right? I'm pretty sure that it doesn't
> reset the SPI controller before every transaction. We've been using
> that to interface SD/MMC-cards and it can transfer something like
> 370kB/s.
> 
> It is hard to believe that doing such in userspace would be faster,
> since you have to poll (no interrupts/DMA available).
> 
> MW
>




------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/ts-7000/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/ts-7000/join
    (Yahoo! ID required)

<*> To change settings via email:
     
    

<*> To unsubscribe from this group, send an email to:
    

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/

<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU