<?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>how to config retransmit_delay and m_wait_for_ack_timeout_us use ESB</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/36715/how-to-config-retransmit_delay-and-m_wait_for_ack_timeout_us-use-esb</link><description>Hi sir, 
 we used nRF 52832 ESB protocol ， 
 use 
 NRF_ESB_PROTOCOL_ESB_DPL 
 #define NRF_ESB_MAX_PAYLOAD_LENGTH 128 
 bitrate = NRF_ESB_BITRATE_2MBPS 
 
 so how can I config retransmit_delay and m_wait_for_ack_timeout_us 
 
 and what&amp;#39;s the unit ? retransmit_delay</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 24 Jul 2018 06:20:18 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/36715/how-to-config-retransmit_delay-and-m_wait_for_ack_timeout_us-use-esb" /><item><title>RE: how to config retransmit_delay and m_wait_for_ack_timeout_us use ESB</title><link>https://devzone.nordicsemi.com/thread/141077?ContentTypeID=1</link><pubDate>Tue, 24 Jul 2018 06:20:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4e17d581-3a0e-4022-a32c-88802b3efaf1</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Yes, the first is for retransmit delay. m_wait_for_ack_timeout_us is an internal variable and you should not touch that one.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to config retransmit_delay and m_wait_for_ack_timeout_us use ESB</title><link>https://devzone.nordicsemi.com/thread/141062?ContentTypeID=1</link><pubDate>Tue, 24 Jul 2018 01:07:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:12470de9-2211-4eb9-8348-9f0ebd4925e0</guid><dc:creator>fangrui166</dc:creator><description>&lt;p&gt;Hi Sir,&lt;/p&gt;
&lt;p&gt;thanks for your apply ,&amp;nbsp;&lt;br /&gt;&lt;span&gt;Each byte in 2 Mbit mode takes 4 us to transfer, so you need to add (4 x payload_size) [us] to accommodate&amp;nbsp;for the size &amp;nbsp; -- this if for retransmit_delay ?&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;but what value i can use for m_wait_for_ack_timeout_us &amp;nbsp;?&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to config retransmit_delay and m_wait_for_ack_timeout_us use ESB</title><link>https://devzone.nordicsemi.com/thread/141042?ContentTypeID=1</link><pubDate>Mon, 23 Jul 2018 19:58:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:76f2b59c-bc6a-46e7-a911-1b816df0dfd9</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi.&lt;/p&gt;
&lt;p&gt;It is in microseconds, and it is configured when initializing the nrf_esb library.&lt;/p&gt;
&lt;p&gt;The retransmit delay depends on how long the ACK is. If the ACK if empty, ie: no ACK payload, then keeping it 250 us is OK.&lt;/p&gt;
&lt;p&gt;For ACK payloads up to 32 byte (in different modes), you can use the &lt;a href="https://www.nordicsemi.com/eng/content/download/2726/34069/file/nRF24L01P_Product_Specification_1_0.pdf"&gt;table in the nRF24L01+ datasheet (chapter 7.4.2)&lt;/a&gt; as an example for the retransmit delay.&lt;/p&gt;
&lt;p&gt;For higher payload sizes, you need to manually calculate the retransmit delay based on your requirements: Each byte in 2 Mbit mode takes 4 us to transfer, so you need to add (4 x payload_size) [us] to accommodate&amp;nbsp;for the size.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Cheers,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>