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

About sd_power_system_off

Hi,

I use ble_ant_app_hrm example on 41822.

I set advertising time is 10 secs then I will get a timeout event from stack. When I get this timeout event, I will put the system into off mode with sd_power_system_off API, I think that I can see few uA current.

But when I call sd_power_system_off API, the system will auto reset. I can not stay system poer off mode. Why???

Thank you.

Parents
  • int main(void) { uint32_t err_code;

    // Initialize S310 SoftDevice
    ble_ant_stack_init();
    
    err_code = sd_power_system_off();
    APP_ERROR_CHECK(err_code);
    
    // Enter main loop.
    for (;;)
    {
        power_manage();
    }
    

    }

    I write a sample with only main() function. When I call stack init then system off. After stack init, the current will 1.35mA, but when I call sd_power_off function, the current will back to 4.5mA, Why????????

    I use 51422 EVK board.

Reply
  • int main(void) { uint32_t err_code;

    // Initialize S310 SoftDevice
    ble_ant_stack_init();
    
    err_code = sd_power_system_off();
    APP_ERROR_CHECK(err_code);
    
    // Enter main loop.
    for (;;)
    {
        power_manage();
    }
    

    }

    I write a sample with only main() function. When I call stack init then system off. After stack init, the current will 1.35mA, but when I call sd_power_off function, the current will back to 4.5mA, Why????????

    I use 51422 EVK board.

Children
No Data
Related