<?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>Proprietary rf communication between nRF52810 and nRF52840.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/55278/proprietary-rf-communication-between-nrf52810-and-nrf52840</link><description>Hello, 
 I tried the basic proprietary rf code that is esb_prx and esb_ptx on the boards and the communication is very fine. The default set of data that is 0x00 to 0xFF is being transmitted and received correctly on both ends and the LEDs are also blinking</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 09 Dec 2019 04:48:19 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/55278/proprietary-rf-communication-between-nrf52810-and-nrf52840" /><item><title>RE: Proprietary rf communication between nRF52810 and nRF52840.</title><link>https://devzone.nordicsemi.com/thread/224303?ContentTypeID=1</link><pubDate>Mon, 09 Dec 2019 04:48:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:508e25dc-aef4-438d-8b24-354c9a068fcb</guid><dc:creator>PoojaK</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I am using SES.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks for your support.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Proprietary rf communication between nRF52810 and nRF52840.</title><link>https://devzone.nordicsemi.com/thread/224230?ContentTypeID=1</link><pubDate>Fri, 06 Dec 2019 14:37:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bda19c39-875d-4e98-b238-623280ca7d3f</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Which SDK are you using ?&lt;/p&gt;
&lt;p&gt;If you look at the code you can see that&amp;nbsp;tx_payload is created with&amp;nbsp;NRF_ESB_CREATE_PAYLOAD() where the first byte is the pipe number, and the rest is the data.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;You can create the payload without using&amp;nbsp;NRF_ESB_CREATE_PAYLOAD() , please have a look inside&amp;nbsp;nrf_esb_payload_t struct.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Proprietary rf communication between nRF52810 and nRF52840.</title><link>https://devzone.nordicsemi.com/thread/224087?ContentTypeID=1</link><pubDate>Fri, 06 Dec 2019 08:47:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6bde1407-1285-4683-9922-6ef4e60d53c4</guid><dc:creator>Dmitry</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;if you change&amp;nbsp;&lt;span&gt;NUM_VA_ARGS(__VA_ARGS__) to 2 then you should pass two bytes as data. To transmit just one byte (0xaa), define&amp;nbsp;tx_payload&amp;nbsp;this way:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;static nrf_esb_payload_t tx_payload = NRF_ESB_CREATE_PAYLOAD(0, 0xaa);&lt;/p&gt;
&lt;p&gt;Then&amp;nbsp;if you need to&amp;nbsp;transmit different values, change&amp;nbsp;tx_payload.data[0] before calling&amp;nbsp;nrf_esb_write_payload().&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Proprietary rf communication between nRF52810 and nRF52840.</title><link>https://devzone.nordicsemi.com/thread/224054?ContentTypeID=1</link><pubDate>Fri, 06 Dec 2019 02:33:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:aea5970e-82d4-4138-9f0f-8630ced54c64</guid><dc:creator>PoojaK</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Thank you for your response&lt;/p&gt;
&lt;p&gt;tx_payload defined here has 9 values&lt;/p&gt;
&lt;p&gt;&amp;nbsp;NRF_ESB_CREATE_PAYLOAD(0, 0x01, 0x00, 0x00, 0x00, 0x11, 0x00, 0x00, 0x00);&lt;/p&gt;
&lt;p&gt;whereas in the definition of create payload&lt;/p&gt;
&lt;p&gt;#define NRF_ESB_CREATE_PAYLOAD(_pipe, ...)&amp;nbsp;&lt;br /&gt; {.pipe = _pipe, .length =NUM_VA_ARGS(__VA_ARGS__), .data = {__VA_ARGS__}};&amp;nbsp;&lt;br /&gt; STATIC_ASSERT(NUM_VA_ARGS(__VA_ARGS__) &amp;gt; 0 &amp;amp;&amp;amp; NUM_VA_ARGS(__VA_ARGS__) &amp;lt;= 63)&lt;/p&gt;
&lt;p&gt;as far as I understood .pipe .length and .data are the only 3 arguments that I can see. I also could not find their code to transmit 0x00 to 0xFF.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Although I did try to change the .length and .data from&amp;nbsp;&lt;span&gt;NUM_VA_ARGS(__VA_ARGS__) to 2 and&amp;nbsp;&amp;nbsp;{__VA_ARGS__} to 0xAA respectively and expected the transmitted data to be 0xAA continuous. But that did not happen.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Can you please elaborate a bit more on where exactly should I write my data?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Waiting for response .&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thanks and Regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Pooja&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><item><title>RE: Proprietary rf communication between nRF52810 and nRF52840.</title><link>https://devzone.nordicsemi.com/thread/223906?ContentTypeID=1</link><pubDate>Thu, 05 Dec 2019 12:54:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:11116288-c0fb-46c7-8495-9dbc35473534</guid><dc:creator>Dmitry</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;look at esb_ptx\main.c,&amp;nbsp; tx&lt;span&gt;&amp;nbsp;&lt;/span&gt;data is passed to&amp;nbsp;nrf_esb_write_payload() function&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;static nrf_esb_payload_t tx_payload = NRF_ESB_CREATE_PAYLOAD(0, 0x01, 0x00, 0x00, 0x00, 0x11, 0x00, 0x00, 0x00);

...

    tx_payload.noack = false;
    if (nrf_esb_write_payload(&amp;amp;tx_payload) == NRF_SUCCESS)
    {&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;In esb_prx\main.c,&lt;span&gt;&amp;nbsp;&lt;/span&gt;data&lt;span&gt;&amp;nbsp;&lt;/span&gt;is received in nrf_esb_event_handler with&lt;span&gt;&amp;nbsp;&lt;/span&gt;nrf_esb_read_rx_payload(&amp;amp;rx_payload).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>