Went through the pin_change_int example and of course it works fine.
Migrated that to custom board and it also worked fine with main loop.
So I then tried to use that as basis for real application that has to service an external interrupt.
In the main application, there are spi read and write functions.
When they are active and in a wait loop, the external interrupt is not triggered.
I am assuming that is because the priority level is the same and is therefore blocked.
I set the gpiote priority to 2 and still the interrupt is not triggered.
I am sure anyone reading sensors etc must deal with this type of problem everyday.
Right now the bluetooth stack and services are not being used and the interrupts still don't trigger.
The interrupt triggers once at startup but then never again.
In the pin_change_int example I did not see where the interrupt is cleared and enabled.
Is that what I am missing ?