<?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 External Xtal and Soft Device</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/85039/lfclk-external-xtal-and-soft-device</link><description>I am attempting to enable the external LFCLK. I want the clock to swing rail to rail. I have the following code in place. I am using the s140 v 7.2 soft device and the nRF5_SDK_17.0.2_d674dde version of the sdk. Is there some additional configuration</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 24 Feb 2022 07:19:48 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/85039/lfclk-external-xtal-and-soft-device" /><item><title>RE: LFCLK External Xtal and Soft Device</title><link>https://devzone.nordicsemi.com/thread/354719?ContentTypeID=1</link><pubDate>Thu, 24 Feb 2022 07:19:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e69558ab-ba2d-4b49-a0bd-1e33bc08d052</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>[quote user="stevebedford"]Also, I&amp;#39;ve read in other discussion threads that if the 32kHz signal is not configured correctly that the soft device will not advertise.&amp;nbsp; I am seeing the device advertising when scanning; does that suggest that the clock actually is enabled correctly?[/quote]
&lt;p&gt;This is correct if the Softdevice is configured to use the LFCLK. Have you configured a clock source for the Softdevice in your application?&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Sigurd Hellesvik&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: LFCLK External Xtal and Soft Device</title><link>https://devzone.nordicsemi.com/thread/354639?ContentTypeID=1</link><pubDate>Wed, 23 Feb 2022 14:54:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:97f98dcf-3b20-40ee-8bb1-36ec756d248b</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;Connecting a OpAmp to the LFXO is a bit unusual, and I will have to look some more this.&lt;/p&gt;
&lt;p&gt;I will get back with more information tomorrow.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Sigurd Hellesvik&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: LFCLK External Xtal and Soft Device</title><link>https://devzone.nordicsemi.com/thread/354559?ContentTypeID=1</link><pubDate>Wed, 23 Feb 2022 12:27:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6be2066f-c504-406f-b06b-0a16b5b14805</guid><dc:creator>stevebedford</dc:creator><description>&lt;p&gt;Also, the code snippet I posted in the original is wrong, but I can&amp;#39;t seem to edit.&amp;nbsp; Here is what I&amp;#39;m actually running:&lt;br /&gt;&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;    /* Start low frequency crystal oscillator for app_timer(used by bsp)*/
    NRF_CLOCK-&amp;gt;LFCLKSRC            = (CLOCK_LFCLKSRC_SRC_Xtal &amp;lt;&amp;lt; CLOCK_LFCLKSRC_SRC_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.
    }&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: LFCLK External Xtal and Soft Device</title><link>https://devzone.nordicsemi.com/thread/354555?ContentTypeID=1</link><pubDate>Wed, 23 Feb 2022 12:23:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fa16c991-c27f-455e-b340-389d8177edc9</guid><dc:creator>stevebedford</dc:creator><description>&lt;p&gt;Sigurd, I am seeing a 32kHz 200mV peak to peak signal on the crystal.&amp;nbsp; 200mV is smaller than we expected, but I do see that the electrical characteristics for the LFXO lists a peak to peak amplitude between 200mV and 1V.&amp;nbsp; &lt;br /&gt;&lt;br /&gt;Is there a way increase that amplitude to the 1V end of the range?&amp;nbsp; Our application is monitoring the 32kHz clock signal, buffered by an op-amp, and were expecting that signal to be in the 1V peak to peak range.&lt;br /&gt;&lt;br /&gt;Also, I&amp;#39;ve read in other discussion threads that if the 32kHz signal is not configured correctly that the soft device will not advertise.&amp;nbsp; I am seeing the device advertising when scanning; does that suggest that the clock actually is enabled correctly?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: LFCLK External Xtal and Soft Device</title><link>https://devzone.nordicsemi.com/thread/354542?ContentTypeID=1</link><pubDate>Wed, 23 Feb 2022 11:48:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9169b3c1-626c-4bc6-800f-f2ee51e08bf7</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>&lt;p&gt;Hi Steve&lt;/p&gt;
&lt;p&gt;Documentation on the clock configuration is described in &lt;a href="https://infocenter.nordicsemi.com/topic/ps_nrf52840/clock.html?cp=4_0_0_4_3"&gt;CLOCK — Clock control&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Does the code you describe run as expected?&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Sigurd Hellesvik&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>