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

How to implement the various Sleep Modes described in the Electrical specification

Dear All,

I would like to configure a device to go to the System ON, no RAM retention, wake on RTC (running from LFRC clock) Sleep mode, in order to be able to use the RTC for timestamping.

By reading posts in the DevZone, I found out that in order to go to sleep while in System On mode I need to use sd_app_evt_wait (while using the Softdevice) into the for loop of the main.

But I am not sure what more confingurations do I need to do in order to achieve the power consumption described in the documentation.

On a board that I am using I am measuring about 10uA, so I think that I am missing something.

I am using SDK v16.0.0 and softdevice s113 v7.0.1.

  • Hi,

    Try to disable NRF_LOG if this is enabled in your sdk_config.h file:

    //==========================================================
    // <e> NRF_LOG_ENABLED - nrf_log - Logger
    //==========================================================
    #ifndef NRF_LOG_ENABLED
    #define NRF_LOG_ENABLED 0
    #endif

    There is no other configurations you need to add, but you may have to uninitialize something if some peripherals has been enabled in your application.

    Also, note that if you have any active BLE activity in your application when entering system ON sleep mode, the average current will be higher than the base sleep-current. See the Online Power Profiler.

    Best regards,
    Jørgen

Related