Content originally posted in LPCWare by toad on Thu Mar 03 15:59:36 MST 2016
I have a 4357 waking from deep sleep both from external wake-ups and the alarm counter. After wake-up the idle daemon needs to read the current downcounter value to see how much time has elapsed. When I read the counter immediately after coming out of deep sleep it reads a downcounter value of what was initially preloaded, if I wait 1mS it then returns a correct count. Is there some other way without the delay ?