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

is the Wake on GPIO available for nRF52840_dongle and what is the IOFF_RAMOFF_GPIO?

Hi All,

as the title say I'd like to know if is the Wake on GPIO available for nRF52840_dongle and what is the IOFF_RAMOFF_GPIO   ? 

My application should behave more or less as follow:

  1. initialize
  2. start advertise ble packet
  3. when some condition is met go in system off mode
  4. resume only when the SW1 button (the only button available) is pressed 

To do this in the main function I do as follow:

nrf_gpio_cfg_sense_input(6, NRF_GPIO_PIN_PULLUP, NRF_GPIO_PIN_SENSE_LOW);

// other stuff

while (1) {

    if (/*condition to go system off */)
        NRF_POWER->SYSTEMOFF = 1;
        
}

but once entered in the System Off mode the only one to resume the system is resetting it through the RESET button.

Parents Reply Children
No Data
Related