<?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>How to test Bidirectional data transfer between each PTX and the PRX</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/24233/how-to-test-bidirectional-data-transfer-between-each-ptx-and-the-prx</link><description>1,NRF52832
2,use ESB code
3,I want to do a transport data from PRX to PTX</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 21 Aug 2017 11:25:23 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/24233/how-to-test-bidirectional-data-transfer-between-each-ptx-and-the-prx" /><item><title>RE: How to test Bidirectional data transfer between each PTX and the PRX</title><link>https://devzone.nordicsemi.com/thread/95415?ContentTypeID=1</link><pubDate>Mon, 21 Aug 2017 11:25:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e173fd4f-493e-40ac-830c-e80090710bc0</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;You welcome :)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to test Bidirectional data transfer between each PTX and the PRX</title><link>https://devzone.nordicsemi.com/thread/95416?ContentTypeID=1</link><pubDate>Sun, 20 Aug 2017 03:23:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d5d431f8-cfe2-4035-9745-28bf05d8ffe6</guid><dc:creator>suker</dc:creator><description>&lt;p&gt;thank you!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to test Bidirectional data transfer between each PTX and the PRX</title><link>https://devzone.nordicsemi.com/thread/95414?ContentTypeID=1</link><pubDate>Fri, 18 Aug 2017 06:48:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:45236717-0abf-49e6-9a7e-7109f2efb1b2</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;The ESB code uses shortcuts to automate many of the radio state changes, to reduce the amount of CPU wakeups and interrupts.&lt;br /&gt;
When sending an ACK it will enable both the DISABLED-&amp;gt;TXEN shortcut, to enable the TX automatically after disabling the radio in RX mode, as well as the READY-&amp;gt;START shortcut, to start transmission as soon as the radio is ready.&lt;/p&gt;
&lt;p&gt;In other words there shouldn&amp;#39;t be a manual call to NRF_RADIO-&amp;gt;TASKS_TXEN = 1 to send the ACK (since the shortcut automates the process), but you can see the configuration of the SHORTS register before disabling the radio.&lt;/p&gt;
&lt;p&gt;Best regards&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to test Bidirectional data transfer between each PTX and the PRX</title><link>https://devzone.nordicsemi.com/thread/95417?ContentTypeID=1</link><pubDate>Thu, 17 Aug 2017 09:38:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7bd8f559-b5ba-41c1-b72f-b7d6684cc19a</guid><dc:creator>suker</dc:creator><description>&lt;p&gt;Hi ,  in ESB example,  in PRX code , function on_radio_disabled_rx, I donot find which code  is fuction to sent ACK. Is ACK have to put NRF_RADIO-&amp;gt;TASKS_TXEN=1 ??&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to test Bidirectional data transfer between each PTX and the PRX</title><link>https://devzone.nordicsemi.com/thread/95413?ContentTypeID=1</link><pubDate>Fri, 11 Aug 2017 14:14:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d8357cb4-289c-45e5-8093-84b3df99154f</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;You send data from the PRX to the PTX in almost the same way as you send data from the PTX.&lt;/p&gt;
&lt;p&gt;You use the same &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v14.0.0/group__nrf__esb.html?cp=4_0_0_6_9_0_64#gaf3ce65553e67d5f8b16da1683e60686a"&gt;function&lt;/a&gt;, but you have to pre-load the packet to be sent. Then the packet will be sent to the PTX as a part of the ACK on the next packet the PTX sends to the PRX.&lt;/p&gt;
&lt;p&gt;If you upload the packet beforehand it will simply be queued in the FIFO, and then it will be sent as soon as you receive something from the PTX.&lt;/p&gt;
&lt;p&gt;If you use the SDK &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v14.0.0/esb_examples_ptx_prx.html?cp=4_0_0_4_7_0_0"&gt;ESB example&lt;/a&gt; as a starting point it should be relatively quick to modify it so that the PRX sends data in return to the PTX.&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>