This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

sd_app_evt_wait() and hardware interrupts

Hello,

I'm developing on a nrf51822 with the S110 softdevice. To save power, I use the sd_app_evt_wait() function to go into sleep mode. To wake up, i want to use an gpiote interrupt, from an external accelerometer. But it seems, that the chip doesn't continue execution from gpiote interrupts. The button example uses a timer, to get a software interrupt, but I hope there is a more elegant way of doing it, than creating an ultra short timer.

Best regards

Jonathan

Related