<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Alternative of mpsl radio notification API in NCS v2.6.0</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/109315/alternative-of-mpsl-radio-notification-api-in-ncs-v2-6-0</link><description>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</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 03 Apr 2025 04:56:23 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/109315/alternative-of-mpsl-radio-notification-api-in-ncs-v2-6-0" /><item><title>RE: Alternative of mpsl radio notification API in NCS v2.6.0</title><link>https://devzone.nordicsemi.com/thread/530346?ContentTypeID=1</link><pubDate>Thu, 03 Apr 2025 04:56:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:08ba5cf0-5b96-4e23-9e8d-48df40569b69</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;This is different from the request the original poster had.&amp;nbsp;It is not possible to&amp;nbsp;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&amp;#39;re trying to achieve.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Alternative of mpsl radio notification API in NCS v2.6.0</title><link>https://devzone.nordicsemi.com/thread/530264?ContentTypeID=1</link><pubDate>Wed, 02 Apr 2025 13:25:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:12175a71-eccb-48ed-aa4b-1eac7fdc0a15</guid><dc:creator>lahn</dc:creator><description>&lt;p&gt;Hi Vidar,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;as I&amp;#39;m also in dire need for triggering an event on each ble package sent (NRF_RADIO_EVENT_PHYEND),&amp;nbsp;&lt;br /&gt;is there already an easy way to set this up on nRF54L15?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I tried the following, but it seems like it does not do the trick...&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;    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);&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Alternative of mpsl radio notification API in NCS v2.6.0</title><link>https://devzone.nordicsemi.com/thread/477230?ContentTypeID=1</link><pubDate>Fri, 05 Apr 2024 07:06:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b89be04a-ceb6-49dd-8573-ef8edabbcc0b</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Yes, the peripheral can check the current connection interval by calling&amp;nbsp;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.6.0/zephyr/connectivity/bluetooth/api/connection_mgmt.html#c.bt_conn_get_info"&gt;bt_conn_get_info()&lt;/a&gt;. It can also register the&amp;nbsp;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.6.0/zephyr/connectivity/bluetooth/api/connection_mgmt.html#c.bt_conn_cb.le_param_updated"&gt;le_param_updated&lt;/a&gt;&amp;nbsp;callback to get notified if the connection parameters are updated.&amp;nbsp;&lt;/p&gt;
[quote user="pertan"]Of course, there will be no notification before the first connection event after a connection has been established, but I can live with that.[/quote]
&lt;p&gt;There are other packets that need to be exchanged at the beginning of the connection such the feature exchange, MTU negotiation, PHY update, etc that may also impact the timing. Notifications must also be enabled by client if it can&amp;#39;t be restored from bonding information stored in flash.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Alternative of mpsl radio notification API in NCS v2.6.0</title><link>https://devzone.nordicsemi.com/thread/477127?ContentTypeID=1</link><pubDate>Thu, 04 Apr 2024 13:13:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f6697565-007f-4853-ac89-758fe48f55e4</guid><dc:creator>pertan</dc:creator><description>&lt;p&gt;If the delay mechanisms you suggest are sufficiently accurate, that sounds like a promising approach, given that the peripheral is aware of the current connection interval. Of course, there will be no notification before the first connection event after a connection has been established, but I can live with that.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Alternative of mpsl radio notification API in NCS v2.6.0</title><link>https://devzone.nordicsemi.com/thread/477089?ContentTypeID=1</link><pubDate>Thu, 04 Apr 2024 11:53:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dd536be3-7881-4320-81cb-296a5275cce2</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Thank you for explaining the use case. I believe you can still&amp;nbsp;use the connection event trigger for this. After initiating the connection event trigger, you could start a one-off timer, a delayable work item, or something similar to acquire the data and add it to the notification queue before the next connection event occurs.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Alternative of mpsl radio notification API in NCS v2.6.0</title><link>https://devzone.nordicsemi.com/thread/477016?ContentTypeID=1</link><pubDate>Thu, 04 Apr 2024 07:06:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3d7cda92-35d9-42c7-99d7-adadc56e07d0</guid><dc:creator>pertan</dc:creator><description>&lt;p&gt;I&amp;#39;m using the signal to prepare and submit real time notification data for transmission. It is a time critical application, so I need to get the notification close to the connection event, but not too close since it takes some time to prepare and submit the outgoing data. This technique is described in &lt;a href="https://devzone.nordicsemi.com/nordic/nordic-blog/b/blog/posts/optimizing-ble-midi-with-regards-to-timing-1293631358"&gt;this blog post&lt;/a&gt;. If there is no direct replacement, I&amp;#39;m interested to know what my options are for implementing this functionality myself.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Alternative of mpsl radio notification API in NCS v2.6.0</title><link>https://devzone.nordicsemi.com/thread/477009?ContentTypeID=1</link><pubDate>Thu, 04 Apr 2024 06:37:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d2f4352d-bf13-439d-b35b-041892d82733</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;We currently do not have a direct replacement for this feature, unfortunately. Could you say a bit more about&amp;nbsp;your use case for this signal?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Alternative of mpsl radio notification API in NCS v2.6.0</title><link>https://devzone.nordicsemi.com/thread/477005?ContentTypeID=1</link><pubDate>Thu, 04 Apr 2024 06:17:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c9ad50de-9a64-45d8-b1d9-9d50bc3c739c</guid><dc:creator>pertan</dc:creator><description>&lt;p&gt;Hi Vidar,&lt;/p&gt;
&lt;p&gt;I&amp;#39;m also looking for an alternative to the MPSL radio notification API in nRF Connect SDK v2.6.0+. More specifically, I&amp;#39;m relying on notifications fired some time before the radio turns on (MPSL_RADIO_NOTIFICATION_DISTANCE_420US). What is the equivalent API in nRF Connect SDK v2.6.0?&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Alternative of mpsl radio notification API in NCS v2.6.0</title><link>https://devzone.nordicsemi.com/thread/474552?ContentTypeID=1</link><pubDate>Tue, 19 Mar 2024 10:24:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:358961e4-1a1b-4880-b99c-e2bba12a03c6</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;span&gt;Narendra,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;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&amp;nbsp;&lt;a class="reference internal" href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/libraries/debug/ppi_trace.html"&gt;PPI trace&lt;/a&gt;&amp;nbsp;library does it. This will require some additional application logic to determine when the advertisement event is completed.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Vidar&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Alternative of mpsl radio notification API in NCS v2.6.0</title><link>https://devzone.nordicsemi.com/thread/474520?ContentTypeID=1</link><pubDate>Tue, 19 Mar 2024 08:55:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0286a664-656a-4731-a68c-6f545f411b4a</guid><dc:creator>Narendra</dc:creator><description>&lt;p&gt;Hi Vidar,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;In our firmware, we are using radio off/inactive events to stop advertisements, switch/change advertisement packets, and measure battery level when the radio is off/inactive.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Narendra&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Alternative of mpsl radio notification API in NCS v2.6.0</title><link>https://devzone.nordicsemi.com/thread/474494?ContentTypeID=1</link><pubDate>Tue, 19 Mar 2024 07:52:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:91e274f2-d7c3-4f0c-9216-300483ba0718</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;span&gt;Narendra,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Could you please outline your use case and requirements in a bit more detail so I can check if there may be any alternative solutions? The Event Trigger feature is currently limited to BLE connections, unfortunately.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Alternative of mpsl radio notification API in NCS v2.6.0</title><link>https://devzone.nordicsemi.com/thread/474480?ContentTypeID=1</link><pubDate>Tue, 19 Mar 2024 06:21:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3b6289ab-4b89-4b94-a559-4cac9deaa473</guid><dc:creator>Narendra</dc:creator><description>&lt;p&gt;Hi Vidar,&lt;/p&gt;
&lt;p&gt;Thank you. I have looked at the suggested example. This example is about how we can get an event for connection, right?&lt;/p&gt;
&lt;p&gt;Would you please help how can we get the event for radio off/inactive?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Narendra&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Alternative of mpsl radio notification API in NCS v2.6.0</title><link>https://devzone.nordicsemi.com/thread/474078?ContentTypeID=1</link><pubDate>Fri, 15 Mar 2024 12:25:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8d6c245a-f72b-4bb1-874d-a7069731aa29</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Yes, please have a look at the&amp;nbsp;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.6.0/nrf/samples/bluetooth/connection_event_trigger/README.html"&gt;Bluetooth: Event Trigger&lt;/a&gt;&amp;nbsp;sample.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Vidar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>