hi All!
I use WAKE UP event from G-SENSOR on some GPIO to wake up the MCU on motion detected.
But sometimes ( ~1% ) the event does not occur for unknown reason until RESET.
By oscilloscope, signal exist, but even doesn't sent.
the init code:
nrf_drv_gpiote_init(); nrf_drv_gpiote_in_config_t in_config = {.is_watcher = false, .hi_accuracy = false, .pull = NRF_GPIO_PIN_NOPULL, .sense = NRF_GPIOTE_POLARITY_LOTOHI}; err_code = nrf_drv_gpiote_in_init(33, &in_config, in_pin_handler); nrf_drv_gpiote_in_event_enable(33, true);
any suggestion why ?
thanks.