Hello,
I am using CC2510 to broadcast a sensor information every 10 sec. I have integrated an MEMS sensor. I am using it as an interrupt to detect movement in that time frame of 10 sec. All these devices are battery powered.
After broadcast, I am enabling PM2 mode for 10 sec. If there is a movement lets say after t sec, interrupt is triggered and makes movement flag = 1. And i want the chip to go back to PM2 for time (10-t) sec.
How can I measure the time t?
i.e the time for which the chip was in sleep in PM2 mode? Can I use WORTIME0 & WORTIME1 registers?
Let me know
-Venu