Hi!
I am using nrf52832 with icm20948 (SPI) and I want to put nrf52 in sleep and wake up if there's any motion detected. I am unable to put my device on sleep by the function sd_app_evt_wait(); although sd_power_system_off(); puts the device in off mode but i am unable to turn it on using nrf_gpio_cfg_sense_input(1, NRF_GPIO_PIN_NOPULL, NRF_GPIO_PIN_SENSE_HIGH);
Kindly help me to get my device to sleep when not in motion and wake it up by any motion detected.