Other Parts Discussed in Thread: CC2530
Hello,
I am working with cc2530 end devices running Zstack 2.5.1a.
I have POWER_SAVING defined and would like to enter Power Mode 2 (Timer Sleep) the maximum of 65 seconds.
I am using a modification of the GenericApp project where I only have one task that reads and sends sensor data and resets the osal_start_timerEx for the same task every 65 seconds.
Everything works fine for about 2-3 hours and then for some reason the module enters deep sleep. I verified this with the debugger:
In the function, osal_pwrmgr_powerconserve( void )
next = osal_next_timeout();
next equals 0!! (but only after 2 hours of running correctly) and then enters deep sleep since next = 0.
Why would this happen? Or what further steps could I use to debug?
Thanks
Sam