<?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>Accurate time synchronization across devices</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/62376/accurate-time-synchronization-across-devices</link><description>Hi, I&amp;#39;m currently evaluating using a nRF52810 based module to synchronize time between a number (2-20) of the same devices. I currently have a working prototype using an ESP32 but the power consumption is too high for my needs, so I am considering this</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 10 Jun 2020 16:35:07 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/62376/accurate-time-synchronization-across-devices" /><item><title>RE: Accurate time synchronization across devices</title><link>https://devzone.nordicsemi.com/thread/254317?ContentTypeID=1</link><pubDate>Wed, 10 Jun 2020 16:35:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c3d1c0c9-41e8-4a44-9f4e-70a4f192eeda</guid><dc:creator>24thFrame</dc:creator><description>&lt;p&gt;Hi Edvin,&lt;/p&gt;
&lt;p&gt;Thanks so much for the quick and thorough response!&lt;/p&gt;
&lt;p&gt;For #2, that makes sense. I&amp;#39;ve found &lt;a href="https://devzone.nordicsemi.com/nordic/short-range-guides/b/bluetooth-low-energy/posts/wireless-timer-synchronization-among-nrf5-devices"&gt;this&amp;nbsp;guide&lt;/a&gt;&amp;nbsp;based on your suggestion that&amp;nbsp;looks like it covers what you mentioned.&lt;/p&gt;
&lt;p&gt;For #3, that&amp;#39;s good to know!&lt;/p&gt;
&lt;p&gt;Thanks again!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Accurate time synchronization across devices</title><link>https://devzone.nordicsemi.com/thread/254290?ContentTypeID=1</link><pubDate>Wed, 10 Jun 2020 13:58:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:68c9cad7-e188-4152-acd9-5a256ad17a8b</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;1.&lt;/p&gt;
&lt;p&gt;The accuracy will be given by the external XTAL if you use an external XTAL.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;2.&lt;/p&gt;
&lt;p&gt;This wouldn&amp;#39;t work with BLE because the devices only communicate on certain timeslots, every connection interval. If you want this accurate timing you would need something extra. One alternative is to use a proprietary protocol (SDK\examples\proprietary_rf) in a timeslot next to BLE, or to do some fancy logic stuff with BLE.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The challenge with BLE is not only that you can only talk on the connection interval timeout, but that if a packet isn&amp;#39;t ACKed, then the transmitter has to send the identical packet the next connection interval. With the softdevice there is no way of seeing if the received has been retransmitted or not, so you can&amp;#39;t know whether it was actually sent this connection interval, or if it is from a previous.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;3. The softdevice supports up to 20 connections, but depending on the memory usage and radio usage of the application it may be less. It is possible to cycle through connections. In fact, if you already have the maximum number of connections, you will not be able to advertise, so you can&amp;#39;t connect to the peripheral at that point in time, because you can&amp;#39;t see the advertisements that you want to connect to.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;That being said, it is a reasonable approach. But in that case, the peripheral should maybe actively disconnect from some devices once it reaches 15-16 devices, if you expect there to always be 20 centrals in the area. Just to reduce the time the new centrals have to wait.&lt;/p&gt;
&lt;p&gt;Another approach is to look into using one of the Mesh technologies. Bluetooth Mesh, ZigBee or OpenThread, for example. But you would need your &amp;quot;centrals&amp;quot; to also support this protocol of course.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>