melbareena / tinyos-main

Automatically exported from code.google.com/p/tinyos-main
0 stars 0 forks source link

Problem in AlarmRtc16C #160

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Apparently, in the atm128rfa1 timers, AlarmRtc16C() uses the component 
HplAtmRfa1Timer2C, which does not exist. Check line 50 of 
$TOSDIR/chips/atm128rfa1/timer/AlarmRtc16C.nc.

Original issue reported on code.google.com by henrypo...@gmail.com on 31 Jan 2013 at 7:32

GoogleCodeExporter commented 9 years ago
Unfortunmately the whole async timer (Timer2) on the RFA1 does not work, it is 
not implemented yet. I do not want to take the Atmega128 code, since that does 
not provide multiple compare registers and I think it is highly suboptimal: the 
number and length of the wakeups are not optimal. However, the 8-bit async 
timer is a beast, hard to do anything with it and support fast and small 32-bit 
alarms/counters. The AtmegaRtcCompare and AtmegaRtcCounter and 
AtmegaTransformCounter are all efforts to get this right, but it is not 
finished.

For the RFA1 this does not matter, people should use the 62khz symbol counter 
timer instead (32-bit, provides 3 alarms).

Original comment by mmar...@gmail.com on 31 Jan 2013 at 10:42