Hi everyone,
I'm working on a project using nrf52832 with SDK v2.9.1. I build my application on top of the nrf Desktop framework (https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/applications/nrf_desktop/README.html).
The GPIO interrupt stopped working after wake up from a long (few hours) sleep. The application stopped response to GPIO events. I can see the GPIO LATCH register is not cleared (therefore may not be a hardware issue). The GPIO configuration registers have expected value as well. The device still can connect to the host using bluetooth.
Logging didn't show any explicit error. The application is still running and connected to bluetooth. Most likely the irq_handler (nrfx_gpiote.c) is not called anymore. If I attach the debugger, the device will be restarted and the issue is gone. Even the debugger is attached, setting a breakpoint to the isr usually crashes the application.
Any suggestion how can I further debug this issue?
Thank you