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

System OFF mode(0.3uA) in nrf52832

Hello everyone,

I trying my nrf52832 getting ultra low power current conception mode using System OFF mode(0.3uA). I using SDK 15.2 ble_app_beacon example I change 32KHZ internal RC configuration this link and sd_power_system_off();  this command for low power conception but my module(PCA10040) take 5mA current for advertising. I need get ultra low power conception for sleep and advertising both side please share any example code or refer link to achieve this concept.

DK:PCA10040

SDK:15.2

  • sorry for the late replay Simonr,

    I using fresh example code of ble_app_hrs without any modification just compile on my pca10040 module when i press the button 1 device return fatal error from sleep_mode_enter() as below

    Fullscreen
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    static void sleep_mode_enter(void)
    {
    ret_code_t err_code;
    NRF_LOG_INFO("Sleep Mode Fun");
    err_code = bsp_indication_set(BSP_INDICATE_IDLE);
    NRF_LOG_INFO("BSP error: %d",err_code);
    APP_ERROR_CHECK(err_code);
    // Prepare wakeup buttons.
    err_code = bsp_btn_ble_sleep_mode_prepare();
    NRF_LOG_INFO("sleep mode pre: %d",err_code);
    APP_ERROR_CHECK(err_code);
    // Go to system-off mode (this function will not return; wakeup will cause a reset).
    err_code = sd_power_system_off();
    NRF_LOG_INFO("sys off error: %d",err_code);
    APP_ERROR_CHECK(err_code);
    }
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    <00> info> app: Heart Rate Sensor example started.


    <00> info> app: Fast advertising.

    <00> info> app: Sleep Mode Fun


    <00> info> app: BSP error: 0


    <00> info> app: sleep mode pre: 0


    <00> info> app: sys off error: 8198


    <00> error> app: Fatal error

  • Hi

    Can you upload your sdk_config.h file? I'm not able to reproduce this error on my side using a DK. I think there must be a define in your config file that is set incorrectly.

    Best regards,

    Simon

  • This is my sdk_config.h file I used fresh sdk_config file without any modification

    6177.sdk_config.h

  • Hi

    Since you're using a module without the external LF crystal, you'll have to modify the LF clock configs in the sdk_config.h file to use the internal RC oscillator as described here.

    Best regards,

    Simon

  • Hi

    I change LF clock configs in the sdk_config.h but still i faced same issue fatal error come from sd_power_system_off()

    38843.sdk_config.h

1 2 3