ts-7000
[Top] [All Lists]

[ts-7000] Re: Write to memory without mmap()?

To:
Subject: [ts-7000] Re: Write to memory without mmap()?
From: "Charles" <>
Date: Thu, 22 Jul 2010 02:12:35 -0000
Hi --

--- In  "Breton M. Saunders" <> 
wrote:
>
> 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.

You might take a look at the linux comedi project for analog & digital IO in 
linux.  Many different converters are supported, and all present the same 
programming interface (as far as possible).

May be a good place to look for model drivers and bounce things off that 
mailing list.  Releases & web updates appear to lag, but M/L and the code 
development is active.

http://www.comedi.org/

regards, ........ Charlie

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

<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