I am using the nrf52832 soc, and have a requirement to run the device in low power mode and using the timer with a timeout value in days? how can I do so?
Sample code would be of great help.
I am using the nrf52832 soc, and have a requirement to run the device in low power mode and using the timer with a timeout value in days? how can I do so?
Sample code would be of great help.
Why not just use an app_timer with a variable that you count up with in the handler. I believe (due to an SDK bug) ~4hrs was the maximum timeout you could set an RTC to. So after 6 timeouts you have your 24hrs elapsed
If I use app_timer, then at what frequency my soc will wake up? If app_timer is generic timer which wakes up every 10ms and if it counts for 24 hours on behalf of me, then it is not usefull to me as I want to sleep(soc must be sleeping) for max period of time.
If I use app_timer, then at what frequency my soc will wake up? If app_timer is generic timer which wakes up every 10ms and if it counts for 24 hours on behalf of me, then it is not usefull to me as I want to sleep(soc must be sleeping) for max period of time.