Interrupts not working while BLE is on

Hello everyone!

I am using a custom nRF52840 board and my mbed target is set to nRD52840-DK. When I set up the interrupts before starting the BLE stack, they work fine but when I do it after initializing the BLE stack, they stopped triggering.

As some extra information, I am trying to use p0.14 and p0.15 for interrupts for a quadrature encoder.

I believe it’s related to how the Cordio stack processes the interrupts but I couldn’t find anything online on how to properly use or fix this. Any help will be very much appreciated!

Thank you!
Bruno