current consumption does not become low after sd_power_system_off

hello,

i am using nrf52832 with accelarometer i want to put my board in shutdown for current consumption for that i am giving this command sd_power_system_off(); whenever required using lbs service but my current does become low but it gets low whenever i powerup the device again

my codes goes like this

int main()

{

flash() //from here i will get value 0 or 1 // 0 using ble and then store it in flash  // 1 long press  initialy 1

if(flash value==1)

{

//my application code

}

else

{

power_management_init();
wakeup_timer_init();
lfclk_request();
gpio_for_wakeup();
sd_power_system_off();

}

i will restart my device after giving command from ble so that program will directly come to else part and then i wakeup after 10 seconds button  press using timer 

my board consumes 12 micro amps

after giving command also 12 microamps

if i turn off and on again it consumes only 3 micro amps

how can i achieve that 3 micro amps while running with turn off

thanks and regards

manikandan v

Parents Reply Children
No Data
Related