On 2003.03.13 00:29 Su Ping wrote:
I have checked in the following 3 new modules/interfaces into tinyos-1.x main tree. Timer, AbsoluteTimer, LogicalTime and SysTime.
I'm a bit confused on the units here. And the comments in the modules don't help me much. If I for example do "t = call Time.get();" I get two 32 bit longs in t - what are they? Clock tics? If so how long is a clock tick? Or are they simply microseconds?
Other issues: ============= ... 2. Mica motes misses clock interrupt from time to time. I can not eliminate it because they are caused by HW and interrupt queue length(1). But I am working on to reduce the frequency it happens and its impact.
A bit in this direction: we're running our nodes at 7.372 Mhz - will the Timer modules be unaffected of this or do I have to change something? I've tried to do some testing to figure this out (the code is below). I've made a simple loop and dissassembled the code - so I have a loop of known length. I can get close to what I expect but not exact. This could mean that I'm counting instructions wrong or that the timer needs to be informed about the system clock.
-- Regards Martin Leopold. Dept. of Computer Science, University of Copenhagen _______________________________________________ Tinyos-users mailing list [EMAIL PROTECTED] http://mail.Millennium.Berkeley.EDU/mailman/listinfo/tinyos-users
