<?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>re:nrf24l01p and nrf51822 esb communication</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/67037/re-nrf24l01p-and-nrf51822-esb-communication</link><description>I can&amp;#39;t see the answer, so I will write it again. 
 
 hello. 
 nrf24l01p(ptx), nrf51822(prx) 
 nrf24l01p set 
 TX_ADDR = 0xA5B300 
 EN_AA = 0 
 EN_RXADDR = 1 
 SETUP_AW = 1 
 RF_CH = 0x0A 
 RF_SETUP = 0x26 
 W_TX_PAYLOAD = 0x00E1124525 
 CONFIG = 0x0E</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 19 Oct 2020 09:00:35 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/67037/re-nrf24l01p-and-nrf51822-esb-communication" /><item><title>RE: re:nrf24l01p and nrf51822 esb communication</title><link>https://devzone.nordicsemi.com/thread/275524?ContentTypeID=1</link><pubDate>Mon, 19 Oct 2020 09:00:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:29852eaa-b70c-414d-8586-2843313f6223</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;If you are&amp;nbsp;setting&amp;nbsp;EN_AA=0 then you are disabling the auto ack -&amp;gt; in other words you are disabling the &amp;quot;Enhanced&amp;quot; in the &amp;quot;E&amp;quot;SB protocol, and instead are using old SB protocol. This is not really supported by the ESB examples. In such case you likely will need to look at the&amp;nbsp;\examples\peripheral\radio\receiver example.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: re:nrf24l01p and nrf51822 esb communication</title><link>https://devzone.nordicsemi.com/thread/275234?ContentTypeID=1</link><pubDate>Fri, 16 Oct 2020 02:39:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0fbf7aab-237c-4faf-90e4-584b81191d23</guid><dc:creator>JK5</dc:creator><description>&lt;p&gt;hi.&lt;/p&gt;
