<?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>nRF52 Time Sync in noisy environment</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/86157/nrf52-time-sync-in-noisy-environment</link><description>I am using a custom board design with a Nordic nRF52832 and have implemented the Nordic time sync algorithm outlined here ( https://github.com/nordic-auko/nRF5-ble-timesync-demo ). It works well most of the time. However, my customer is testing in a fairly</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 24 Mar 2022 13:09:56 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/86157/nrf52-time-sync-in-noisy-environment" /><item><title>RE: nRF52 Time Sync in noisy environment</title><link>https://devzone.nordicsemi.com/thread/359818?ContentTypeID=1</link><pubDate>Thu, 24 Mar 2022 13:09:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f702d725-7f6a-468a-b153-b0882ce23210</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Michael,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;You are correct that high volume of BLE traffic could impede the success rate of the time sync packets.&amp;nbsp;&lt;br /&gt;By default the timesync example use a single channel to send timesync packet (default =&amp;nbsp;80 (2480MHz)) It&amp;#39;s actually one of the channels used by BLE advertising.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I would suggest to use the RSSI Viewer in our nRF Connect for Desktop app to observe how busy the environment is and can choose one of the channel that has less activity to check if it was the interference causing the issue.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;In addition to the BLE activity, wifi and other 2.4 GHz can also affect the timesync packets.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;What the customer can do to improve this is:&amp;nbsp;&lt;/p&gt;
&lt;p&gt;- As suggested above choose a quiet channel.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;- Increase the interval the transmitter sending sync packets. This can be configured by modifying&amp;nbsp;sync_freq_hz when calling&amp;nbsp;ts_tx_start (by default it&amp;#39;s 30Hz)&lt;/p&gt;
&lt;p&gt;- Increase the TxPower of the transmitter. This is configured in&amp;nbsp;update_radio_parameters()&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>