[Tinyos-help] Re: Changing crystal on tmote sky
Steve McKown
rsmckown at yahoo.com
Fri Mar 2 07:30:51 PST 2007
On Friday 02 March 2007 05:09, Bhavesh Gupta wrote:
> > By default the tmote comes with 32.768 KHz crystal. I have need of using
> > a high frequency crystal with my tmote hardware. If I do replace the
> > crystal on the board does it affect my tinyos based application on it? Do
> > we have a way of setting parameters in the tinyos based on my crystal so
> > that all the timing related funtions and other functions works normally
> > as earlier even after changing the crystal?
> >
> > In the folder /tos/platfom/msp430/ I saw a file TimerM.nc where it looks
> > like it is setting timer for 1 ms based on a precalculated value of 32
> > ticks. And this is hardcoded there. Would I have to go to change in all
> > these places and more?
There are a number of dependencies on the 32khz clock in tos2, notably setup
of other msp430 peripherals and the radio. You can find most of the
dependencies by doing a search on the source:
cd /opt/tinyos-2.x/tos
grep -ir 32khz | less
Steve
More information about the Tinyos-help
mailing list