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: Tue, 25 Mar 2008 11:58:09 -0700
> Hi Michael,
>
> thank you for your reply.
>
>>The sample rate (2kHz) and number of samples taken per command (2048)
> are design
>> limitations inherent in the AVR program and the mechanism it needs
> to use to
>> storing samples,
>
> I don't need so much samples, one is enough, but I need it immediately
> after the conversion. As I saw in the ts7800ctl.c there is wait
> (sleep) for 1.5 sec.
> What can I do to get the sample sooner? Do I need to change the code
> in AVR? Can I do this?

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.

>> I'm going to be updating the preliminary manual (the bleeding edge
> version
>> on my personal support page; the official released version won't change
>> until I'm finished) with some more information on the ADC as I can
> piece it
>> to together, hopefully that will help.
>
> I'll check your home page regularly :-).
>
> Thanks
> 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