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

sd_power_system_off() not waking up on button press

Hi Guys,

I'm doing the following before putting my device to sleep. This works fine when I use NRF_POWER->SYSTEMOFF, but when I use sd_power_system_off(), it doesn't seem to work at all, and the only way I can get out of the system off state is for a power reset. Any ideas? Using SDK14, S132 v5.

// Configure the button pin DETECT so a button press will reset the controller during system OFF mode
nrf_gpio_cfg_sense_input(BUTTON_PIN, NRF_GPIO_PIN_PULLUP, NRF_GPIO_PIN_SENSE_LOW);

// Go to sleep (delay after RTT to ensure it gets output before system sleep)
SEGGER_RTT_WriteString(0, "Turning system OFF...\n");
nrf_delay_ms(500);
sd_power_system_off();
Related