Beware that this post is related to an SDK in maintenance mode
More Info: Consider nRF Connect SDK for new designs
This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

nrf5-calendar example questions

https://github.com/NordicPlayground/nrf5-calendar-example

What is lowest power mode where real time clock could run?

How could retain RTC value during reset?

Thanks

Parents
  • What is lowest power mode where real time clock could run?

     System ON mode, with LFCLK and RTC running. ~ 2-3 µA. 

    How could retain RTC value during reset?

    It will depend on the type of reset. You could try to save the RTC value to a .noinit variable (will not be initialized to zero during startup) that you read at startup, alternatively save the RTC value to flash before the reset, and read it again startup.

Reply
  • What is lowest power mode where real time clock could run?

     System ON mode, with LFCLK and RTC running. ~ 2-3 µA. 

    How could retain RTC value during reset?

    It will depend on the type of reset. You could try to save the RTC value to a .noinit variable (will not be initialized to zero during startup) that you read at startup, alternatively save the RTC value to flash before the reset, and read it again startup.

Children
Related