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

nrf52840 interrupts not working with mbed-os + s140 softdevice

Hello everyone!

We are developing a device with the nRF52840 SoC and using mbed-os for developing firmware.

Everything works and runs normally when using mbed softdevice (Cordio) and no bootloader or DFU. The problem arises after enabling OTA updates that require having a booloader and the s140 sofdevice. The mbed code runs fine after OTA update (even the BLE stack) but the GPIO interrupts don't seem to be triggering.

As I read on the s140 datasheet, this softdevice forwards all interrupts to the main application but I can't find how to change my mbed configuration to be able to receive those signals from the s140.

I am using 0x27000 for the application start address, not sure if this is correct but it seems to work.

Any inputs or ideas are appreciated! 

Bruno