<?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>ESB ACK payloads</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/43417/esb-ack-payloads</link><description>I am trying to set up ack in my PTX so that when my PRX is off or out of range I get the case TX_FAILED event and when it is on and receiving data my PTX will get the case TX_SUCCESS. 
 So far PTX is either always SUCCESS when I have tx_payload.noack</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 07 Feb 2019 16:06:52 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/43417/esb-ack-payloads" /><item><title>RE: ESB ACK payloads</title><link>https://devzone.nordicsemi.com/thread/169987?ContentTypeID=1</link><pubDate>Thu, 07 Feb 2019 16:06:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1ee957bb-9d0b-4df0-84de-22850fcbd756</guid><dc:creator>Jake</dc:creator><description>&lt;p&gt;I understand now a bit better, I set the radio back to 1mbit for now and will try changing the auto ack false and leaving out the noack fields.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Update: I setup selective_auto_ack = false and removed the code lines for .noack,&amp;nbsp; I get the rx_receive on the PTX now and the 0x42 is received. I had a big misunderstanding of the selective_auto_ack =)&lt;/p&gt;
&lt;p&gt;Many thanks,&lt;/p&gt;
&lt;p&gt;jake&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ESB ACK payloads</title><link>https://devzone.nordicsemi.com/thread/169815?ContentTypeID=1</link><pubDate>Thu, 07 Feb 2019 00:58:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:26046bf6-4aa4-4a11-8090-ea4dbbf6ba18</guid><dc:creator>Daniel Veilleux</dc:creator><description>&lt;p&gt;If selective_auto_ack is false then an ACK is always expected. Otherwise, setting noack in the packet will cause the ACK to be skipped and TX_SUCCESS will be generated immediately.&lt;/p&gt;
&lt;p&gt;The PTX only puts its radio into receive mode to wait for the ACK for a short amount of time (see RX_WAIT_FOR_ACK_TIMEOUT_US_* at the top of nrf_esb.c). If you told nrf_esb that you are using 1mbps but manage to force the radio into a lower bitrate then there&amp;#39;s a good chance that the PTX will stop listening for the ACK before the PRX has a chance to finish sending it. This would explain your TX_FAILED events.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ESB ACK payloads</title><link>https://devzone.nordicsemi.com/thread/169812?ContentTypeID=1</link><pubDate>Wed, 06 Feb 2019 23:15:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0941e4b8-6237-430c-9269-ebc3366e54c9</guid><dc:creator>Jake</dc:creator><description>&lt;p&gt;yes, it made no difference I think that maybe it has to do with nrf_esb_config.selective_auto_ack setting. If this is set true, then I do not need to use the .noack setting correct? And will my transmitter have RX_RECEIVED events?&lt;/p&gt;
&lt;p&gt;Or do I have to do something like an idle state or __WFE() to be able to get the RX_RECEIVE and read the RX FIFO on the PTX?&lt;/p&gt;
&lt;p&gt;My third option is to maybe do another esb_init function that sets the PTX into PRX mode after the first send so it can accept the ack packet from my PRX and then inside of the RX_RECEIVE case I switch back to PTX mode once the packet is read.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I will try option 3 later tonight and see how it goes,&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ESB ACK payloads</title><link>https://devzone.nordicsemi.com/thread/169809?ContentTypeID=1</link><pubDate>Wed, 06 Feb 2019 21:51:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:306b966e-38c1-4f52-a13d-ccd87269abea</guid><dc:creator>Daniel Veilleux</dc:creator><description>&lt;p&gt;Do you see the same behavior if you comment out the &amp;quot;workaround to enable 250k data rate on nrf52840&amp;quot; on both ends of the link?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>