Alternative of mpsl radio notification API in NCS v2.6.0

Hi,

MPSL radio notification API has been removed from the nRF Connect SDK v2.6.0. 

Is there any alternative way to get radio notifications?

Regards,

Narendra

Parents Reply Children
  • Hi Narendra,

    Thanks. Support for triggering on advertisement events has been added as a feature request internally and should be added in a future release. The only workaround I can think of for now is to use PPI+EGU to trigger a SW interrupt on RADIO events, similar to how the PPI trace library does it. This will require some additional application logic to determine when the advertisement event is completed. 

    Regards,

    Vidar

  • Hi Vidar, 

    as I'm also in dire need for triggering an event on each ble package sent (NRF_RADIO_EVENT_PHYEND), 
    is there already an easy way to set this up on nRF54L15? 

    I tried the following, but it seems like it does not do the trick...


        unsigned int irq = irq_connect_dynamic(DT_IRQN(DT_NODELABEL(radio)), IRQ_PRIO_LOWEST, on_radio_event, NULL, 0);
        irq_enable(DT_IRQN(DT_NODELABEL(radio)));
        nrf_radio_int_enable(NRF_RADIO, NRF_RADIO_INT_PHYEND_MASK);

  • Hi,

    This is different from the request the original poster had. It is not possible to define another ISR for the RADIO IRQ as it is already implemented in the Bluetooth controller. Please create a new ticket and include more details about your setup and what you're trying to achieve.

Related