Joined: Thu Mar 08, 2012 11:51 pm Posts: 63 Location: USA
|
|
I have an interesting issue with the waspmote. I can set an RTC interrupt time for 1 minute using the standard code for setting alarm 1 using an offset. I use RTC_ALM1_MODE4 and set the string to "00:00:01:00". I put the mote into deep sleep and then it gets turned back on by the RTC in one minute increments.
All seems to be working... except that after about 75 of these one minute cycles, the sleep time begins to increase. I have also set an ACC interrupt so that if either the time limit or the device is moved...it will wake up and send a zigbee packet. What I noticed is that the sleep time extends so much that it will eventually stop waking up. The odd thing is that if I let it run for about 5 hours... it will stop waking up on the RTC, but if I move the device...the ACC interrupt will work. The device then wakes up and goes back to one minute sleep cycles.
Is there something that I have set wrong?
Kind regards Cryptik
|
|