<?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>Set CLKSET on nRF54L05 to Use External Low-Frequency Crystal (LFXO)</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/123859/set-clkset-on-nrf54l05-to-use-external-low-frequency-crystal-lfxo</link><description>Hi everyone, 
 I’m working with the nRF54L05 MCU (SDK v2.9.0) for my application. 
 From the documentation, I read that in the system_off demo, when using the z_nrf_grtc_wakeup_prepare() function, the system defaults to the LFRC (internal low-frequency</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 22 Aug 2025 08:08:57 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/123859/set-clkset-on-nrf54l05-to-use-external-low-frequency-crystal-lfxo" /><item><title>RE: Set CLKSET on nRF54L05 to Use External Low-Frequency Crystal (LFXO)</title><link>https://devzone.nordicsemi.com/thread/546417?ContentTypeID=1</link><pubDate>Fri, 22 Aug 2025 08:08:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:03b859cc-2500-4a96-b37b-a9458b9e119e</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;You will have an added delay on the boot up sequence, as wakeup is from reset, as formerly mentioned:&lt;/p&gt;
[quote user="hkn"]Please note that it takes some time for the CPU to wake up, as it starts from a reset-state, to execute your wanted code.[/quote]
&lt;p&gt;You cannot reliably use the current consumption period to measure precisely, as there will be added processing, and additional latency due to generic processing, such as these lines:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://github.com/nrfconnect/sdk-zephyr/blob/v4.0.99-ncs1/drivers/timer/nrf_grtc_timer.c#L427-L431"&gt;https://github.com/nrfconnect/sdk-zephyr/blob/v4.0.99-ncs1/drivers/timer/nrf_grtc_timer.c#L427-L431&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Try set/clr a LED during your boot up instead, and also play around with the sleep interval, to see how this scales.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Please note that if you require full control of your timing, I would recommend using systemon idle instead, as you do not need a reset upon wakeup.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Set CLKSET on nRF54L05 to Use External Low-Frequency Crystal (LFXO)</title><link>https://devzone.nordicsemi.com/thread/546390?ContentTypeID=1</link><pubDate>Fri, 22 Aug 2025 03:05:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bed819a1-bd0e-44df-8d38-e1d1ede3a813</guid><dc:creator>ThienNBK</dc:creator><description>&lt;p data-start="75" data-end="107"&gt;Hi, thanks for your reply.&lt;/p&gt;
&lt;p data-start="109" data-end="285"&gt;Regarding the timing issue:&lt;strong&gt; the expected time is 2 seconds&lt;/strong&gt;, but when I measure it using the PPK II, the actual time I observe is &lt;strong&gt;about 2.006 seconds&lt;/strong&gt; (see the attached image).&lt;/p&gt;
&lt;p data-start="287" data-end="474"&gt;If the GRTC does not switch the clock source as you mentioned, how can I achieve more accurate timing? I&amp;rsquo;m developing a smartwatch application, so &lt;strong&gt;precise timekeeping is very important&lt;/strong&gt;.&lt;/p&gt;
&lt;p data-start="476" data-end="490"&gt;Many thanks.&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1755831863527v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Set CLKSET on nRF54L05 to Use External Low-Frequency Crystal (LFXO)</title><link>https://devzone.nordicsemi.com/thread/546311?ContentTypeID=1</link><pubDate>Thu, 21 Aug 2025 08:58:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:52bf7ee5-b496-4ed6-8fd3-42fe57d7dc4b</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The GRTC does not switch source in sleep/systemoff, as stated here in the docs:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://docs.nordicsemi.com/bundle/ps_nrf54L15/page/grtc.html#ariaid-title2"&gt;https://docs.nordicsemi.com/bundle/ps_nrf54L15/page/grtc.html#ariaid-title2&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
[quote user=""]However, I noticed that the timing is not accurate. [/quote]
&lt;p&gt;How much are you seeing?&lt;/p&gt;
&lt;p&gt;Please note that it takes some time for the CPU to wake up, as it starts from a reset-state, to execute your wanted code.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>