<?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>Peer to peer and centralized communication</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/85975/peer-to-peer-and-centralized-communication</link><description>Hi everyone, 
 I am working on a project, in which I have n nodes that communicate with each other (peer to peer communication). In addition, each node is able to communicate with another (central) node. 
 The peers use the nRF51822 for communication</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 24 Mar 2022 11:56:48 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/85975/peer-to-peer-and-centralized-communication" /><item><title>RE: Peer to peer and centralized communication</title><link>https://devzone.nordicsemi.com/thread/359781?ContentTypeID=1</link><pubDate>Thu, 24 Mar 2022 11:56:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8ae6417f-9903-4d21-9d61-cabe5b0989bc</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
[quote user="sAz-n"]So does it mean that each channel uses a different frequency, but the receiving/sending components are the same, and therefore asynchronous communication is not possible?[/quote]
&lt;p&gt;Essentially, yes. The radio can not send and receive at the same time, nor can it receive on two different frequencies at the same time.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;In order to change from one frequency to the next you need to power the radio down and up again, which takes about 130us.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I won&amp;#39;t say asynchronous communication is impossible,&amp;nbsp;you just have to expect that not all the packet will be received, and design the protocol accordingly (by using the retransmit feature of the ESB protocol for instance).&amp;nbsp;&lt;/p&gt;
[quote user="sAz-n"]Can a node communicate asynchronously using two different nrf51 devices?&amp;nbsp;[/quote]
&lt;p&gt;I assume you mean using two different nRF51 devices on the same board?&lt;/p&gt;
&lt;p&gt;This is possible, then you would be able to receive on two different frequencies at the same time. Just be aware that if one of the devices are transmitting it will most likely block out reception on the other device (even if they are using different frequencies), because the&amp;nbsp;two devices would be in close proximity of each other.&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: Peer to peer and centralized communication</title><link>https://devzone.nordicsemi.com/thread/359655?ContentTypeID=1</link><pubDate>Wed, 23 Mar 2022 15:11:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:61dca713-2850-4191-befd-d97a34e505a6</guid><dc:creator>sAz-n</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;So does it mean that each channel uses a different frequency, but the receiving/sending components are the same, and therefore asynchronous communication is not possible?&lt;/p&gt;
&lt;p&gt;Can a node communicate asynchronously using two different nrf51 devices?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Peer to peer and centralized communication</title><link>https://devzone.nordicsemi.com/thread/359130?ContentTypeID=1</link><pubDate>Mon, 21 Mar 2022 12:53:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:aff21efa-15b2-4f03-97c6-4677f787ba1b</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;/p&gt;
&lt;p&gt;It should not be a problem to use different RF channels for the peer to peer and the peer to central communication respectively.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;It only means that the peers need to switch between the different channels as needed.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The main problem of this method is if the peer needs to listen for messages from other peers and the central asynchronously, since you will not be able to listen on two different channels at the same time. In this case you would have to switch channels back and forth on a timer, and accept a decent amount of packet loss.&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></channel></rss>