<?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>Some questions about esb tx/rx packet transaction</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/97783/some-questions-about-esb-tx-rx-packet-transaction</link><description>Hi all, 
 In nRF5 SDK User Guide, this link . 
 I want to know what this sentence means . 
 
 If I want to send something over RX, I must attach a data payload to the ACK packet. So I have to use the nrf_esb_write_payload(&amp;amp;tx_payload); to add the packet</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 30 May 2023 09:06:10 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/97783/some-questions-about-esb-tx-rx-packet-transaction" /><item><title>RE: Some questions about esb tx/rx packet transaction</title><link>https://devzone.nordicsemi.com/thread/428094?ContentTypeID=1</link><pubDate>Tue, 30 May 2023 09:06:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e96efaa9-57cf-43a0-ba17-3df214cf282e</guid><dc:creator>Lurn_Z</dc:creator><description>&lt;p&gt;Thanks for your reply.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Lurn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Some questions about esb tx/rx packet transaction</title><link>https://devzone.nordicsemi.com/thread/428085?ContentTypeID=1</link><pubDate>Tue, 30 May 2023 08:52:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d26a4f34-be52-4a1a-ab9d-feee7de3299c</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;A PTX will transmit it&amp;#39;s packet to a PRX, then PTX wait for an ACK from the PRX (during this short period the direction is switched from TX-&amp;gt;RX and vice versa on the PRX). If no ACK is received&amp;nbsp;the PTX may try again up to the number of retransmissions configured.&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><item><title>RE: Some questions about esb tx/rx packet transaction</title><link>https://devzone.nordicsemi.com/thread/427963?ContentTypeID=1</link><pubDate>Mon, 29 May 2023 06:41:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b5737cb6-6a1e-47df-8a25-96740f69dc0a</guid><dc:creator>Lurn_Z</dc:creator><description>&lt;p&gt;Hi Kenneth,&lt;/p&gt;
&lt;p&gt;I have another question about the tx/rx transaction.&lt;/p&gt;
&lt;p&gt;Can I send data to PTX2 when RX receives data from PTX1?&lt;/p&gt;
&lt;p&gt;If it is possible, how can I do it?&lt;/p&gt;
&lt;p&gt;Or&amp;nbsp;can the TX only receive data within a short period of time after sending the data? It looks like this.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Lurn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Some questions about esb tx/rx packet transaction</title><link>https://devzone.nordicsemi.com/thread/416528?ContentTypeID=1</link><pubDate>Tue, 21 Mar 2023 12:15:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bacf4ecd-1121-4069-b194-d94a9866580f</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;My best suggestion to go back to the sdk examples and compare how you are handling the&amp;nbsp;nrf_esb_event_handler() handler.&lt;/p&gt;
&lt;p&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Some questions about esb tx/rx packet transaction</title><link>https://devzone.nordicsemi.com/thread/416468?ContentTypeID=1</link><pubDate>Tue, 21 Mar 2023 09:30:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:26b67f74-e1af-43a3-9491-ba3967a0cb47</guid><dc:creator>Lurn_Z</dc:creator><description>&lt;p&gt;Hi Kenneth,&lt;/p&gt;
[quote userid="2111" url="~/f/nordic-q-a/97783/some-questions-about-esb-tx-rx-packet-transaction/415711"]if the ptx expects data from the prx, then&amp;nbsp;the ptx&amp;nbsp;should send a packet periodically to fetch this data.[/quote]
&lt;p&gt;I can send some data over RX after receive TX message, but after&lt;span class="HwtZe" lang="en"&gt;&lt;span class="jCAhz ChMk0b"&gt;&lt;span class="ryNqvb"&gt; sent a few messages&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="ZSCsVd"&gt;&lt;/span&gt;, I found it doesn&amp;#39;t send data anymore.&lt;/p&gt;
&lt;p&gt;In ESB PTX, I use a timer to send packet periodically(100ms), then I send data to PRX over UART, when PRX received the data, it will call nrf_esb_write_payload().&lt;/p&gt;
&lt;p&gt;I can make sure that PRX received the data from UART every time and called nrf_esb_write_payload(), but PTX o&lt;span class="HwtZe" lang="en"&gt;&lt;span class="jCAhz ChMk0b"&gt;&lt;span class="ryNqvb"&gt;nly&amp;nbsp; received the first few pieces of data.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="HwtZe" lang="en"&gt;Can you give me some advice on this issue?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="HwtZe" lang="en"&gt;Best regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="HwtZe" lang="en"&gt;Lurn&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Some questions about esb tx/rx packet transaction</title><link>https://devzone.nordicsemi.com/thread/415711?ContentTypeID=1</link><pubDate>Thu, 16 Mar 2023 13:00:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:58df15eb-ac9f-48d5-bd49-7e39310323b1</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;The easiest may be to also look at prx example in the nRF5 SDK:&lt;br /&gt;\nRF5_SDK_17.1.0_ddde560\examples\proprietary_rf\esb_low_power_prx\&lt;/p&gt;
&lt;p&gt;There you can find that the prx for instance is calling&amp;nbsp;nrf_esb_write_payload() to send data from the prx to the ptx, this data will be attached in reverse direction on the next packet is received from the ptx. You are right that the prx can only attach packets to a packet that is first initiated by the ptx, so if the ptx expects data from the prx, then&amp;nbsp;the ptx&amp;nbsp;should send a packet periodically to fetch this data.&lt;/p&gt;
&lt;p&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>