On Thu, Sep 26, 2013 at 10:46 PM, Andres Mabini <[email protected]>wrote:
> Dear everyone, > > Is it possible to have the ADC sample and process its output at the same > time? > > What I mean is, say I have my ADC sample a sensor at 10KHz. What I've been > doing is fire up the ADC(with DMA), the array would return, I'd process the > array and then fire up the ADC again. Obviously I end up missing samples, > as the ADC is not running while I'm processing the previous set of samples. > Is it possible to have the ADC sample continuously while I'm processing the > output at the same time? Using a circular queue perhaps? > Probably but it depends on the h/w you have available to work with. You should research what hardware is available on the motes you are using and then research how that hardware work. you've got homework to do :-) > As always, thanks! > > Andy > > _______________________________________________ > Tinyos-help mailing list > [email protected] > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help > -- Eric B. Decker Senior (over 50 :-) Researcher
_______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
