<?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>My ESB PTX receives delayed duplicate ACK packets from my PRX</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/65016/my-esb-ptx-receives-delayed-duplicate-ack-packets-from-my-prx</link><description>Hello! 
 My problem is that I am getting duplicates of the ACK packets I send from my PRX device to my PTX device. 
 To debug this problem, I configured my PTX to continuously stream data at 100hz. In my PRX device, I receive the packets, handle them</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 24 Aug 2020 08:54:18 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/65016/my-esb-ptx-receives-delayed-duplicate-ack-packets-from-my-prx" /><item><title>RE: My ESB PTX receives delayed duplicate ACK packets from my PRX</title><link>https://devzone.nordicsemi.com/thread/265914?ContentTypeID=1</link><pubDate>Mon, 24 Aug 2020 08:54:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a3a46cd6-6c5e-498d-b782-4ee38380e8e8</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi Justin&lt;/p&gt;
&lt;p&gt;Thanks for the confirmation, interesting to know that you can also get issues with a single pipe using the older code.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Changing the SWI0 interrupt to the QDEC interrupt should not have an impact on execution, as long as you don&amp;#39;t use the QDEC peripheral obviously.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: My ESB PTX receives delayed duplicate ACK packets from my PRX</title><link>https://devzone.nordicsemi.com/thread/265822?ContentTypeID=1</link><pubDate>Fri, 21 Aug 2020 15:47:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a9377c16-e85f-4b9b-a6b7-559cc888dfda</guid><dc:creator>jrowe</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;span&gt;Torbj&amp;oslash;rn,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;The design does normally use multiple pipes, but for the test case that I setup to debug the problem I only had one PTX device actually transmitting. The PRX was still configured to receive on multiple pipes though.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Also, I forgot to mention in my original post that I did make one small change to the nrf_esb implementation.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I changed&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;#define ESB_EVT_IRQ SWI0_IRQn&amp;nbsp;&lt;br /&gt;#define ESB_EVT_IRQHandler SWI0_IRQHandler&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;to&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;#define ESB_EVT_IRQ QDEC_IRQn&amp;nbsp;&lt;br /&gt;#define ESB_EVT_IRQHandler QDEC_IRQHandler&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;because I use SWIO for the app_timer.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: My ESB PTX receives delayed duplicate ACK packets from my PRX</title><link>https://devzone.nordicsemi.com/thread/265663?ContentTypeID=1</link><pubDate>Fri, 21 Aug 2020 07:17:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7830b594-d690-4a72-9eeb-21b7726976df</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi Justin&lt;/p&gt;
&lt;p&gt;I am happy to hear that the modified implementation solved your issue &lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/1f642.svg" title="Slight smile"&gt;&amp;#x1f642;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Can you confirm whether or not you use one or multiple pipes?&lt;/p&gt;
&lt;p&gt;The changes in the nrf52-esb-buffer-improvements repo were merged in SDK v17.0.0, but unfortunately there was an issue with the merge and some lines of code were not included. As such the current implementation in SDK v17.0.x also has some issues.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;This has been reported internally, and I am hoping the proper implementation will be included in a future update to the SDK.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: My ESB PTX receives delayed duplicate ACK packets from my PRX</title><link>https://devzone.nordicsemi.com/thread/265614?ContentTypeID=1</link><pubDate>Thu, 20 Aug 2020 16:10:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:417c0648-fe43-4af4-82b1-54fc63b1e1e5</guid><dc:creator>jrowe</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;span&gt;Torbj&amp;oslash;rn,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Fantastic! I just tested it out, and it did fix the problem! Do you know if the changes have been &lt;span style="font-size:12px;"&gt;incorporated&lt;/span&gt;&amp;nbsp;into a newer version of the SDK?&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Many thanks,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Justin&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: My ESB PTX receives delayed duplicate ACK packets from my PRX</title><link>https://devzone.nordicsemi.com/thread/265581?ContentTypeID=1</link><pubDate>Thu, 20 Aug 2020 13:52:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:676fda19-9005-45d5-a698-360b9adc63e9</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi Justin&lt;/p&gt;
&lt;p&gt;Are you able to try out the nrf_esb implementation available here?&lt;br /&gt;&lt;a href="https://github.com/too1/nrf52-esb-buffer-improvements"&gt;https://github.com/too1/nrf52-esb-buffer-improvements&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;It is essentially identical to the one in the nRF5 SDK, but with some changes to the way ACK payloads are handled. The changes were added to solve an issue when using multiple pipes, but it might also affect your application.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>