Hi support team,
I would like to know if the following behavior is a normal behavior:
My config: NRF51422 AAE0 + S310 V2.0
When I enable some inetrrupt like UART for example, soon I enable the softdevice by calling sd_softdevice_enable() function, the interrupt previously activated are disabled.
I've looked the Interrupt Enable control register @0xE000E100 before and after the sd_softdevice_enable() function.
Is it the normal behavior?
So, I've continued to investigate and I found something very strange. If I try to enable for exeample UART Interrupt by using CMSIS function after to eanbled the softdevice, interrupt is working well. But it's not the recommanded way. We have to use the SD_nvic functions. So I've replaced the CMSIS functions by the sd_nvic function and the interrupt are not set (uart IT is never reached and the corresponding bit in the the Interrupt Enable control register @0xE000E100 is not set).
Of course, I've always checked the result the sd_ functions and they all return "NRF_SUCCESS (0)"