Beware that this post is related to an SDK in maintenance mode
More Info: Consider nRF Connect SDK for new designs

Error when attempting to enable radio interrupt

Hello guys, i'm attempting to record the radio_end event, and i tried to enable it with the following code:

const uint32_t mask = NRF_RADIO_INT_END_MASK;
nrf_radio_int_enable(mask);
bool interupt_enabled = nrf_radio_int_enable_check(NRF_RADIO_INT_END_MASK);
NRF_LOG_INFO("Intterupt(%d) enabled : %d",NRF_RADIO_INT_END_MASK, interupt_enabled);

However, the second line constantly crashes the chip.

In my speculation this is because i'm using the BLE softdevice, however, i found an older post mentioning that i first have to enable the interrupts somehow, is this still correct?

Parents Reply Children
No Data
Related