<?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>About ESB sending failure...</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/51246/about-esb-sending-failure</link><description>Hello, 
 
 I used to send it successfully on nRF52810. 
 Two chips, one as the master and one as the slave. 
 Using SDK15.2.0 
 Now, I want to port to nRF52811 
 Related header files, I will copy from SDK15.3.0/components/proprietary_rf/esb 
 In addition</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 26 Aug 2019 12:17:47 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/51246/about-esb-sending-failure" /><item><title>RE: About ESB sending failure...</title><link>https://devzone.nordicsemi.com/thread/206105?ContentTypeID=1</link><pubDate>Mon, 26 Aug 2019 12:17:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0354b9f7-1555-474c-836e-33f297578bb7</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;I am happy to help. If you have more questions just let me know &lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/1f642.svg" title="Slight smile"&gt;&amp;#x1f642;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: About ESB sending failure...</title><link>https://devzone.nordicsemi.com/thread/206019?ContentTypeID=1</link><pubDate>Mon, 26 Aug 2019 07:25:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f28bc913-764a-479d-b9dd-fdcfab0d666b</guid><dc:creator>tony55723</dc:creator><description>&lt;p&gt;OK, I will be try it&lt;/p&gt;
&lt;p&gt;Thank you so mush, you helped me a lot&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: About ESB sending failure...</title><link>https://devzone.nordicsemi.com/thread/205751?ContentTypeID=1</link><pubDate>Fri, 23 Aug 2019 07:12:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c83175b7-ba4e-4498-baa5-7caa74f5216c</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;/p&gt;
&lt;p&gt;ACK means that the PRX will send an ACK packet in response to every packet sent from the PTX.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;This is the default behavior when using the ESB_DPL mode,&amp;nbsp;and if you want to be able to disable the ACK it is important to set the &lt;em&gt;selective_auto_ack&lt;/em&gt; parameter to &lt;em&gt;true&lt;/em&gt;.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Disabling ACK will increase the throughput, yes, but you will not be able to retransmit lost packet, and you will not know how many of the packets reach the receiver.&amp;nbsp;&lt;br /&gt;In other words this is not a good choice if you need a reliable stream of data.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If you only have two chips in your network, are you sure you need to switch back and forth between PTX and PRX?&lt;/p&gt;
&lt;p&gt;Normally in this scenario you would use ACK payloads to send data from the PRX to the PTX.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Still, if you want to switch you can have a look at a small &lt;a href="https://github.com/NordicPlayground/nrf52-esb-broadcaster"&gt;broadcaster example&lt;/a&gt; I made a while back that will switch between modes for every packet.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;How to switch from PRX to PTX mode is done &lt;a href="https://github.com/NordicPlayground/nrf52-esb-broadcaster/blob/master/radio.c#L88"&gt;here&lt;/a&gt;, and the opposite is handled &lt;a href="https://github.com/NordicPlayground/nrf52-esb-broadcaster/blob/master/radio.c#L23"&gt;here&lt;/a&gt;.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: About ESB sending failure...</title><link>https://devzone.nordicsemi.com/thread/205457?ContentTypeID=1</link><pubDate>Thu, 22 Aug 2019 07:39:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:96b87f65-6566-49d6-8362-c744038925a3</guid><dc:creator>tony55723</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Thank you for your&amp;nbsp;reply.&lt;/p&gt;
&lt;p&gt;I am sorry, I forgot to change the function of the PA chip, it should be the state of the PA off,&lt;/p&gt;
&lt;p&gt;equivalent to no ESB slave around.&lt;/p&gt;
&lt;p&gt;It&amp;#39;s run successfully now&lt;/p&gt;
&lt;p&gt;I want to ask another question.&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/1616.q2.png" /&gt;&lt;/p&gt;
&lt;p&gt;Should ack be the answer mode?&lt;/p&gt;
&lt;p&gt;Can turning off ack increase the throughput?&lt;/p&gt;
&lt;p&gt;last question&lt;/p&gt;
&lt;p&gt;I will switch between these two states frequently.&lt;/p&gt;
&lt;p&gt;nrf_esb_config.mode&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= NRF_ESB_MODE_PTX;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;nrf_esb_config.mode&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= NRF_ESB_MODE_PRX;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;If I have finished initializing,&amp;nbsp;Next time I want to switch, is it necessary to do some clear?(Ensure that the next initialization is normal)&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Or, I set the mode directly, and then initialize it directly?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;nrf_esb_init(&amp;amp;nrf_esb_config);&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thank you.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;a href="https://devzone.nordicsemi.com/nordic/nordic-blog/b/blog/posts/running-micro-esb-concurrently-with-ble"&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: About ESB sending failure...</title><link>https://devzone.nordicsemi.com/thread/205439?ContentTypeID=1</link><pubDate>Thu, 22 Aug 2019 06:41:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c613d975-650c-4da0-b6c7-0fe16636744c</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Are you using ACK, or sending packets with the noack&amp;nbsp;feature set?&lt;/p&gt;
&lt;p&gt;If so it sounds normal that you should get the TX FAILED interrupt when there is no slave around.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Is the data transmission working properly when you have a slave nearby?&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>