<?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>nRF52832 Transceiver Example?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/46326/nrf52832-transceiver-example</link><description>Hi All, 
 Sorry if this is a simple question, but I can&amp;#39;t seem to find an example where the device is programmed as both RX and TX. (The examples have either one or the other.) 
 In my code I have &amp;quot;nrf_esb_config.mode&amp;quot; set to NRF_ESB_MODE_PRX and it receives</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 25 Apr 2019 13:46:23 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/46326/nrf52832-transceiver-example" /><item><title>RE: nRF52832 Transceiver Example?</title><link>https://devzone.nordicsemi.com/thread/183849?ContentTypeID=1</link><pubDate>Thu, 25 Apr 2019 13:46:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8df573dc-b651-46f7-b146-736005c88d67</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Glad to hear you figured it out Bob.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The best of luck with your project!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52832 Transceiver Example?</title><link>https://devzone.nordicsemi.com/thread/183600?ContentTypeID=1</link><pubDate>Wed, 24 Apr 2019 19:24:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:80aeec1c-0c7d-48ca-bdf6-315b9ba3326f</guid><dc:creator>rshankle</dc:creator><description>&lt;p&gt;I got it working.&lt;/p&gt;
&lt;p&gt;Thanks.&amp;nbsp; The trick was to close esb and reopen in TX mode, transmit, wait for tx (success or fail) then close and reopen back in RX mode and continue on.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52832 Transceiver Example?</title><link>https://devzone.nordicsemi.com/thread/183511?ContentTypeID=1</link><pubDate>Wed, 24 Apr 2019 13:34:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:23499a65-c326-44cf-b670-6ab7a0670835</guid><dc:creator>rshankle</dc:creator><description>&lt;p&gt;Torbjorn,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I don&amp;#39;t need an ACK, actually I have it setup to run without sending back and ack so the transmitting device can immediately go back to sleep.&lt;/p&gt;
&lt;p&gt;I&amp;#39;m not trying to send the message BACK, but rather send it FORWARD.&amp;nbsp; &amp;nbsp;Basically a range extender.&amp;nbsp; &amp;nbsp;The remote device can&amp;#39;t transmit to the base, but if I put a device between the remote and base, which can see both devices would allow me to extend the range.&lt;/p&gt;
&lt;p&gt;Summary Remote can&amp;#39;t reach Base, but it can reach Repeater.&amp;nbsp; &amp;nbsp;Repeater will send message to Base.&lt;/p&gt;
&lt;p&gt;Does the example you mention use the nRF52 device?&amp;nbsp; &amp;nbsp;I&amp;#39;ll go check it out.&lt;/p&gt;
&lt;p&gt;thanks,&lt;/p&gt;
&lt;p&gt;Bob&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52832 Transceiver Example?</title><link>https://devzone.nordicsemi.com/thread/183507?ContentTypeID=1</link><pubDate>Wed, 24 Apr 2019 13:26:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dd8b0317-a175-41bb-8c0c-ccef1b08d642</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi Bob&lt;/p&gt;
&lt;p&gt;Sorry for the slow response. With the Easter holidays ongoing here in Norway we have been severely understaffed, but now we&amp;#39;re back in business ;)&lt;/p&gt;
&lt;p&gt;Stupid question, but why would you want to send exactly the same message back?&lt;/p&gt;
&lt;p&gt;The idea of ESB is that the PRX will send an ACK automatically, which by default is only an empty packet sent back to the same address.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;There is an ACK payload feature allowing you to embed a payload to the ACK, but you need to prepare the data before the packet is received on the PRX side, which means you can&amp;#39;t prepare an ACK payload immediately after receiving a packet, and have it included in the ACK.&amp;nbsp;&lt;br /&gt;A workaround to this issue is to send two packets from the PTX,&amp;nbsp;allowing you to prepare the ACK payload after the first packet, and have it sent back after the second packet.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;It is possible to switch the entire library from PRX to PRX mode if you want to do a more manual ACK, but it requires a bit more work since you need to disable, reconfigure and enable the library for every switch.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;For an example of this you could have a look at &lt;a href="https://github.com/NordicPlayground/nrf52-esb-broadcaster"&gt;this example&lt;/a&gt; I wrote a while back, which implements a simple mesh like protocol where all nodes are in PRX mode most of the time, and only switch to PTX mode when they want to send something.&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: nRF52832 Transceiver Example?</title><link>https://devzone.nordicsemi.com/thread/183216?ContentTypeID=1</link><pubDate>Tue, 23 Apr 2019 16:59:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9a59657c-4dbe-44b7-ae93-befaea5ca57b</guid><dc:creator>rshankle</dc:creator><description>&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/mainstate.png" /&gt;&lt;/p&gt;
&lt;p&gt;I have it so close to working but in nrf_esb.c -&amp;gt; nrf_esb_write_payload, where the breakpoint is above, m_nrf_esb_mainstate never seems to reach &amp;quot;NRF_ESB_STATE_IDLE&amp;quot; )&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I even tried adding a while(!nrf_esb_is_idle() ) {}&amp;nbsp; in the main.c program and then make the function call but it never becomes idle.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;thanks for any pointers,&lt;/p&gt;
&lt;p&gt;Bob&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52832 Transceiver Example?</title><link>https://devzone.nordicsemi.com/thread/182759?ContentTypeID=1</link><pubDate>Thu, 18 Apr 2019 15:36:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:435a77c6-513e-49af-b01c-2d47546281b7</guid><dc:creator>rshankle</dc:creator><description>&lt;p&gt;ping..... any thoughts on this?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;thanks,&lt;/p&gt;
&lt;p&gt;Bob&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>