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
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.
I'm using the SDK V11.0, setting the RTC_config_frequency to 8 and the RTC to timeout at 24 hours (i.e 691200 ticks passed to nrf_drv_rtc_cc_set ()). I'm able to get the RTC timeout once after 24 hours with this configuration. Can you let me know how the SDK bug can affect the working of RTC?