<?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>Clean radio events</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/99355/clean-radio-events</link><description>Hello ! 
 
 Can I clean all radio events in more efficient way , by using one line of code ? 
 Now, after each RX/TX operation I disable radio ( INT disabled and cleaned as well) and clear all events : 
 
 nrf_radio_task_trigger (NRF_RADIO, NRF_RADIO_TASK_DISABLE</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 05 May 2023 11:23:55 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/99355/clean-radio-events" /><item><title>RE: Clean radio events</title><link>https://devzone.nordicsemi.com/thread/423965?ContentTypeID=1</link><pubDate>Fri, 05 May 2023 11:23:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:793f3ab3-f8b1-49c9-99d5-6cd06db7cf81</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi Eugene&lt;/p&gt;
&lt;p&gt;We did a quick test on our end, and turning off the peripheral does not seem to clear the events, no.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Clean radio events</title><link>https://devzone.nordicsemi.com/thread/423784?ContentTypeID=1</link><pubDate>Thu, 04 May 2023 12:45:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5626f858-b385-45c3-bde9-6fd6b98d74a0</guid><dc:creator>Hiihtaja</dc:creator><description>&lt;p&gt;Hi Simon !&lt;/p&gt;
&lt;p&gt;But what about power off of radio after each transaction ? Can it clean all events&amp;nbsp; and also save power between rare tx/rx activity ?&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;NRF_RADIO&lt;/span&gt;&lt;span&gt;-&amp;gt;&lt;/span&gt;&lt;span&gt;POWER&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;=&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;0&lt;/span&gt;&lt;span&gt;UL&lt;/span&gt;&lt;span&gt;;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;NRF_RADIO&lt;/span&gt;&lt;span&gt;-&amp;gt;&lt;/span&gt;&lt;span&gt;POWER&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;=&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;1&lt;/span&gt;&lt;span&gt;UL&lt;/span&gt;&lt;span&gt;;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;I&amp;#39;m not use radio powering off with nRF53 and Zephyr yet. I need to add anomaly to code for load some calibration&amp;nbsp;values.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;But in nRF52 old code ( SDK/Contiki-ng based ) powering on/off is in use but it is not so clear what benefit it bring if any.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;May be it was added due fact that radio sometimes freeze when USB cable connected/disconnected on fly on nRF52 board.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;Regards,&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;Eugene&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Clean radio events</title><link>https://devzone.nordicsemi.com/thread/423766?ContentTypeID=1</link><pubDate>Thu, 04 May 2023 12:00:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:41f40bf0-4ffd-4ea9-bea7-f858936fe7be</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi Euguene&lt;/p&gt;
&lt;p&gt;There is no function that does this, as each register must be written to 0 separately. What you could do is to create a function that calls all these event clears.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>