<?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>nRF52840 proprietary Radio stops receiving after some Data ...</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/76946/nrf52840-proprietary-radio-stops-receiving-after-some-data</link><description>Hallo, 
 my nRF52840 and my nRF24L01 are receiving the same data in proprietary radio mode. 
 Several nRF51822 are sending mixed up data. 
 Within the nRF24L01 - radio Interrupt routine I lock the receive interrupt while reading the payload ... 
 The</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 09 Jul 2021 09:31:30 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/76946/nrf52840-proprietary-radio-stops-receiving-after-some-data" /><item><title>RE: nRF52840 proprietary Radio stops receiving after some Data ...</title><link>https://devzone.nordicsemi.com/thread/319314?ContentTypeID=1</link><pubDate>Fri, 09 Jul 2021 09:31:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:33043f28-3ac3-4910-a444-9bdba69d72ca</guid><dc:creator>run_ar</dc:creator><description>&lt;p&gt;Normally this would be handled by the ESB library, but seems you are modifying it a bit? Anyway you can check the &lt;span&gt;&lt;a title="INTENSET" href="https://infocenter.nordicsemi.com/topic/ps_nrf52840/radio.html?cp=4_0_0_5_19_13_37#register.INTENSET"&gt;INTENSET&lt;/a&gt;&lt;/span&gt; and &lt;span&gt;&lt;a title="INTENCLR" href="https://infocenter.nordicsemi.com/topic/ps_nrf52840/radio.html?cp=4_0_0_5_19_13_38#register.INTENCLR"&gt;INTENCLR&lt;/a&gt;&lt;/span&gt; registers.&lt;/p&gt;
