<?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 radio notifications API in NCS 2.7.0 with nrf5340 cpuapp</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/117124/alternative-of-radio-notifications-api-in-ncs-2-7-0-with-nrf5340-cpuapp</link><description>Hi, 
 Like some other users, I face an issue migrating from ncs&amp;lt;2.6.0 to ncs 2.7.0 regarding radio notification. 
 I saw it is possible to use the PPI for the EGU IRQ to be triggered on RADIO event, as shown in these posts 
 Alternative of mpsl radio</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 16 Dec 2024 11:53:32 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/117124/alternative-of-radio-notifications-api-in-ncs-2-7-0-with-nrf5340-cpuapp" /><item><title>RE: Alternative of radio notifications API in NCS 2.7.0 with nrf5340 cpuapp</title><link>https://devzone.nordicsemi.com/thread/515083?ContentTypeID=1</link><pubDate>Mon, 16 Dec 2024 11:53:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5ce9da6f-5272-4ffe-b3de-e3dcb8dfedc7</guid><dc:creator>Hieu</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote user="Ben_Squar3d"]I don&amp;#39;t get it sorry.[/quote]
&lt;p&gt;Oh, I meant I misunderstood the origin of the issue when I read your opening post. It&amp;#39;s nothing important now.&lt;/p&gt;
[quote user="Ben_Squar3d"]While it is possible to to so with nrf52, it is not easily possible with nrf53 it seems, so we&amp;#39;ll stick to the workaround we have.[/quote]
&lt;p&gt;Right. This approach does seem&amp;nbsp;like too much for debugging, if you have a different workaround.&lt;/p&gt;
&lt;p&gt;I will close this ticket then. If you have further questions on the topic, please feel free to reopen it any time.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Hieu&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Alternative of radio notifications API in NCS 2.7.0 with nrf5340 cpuapp</title><link>https://devzone.nordicsemi.com/thread/515071?ContentTypeID=1</link><pubDate>Mon, 16 Dec 2024 10:54:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4a352e53-8ed7-4b52-ac7a-7fbcc8dfaad2</guid><dc:creator>Ben_Squar3d</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Thank you for your answer. It seems a bit too complicated indeed.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;We managed to use additionnal timers instead of looking for the missing event.&amp;nbsp;&lt;/p&gt;
[quote userid="9456" url="~/f/nordic-q-a/117124/alternative-of-radio-notifications-api-in-ncs-2-7-0-with-nrf5340-cpuapp/515013"]Finally, I&amp;nbsp;first read your&amp;nbsp;opening post as you were using Radio Notification is&amp;nbsp;2.6.1, but it was removed in 2.7.0. I have seen now that isn&amp;#39;t the case. Do you need Radio Notification or something like that for a new issue? If so, there might be other approaches as well.[/quote]
&lt;p&gt;I don&amp;#39;t get it sorry. We were working with nrf52 + ncs&amp;lt;2.70 at first and when migrating to ncs 2.7.0, we were using additionnal timers to workaround the missing event. This introduces new issues and the right fix would have been to retrive the event again. While it is possible to to so with nrf52, it is not easily possible with nrf53 it seems, so we&amp;#39;ll stick to the workaround we have. Thank you for your answers&lt;/p&gt;
&lt;p&gt;Best regards&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Alternative of radio notifications API in NCS 2.7.0 with nrf5340 cpuapp</title><link>https://devzone.nordicsemi.com/thread/515013?ContentTypeID=1</link><pubDate>Mon, 16 Dec 2024 03:51:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d34cf386-47fd-4be1-b866-84c4dedf83d4</guid><dc:creator>Hieu</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The netcore image is automatically built, but you have access to its source code. It is &lt;a href="https://github.com/nrfconnect/sdk-zephyr/tree/v3.6.99-ncs2/samples/bluetooth/hci_ipc"&gt;the hci_ipc &amp;quot;sample&amp;quot;&lt;/a&gt; in the Zephyr part of the SDK.&lt;/p&gt;
&lt;p&gt;You should be able to add your own sequence of functions to setup a DPPI channel connecting the RADIO events to IPC tasks early in the main function. You should use nrfx drivers for this, so that new channels are allocated, and the drivers have knowledge of the channel. This way, if other parts of the SDK are&amp;nbsp;using DPPI or IPC, they won&amp;#39;t get affected.&lt;/p&gt;
&lt;p&gt;With NCS 2.7.0, sysbuild is supported, so it becomes even easier for you to maintain your own copy of hci_ipc, and just&amp;nbsp;reconfigure the project so that the remote target&amp;nbsp;is now the modified copy of hci_ipc instead.&lt;br /&gt;In NCS 2.8.0 and 2.9.0, sysbuild support is even more mature.&amp;nbsp;If you are committed to using sysbuild, you should consider moving to 2.9.0.&lt;br /&gt;The complicated part with this is that you will need to understand the &amp;quot;automatic&amp;quot; build of hci_ipc enough to replicate it.&lt;/p&gt;
&lt;p&gt;On the other hand, learning to do all that isn&amp;#39;t trivial. I&amp;nbsp;honestly have only done slightly similar things enough to know it is theoretically possible but haven&amp;#39;t tried it myself.&lt;/p&gt;
&lt;p&gt;What do you need the Radio Notification for? If it&amp;#39;s only for debugging, then perhaps just modify the original hci_ipc sample directly is a better approach. Later, you can just discard all your changes with git.&lt;/p&gt;
&lt;p&gt;Finally, I&amp;nbsp;first read your&amp;nbsp;opening post as you were using Radio Notification is&amp;nbsp;2.6.1, but it was removed in 2.7.0. I have seen now that isn&amp;#39;t the case. Do you need Radio Notification or something like that for a new issue? If so, there might be other approaches as well.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Alternative of radio notifications API in NCS 2.7.0 with nrf5340 cpuapp</title><link>https://devzone.nordicsemi.com/thread/514862?ContentTypeID=1</link><pubDate>Fri, 13 Dec 2024 10:11:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7a4ce978-61fa-4018-b846-56cd348dfeb2</guid><dc:creator>Ben_Squar3d</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Thank you for trying.&amp;nbsp;&lt;/p&gt;
[quote userid="9456" url="~/f/nordic-q-a/117124/alternative-of-radio-notifications-api-in-ncs-2-7-0-with-nrf5340-cpuapp/514773"]That however does still require&amp;nbsp;firmware setup on cpunet. Is this possible in your setup?[/quote]
&lt;p&gt;Difficult to say from the knowledge I have. For now, I didn&amp;#39;t work with cpunet, only cpu app and sysbuild. The cpunet image is automatically generated. What setup make it possible to tweak cpunet?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Alternative of radio notifications API in NCS 2.7.0 with nrf5340 cpuapp</title><link>https://devzone.nordicsemi.com/thread/514773?ContentTypeID=1</link><pubDate>Thu, 12 Dec 2024 14:38:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:eaee01ea-b1f6-4959-b03a-b5306fda8c35</guid><dc:creator>Hieu</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;My apology, I missed the fact that the Radio Test sample is solely on cpunet.&lt;/p&gt;
&lt;p&gt;It should be possible to setup DPPI to connect an event from one core to a task in&amp;nbsp;the other via IPC in between. I can try to work up a proof of concept if I cannot find one already done somewhere, though that might take some time. &lt;br /&gt;That however does still require&amp;nbsp;firmware setup on cpunet. Is this possible in your setup?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Alternative of radio notifications API in NCS 2.7.0 with nrf5340 cpuapp</title><link>https://devzone.nordicsemi.com/thread/514430?ContentTypeID=1</link><pubDate>Wed, 11 Dec 2024 08:31:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a03f7482-e22a-409b-857d-e6f5aee1f5c5</guid><dc:creator>Ben_Squar3d</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Thank you for these example. However, the radio test sample is meant to be build for the cpunet, that have access to NRF_RADIO register. Do you confirm I can&amp;#39;t access this register with cpuapp ? If so, w&lt;span&gt;hat is the alternative to be able to catch NRF_RADIO_EVENT_END event or equivalent with ncs2.7.0 and nrf5340 &lt;strong&gt;cpuapp&lt;/strong&gt;?&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thank you for your help.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Alternative of radio notifications API in NCS 2.7.0 with nrf5340 cpuapp</title><link>https://devzone.nordicsemi.com/thread/514148?ContentTypeID=1</link><pubDate>Tue, 10 Dec 2024 05:22:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:29df4ff0-3429-46ba-9edf-caef2d0e7cf4</guid><dc:creator>Hieu</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;Ben_Squar3d,&lt;/p&gt;
&lt;p&gt;On the nRF5340, you can use the DPPI peripheral to connect events between the two cores.&lt;/p&gt;
&lt;p&gt;This is demonstrated in the &lt;a href="https://github.com/zephyrproject-rtos/hal_nordic/tree/nrfx-3.0.0/nrfx/samples/src/nrfx_gppi"&gt;nrfx_gppi&lt;/a&gt; driver sample (it is compatible with both PPI, DPPI, and nRF54&amp;#39;s GPPI).&lt;br /&gt;It is also used in &lt;a href="https://github.com/nrfconnect/sdk-nrf/tree/v2.8.0/samples/peripheral/radio_test"&gt;the Radio Test sample&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Note that there is a difference with the DPPI, in that each EVENT source or TASK sink can only connect to one DPPI channel; compared to the PPI on nRF52 SoCs, where each EVENT or TASK can be connected to multiple PPI channels.&lt;/p&gt;
&lt;p&gt;Hieu&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>