This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

nRF52840 - Lowest consumption while being able to wake from timer ?

How to achieve the lowest power consumption while "sleeping" but still being able to awake from an internal timer ?

For the timer I'm using the Ticker class from mbed...

Parents Reply Children
  • "Deep sleep" (System OFF mode) is not possible with wake on RTC. In this mode, all clock sources are turned off, and a wakeup from one of the supported sources (RESET, GPIO, LPCOMP, NFC, USB) will trigger a reset. How to enter System ON idle mode depends on the system you are using. In our SDK we use the following:

    • When softdevice is not present/disabled: Call to __WFE() will enter sleep mode.
    • When softdevice is enabled: Call to sd_app_evt_wait() will enter sleep mode.

    These are typically called in a loop in main(), to enter sleep whenever CPU is not required for other tasks.

Related