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

nRF52 doesn't wake up

Hello , I'm using a couple of nRF52 dev.board (one is Nordic preview dev.kit , the other one is a Rigado BMD-300) , with S212 ant+ softdevice . I'm able to deep-slepp the device but I'm not able to wake-up anyway from deep sleep , pushing button_1 (button_1 is just a sample for testing purpose). I searched for examples and I found everywhere this code but it doesn't work for me ... what's could be wrong ?

nrf_gpio_cfg_sense_input(BUTTON_1, NRF_GPIO_PIN_PULLUP, NRF_GPIO_PIN_SENSE_LOW);
NRF_GPIOTE->INTENSET = GPIOTE_INTENSET_PORT_Msk ;
NVIC_EnableIRQ(GPIOTE_IRQn);
sd_power_system_off();                  // SYSTEM OFF --- WAKE UP pushing FROM BUTTON_1

Maurizio

Related