[Tinyos-devel] Question about Msp430DcoCalibP

Rodrigo Fonseca rfonseca at cs.berkeley.edu
Wed Feb 13 17:48:16 PST 2008


Hi,

I instrumented a simple application that uses a timer in the Telos
platform, and I observe interrupt TIMERA1_VECTOR fire 16 times a
second with some small deviation.
My most likely suspect is the event TimerMicro.overflow() in Msp430DcoCalibP.

I have three questions that I am looking at, but it would be great if
someone can help me here:

1. Why is TIMERA1 firing 16 times a second?
2. Am I right to think that it's due to DCO calibration? (If this is
the case, the commend in Msp430DcoCalibP is wrong, as it says that it
will fire *32* times a second)
3. Is it always needed? (It seems that this is on whenever we use any
of the timers)

Thanks,
Rodrigo


More information about the Tinyos-devel mailing list