Micro.4 timers working

Friday, April 25, 2008 - 08:25

Wee, as of last night I finally had a symbol period granularity timer module working for the Micro.4 platform. I’ve rewritten the virtual timer interface to be able to convert an n-bit wide hardware timer with symbol period granularity into a 32-bit wide virtual timer with symbol period granularity. This is very handy when it is impossible to drive the hardware timers at a 62,5 KHz clock as needed for symbol period time. The Sensinode Micro.4 MSP430 timers are now run at a 125 KHz clock making them 15-bit wide and the Freescale DIG528 MC9S08GB60 timers are run at a 31,25 KHz clock making them 17-bit wide. Both are converted to 32-bit symbol period timers usable by Tiny15Four though the generic virtual timer module.

Next up is fighting the CC2420 radio. Hopefully things will go a little more smooth now that I have some documentation for the Micro.4 platform (BTW, thanks to Pekka Saavalainen from Sensinode for supplying me with the relevant documentation for both Micro and Nano).

Also Rostislav Spinar has suggested that I set up a web page at google code to make the Tiny15Four source more easily available. I’m planning on doing just that as soon as time allows me to. Thanks to Rosta for the good suggestion and offer to help me out on that one :-)