Hi Sir/Miss,
I use nRF52832, softdevice 132 and SDK 17.1.0 to develop.
And, I want to use GPIO to wake up from system off.
We use external pull up resistor in wake up pin.

I try to set up the wake up pin as below:
uint32_t err_code; nrf_gpio_cfg_input(BTN_START_SLEEP_PIN, NRF_GPIO_PIN_NOPULL); nrf_gpio_pin_sense_t sense = NRF_GPIO_PIN_SENSE_LOW; nrf_gpio_cfg_sense_set(BTN_START_SLEEP_PIN, sense); err_code = sd_power_system_off(); APP_ERROR_CHECK(err_code);
When I remove wake up pin configuration, it can enter sleep mode.
After I add it, system will enter sleep mode then wake up quickly. (It looks like woke up from sleep mode immediately)
How to set it?
Please help.
Thank you.