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
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?
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?