Dear Sir,
I have to interface parallax hitachi48C accelerometer module to Tmote SKY.
The output data is in serial format.

I need to generate greater than 10Khz frequency(say 32khz) on a GIO pin.

I have earlier tried building Timer32Khz on lines of Tmilli.But i only got a
max. frequency around 3.44Khz

than i decided to play with Tmilli i changed the clock divider which Tmilli
uses to get output from AlarmT32khz. It was initially set 5 when i changed
to 4 the frequency doubled (fine) but on increasing it further when i was
expecting 4Khz i got 3.44 khz.

It is clear to me that system is not able to handle the interrrupts at this
fast rate.
----Searching through the archives i found as suggested by SteveMcknown that
Timers generate synchronus events which got queued up by scheduler.

---- Or is it due  to  this note in TEP112
"In contrast, the MSP430 approach is simpler, in that the system will always
enter the right power state without any external prompting. However, it is
correspondingly costly, introducing 40-60 cycles of overhead to every
interrupt that wakes the system up, which can be a bottleneck on the rate at
which the system can handle interrupts."


----------I have to generate a clock of greater than 10Khz on a GIO pin.
Should i use asynchronus Alarm32khz to generate interrupts.If yes than how
exactly......    Please help me???
My application doesn't require me to worry about low power consumption.So i
would be happy even if the mote is permanently in active mode.

Yours sincerely,
Chinmay Agarwal
_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to