<?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>external XTAL and internal oscillator</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/63864/external-xtal-and-internal-oscillator</link><description>Is it possible to completely disable the internal oscillator and only use an external LF XTAL?</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 20 Jul 2020 14:52:41 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/63864/external-xtal-and-internal-oscillator" /><item><title>RE: external XTAL and internal oscillator</title><link>https://devzone.nordicsemi.com/thread/260847?ContentTypeID=1</link><pubDate>Mon, 20 Jul 2020 14:52:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:16077ba3-1942-4741-9dd1-666c3e7f58bd</guid><dc:creator>haakonsh</dc:creator><description>&lt;p&gt;What Jörg says!&lt;br /&gt;&lt;br /&gt;You&amp;#39;ve bypassed the signal amplifier in the LF oscillator and the crystal will never resonate.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: external XTAL and internal oscillator</title><link>https://devzone.nordicsemi.com/thread/260656?ContentTypeID=1</link><pubDate>Fri, 17 Jul 2020 17:00:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ab044cff-84dc-426c-8aba-ac63102b1e69</guid><dc:creator>Turbo J</dc:creator><description>&lt;p&gt;Check LFCLKSTAT, the LF clock&amp;nbsp; might already be running on the crystal.&lt;/p&gt;
&lt;p&gt;Also, BYPASS_Enable won&amp;#39;t work with a crystal. That literally bypasses (=disables) the oscillator for the crystal - use that only with an external rail-to-rail oscillator.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: external XTAL and internal oscillator</title><link>https://devzone.nordicsemi.com/thread/260651?ContentTypeID=1</link><pubDate>Fri, 17 Jul 2020 16:33:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e91a52ef-3418-4c48-9d15-896161fa8a38</guid><dc:creator>tscribne</dc:creator><description>&lt;p&gt;External Crystal.&amp;nbsp; Actually, I get past the LFCLKSTARTED while however, my k_sleep never returns.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: external XTAL and internal oscillator</title><link>https://devzone.nordicsemi.com/thread/260638?ContentTypeID=1</link><pubDate>Fri, 17 Jul 2020 15:26:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dcc884f9-cc91-4f0d-b37f-6f7a6ebfc508</guid><dc:creator>haakonsh</dc:creator><description>&lt;p&gt;Are you using an external crystal or external oscillator?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: external XTAL and internal oscillator</title><link>https://devzone.nordicsemi.com/thread/260636?ContentTypeID=1</link><pubDate>Fri, 17 Jul 2020 15:16:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6f496dd2-7b58-40a4-80bb-3e1bee928541</guid><dc:creator>tscribne</dc:creator><description>&lt;p&gt;Interesting.&amp;nbsp; &amp;nbsp;I believe I have done that in this section of code, however, I never seem to get past the while statement, and if I comment out the while loop, the k_sleep never returns.&amp;nbsp; Is there something I&amp;#39;m missing here?&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt; // Make sure we are using the external 32.768 kHz crystal osciallator (LFXO)
	NRF_CLOCK-&amp;gt;LFCLKSRC = (CLOCK_LFCLKSRC_SRC_Xtal &amp;lt;&amp;lt; CLOCK_LFCLKSRC_SRC_Pos)|(CLOCK_LFCLKSRC_BYPASS_Enabled &amp;lt;&amp;lt; CLOCK_LFCLKSRC_BYPASS_Pos ) |
		(CLOCK_LFCLKSRC_EXTERNAL_Enabled &amp;lt;&amp;lt; CLOCK_LFCLKSRC_EXTERNAL_Pos);


	NRF_CLOCK-&amp;gt;EVENTS_LFCLKSTARTED = 0;
	NRF_CLOCK-&amp;gt;TASKS_LFCLKSTART = 1;

		while (NRF_CLOCK-&amp;gt;EVENTS_LFCLKSTARTED == 0) {
			// Do Nothing
		}

    start_time = k_cycle_get_32();
    
    k_sleep(1000);
    &lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: external XTAL and internal oscillator</title><link>https://devzone.nordicsemi.com/thread/260633?ContentTypeID=1</link><pubDate>Fri, 17 Jul 2020 15:11:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9c42803c-ef69-4cc3-9290-08849da8bb78</guid><dc:creator>haakonsh</dc:creator><description>&lt;p&gt;If you&amp;#39;re talking about the LFRC, then yes. If you&amp;#39;ve configured the device to use an LF XTAL then the LF RC is automatically disabled.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>