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

IRQ Handler for Radio - not entered

I'm trying to enable interrupt for radio events.

I have this code in main:

bsp_board_leds_init();
(...)
NRF_RADIO->INTENSET = 1 << RADIO_INTENSET_READY_Pos;
NRF_RADIO->TASKS_TXEN = 1;
while(1) {}

And I have defined this function:

void RADIO_IRQHandler(void) {
  bsp_board_led_invert(LED_2);
  int a = 0;
}

The a variable was just for setting a breakpoint before I added the other line. Setting a breakpoint on either line: execution never stops there, and the GPIO line isn't toggled.

Related