&lt;p&gt;I did the test as you told me.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I tried nrf51(prx), nrf24(ptx) and it worked.&lt;br /&gt;However, it was only possible when using the complete basic example.&lt;br /&gt;Do not change the address strangely.&lt;br /&gt;Only 0xE7E7E7E7E7 is possible, and if you change to 0xC2C2C2C2C2, 0xC3C3C3C3C3,0xA5A5A5A5A5, prx only receives once and does not receive.&lt;/p&gt;
&lt;p&gt;The changed source code is&lt;br /&gt;NRF51&lt;br /&gt;esb_init()&lt;br /&gt;{&lt;br /&gt;...&lt;br /&gt;uint8_t base_addr_0[4] = {0xA5, 0xA5, 0xA5, 0xA5};&lt;br /&gt;uint8_t base_addr_1[4] = {0xC2, 0xC2, 0xC2, 0xC2};&lt;br /&gt;uint8_t addr_prefix[8] = {0xA5, 0xC2, 0xC3, 0xC4, 0xC5, 0xC6, 0xC7, 0xC8 };&lt;br /&gt;...&lt;br /&gt;}&lt;/p&gt;
&lt;p&gt;NRF24&lt;br /&gt;main()&lt;br /&gt;{&lt;br /&gt;unsigned char address[5] = {0xA5, 0xA5, 0xA5, 0xA5, 0xA5};&lt;br /&gt;...&lt;br /&gt;hal_nrf_set_address(HAL_NRF_TX, address);&lt;br /&gt;...&lt;br /&gt;while (1)&lt;br /&gt; {&lt;br /&gt; hal_nrf_write_tx_payload(payload, 3);&lt;br /&gt; CE_PULSE();&lt;br /&gt; }&lt;br /&gt;}&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;------add&lt;/p&gt;
&lt;p&gt;For the above problem, for nrf24 to nrf24, EN_AA should be 0.&lt;/p&gt;
&lt;p&gt;If EN_AA is set to 0 in nrf24, how should it be set in NRF51?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: re:nrf24l01p and nrf51822 esb communication</title><link>https://devzone.nordicsemi.com/thread/274833?ContentTypeID=1</link><pubDate>Wed, 14 Oct 2020 09:15:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1cdab452-ec3b-4fa9-8746-bf88c0f774d3</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;In general we don&amp;#39;t recommend using address fields with multiple 00 or FF, since that resemble noise, and may increase the packet error rate.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If you are unsure of the address is correct, just set all address bytes to the the same value, e.g. the default is all bytes are C2 or all E7. It is easier to find if that is the problem that way.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Kenneth&amp;nbsp;&lt;/p&gt;
[quote user="JK5"]nrf_esb_set_address_length(3);&lt;br /&gt;Then, the base address is 2 bytes and the prefix is 1 byte.[/quote]
&lt;p&gt;&amp;nbsp;Correct.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: re:nrf24l01p and nrf51822 esb communication</title><link>https://devzone.nordicsemi.com/thread/274746?ContentTypeID=1</link><pubDate>Wed, 14 Oct 2020 00:10:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e86be457-2f01-41fd-aff4-17c857e90f91</guid><dc:creator>JK5</dc:creator><description>&lt;p&gt;thank you.&amp;nbsp;I&amp;#39;ll try.&lt;/p&gt;
&lt;p&gt;In NRF51, we try to designate the address as 3 bytes.&lt;br /&gt;nrf_esb_set_address_length(3);&lt;br /&gt;Then, the base address is 2 bytes and the prefix is 1 byte.&lt;br /&gt;Is that right?&lt;br /&gt;S0,S1,LFLEN settings are S0, S1 = 1, LFLEN =0; Is it this way?&lt;/p&gt;
&lt;p&gt;NRF51_RM(Page 82) &amp;quot;The base address is truncated from LSByte if the BALEN is less than 4. &amp;quot;&lt;br /&gt;For example, when setting 3 bytes of the pipe 0 address to 0xABCDEF&lt;br /&gt;1) uint8_t base_addr_0[4] = {0xAB, 0xCD, 0x00, 0x00};&lt;br /&gt;2) uint8_t base_addr_0[4] = {0x00, 0x00, 0xAB, 0xCD};&lt;br /&gt;uint8_t addr_prefix[8] = {0xEF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 };&lt;/p&gt;
&lt;p&gt;How should I set it up?&lt;br /&gt;The datasheet is too short to understand.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: re:nrf24l01p and nrf51822 esb communication</title><link>https://devzone.nordicsemi.com/thread/274645?ContentTypeID=1</link><pubDate>Tue, 13 Oct 2020 12:42:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:384fc3bd-862c-45f4-accf-ee86f6d62048</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;You should be able to use the ESB examples from nRFgo SDK v2.3 (nRF24L-series) with the nRF5 SDK (nRF51 or nRF52-series, the latest nRF5 SDK for the nRF51-series is v12.3). Please use the examples with no change as a start. The only thing you need to modify is the following for the nRF5 SDK:&lt;br /&gt;&lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v12.3.0/esb_users_guide.html#esb_backwards"&gt;https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v12.3.0/esb_users_guide.html#esb_backwards&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The nRFgo SDK v2.3 is found here (see Development tools and download zip file):&lt;br /&gt;&lt;a href="https://www.nordicsemi.com/Products/Low-power-short-range-wireless/nRF24-series"&gt;https://www.nordicsemi.com/Products/Low-power-short-range-wireless/nRF24-series&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;After installation you can find the ESB configuration here:&lt;br /&gt;\nRFgo SDK 2.3.0.10040\source_code\projects\nrfgo_sdk\enhanced_shockburst_examples&amp;nbsp;&lt;/p&gt;
&lt;p&gt;As a start don&amp;#39;t use&amp;nbsp;&lt;span&gt;W_TX_PAYLOAD_NOACK, but use the W_TX_PAYLOAD first, since that will work without any specific features enabled (because once you enable the FEATURE-&amp;gt;EN_DYN_ACK bit, then the behavior of the NO_ACK bit is reversed; &amp;#39;0&amp;#39; means NOACK, &amp;#39;1&amp;#39; means ACK).&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;If you have any problem have in mind they may be due to byte order or length of the address field, so the best is to use the default as a starting point, and change one register at a time until you can find what may be causing your problems.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best regards,&lt;br /&gt;Kenneth&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>