<?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>timer drift</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/19405/timer-drift</link><description>Hey guys, 
 I followed this guide and successfully synchronized the timers from two devices(nRF52 DK). But if I let these two synchronized devices keep running all the time, I guess sooner or later they will be non-synchronized again. 
 I want to estimate</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 02 Feb 2017 13:22:01 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/19405/timer-drift" /><item><title>RE: timer drift</title><link>https://devzone.nordicsemi.com/thread/75300?ContentTypeID=1</link><pubDate>Thu, 02 Feb 2017 13:22:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:72eb4fb3-56a4-4ac9-990e-12b159cd33ba</guid><dc:creator>Tong Yu</dc:creator><description>&lt;p&gt;OK，thank you very much for the information!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: timer drift</title><link>https://devzone.nordicsemi.com/thread/75299?ContentTypeID=1</link><pubDate>Thu, 02 Feb 2017 13:18:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:44b82c12-252e-4d73-a9fc-9787d78eb89b</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;The NRF_TIMER2 is based on the HFCLK (16 MHz/ PCLK16M) and have a 62.5 ns resolution. The HFCLK is based on the 64 MHz crystal oscillator (HFXO), which is controlled by the 32 MHz external crystal. See the drawing &lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.nrf52832.ps.v1.1/clock.html?resultof=%22%36%34%22%20%22%4d%48%7a%22%20%22%6d%68%7a%22%20%22%6f%6e%2d%63%68%69%70%22%20%22%63%68%69%70%22%20%22%6f%73%63%69%6c%6c%61%74%6f%72%22%20%22%6f%73%63%69%6c%22%20"&gt;here&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;The 8ppm is the additional HFLCK Frequency tolerance needed when using synthesized clock (not recommended). The HFXO Frequency tolerance is 60ppm, this means that you need a 32 MHz external crystal with at least 60ppm for the radio peripheral to work. On the nRF52-DK the 32 MHz external crystal is 10ppm.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: timer drift</title><link>https://devzone.nordicsemi.com/thread/75296?ContentTypeID=1</link><pubDate>Thu, 02 Feb 2017 12:33:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a6436193-44a4-488e-976b-995ee6c01e8b</guid><dc:creator>Tong Yu</dc:creator><description>&lt;p&gt;OK, I got it, thanks! But may I ask that if the NRF_TIMER2 is based on the 64 MHz crystal oscillator or not? In the guide, &amp;#39;&amp;#39;sd_clock_hfclk_request()&amp;#39;&amp;#39; is called, but I am not sure it&amp;#39;s internal or external. Also, I found out in the &lt;a href="http://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.nrf52832.ps.v1.1%2Fclock.html&amp;amp;cp=2_2_0_18_3&amp;amp;anchor=unique_209059578"&gt;infoceter&lt;/a&gt;, &amp;#39;&amp;#39;32.768 kHz synthesized from HFCLK (LFSYNT)&amp;#39;&amp;#39; has the lowest ppm which is 8, so that means by using this one I will get the smallest time drift,right?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: timer drift</title><link>https://devzone.nordicsemi.com/thread/75301?ContentTypeID=1</link><pubDate>Thu, 02 Feb 2017 12:07:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ab2ca945-77f2-4212-b3c5-eba12265bfea</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&lt;a href="https://www.maximintegrated.com/en/design/tools/calculators/product-design/rtc.cfm"&gt;Here&lt;/a&gt; is an online-calculator you can use to calculate the drift.
The formula is: &lt;code&gt;Time Drift in Seconds/Day = ( [ Accuracy in PPM ] / 1 Million ) * ( # Seconds Per Day )&lt;/code&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: timer drift</title><link>https://devzone.nordicsemi.com/thread/75297?ContentTypeID=1</link><pubDate>Thu, 02 Feb 2017 11:52:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:67f0d075-853a-41d2-a28f-694a9afc2772</guid><dc:creator>Tong Yu</dc:creator><description>&lt;p&gt;nRF52 DK. I just saw the crystal&amp;#39;s ppm on info center(I repaired the link), I am not sure it is guaranteed or not.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: timer drift</title><link>https://devzone.nordicsemi.com/thread/75298?ContentTypeID=1</link><pubDate>Thu, 02 Feb 2017 06:13:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:365c72e1-bb91-41d6-99bb-796f82cbc7f4</guid><dc:creator>Roger Clark</dc:creator><description>&lt;p&gt;What boards are you using. Are your crystals guaranteed to be that accuracy ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>