<?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>nRF51822 / nRF24L01 compatibility with auto retransmission ?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/4832/nrf51822-nrf24l01-compatibility-with-auto-retransmission</link><description>Hi, 
 We are upgrading our main product which was until now based on nRF24L01 to nRF51822, with software library. But as the firmware implementation is mostly completed, I&amp;#39;ve discovered 2 unexpected behaviors I would be glad you explain. 
 An array</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 09 Jun 2023 10:25:50 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/4832/nrf51822-nrf24l01-compatibility-with-auto-retransmission" /><item><title>RE: nRF51822 / nRF24L01 compatibility with auto retransmission ?</title><link>https://devzone.nordicsemi.com/thread/430186?ContentTypeID=1</link><pubDate>Fri, 09 Jun 2023 10:25:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:44e80faf-f73d-4371-900c-38b32dc03427</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;As this ticket is 8+ years old, I&amp;#39;d recommend that you create a new ticket instead, where you describe your issue in detail, and potentially link to this ticket if necessary.&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: nRF51822 / nRF24L01 compatibility with auto retransmission ?</title><link>https://devzone.nordicsemi.com/thread/430175?ContentTypeID=1</link><pubDate>Fri, 09 Jun 2023 09:52:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fae0700d-ebf3-49e4-8271-0ecbf18621b0</guid><dc:creator>Jonas Hoefer</dc:creator><description>&lt;p&gt;&lt;span&gt;I have excactly the same problem as you&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/members/lcollet"&gt;Landry&lt;/a&gt;&amp;nbsp;&lt;/span&gt;&lt;span&gt;&amp;nbsp;using the nRF Connect SDK. Could you figure out any help. I know this is already 8 years old but still I hope you could help me if you find out what the problem was.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF51822 / nRF24L01 compatibility with auto retransmission ?</title><link>https://devzone.nordicsemi.com/thread/17078?ContentTypeID=1</link><pubDate>Wed, 25 Feb 2015 16:29:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d0099800-409a-4437-aa51-765855609e19</guid><dc:creator>Landry</dc:creator><description>&lt;p&gt;I definitely thought of priority issues. So I wrote a simple piece of program, with no RTX, no interrupt, etc... Just the minimum necessary to run my system and cause this behaviour.&lt;/p&gt;
