ts-7000
[Top] [All Lists]

Re: [ts-7000] Re: 7800 ADC more info needed

To: <>
Subject: Re: [ts-7000] Re: 7800 ADC more info needed
From: "Michael" <>
Date: Wed, 26 Mar 2008 08:31:09 -0700
> --- In  "Michael" <> wrote:
> Hi Michael,
>
>> The 1.5 second delay is because the code is waiting for all 2k
> samples a
>> 2kHz to complete.  If you need only one sample, write a value of
> 0xFFFF to
>> only the first location in the memory mapped buffer space, then
> initiate the
>> conversion and poll this value for a non-FFFF value.  This should
> take a lot
>> less time, probably not more then 500us (since that's how fast samples
>> arrive), although I'm not sure how long the command to the AVR takes.
>
> thank you again. That helps.
>
> Could I start another conversion before the first one finishes?

Each command sent to start conversion will cause 2048 samples to be taken. 
So if you wanted multiple samples you could just initialize multiple 
locations to 0xFFFF and then poll for however many you want.  If you send a 
second command to start conversion before the first one is complete it will 
be queued, i.e. 2k samples will be taken, and then it will start over and 
take another 2k samples.   Only one pending conversion command at a time 
will be recognized, so a third command before the first was complete would 
be discarded.

>
> Jiri
>


 ______   Best Regards,
|__  __/                  Michael Schmidt
   ||                   Software Engineer
   ||echnologic Systems (EmbeddedARM.com)
   || (480)    16610 East Laser Drive #10
   |/ 837-5200   Fountain Hills, AZ 85268
       http://oz.embeddedarm.com/~michael 


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

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