<?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>LFCLK calibration while RTC is running</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/111573/lfclk-calibration-while-rtc-is-running</link><description>Hi, 
 Is there any way to run calibration of the LFCLK at the same time as the RTC is running on the same clock? 
 
 At program startup I start the HFCLK, then run this routine: 
 
 
 The program holds for about 30ms while waiting for the calibration</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 28 May 2024 12:24:05 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/111573/lfclk-calibration-while-rtc-is-running" /><item><title>RE: LFCLK calibration while RTC is running</title><link>https://devzone.nordicsemi.com/thread/486183?ContentTypeID=1</link><pubDate>Tue, 28 May 2024 12:24:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bec84414-cffa-461b-b22d-f719bfba67ac</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;The difference is that the clock driver implementation is asynchronous and non-blocking.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: LFCLK calibration while RTC is running</title><link>https://devzone.nordicsemi.com/thread/486180?ContentTypeID=1</link><pubDate>Tue, 28 May 2024 12:21:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0b0dd7fe-c0a0-485b-88a3-204d56f630e3</guid><dc:creator>Lars-Christian</dc:creator><description>&lt;p&gt;Ok. Thank you. Does that mean that the Clock driver can do a faster calibration than the method used above? Or that it can calibrate simultaneously wih the RTC running?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: LFCLK calibration while RTC is running</title><link>https://devzone.nordicsemi.com/thread/486178?ContentTypeID=1</link><pubDate>Tue, 28 May 2024 12:15:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dc592596-12b1-4ca2-9f7a-842308314e80</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Thanks for confirming. In that case, I would recommend you consider using the&amp;nbsp;&lt;a class="" title="Clock" href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.1.0/hardware_driver_clock.html?cp=9_1_2_0_0"&gt;Clock&lt;/a&gt;&amp;nbsp;driver to calibrate your LFRC oscillator against the HFXO.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: LFCLK calibration while RTC is running</title><link>https://devzone.nordicsemi.com/thread/486177?ContentTypeID=1</link><pubDate>Tue, 28 May 2024 12:11:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f2011e9d-6951-4387-ac6c-0324913a78d3</guid><dc:creator>Lars-Christian</dc:creator><description>&lt;p&gt;I&amp;#39;m using the nRF5 SDK and no BLE.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: LFCLK calibration while RTC is running</title><link>https://devzone.nordicsemi.com/thread/486173?ContentTypeID=1</link><pubDate>Tue, 28 May 2024 12:08:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d97e9902-a29e-4688-8fc9-1a008263c21f</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Which SDK are you using, the nRF5 SDK or the nRF Connect SDK? Also, are you using BLE? If BLE is enabled, the protocol stack will periodically calibrate the LFRC in the background (interrupt driven) to ensure the LF clock meets the 500 ppm accuracy requirement set by the specification.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Vidar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>