&lt;p&gt;But unfortunately, the test program shows that even with no rtx and no interrupt activated, I still got similar issues.&lt;/p&gt;
&lt;p&gt;So I hardly think it is related after all.&lt;/p&gt;
&lt;p&gt;I opened a new support case, referenced 20480, with the demo program. Unfortunately I can&amp;#39;t give you the code for the sensors but there are indications about what the receiver is expecting.&lt;/p&gt;
&lt;p&gt;I hope this will focus the origin of  the problem. Please be sure that I really, really appreciate your help.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF51822 / nRF24L01 compatibility with auto retransmission ?</title><link>https://devzone.nordicsemi.com/thread/17080?ContentTypeID=1</link><pubDate>Tue, 24 Feb 2015 13:11:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:63b40ae4-8588-49f5-8d70-27dd737732cb</guid><dc:creator>Asbj&amp;#248;rn</dc:creator><description>&lt;p&gt;We&amp;#39;ve been discussing this case here at tech support now and it occurred that it might be caused by interrupt priority. It sounds like from your screen shots and descriptions that the FW isn&amp;#39;t able to update the memory point in between RX and sending the ACK. This is something we test in our software builds, but if your application FW is running on the same interrupt priority as the ESB lib, something like this could happen. It&amp;#39;s important that the ESBlib is running alone at highest priority level. Could it be that you have your application running at the same interrupt priority? Make sure that the application is running on at least one level lower than the ESB-lib.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF51822 / nRF24L01 compatibility with auto retransmission ?</title><link>https://devzone.nordicsemi.com/thread/17077?ContentTypeID=1</link><pubDate>Mon, 23 Feb 2015 14:58:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7151261e-92c7-4a29-af46-5decb0cdce22</guid><dc:creator>Landry</dc:creator><description>&lt;p&gt;Here is what I get:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;correct behaviour: Sensor send packet, Recorder acknowledge &lt;a href="http://1drv.ms/1En4MfI"&gt;http://1drv.ms/1En4MfI&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;nrf51822 in pause: VDD_PA is a mess for nrf51822. The µc linked to the nRF24L01 receive an RX_DR signal with the packet that has just been sent. &lt;a href="http://1drv.ms/1En4TYD"&gt;http://1drv.ms/1En4TYD&lt;/a&gt; (zoomed: &lt;a href="http://1drv.ms/1En4ZzB"&gt;http://1drv.ms/1En4ZzB&lt;/a&gt; )&lt;/li&gt;
&lt;li&gt;sensor slightly out of reach (no nRF24L01 vdd_pa on the screenshot, because the sensors is too far). Strange behaviour on nRF51822&amp;#39;s VDD_PA (some pulses under 1.8V ? pulses close to each others ?). µC connected on nRF24 receives an RX_DR signal with the packet that has just been sent. &lt;a href="http://1drv.ms/1En53iU"&gt;http://1drv.ms/1En53iU&lt;/a&gt; and zoomed : &lt;a href="http://1drv.ms/1En58Dc"&gt;http://1drv.ms/1En58Dc&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Please note that when I stop the transmitter prior to pausing the nRF51822, there is no activity at all on the nRF51822 VDD_PA.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF51822 / nRF24L01 compatibility with auto retransmission ?</title><link>https://devzone.nordicsemi.com/thread/17076?ContentTypeID=1</link><pubDate>Mon, 23 Feb 2015 14:57:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a886cdff-ffa6-4b19-8f90-48312cd40112</guid><dc:creator>Landry</dc:creator><description>&lt;p&gt;Thank you again for your help.&lt;/p&gt;
&lt;p&gt;Absolutely, these pulses on VDD_PA are 1.8V, the duration seems to fluctuate whereas there is a payload in the ack.&lt;/p&gt;
&lt;p&gt;OK I understand better for the ARD differences I observed.&lt;/p&gt;
&lt;p&gt;I indeed can reproduce in an &amp;quot;exaggerated&amp;quot; way the behaviour I observe when being slightly out of reach, when I put the nrf51 paused in debug mode.&lt;/p&gt;
&lt;p&gt;To check this, I put a scope probe on the VDD_PA of the nrf51822 (blue channel) and on the VDD_PA of my sensor with nRF21L01 (in yellow).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF51822 / nRF24L01 compatibility with auto retransmission ?</title><link>https://devzone.nordicsemi.com/thread/17079?ContentTypeID=1</link><pubDate>Mon, 23 Feb 2015 11:59:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dce6cdce-4fdb-4878-abd7-ed8623f16740</guid><dc:creator>Asbj&amp;#248;rn</dc:creator><description>&lt;p&gt;The pulses on VDD_PA that you see on the nRF51 is the ACKs being sent or ACKs for the re-transmits and you should see 1.8 V.&lt;/p&gt;
&lt;p&gt;The ARD are defined differently on the nRF24L01 compared to nRF51. On nRF24L01 ARD is time after bit is sent, on the nRF51 it is the time from when the transmission started. So there&amp;#39;s some slight differences in differences in setup.&lt;/p&gt;
&lt;p&gt;You say that you can steadily re-produce this behavior if you keep the nRF51 paused in debug mode? So that as long as the nRF51 is in debug mode and paused, you will constantly get your sent payloads back to the nRF24L01?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF51822 / nRF24L01 compatibility with auto retransmission ?</title><link>https://devzone.nordicsemi.com/thread/17075?ContentTypeID=1</link><pubDate>Wed, 18 Feb 2015 15:16:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9d9fb7e1-1ef5-44b4-bebe-814b4bc46e13</guid><dc:creator>Landry</dc:creator><description>&lt;p&gt;Dear Asbjørn ,&lt;/p&gt;
&lt;p&gt;Thank you for your reply, I really appreciate and I apologize for not getting back to you sooner, but I wanted to have a try on your suggestions before and didn&amp;#39;t get the opportunity to do it until now.&lt;/p&gt;
&lt;p&gt;You are describing my problem correctly. I detect the reception, on the nRF24lL01 size, because I get a RX_DR flag, and when reading the pending received payload, it contains the packet I previously sent to TX fifo (again, in the nRF24L01, not the nRF51822).&lt;/p&gt;
&lt;p&gt;The addresses I am using are default addresses (on 5 bytes):
pipe 0 : 0xE7 E7 E7 E7 E7
pipe 1 : 0xC2 C2 C2 C2 C2
pipe 2 : 0xC3
pipe 3 : 0xC4
pipe 4 : 0xC5
pipe 5 : 0xC6&lt;/p&gt;
&lt;p&gt;All sensors are using different addresses on only one pipe (pipe0), the other pipes being shut off. Same idea for the receiver but only pipes 6 and 7 are turned off, obviously.&lt;/p&gt;
&lt;p&gt;I performed a few more tests today, placing breakpoints in functions nrf_esb_tx_success, nrf_esb_tx_failed and when calling nrf_esb_add_packet_to_tx_fifo in the nrf51822. Again the sensors keeps on receiving it&amp;#39;s own packets when slightly out of range, still no breakpoint were triggered on the receiving side.&lt;/p&gt;
&lt;p&gt;During this test, I had only one sensor. So no other device could be blamed for.&lt;/p&gt;
&lt;p&gt;During the recording, when in range, the VDD_PA of NRF51822 is pulsing regularly (here it&amp;#39;s pulsing at 9.14Hz, matching the sending frequency of my transmitter), but I assume it&amp;#39;s the acknowledgement. Please tell me if this is not expected.&lt;/p&gt;
&lt;p&gt;The strange thing is that I specified an ARD of 750µs and ART of 4 (for both transmitter and receiver), and when out of range I can sometimes see 8 pulses seperated by 1000µs (not 750µs ?), which seems to be the retransmissions. Furthermore, it&amp;#39;s actually not always as regular as this. For instance, on the 100ms window I have right under my eyes on the scope now, I can see 17 irregular pulses, where I should have only two, maybe 5 considering max retransmissions.&lt;/p&gt;
&lt;p&gt;I hope these additionnal elements will help you to enlighten some new leads, because for my concern, I&amp;#39;m a little confused.&lt;/p&gt;
&lt;p&gt;Thank you very much,&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF51822 / nRF24L01 compatibility with auto retransmission ?</title><link>https://devzone.nordicsemi.com/thread/17074?ContentTypeID=1</link><pubDate>Fri, 02 Jan 2015 20:03:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8d2f1c10-b946-44bc-936d-1f70326569d7</guid><dc:creator>Asbj&amp;#248;rn</dc:creator><description>&lt;p&gt;I&amp;#39;m having a really hard time understanding your problem as the description of the issue is not something that I&amp;#39;ve encountered before. If I understand you correctly you are receiving your own payload back on the nRF24L01 sometime when you are close to being out of range and the you have enable re-transmits? How do you detect the reception of the sent payload? Do you get a RX_DR indicating you got a new payload?&lt;/p&gt;
&lt;p&gt;There&amp;#39;s no reason for why the nRF51 should send the payload back to the nRF24L01 unless the received payload on the nRF51 is written to the TX FIFO and then re-sent with re-transmission ACK, but the ESB library won&amp;#39;t do that unless you do that on your own.&lt;/p&gt;
&lt;p&gt;What addresses are you using in your setup? Could it be that one of the other sensors are sending at the same time a different one is in RX to receive the ACK and hence it&amp;#39;s receiving the other sensors data? If the nRF51822 is paused/halted in debug mode, it shouldn&amp;#39;t be able to do anything, so I find it really strange that it&amp;#39;s sending the receive payload back to the sensor in this mode.&lt;/p&gt;
&lt;p&gt;It&amp;#39;s a bit more complicated, but perhaps it would be beneficial to check who&amp;#39;s actually sending. You can scope on the VDD_PA pin on the various sensors and the nRF51822. This pin will go up to 1.8 only when the chip is in radio TX mode. For the rest of the time, including radio RX, the VDD_PA pin will be 0 V. If you receive something and the VDD_PA pin on the nRF51822 is still 0 V, the payload/package wasn&amp;#39;t sent from the nRF51822.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>