I have set up ble_app_uart along with gpiote and spi. When I first trigger the GPIOTE event the MCU is supposed to go to sleep after, but it seems to keep running in the main loop, surpassing the power_manage(); function..
I think this is because of some unwanted event triggerin, or I have unhandled events. Is there a good way to check this ?
Edit: The source of my problem was related to the FPU generating interrupts. ( devzone.nordicsemi.com/.../ ) I am still curious if there is a way to check what woke the CPU?