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/
|