<?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>Nordic Thingy 53 time synchronization</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/126668/nordic-thingy-53-time-synchronization</link><description>We would like to synchronize several Nordic thingys 53. The Approach is to send two timestamps from a central to them (peripheral) via Bluetooth Low Energy with 100 ms delay. Storing the two reference timestamps ( t_ref ) together with the local timestamps</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 03 Feb 2026 06:42:22 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/126668/nordic-thingy-53-time-synchronization" /><item><title>RE: Nordic Thingy 53 time synchronization</title><link>https://devzone.nordicsemi.com/thread/560181?ContentTypeID=1</link><pubDate>Tue, 03 Feb 2026 06:42:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9718dc5b-ad3a-4dd4-bdd7-bc8114a6ef80</guid><dc:creator>Mathias0</dc:creator><description>&lt;p&gt;Finally, I found one of the biggest issues: an error in my calculations. The final calculation is below. Still, there is an error of around 60 ms, i.e., the difference of the reference times are 180 ms but the difference in receiving is only 120 ms. using 7.5 ms connection interval.&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;code&gt;&lt;span&gt;long&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;dif_ref&lt;/span&gt;&lt;span&gt; = &lt;/span&gt;&lt;span&gt;time_sync&lt;/span&gt;&lt;span&gt;.&lt;/span&gt;&lt;span&gt;second_time_ref&lt;/span&gt;&lt;span&gt; - &lt;/span&gt;&lt;span&gt;time_sync&lt;/span&gt;&lt;span&gt;.&lt;/span&gt;&lt;span&gt;first_time_ref&lt;/span&gt;&lt;span&gt;;&lt;/span&gt;&lt;/code&gt;&lt;/div&gt;
&lt;div&gt;&lt;code&gt;&lt;span&gt;long&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;dif_loc&lt;/span&gt;&lt;span&gt; = &lt;/span&gt;&lt;span&gt;time_sync&lt;/span&gt;&lt;span&gt;.&lt;/span&gt;&lt;span&gt;second_time_local&lt;/span&gt;&lt;span&gt; - &lt;/span&gt;&lt;span&gt;time_sync&lt;/span&gt;&lt;span&gt;.&lt;/span&gt;&lt;span&gt;first_time_local&lt;/span&gt;&lt;span&gt;;&lt;/span&gt;&lt;/code&gt;&lt;/div&gt;
&lt;div&gt;&lt;code&gt;&lt;span&gt;long&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;trans_time&lt;/span&gt;&lt;span&gt; = &lt;/span&gt;&lt;span&gt;dif_loc&lt;/span&gt;&lt;span&gt; - &lt;/span&gt;&lt;span&gt;dif_ref&lt;/span&gt;&lt;span&gt;;&lt;/span&gt;&lt;/code&gt;&lt;/div&gt;
&lt;div&gt;&lt;code&gt;&lt;span&gt;time_sync&lt;/span&gt;&lt;span&gt;.&lt;/span&gt;&lt;span&gt;time_offset&lt;/span&gt;&lt;span&gt; = &lt;/span&gt;&lt;span&gt;time_sync&lt;/span&gt;&lt;span&gt;.&lt;/span&gt;&lt;span&gt;first_time_ref&lt;/span&gt;&lt;span&gt; - &lt;/span&gt;&lt;/code&gt;&lt;/div&gt;
&lt;div style="padding-left:30px;"&gt;&lt;code&gt;&lt;span&gt;time_sync&lt;/span&gt;&lt;span&gt;.&lt;/span&gt;&lt;span&gt;first_time_local&lt;/span&gt;&lt;span&gt; + &lt;/span&gt;&lt;span&gt;trans_time&lt;/span&gt;&lt;span&gt;;&lt;/span&gt;&lt;/code&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;&lt;code&gt;&lt;/code&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Nordic Thingy 53 time synchronization</title><link>https://devzone.nordicsemi.com/thread/560104?ContentTypeID=1</link><pubDate>Mon, 02 Feb 2026 11:00:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0244a356-46b0-417e-9cda-ba218cd4ab18</guid><dc:creator>Mathias0</dc:creator><description>&lt;p&gt;After working on it more in depth, I can now provide some more information. The Interval time is set to 7.5 ms. Furthermore, the current state is logged via UART regularly. What I see is in the logs is a time gap of 200ms after some seconds. Normally, the state is reported all 50 ms. It looks like the processor is busy some times...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Nordic Thingy 53 time synchronization</title><link>https://devzone.nordicsemi.com/thread/559562?ContentTypeID=1</link><pubDate>Mon, 26 Jan 2026 12:07:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0b7d4e62-8bd5-469b-9b28-fc62d917cb0d</guid><dc:creator>Mathias0</dc:creator><description>&lt;p&gt;Thank you for the question. To be honest, I have not adjusted it. Hence, I guess it&amp;#39;s taking some default value. I could not find&amp;nbsp;a default value in the documentation of Nordic. However, it is stated that the interval is set from the central, e.g., the computer connecting to the Thingy (&lt;a id="" href="https://academy.nordicsemi.com/courses/bluetooth-low-energy-fundamentals/lessons/lesson-3-bluetooth-le-connections/topic/connection-parameters/"&gt;https://academy.nordicsemi.com/courses/bluetooth-low-energy-fundamentals/lessons/lesson-3-bluetooth-le-connections/topic/connection-parameters/&lt;/a&gt;).&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;However, from the two libraries i tried, neither bleak (&lt;a id="" href="https://bleak.readthedocs.io/en/latest/api/client.html"&gt;https://bleak.readthedocs.io/en/latest/api/client.html&lt;/a&gt;) nor a plugin for C# (&lt;a id="" href="https://github.com/dotnet-bluetooth-le/dotnet-bluetooth-le"&gt;https://github.com/dotnet-bluetooth-le/dotnet-bluetooth-le&lt;/a&gt;) allow to set the connection interval. Would it be necessary to set it in the Thingy?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Nordic Thingy 53 time synchronization</title><link>https://devzone.nordicsemi.com/thread/559477?ContentTypeID=1</link><pubDate>Fri, 23 Jan 2026 14:29:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:29c693c5-bb84-4a13-9e0b-b9b079fd8515</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi!&lt;/p&gt;
&lt;p&gt;What is the connection interval you are using?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>