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

Parents
  • EDIT ... After a lot of tests , with Rigado BDM300 eval kit now wake-up works , with my complete code (S212 sdk11 timers saadc ant+ and more) and this simple poweroff-routine :

    nrf_gpio_cfg_sense_input(BUTTON_2, NRF_GPIO_PIN_PULLUP, NRF_GPIO_PIN_SENSE_LOW); NRF_POWER->SYSTEMOFF = 1; // SYSTEM OFF mode #1

    This is what cares for me ... I have to use Rigado BDM300 module for my jobs , also if the same thing doesn't work with Nordic nRF52 preview kit (maybe first silicon version had some issue ?) and I don't have to use sd_power_system_off() or disable softdevice before power-off . These istructions gave me always a no-wake-up condition. Thanks

Reply
  • EDIT ... After a lot of tests , with Rigado BDM300 eval kit now wake-up works , with my complete code (S212 sdk11 timers saadc ant+ and more) and this simple poweroff-routine :

    nrf_gpio_cfg_sense_input(BUTTON_2, NRF_GPIO_PIN_PULLUP, NRF_GPIO_PIN_SENSE_LOW); NRF_POWER->SYSTEMOFF = 1; // SYSTEM OFF mode #1

    This is what cares for me ... I have to use Rigado BDM300 module for my jobs , also if the same thing doesn't work with Nordic nRF52 preview kit (maybe first silicon version had some issue ?) and I don't have to use sd_power_system_off() or disable softdevice before power-off . These istructions gave me always a no-wake-up condition. Thanks

Children
No Data
Related