When the command to take ADC samples is sent to the AVR, it captures 2048
samples at 2 KHz. Thus it samples for 1.024 seconds, then stops. You must then
send it another start command to get another 2048 samples. I have had boards
take samples for several hours in this way.
You would have to do something similar with the TS-ADC24. That is, you would
tell it to start taking ADC samples, it would take 512 samples, then stop, and
then you would tell it to take more samples.
--- In Jerome Leboeuf <> wrote:
>
> Thanks Harold.
> Thus even when ADC sampling starts properly there is no way to keep it
> running for more than a few minutes ? (My test program seems to confirm this
> odd behaviour,)
> Then, the only solution is to perform analogical sampling using a TS-ADC24 ?
> Regards.
>
>
>
>
> --- On Mon, 6/13/11, Harold <> wrote:
>
> From: Harold <>
> Subject: [ts-7000] Re: TS-7800 ADC as far as I could go...
> To:
> Date: Monday, June 13, 2011, 12:39 PM
>
>
>
>
>
>
>
> Â
>
>
>
>
>
>
>
>
>
> This has been discussed before. See the thread that starts with message
> #18895.
>
> http://tech.groups.yahoo.com/group/ts-7000/message/18895
>
>
>
> I have used the TS-7800 ADC without any problems. As long as I do not send a
> TWSI command to the AVR microcontroller while it is sampling, it works fine.
>
>
>
> --- In "Jerome" <jeromelp@> wrote:
>
> >
>
> > Hi everybody,
>
> >
>
> > Concerning ADC sampling, it appears to me that ts7800ctl.c works quite fine
> > though nobody has been able to convert this code to build a ADC class. At
> > least, strangely, no other code has been published to perform ADC
> > sampling...
>
> >
>
> > Hi,
>
> >
>
> > I also failed in that attempt but cannot explain why : my ts7800ctl-V4.c
> > version works (when it doesn't stuck at starting) but next version
> > ts7800ctl-V5.c does not. Both versions are closed between them and also to
> > ts7800ctl.c ;then I can't explain their respective behaviors.
>
> >
>
> > Moreover, when the ADC cycle fails, a cold reboot appears to be the only
> > solution...
>
> >
>
> > So :
>
> >
>
> > 1) I'd liked to know if someone succeeded in performing ADC sampling, at
> > least I would spend more time in this quest !
>
> >
>
> > 2) if you want to investigate further, email me and I'll send you my code.
>
> >
>
> > 3) Some information from Technologic Systems would be appreciated.
>
> >
>
> > Thanks
>
> >
>
> > Jerome
>
> >
>
------------------------------------
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/
|