<?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 configure nrf24l01+ to send 1 byte payloads to nrf52840DK</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/58171/how-to-configure-nrf24l01-to-send-1-byte-payloads-to-nrf52840dk</link><description>I want to send a one byte payload from the nrf24l01+ (Sparkfun dev board), to nrf52840 DK using the example esb_prx. How should I configure the nrf24 registers to make this happen? Also, what changes do I have to make in the esb_prx example? I&amp;#39;ve been</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 02 Mar 2020 19:12:16 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/58171/how-to-configure-nrf24l01-to-send-1-byte-payloads-to-nrf52840dk" /><item><title>RE: How to configure nrf24l01+ to send 1 byte payloads to nrf52840DK</title><link>https://devzone.nordicsemi.com/thread/237557?ContentTypeID=1</link><pubDate>Mon, 02 Mar 2020 19:12:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:47a9201f-ec39-4eb4-bc17-3820b79c0c8a</guid><dc:creator>cwmoreiras</dc:creator><description>&lt;p&gt;Using the esb_rx example and viewing the registers with this tool helped me to program the RADIO registers for ESB.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to configure nrf24l01+ to send 1 byte payloads to nrf52840DK</title><link>https://devzone.nordicsemi.com/thread/237356?ContentTypeID=1</link><pubDate>Mon, 02 Mar 2020 09:34:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ae6a8849-eb04-4744-8522-19b90cd72fa4</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;In debug mode click the Groups and enable RADIO, see below.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Kenneth&lt;/p&gt;
&lt;p&gt;--&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-af7301ec43d04ee492170af60706b3c3/pastedimage1583141700490v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to configure nrf24l01+ to send 1 byte payloads to nrf52840DK</title><link>https://devzone.nordicsemi.com/thread/237004?ContentTypeID=1</link><pubDate>Fri, 28 Feb 2020 00:49:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:90a4911a-2a0a-4f94-9fbc-cb32f510bd3c</guid><dc:creator>cwmoreiras</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve got successful transmissions between the nRF24l01+ (tx) and the nRF52840 (rx). I used my own code for the nRF24 with registers configured as shown:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;CONFIG: 0x5a
EN_AA: 0x01
EN_RXADDR: 0x01
SETUP_AW: 0x03
SETUP_RETR: 0x0f
RF_CH: 0x02
RF_SETUP: 0x06
STATUS: 0x0e
OBSERVE_TX: 0x0f
RPD: 0x00
RX_ADDR_P0: 0xe7e7e7e7e7
RX_ADDR_P1: 0xc2c2c2c2c2
RX_ADDR_P2: 0xc3
RX_ADDR_3: 0xc4
RX_ADDR_P4: 0xc5
RX_ADDR_P5: 0xc6
TX_ADDR: 0xe7e7e7e7e7
RX_PW_P0: 0x00
RX_PW_P1: 0x00
RX_PW_P2: 0x00
RX_PW_P3: 0x00
RX_PW_P4: 0x00
RX_PW_P5: 0x00
FIFO_STATUS: 0x01
DYNPD: 0x01
FEATURE: 0x05&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;And for the nRF52, I&amp;#39;m using the esb_rx example, with some changes to the configuration:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;nrf_esb_config_t nrf_esb_config         = NRF_ESB_LEGACY_CONFIG;
nrf_esb_config.selective_auto_ack       = 1;
nrf_esb_config.payload_length           = 12;
nrf_esb_config.protocol                 = NRF_ESB_PROTOCOL_ESB_DPL;
nrf_esb_config.bitrate                  = NRF_ESB_BITRATE_1MBPS;
nrf_esb_config.mode                     = NRF_ESB_MODE_PRX;
nrf_esb_config.event_handler            = nrf_esb_event_handler;&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;However, I still haven&amp;#39;t been able to configure the radio peripheral (bare metal) to get the same result. How can I get a register dump of the radio as configured in esb_rx? I tried using the NRF_LOG_DEBUG, but I can&amp;#39;t get it to work. Any way I could view it in SES?&lt;/p&gt;
&lt;p&gt;Thank you&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to configure nrf24l01+ to send 1 byte payloads to nrf52840DK</title><link>https://devzone.nordicsemi.com/thread/236444?ContentTypeID=1</link><pubDate>Wed, 26 Feb 2020 08:58:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b5a087dc-5448-4085-96f7-56c6393adaaa</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Maybe first verify that the esb_ptx and esb_prx works out of the box between two nRF52-DK&amp;#39;s. Then you can also play around with various configuration (e.g. channel 2) and payload length = 1.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I am not aware of any issue that will prevent the esb_prx to receive data from nRF24L01+, provided you have set the compatibility mode as I described in my initial reply. Though you may compare your nRF24L01+ settings with the default settings in nRFgo SDK v2.3 that it&amp;#39;s been tested with.&lt;/p&gt;
&lt;p&gt;Also check out this:&lt;br /&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/35482/nrf52832-not-working-with-nrf24l01-over-esb/136623#136623"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/35482/nrf52832-not-working-with-nrf24l01-over-esb/136623#136623&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;You may try&amp;nbsp;to set&amp;nbsp;DYNPD=1 and enable all features in FEATURE register of the nRF24L01+.&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: How to configure nrf24l01+ to send 1 byte payloads to nrf52840DK</title><link>https://devzone.nordicsemi.com/thread/236366?ContentTypeID=1</link><pubDate>Tue, 25 Feb 2020 17:35:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3675f79c-9d4e-4e6b-a839-ee57002376c9</guid><dc:creator>cwmoreiras</dc:creator><description>&lt;p&gt;Hello again,&lt;/p&gt;
&lt;p&gt;I understand what you&amp;#39;re saying, and I just want to respectfully state/reiterate:&lt;/p&gt;
&lt;p&gt;1) I&amp;#39;ve already tried using the the esb_prx from the NRF5 SDK, and couldn&amp;#39;t get it working with the nRF24L01+.&lt;/p&gt;
&lt;p&gt;2) I just want a minimal register configuration for each device that would make them compatible to send just one byte, one time (low level register configuration please).&lt;/p&gt;
&lt;p&gt;I understand you may have some reservations about trusting the code snippet I gave for the nRF52, since you don&amp;#39;t get to see the whole picture. From that perspective it makes sense to recommend I use the SDK. But if you can provide a register configuration for each device that works, then I will know that my code is the problem.&lt;/p&gt;
&lt;p&gt;Thank you&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to configure nrf24l01+ to send 1 byte payloads to nrf52840DK</title><link>https://devzone.nordicsemi.com/thread/236137?ContentTypeID=1</link><pubDate>Tue, 25 Feb 2020 07:46:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:266cd98d-32d8-40ed-a058-034d8ef91109</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;The ESB library contain the source files, I suggest to setup the radio using the ESB library, then either look at the initialization code and/or read out the registers after the radio is setup.&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: How to configure nrf24l01+ to send 1 byte payloads to nrf52840DK</title><link>https://devzone.nordicsemi.com/thread/236066?ContentTypeID=1</link><pubDate>Mon, 24 Feb 2020 17:06:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:89dc8dff-b4f3-4b47-8274-6765c4b33165</guid><dc:creator>cwmoreiras</dc:creator><description>&lt;p&gt;Hello Kenneth,&lt;/p&gt;
&lt;p&gt;Thank you for assisting. I&amp;#39;ll take a look at those, but I did specifically say that I don&amp;#39;t want to use the SDK.&amp;nbsp; These appear to be links to the nRF5 SDK documentation. I get that I can use that, but I&amp;#39;d like to configure the radio peripheral so that I can accomplish this task bare metal, partially for educational purposes since I hope to use this part for various products which will use different RF protocols, including ESB, BLE, and protocols of my own design. How do the radio registers on the nRF52840 need to be configured for ESB?&lt;/p&gt;
&lt;p&gt;Thank you&lt;/p&gt;
&lt;p&gt;EDIT: Referring to Figure 37 in the nRF52840 product spec, it appears the the ADDRESS event is never received, even though the receiver is in the RXIDLE state, and the transmitter (nRF24) is sending payloads that do not require an ACK (the transmitter TX_DS interrupt IS triggering).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to configure nrf24l01+ to send 1 byte payloads to nrf52840DK</title><link>https://devzone.nordicsemi.com/thread/236039?ContentTypeID=1</link><pubDate>Mon, 24 Feb 2020 15:35:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c9ab9c50-4467-425c-8f83-11ad6fe95f68</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;There is already an ESB library that is backwards compatible with the nRF24L01+ given you do this:&lt;br /&gt;&lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v16.0.0/esb_users_guide.html#esb_backwards"&gt;https://infocenter.nordicsemi.com/topic/sdk_nrf5_v16.0.0/esb_users_guide.html#esb_backwards&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;ESB Examples:&lt;br /&gt;&lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v16.0.0/examples_esb.html"&gt;https://infocenter.nordicsemi.com/topic/sdk_nrf5_v16.0.0/examples_esb.html&lt;/a&gt;&amp;nbsp;&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></channel></rss>