[Tinyos-help] Using TimerA in ADC (msp430)

Jan Hauer hauer at tkn.tu-berlin.de
Sun Nov 9 14:26:30 PST 2008


TimerA is used as clock source for the sampcon signal, which controls
the sample period/frequency (see Sect. 17.2.5 of msp430 user guide).
TimerA is only used if the client requests multiple/repeated sampling
- if the client requests a single sample (e.g. through Read.read()),
then TimerA is not used. You can completely disable the use of TimerA
within the ADC code if you undefine ADC12_TIMERA_ENABLED (see
Msp430Adc12.h). But I just noticed that in this case the warning still
appears - I'll fix this in CVS tomorrow.

Jan


On Fri, Nov 7, 2008 at 2:33 PM, Xavier Orduña <xorduna at dexmatech.com> wrote:
> Hi All,
>
> When compiling a program that uses msp430 ADC a "using timerA" warning is
> thrown. It is possible to use msp430 from TinyOS without using TimerA?
>
> In fact, why TimerA is used?
>
> Thanks,
>
> Xavi
>
>
>
> _______________________________________________
> Tinyos-help mailing list
> Tinyos-help at millennium.berkeley.edu
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>



More information about the Tinyos-help mailing list