On 07/19/2010 04:00 PM, Simon wrote:
> Awesome, I'll look into it.
>
> The hardware I'm communicating with is a 24-bit ADC chip (MAX11040) so I need
> to be able to communicate at very high speeds if I want to take advantage of
> its capabilities.
>
Funny.
I was thinking of using one of those in a design.
You will have to write a kernel driver; no user mode program will ever
work at realtime rates for that chip.
Use the SPI in PIO mode (e.g. not dma mode). You'll be doing about 3-4k
interrupts per second, but the 9302 will handle that.
The basic design is that you need a SPI driver writing into a ring
buffer. The ring buffer must then be exposed to the user through a
character driver interface.
Cheers,
-Brett
------------------------------------
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/
|