[Tinyos-devel] timesync
Kevin Klues
klueska at gmail.com
Tue Feb 26 09:01:05 PST 2008
> btw, I seem to be getting a ratio of about 28.13:1 between the rates of my
> <T32kHz> and <TMilli> timers on MICAz's (which didn't help my divide by 32
> timing approach for blinking the Leds!) ... there must be a reasonable
> explanation for this I've missed?
For an explanation of this take a look at appendix C in TEP 102. Long
story short, the default 32khz timer is derived from a CLOCK / 8
signal that comes from an external oscillator running at 7.37MHz , and
7.37 / 8 ~28.8kHz
You could alwyas wire the 32 Khz timer to be sourced from somewhere
else to make it more accurate, but then you might run into other
problems in the long run.
--
~Kevin
More information about the Tinyos-devel
mailing list