<?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>Bidirectional Gazell/ESB communication when sometimes only one of the two units is sending packets</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/117016/bidirectional-gazell-esb-communication-when-sometimes-only-one-of-the-two-units-is-sending-packets</link><description>Hi, 
 I&amp;#39;m working on a project where I want two units to be able to wirelessly send packets to each other whenever they need to. Sometimes only one of the two units may be sending packets. 
 Looking at the documentation for bidirectional communication</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 12 Dec 2024 11:39:19 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/117016/bidirectional-gazell-esb-communication-when-sometimes-only-one-of-the-two-units-is-sending-packets" /><item><title>RE: Bidirectional Gazell/ESB communication when sometimes only one of the two units is sending packets</title><link>https://devzone.nordicsemi.com/thread/514716?ContentTypeID=1</link><pubDate>Thu, 12 Dec 2024 11:39:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d5f3d6e0-f90d-46ba-9c5d-19eb3c892dd5</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thank you for elaborating on your use-case.&lt;/p&gt;
&lt;p&gt;If you plan to send a payload every 1 ms, why not use ACK payload for bidirectional communication?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Especially if you have strict timing requirements in under 1 ms, switching the devices manually (ie. not using auto-ACKing) to TX-&amp;gt;RX (and vice-versa) for communication will highly likely exceed your timing requirements.&lt;/p&gt;
&lt;p&gt;Is there anything I am misunderstanding related to your scenario?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bidirectional Gazell/ESB communication when sometimes only one of the two units is sending packets</title><link>https://devzone.nordicsemi.com/thread/514604?ContentTypeID=1</link><pubDate>Wed, 11 Dec 2024 18:45:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0f1ff6a6-bac7-4233-a873-a59a7767f1e3</guid><dc:creator>Vince C</dc:creator><description>&lt;p&gt;I&amp;#39;m expecting the units to be in PRX and PTX state for about an equal amount of time, so 50% of the time in PTX and 50% in PRX.&lt;/p&gt;
&lt;p&gt;The units will send packets of about 20 bytes of data. I&amp;#39;m still trying to see what is possible, but hopefully I can get the units to send&amp;nbsp;a packet about every 1ms, and faster if possible.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bidirectional Gazell/ESB communication when sometimes only one of the two units is sending packets</title><link>https://devzone.nordicsemi.com/thread/514001?ContentTypeID=1</link><pubDate>Mon, 09 Dec 2024 11:57:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:437d2a98-8714-4d7e-a5a3-2adf14286021</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
[quote user="Vince C"]I found another discussion online suggesting to&amp;nbsp;put both units in&lt;span&gt;&amp;nbsp;PRX and to&amp;nbsp;switch a unit to PTX only when it needs to transmit something, and then switch it back to PRX.&lt;br /&gt;Do you think that this is a solution that could work?&lt;/span&gt;[/quote]
&lt;p&gt;Yes, this is one solution, by manually switching modes.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Keeping the device(s) in the default PRX state is not low power. If your battery powered device switches to &amp;quot;PRX&amp;quot; for a longer period, it will cause quite a high overall current consumption.&lt;/p&gt;
&lt;p&gt;How often do you normally send, and how much data do you need to transfer in&amp;nbsp;this &amp;quot;reverted&amp;quot; scenario?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bidirectional Gazell/ESB communication when sometimes only one of the two units is sending packets</title><link>https://devzone.nordicsemi.com/thread/513889?ContentTypeID=1</link><pubDate>Fri, 06 Dec 2024 18:22:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:37e3bc3a-508e-4f2d-97b9-80d328a78350</guid><dc:creator>Vince C</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;H&amp;aring;kon, thanks for your answer.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I would prefer not to send periodic &amp;quot;polling payloads&amp;quot; as this is a battery operated device so I would like to minimize unnecessary communication.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I will try the solution of manually switching between PRX and PTX.&lt;/p&gt;
&lt;p&gt;I found another discussion online suggesting to&amp;nbsp;put both units in&lt;span&gt;&amp;nbsp;PRX and to&amp;nbsp;switch a unit to PTX only when it needs to transmit something, and then switch it back to PRX.&lt;br /&gt;Do you think that this is a solution that could work?&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bidirectional Gazell/ESB communication when sometimes only one of the two units is sending packets</title><link>https://devzone.nordicsemi.com/thread/513668?ContentTypeID=1</link><pubDate>Thu, 05 Dec 2024 14:45:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7024b80c-7a53-4031-ae57-79c0f4b3d93e</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;ESB can send bi-directional packets with the help of ACK payloads, as you mention.&lt;/p&gt;
[quote user=""]Is there a way to have both units be able to send packets whenever they need to, no matter if the other unit is sending packets?[/quote]
&lt;p&gt;This will require application specific ESB protocol changes, to manually switch from PRX -&amp;gt; PTX and vice-versa.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;One common way of implementing bi-directional communication is to send periodic &amp;quot;polling payloads&amp;quot;, but this heavily depends on what your timing requirements and throughput requirements are.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>