<?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>nRF52 &amp;lt;-&amp;gt; 24L01+ ESB sample code</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/15747/nrf52---24l01-esb-sample-code</link><description>Does anyone have any sample code for two-way ESB comms between an nRF52 and nRF24L01+ being controlled by an Arduino (or similar), please? 
 I can get two nRF52s to talk to each other, and I can get two 24L01+s to talk to each other, but I just can&amp;#39;t</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 31 Aug 2016 11:27:41 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/15747/nrf52---24l01-esb-sample-code" /><item><title>RE: nRF52 &lt;-&gt; 24L01+ ESB sample code</title><link>https://devzone.nordicsemi.com/thread/60114?ContentTypeID=1</link><pubDate>Wed, 31 Aug 2016 11:27:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5d365bfa-1e42-4949-93f5-3577fe456041</guid><dc:creator>Steve H</dc:creator><description>&lt;p&gt;Hi Håkon,&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve tried the exact same setup from &lt;a href="https://devzone.nordicsemi.com/question/79739/any-advice-for-nrf52832-to-nrf24l01-communication/?comment=92919#comment-92919"&gt;NDZ comment&lt;/a&gt; and it still doesn&amp;#39;t work for me. Not sure where to go from here.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52 &lt;-&gt; 24L01+ ESB sample code</title><link>https://devzone.nordicsemi.com/thread/60112?ContentTypeID=1</link><pubDate>Wed, 17 Aug 2016 14:12:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f0794675-ddd5-4aaf-8ec9-df70aa8ba60f</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;I agree with you 100 %. I&amp;#39;ve already flagged this internally.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52 &lt;-&gt; 24L01+ ESB sample code</title><link>https://devzone.nordicsemi.com/thread/60111?ContentTypeID=1</link><pubDate>Wed, 17 Aug 2016 14:04:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:909b2c2e-e769-4700-bbac-fab4924fa293</guid><dc:creator>Steve H</dc:creator><description>&lt;p&gt;Hi Håkon,&lt;/p&gt;
&lt;p&gt;Thanks for the suggestion, I&amp;#39;ll try that later in the week when I have more time.&lt;/p&gt;
&lt;p&gt;Wouldn&amp;#39;t it be better for the compiler to give an error message if you try and compile for 250kbps on nRF52, rather than just having a deprecation message in the header?&lt;/p&gt;
&lt;p&gt;Cheers,&lt;/p&gt;
&lt;p&gt;Steve.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52 &lt;-&gt; 24L01+ ESB sample code</title><link>https://devzone.nordicsemi.com/thread/60113?ContentTypeID=1</link><pubDate>Wed, 17 Aug 2016 08:11:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:35e8a55d-941e-4eea-b574-fb8ba373abfc</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi Steve,&lt;/p&gt;
&lt;p&gt;The nRF52 does not have the 250 kBit on-air datarate mode.
As shown in the nrf52_bitfields.h:
RADIO_MODE_MODE_Nrf_250Kbit (2UL) // Deprecated enumerator -  250 kbit/s Nordic proprietary radio mode&lt;/p&gt;
&lt;p&gt;Could you try with 2 MBit and see if this works better?
If you&amp;#39;re using noack with the nRF24L01+, then the selective_ack must be set on the nRF5x-side. Example configuration:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;`nrf_esb_config_t nrf_esb_config         = NRF_ESB_DEFAULT_CONFIG;

nrf_esb_config.protocol                 = NRF_ESB_PROTOCOL_ESB_DPL;

nrf_esb_config.retransmit_delay         = 600;

nrf_esb_config.bitrate                  = NRF_ESB_BITRATE_2MBPS;

nrf_esb_config.event_handler            = nrf_esb_event_handler;

nrf_esb_config.mode                     = NRF_ESB_MODE_PTX;

nrf_esb_config.selective_auto_ack       = true;`
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Cheers,
Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52 &lt;-&gt; 24L01+ ESB sample code</title><link>https://devzone.nordicsemi.com/thread/60110?ContentTypeID=1</link><pubDate>Tue, 16 Aug 2016 14:38:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5825d808-3e1c-4560-8553-9e60c741d998</guid><dc:creator>Steve H</dc:creator><description>&lt;p&gt;Hi Håkon,&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve tried the first many times!&lt;/p&gt;
&lt;p&gt;Here is my setup which I initially took from an example on NDZone, which worked for the poster. I&amp;#39;ve tried swapping the address used for the reading and writing pipes with no success.&lt;/p&gt;
&lt;p&gt;The nRF52 is using the esb_ptx example with the channel set to 2.&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Steve.&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;int64_t pipe_address[2] = {0xC2C2C2C2C2, 0xE7E7E7E7E7};
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;void setupRadio()
{
radio.begin();
radio.setRetries(15, 15);
radio.setChannel(2);
radio.setDataRate(RF24_250KBPS);
radio.setPALevel(RF24_PA_LOW);
radio.enableDynamicPayloads();
radio.enableDynamicAck();
radio.enableAckPayload();
radio.setCRCLength(RF24_CRC_16);
radio.openReadingPipe(1, pipe_address[1]);
radio.openWritingPipe(pipe_address[0]);
radio.startListening();
radio.printDetails();
}&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52 &lt;-&gt; 24L01+ ESB sample code</title><link>https://devzone.nordicsemi.com/thread/60109?ContentTypeID=1</link><pubDate>Tue, 16 Aug 2016 08:33:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9a3d865d-8542-4b8c-b52f-f54e2cd30a33</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi Steve,&lt;/p&gt;
&lt;p&gt;Q1: Could you try using an RF address which is equal regardless of endianess, like E7 E7 E7 E7 E7?&lt;/p&gt;
&lt;p&gt;Q2: If the above does not work, could you post your settings?&lt;/p&gt;
&lt;p&gt;Cheers,
Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>