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

How to wake up nrf52832 from deep sleep

Hi,

How can wake my nrf52832 based module from system off sleep mode. i am using ' nrf_pwr_mgmt_shutdown()' / ' sd_power_system_off (); 'function to put the device into sleep mode.

I have a gpio pin configured as interrupt and which is working fine. how do i configure this gpio interrupt to wake my device from sleep?

nrf_drv_gpiote_in_config_t in_config = GPIOTE_CONFIG_IN_SENSE_HITOLO(true);
  in_config.pull = NRF_GPIO_PIN_PULLUP;

  err_code = nrf_drv_gpiote_in_init(INT_PIN, &in_config, in_pin_handler);
  APP_ERROR_CHECK(err_code);

I am using sdk14.00, s132

Related