<?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 esb send and receive bidirectional with nrf24l01 on other end</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/87085/nrf52840-esb-send-and-receive-bidirectional-with-nrf24l01-on-other-end</link><description>Hello 
 
 I&amp;#39;m using an nrf52840 (PCA10059) together with an nrf24l01 (ESP32, MIRF Library). 
 
 My goal is to send a data packet from the nrf52840 which the nrf24l01 can receive, The nrf24l01 should then send a data packet back to the nrf52840. 
 
 This</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 22 Apr 2022 14:23:20 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/87085/nrf52840-esb-send-and-receive-bidirectional-with-nrf24l01-on-other-end" /><item><title>RE: nrf52840 esb send and receive bidirectional with nrf24l01 on other end</title><link>https://devzone.nordicsemi.com/thread/364511?ContentTypeID=1</link><pubDate>Fri, 22 Apr 2022 14:23:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f3ade7ac-a77b-43f0-be85-23e8651fe98a</guid><dc:creator>berkutta</dc:creator><description>&lt;p&gt;Got it now working to send Packets &amp;quot;Ping Pong&amp;quot; style between nRF52840 and nRF24L01 (ESP32 SOC - MIRF SW). There was a missing Nrf24_setTADDR on the ESP32 side.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;After that it&amp;#39;s just a question of creating a loop like following to send packets from the nRF5 which can be answered by the nRF24L01:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;    while(1) {
        tx_payload.noack = false;
        err_code = nrf_esb_write_payload(&amp;amp;tx_payload);
        VERIFY_SUCCESS(err_code);

        tx_payload.data[0]++;

        nrf_delay_ms(10);

        nrf_esb_start_rx();

        nrf_delay_ms(100);

        nrf_esb_stop_rx();
    }&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52840 esb send and receive bidirectional with nrf24l01 on other end</title><link>https://devzone.nordicsemi.com/thread/364132?ContentTypeID=1</link><pubDate>Thu, 21 Apr 2022 08:25:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f9d36b12-84ed-4c31-bf2a-f2d62a63608b</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;I do believe that the&amp;nbsp;\examples\proprietary_rf\esb_ptx show this in the nRF5 SDK, look at the handling of&amp;nbsp;NRF_ESB_EVENT_RX_RECEIVED in the&amp;nbsp;nrf_esb_event_handler() callback.&lt;/p&gt;
&lt;p&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52840 esb send and receive bidirectional with nrf24l01 on other end</title><link>https://devzone.nordicsemi.com/thread/364004?ContentTypeID=1</link><pubDate>Wed, 20 Apr 2022 14:49:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b917e327-09c9-4d54-bcfe-9570264b3948</guid><dc:creator>berkutta</dc:creator><description>&lt;p&gt;Thanks for the Answer. Sending Data back and forth between nRF5 SDK and nRF24L01 with MIRF works. But just unidirectional.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Where can I find a nRF5 SDK Example or Documentation on how to receive ESB data with nRF5 SDK after Transmitting data?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52840 esb send and receive bidirectional with nrf24l01 on other end</title><link>https://devzone.nordicsemi.com/thread/363973?ContentTypeID=1</link><pubDate>Wed, 20 Apr 2022 13:48:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9ec9c876-ac58-4205-9f1c-871e2c521e8c</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Do you know the radio configuration used by the &amp;quot;MIRF library&amp;quot;? E.g. channel, address, dynamic payload size or not etc?&lt;/p&gt;
&lt;p&gt;In general you can find that the nRF5 SDK are backwards compatible with the nRFgo SDK examples for the nRF24-series provided the following:&lt;br /&gt;&lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.1.0/esb_users_guide.html#esb_backwards"&gt;https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.1.0/esb_users_guide.html#esb_backwards&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;However it is very likely that some of the radio configuration on the nRF24L01 is different in this case.&lt;/p&gt;
&lt;p&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>