<?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>MicroESB Packet Configuration</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/29021/microesb-packet-configuration</link><description>Hi, 
 I am trying to make a communication between a nRF51(uESB) and a nRF24(ESB). The uESB uses tx_payload and rx_payload as buffer to send data. Bytes 0 to 4 are used for length, pipe, rssi, and noack. 
 Unfortunately, it seems that I am not able to</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 03 Feb 2016 10:46:20 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/29021/microesb-packet-configuration" /><item><title>RE: MicroESB Packet Configuration</title><link>https://devzone.nordicsemi.com/thread/114846?ContentTypeID=1</link><pubDate>Wed, 03 Feb 2016 10:46:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1e4d3bbb-19b9-4698-8927-f81726c46b8d</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Hi, you can use the &amp;#39;uesb_payload_t&amp;#39; struct to prepare the packet to transmit, as shown in the following example: &lt;a href="https://github.com/NordicSemiconductor/nrf51-micro-esb/blob/master/ptx/main.c"&gt;github.com/.../main.c&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The &amp;#39;data&amp;#39; field in &amp;#39;uesb_payload_t&amp;#39; should only contain the actual packet, not the S0, LENGTH, and S1 field shown in your picture, as those fields will be generated by the uESB library before packet is sent.&lt;/p&gt;
&lt;p&gt;You must also make sure that you on the nRF24L use the same configuration as on the nRF51 (e.g. address and frequency), in addition you should make sure that you enable features on the nRF24L:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;hal_nrf_setup_dynamic_payload(0xFF);
hal_nrf_enable_dynamic_payload(true);
hal_nrf_enable_ack_payload(true);
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;You can download &amp;#39;nAN24-12.zip&amp;#39; for examples on how to setup the nRF24L in different radio modes. The hal_nrf should be ported to your MCU of choice.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>