<?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>Frequency accurancy / frequency shift</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/39246/frequency-accurancy-frequency-shift</link><description>Hello, 
 I use the LAIRD module BL652 with the nRF52832. 
 My project consist of do a synchronous between many board. Each second, I restart a timer of 1 second. 
 I include a pin toggle into this timer handle. And I see after 3 hours that some board</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 22 Oct 2018 12:56:19 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/39246/frequency-accurancy-frequency-shift" /><item><title>RE: Frequency accurancy / frequency shift</title><link>https://devzone.nordicsemi.com/thread/153815?ContentTypeID=1</link><pubDate>Mon, 22 Oct 2018 12:56:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:61f07c2e-9270-44d6-9cbe-253062f7fc3c</guid><dc:creator>run_ar</dc:creator><description>&lt;p&gt;I am sorry for the late reply. I thought I answered this, but I musts have forgotten to hit the reply button. Regardless, since you have already tried to increase the interrupt priority to improve the shift, and given that the shift is within crystal spec I do not think there is anything else that can be done on the chip to improve this. i.e. you need an external rtc circuit if you require more accurate timing.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Frequency accurancy / frequency shift</title><link>https://devzone.nordicsemi.com/thread/152062?ContentTypeID=1</link><pubDate>Mon, 08 Oct 2018 12:55:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2370cfdf-e568-44a4-89cc-061981790f33</guid><dc:creator>d.altmann</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Thank you for your asking.&lt;/p&gt;
&lt;p&gt;If I take a Crystal oscillator at 32 MHz with 20 ppm (I suppose that LAIRD use a 20 ppm Crystal), after 3 hours, I can have some 216 ms more or less !!! so very high shift.&lt;/p&gt;
&lt;p&gt;So 50 ms after 3 hours is around 4/5 ppm !!&lt;/p&gt;
&lt;p&gt;But for example, when I use a &amp;quot;true&amp;quot; RTC, we use a 32.758 kHz Crystal and the shifting is not very high (20 ppm generate less than 2 sec by Month)&lt;/p&gt;
&lt;p&gt;It exist a module into the nRF52832 to &amp;quot;calibrate&amp;quot; the Crystal ocillator ? or to adjust the main frequency ?&lt;/p&gt;
&lt;p&gt;For the RTC peripheral, I use a external oscillator with 32.768 kHz as frequency (20 ppm). I generate a RTC interrupt each 125ms. If I put into this interrupt function a pin toggle, I see the same shifting. I am sure that the software use this external oscillator. The Crystal have 20 ppm and the shift is the same, some 50 ms every 3 hours.&lt;/p&gt;
&lt;p&gt;I find into other post, that RTC and TIMER interrupt priority can be increase (and solve the problem). I try to increase the interrupt priority but the shifting is the same.&lt;/p&gt;
&lt;p&gt;For my timer function, I use the &amp;quot;app_timer&amp;quot; but this function use a software timer with a lower frequency&amp;hellip;.&lt;/p&gt;
&lt;p&gt;It&amp;#39;s better to use the &amp;quot;nrf_drv_timer&amp;quot; ??&lt;/p&gt;
&lt;p&gt;Thank you,&lt;/p&gt;
&lt;p&gt;Best regards.&lt;/p&gt;
&lt;p&gt;Damien&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Frequency accurancy / frequency shift</title><link>https://devzone.nordicsemi.com/thread/152047?ContentTypeID=1</link><pubDate>Mon, 08 Oct 2018 12:16:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9b9d1b5a-b71b-4017-a1ed-343097309008</guid><dc:creator>run_ar</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Please calculate how many PPM&amp;#39;s 50 ms is in 3 hours. How does this compare to the specification of the crystal used on the module?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>