&lt;p&gt;In ESB interrupts are cleared using &amp;nbsp;&amp;nbsp; NVIC_ClearPendingIRQ(RADIO_IRQn);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; NVIC_EnableIRQ(RADIO_IRQn);&lt;/p&gt;
&lt;p&gt;Not sure exactly what you mean with powering on/off the radio. But you can disable / enable the radio as you wish, there should not be any limitation to that. Only the flash has endurance limitations.&lt;/p&gt;
&lt;p&gt;To see what events come when see &lt;span&gt;&lt;a title="Transmit sequence" href="https://infocenter.nordicsemi.com/topic/ps_nrf52840/radio.html?cp=4_0_0_5_19_5#concept_db5_cnl_4r"&gt;Transmit sequence&lt;/a&gt;&lt;/span&gt; and &lt;span&gt;&lt;a title="Receive sequence" href="https://infocenter.nordicsemi.com/topic/ps_nrf52840/radio.html?cp=4_0_0_5_19_6#concept_v4s_gkl_4r"&gt;Receive sequence&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;And FYI, we are just starting summer vacations, which means our response times might increase. Personally I will be OOO for the next four weeks, so consider making a new case for follow up questions.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 proprietary Radio stops receiving after some Data ...</title><link>https://devzone.nordicsemi.com/thread/319189?ContentTypeID=1</link><pubDate>Thu, 08 Jul 2021 12:54:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:138a3e04-48b1-4a75-b14a-f47c303fe52a</guid><dc:creator>Wenne</dc:creator><description>&lt;p&gt;Thank you very much for your reply.&lt;/p&gt;
&lt;p&gt;I&amp;#39;m checking the events now.&lt;/p&gt;
&lt;p&gt;So if I detect for example the&amp;nbsp;&lt;/p&gt;
&lt;p&gt;NRF_RADIO-&amp;gt;EVENTS_FRAMESTART == 1&amp;nbsp; &amp;nbsp;event&lt;/p&gt;
&lt;p&gt;I have to Reset the radio with&lt;/p&gt;
&lt;p&gt;NRF_RADIO-&amp;gt;POWER = (RADIO_POWER_POWER_Disabled &amp;lt;&amp;lt; RADIO_POWER_POWER_Pos);&lt;br /&gt;nrf_delay_ms(5);&lt;br /&gt;NRF_RADIO-&amp;gt;POWER = (RADIO_POWER_POWER_Enabled &amp;lt;&amp;lt; RADIO_POWER_POWER_Pos);&lt;/p&gt;
&lt;p&gt;because I&amp;#39;m not able to reset this flag on my own.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;So my program is working stable now and receives my Slaves payloads,&amp;nbsp; but I&amp;#39;m not very happy with my solution because I have to Reset and reinitialize the Radiopart very very often ...&lt;/p&gt;
&lt;p&gt;So how to reset the radioflags, without powering the Radio on and off ?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Is there a documentation wich radio events are set in which sequence while receiving data ?&lt;/p&gt;
&lt;p&gt;which events are cleared automatically ?&lt;/p&gt;
&lt;p&gt;If there is a&amp;nbsp;permanent CRC or Framestart event, because the flag will not be cleared&amp;nbsp; what will happen ?&lt;/p&gt;
&lt;p&gt;Will the radio run into a shutdown ?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Which events can be deleted and which ones have to be cleared by radio power on/off only ?&lt;/p&gt;
&lt;p&gt;Will there be problems if i power on and power off the radio very very often ?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;How to discard packets ?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I only accept packages if i receive the&amp;nbsp;&lt;/p&gt;
&lt;p&gt;NRF_ESB_EVENT_RX_RECEIVED&amp;nbsp; event.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks !&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 proprietary Radio stops receiving after some Data ...</title><link>https://devzone.nordicsemi.com/thread/319155?ContentTypeID=1</link><pubDate>Thu, 08 Jul 2021 11:59:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2e12a93a-1b7d-4c29-86f0-929b3fc4836d</guid><dc:creator>run_ar</dc:creator><description>&lt;p&gt;Are you using standard ESB? Normally you would simply discard the packet and wait for the next one if you get a CRC error.&lt;/p&gt;
&lt;p&gt;Alternatively if you enabled data whitening you might be hitting errata 245. But this is not enabled by default for ESB.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 proprietary Radio stops receiving after some Data ...</title><link>https://devzone.nordicsemi.com/thread/318258?ContentTypeID=1</link><pubDate>Thu, 01 Jul 2021 14:00:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f1185e5a-6547-4b9f-9508-4aef210fd356</guid><dc:creator>Wenne</dc:creator><description>&lt;p&gt;It looks like a CRC error.&lt;/p&gt;
&lt;p&gt;So how to delete or disable the CRC error event ?&lt;/p&gt;
&lt;p&gt;best regards Wenne&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 proprietary Radio stops receiving after some Data ...</title><link>https://devzone.nordicsemi.com/thread/318014?ContentTypeID=1</link><pubDate>Wed, 30 Jun 2021 14:01:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:974d650a-bad7-4cc4-a5df-15f816803365</guid><dc:creator>Wenne</dc:creator><description>&lt;p&gt;I use the nRF52840 dongle.&lt;/p&gt;
&lt;p&gt;I soldered some wires to get a uart @ 115200 working ( for debugging purposes)&lt;/p&gt;
&lt;p&gt;therefore I started with a example/ peripheral &amp;quot;uart&amp;quot; example and added proprietary_rf radio ...&lt;/p&gt;
&lt;p&gt;errorcodes ? - do you mean from the compiler ? no there are no errors ..&lt;/p&gt;
&lt;p&gt;I assume that I have problems if several 51822 are transmitting their payloads simultanously ...&lt;/p&gt;
&lt;p&gt;Because I have several of 51822 ( with same Address - their ID is located in the payload ) which are sending their payloads.&lt;/p&gt;
&lt;p&gt;The 24L01 has absolutely no problem with that.&lt;/p&gt;
&lt;p&gt;Therefore I assume that I have to disable / enable the receive Interrupt within the 52840 software - like i have done it within the 24l01.&lt;/p&gt;
&lt;p&gt;But how to &amp;quot;disable&amp;quot; the receive event ? or do i have to modify the RADIO_IRQHandler ...&lt;/p&gt;
&lt;p&gt;all payloads I receive are OK -&lt;/p&gt;
&lt;p&gt;unfortunately I&amp;#39;m not able to let only on of my 51822 send, because i lost some of my battery powered samples somewhere here and I&amp;#39;m not able to localize them, that I can deactivate them :-)&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 proprietary Radio stops receiving after some Data ...</title><link>https://devzone.nordicsemi.com/thread/318004?ContentTypeID=1</link><pubDate>Wed, 30 Jun 2021 13:37:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:60f7f1af-4ad1-4fe9-ac7d-325611ba66aa</guid><dc:creator>run_ar</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Are you using a specific example? Are you getting any error codes? where does the program halt when degugging? there is a &lt;span&gt;&lt;a title="Backward compatibility" href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.0.2/esb_users_guide.html?cp=8_1_5_3_2#esb_backwards"&gt;Backward compatibility&lt;/a&gt;&lt;/span&gt; guide here, that you could check that you are following.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>