<?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 hope frequency after send Ack in ESB</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/19064/how-to-hope-frequency-after-send-ack-in-esb</link><description>Hi,
I use a nRF52832 on pca10040 with s132 as RX
and an arduino uno with a nRF2401L+ as TX 
 The nRF52 is a BLE NUS peripheral and can receive ESB packet with timeslot like this 
 The nRF24 send ESB packet every 10ms to the nRF52 and check for acknowledge</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 08 Feb 2017 09:31:49 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/19064/how-to-hope-frequency-after-send-ack-in-esb" /><item><title>RE: How to hope frequency after send Ack in ESB</title><link>https://devzone.nordicsemi.com/thread/73725?ContentTypeID=1</link><pubDate>Wed, 08 Feb 2017 09:31:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:36e8ec65-3876-44d1-bad0-fd4f0a4d1a3c</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Sorry for late response. Which event you receive if you don&amp;#39;t receive NRF_ESB_EVENT_TX_SUCCESS ?
If a packet is ACKed it should send the NRF_ESB_EVENT_TX_SUCCESS event on the PTX side.
On the PRX side you should not receive that event.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to hope frequency after send Ack in ESB</title><link>https://devzone.nordicsemi.com/thread/73724?ContentTypeID=1</link><pubDate>Tue, 31 Jan 2017 11:36:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e4de79ad-b356-4260-8769-a20473d3c119</guid><dc:creator>Spectre</dc:creator><description>&lt;p&gt;When empty ack packet is send, i don&amp;#39;t receive a NRF_ESB_EVENT_TX_SUCCESS&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to hope frequency after send Ack in ESB</title><link>https://devzone.nordicsemi.com/thread/73723?ContentTypeID=1</link><pubDate>Wed, 18 Jan 2017 13:15:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:298790c6-830f-4d6a-af1f-fb744396887b</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Spectre,&lt;/p&gt;
&lt;p&gt;You don&amp;#39;t have to modify the ESB library to implement frequency hopping. You can wait to catch NRF_ESB_EVENT_TX_SUCCESS in the event handler, this mean the packet is ACKed.&lt;/p&gt;
&lt;p&gt;The acknowledge payload use the TX fifo, it&amp;#39;s true.&lt;/p&gt;
&lt;p&gt;If you want to dig deeper in the code, the ACK handling on the PRX side is handled at on_radio_disabled_rx() this is called right after we disable RX to get to TX and check if ACK is needed to send.&lt;/p&gt;
&lt;p&gt;Note that there is a SHORT set at the beginning of RX period in nrf_esb_start_rx():&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;   NRF_RADIO-&amp;gt;SHORTS      = RADIO_SHORTS_COMMON | RADIO_SHORTS_DISABLED_TXEN_Msk;
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;This mean when the radio (in RX mode) is disabled, try to send TX packet (the ACK packet)
What on_radio_disabled_rx() does is to decide if we should send the TX packet (ACK packet) and what should be inside that ACK packet.
If we don&amp;#39;t need to send ACK then TASK_DISABLE will be called to cancel the TXEN task.&lt;/p&gt;
&lt;p&gt;Anyway, you don&amp;#39;t have to modify the library to achieve what you want to do. The only draw back of this solution (instead of using timeslot like in Gazell for channel hopping) is that if the current channel is totally blocked, you have no way to tell the peer device to switch to other channel. But this is not a very common situation I would assume.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>