That is why the hybrid timing is a good idea. I don't remember where the code is but someone that knew what they were doing created a combination timinig system that uses the jiffies ticker (32KiHz) combined with the 1us ticker to get reasonable long and short term timing.
Be careful, because sometimes the ticking is done in binary and sometimes in decimal. Depends on the main cpu freq. I don't remember where the code is and am not going to go look right now. look on the tinyos-devel and tinyos-help mailing lists, look for Tmicro. See mail-archive.com On Fri, Oct 19, 2012 at 4:06 AM, András Bíró <[email protected]> wrote: > Hi wasif, > > Unfortunatly that's almost impossible. Every mote's timer I've seen so > far created it's timer on a 32768 Hz crystal. You can get us accuracy > using the main clock (usually 4-8-16MHz), but the main clock is > usually much more innacurate (especially if it's an RC oscillator), > but it's usually enough for short measurements. > > Andris > > On Fri, Oct 19, 2012 at 12:00 PM, wasif masood <[email protected]> wrote: > > > > Sorry, I guess I was not discrete enough in my first email. I meant if > there > > is something better than MSP430, more precisely a clock frequency that > can > > give a timer of 1 usec granularity. > > > > > > On Fri, Oct 19, 2012 at 11:44 AM, Antonio Liñán C. <[email protected]> > > wrote: > >> > >> On Fri, 2012-10-19 at 11:32 +0200, wasif masood wrote: > >> > > >> > > >> > thanks Antonio, but Z1 has the same resource constrainsts as that of > >> > Telosb platform which I want to avoid for sure. > >> > >> Only the ram constrain, I know, but I had to include it along with the > >> other 2 motes I have recommended to feel good about it ;-), however I'm > >> curious about why you prefer working with non msp430-based platforms. > >> > >> --Antonio > >> > >> > On Fri, Oct 19, 2012 at 9:30 AM, Antonio Liñán C. > >> > <[email protected]> wrote: > >> > On Fri, 2012-10-19 at 09:14 +0200, wasif masood wrote: > >> > > > >> > > > >> > > Hi all, > >> > > > >> > > > >> > > I am planning to buy some nodes but now I am no longer > >> > inclined > >> > > towards Telosbs any more. I need some suggestions about > >> > which platform > >> > > to buy, I have the following criteria in mind. > >> > > > >> > > > >> > > 1)- Resource Constraints > 48K RAM and 10K ROM, > >> > > >> > > >> > I think you have this backwards :) > >> > > >> > > 2)- Reliable Hardware, something better than MSP430. > >> > > >> > > >> > Why do you think is unreliable? > >> > > >> > > 3)- Reliable communication support, atleast CC2420 or > >> > better. > >> > > 4)- Not necessary confined to 802.15.4, or Zigbee standards. > >> > > > >> > > > >> > > Your suggestions would be highly appreciated. > >> > > >> > > >> > Personally I would recommend you the Z1 mote (shameless > >> > self-advertising, sorry), UCmotes and econotags (not ported to > >> > tinyos > >> > but this shouldn't be too dificult). > >> > > >> > --Antonio > >> > > >> > > Regards. > >> > > Wasif Masood > >> > > > >> > > > >> > > _______________________________________________ > >> > > Tinyos-help mailing list > >> > > [email protected] > >> > > > >> > > >> > > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help > >> > > >> > > >> > > >> > > >> > > >> > > >> > -- > >> > Wasif Masood > >> > > >> > > >> > >> > > > > > > > > -- > > Wasif Masood > > > > > > _______________________________________________ > > Tinyos-help mailing list > > [email protected] > > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help > > _______________________________________________ > Tinyos-help mailing list > [email protected] > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help > -- Eric B. Decker Senior (over 50 :-) Researcher
_______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
