<?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>No LF CLK started event after start LF clock</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/77524/no-lf-clk-started-event-after-start-lf-clock</link><description>We encounter 52810 freezing problem. It occurses in low probability less than 1 out of 1000. 
 Power-on reset is no use for this problem. The freezed 52810 chip restored when we erase and reprogram it with the same soft. 
 We also trace the problem in</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 16 Jul 2021 09:34:32 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/77524/no-lf-clk-started-event-after-start-lf-clock" /><item><title>RE: No LF CLK started event after start LF clock</title><link>https://devzone.nordicsemi.com/thread/320386?ContentTypeID=1</link><pubDate>Fri, 16 Jul 2021 09:34:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e3fc1780-e38b-4080-9a06-7b57c451c37d</guid><dc:creator>Karl Ylvisaker</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
[quote user=""]There is only 32M HF crystal outside 52810 in our board, and NRFX_CLOCK_CONFIG_LF_SRC is 2(SYNTH).&lt;br /&gt;We are using SDK v15.0.0[/quote]
&lt;p&gt;Thank you for clarifying this. Synthesizing the LFCLK from the HFCLK will require the HFCLK to always be active - this will increase power consumption by quite a lot, compared to having a dedicated LF source.&lt;br /&gt;I am sure you already know this, but I thought I should mention it in any case.&lt;/p&gt;
[quote user=""]The while loop in clock_lfclk_start function will be breaked when the callback routine executed by LF CLK STARTED irq.&lt;br /&gt;But it seems there is no LF CLK STARTED irq assert in problem 52810 chip.[/quote][quote user=""]Do you have any idea about this issue?[/quote]
&lt;p&gt;The fact that you are seeing this in &amp;#39;less than 1 out of 1000&amp;#39;, I am thinking we need to look closer at the HFCLK source.&lt;br /&gt;Do you have access to equipment to measure the 32 MHz crystal, to see if it performs as expected? Or, do you receive the HFCLK started event prior to waiting for the LFCLK event?&lt;br /&gt;Could you try to change your LFCLK source and configuration to the following, and see if the issue persists in the problem device?&lt;br /&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;// &amp;lt;o&amp;gt; NRF_SDH_CLOCK_LF_SRC  - SoftDevice clock source.
 
// &amp;lt;0=&amp;gt; NRF_CLOCK_LF_SRC_RC 
// &amp;lt;1=&amp;gt; NRF_CLOCK_LF_SRC_XTAL 
// &amp;lt;2=&amp;gt; NRF_CLOCK_LF_SRC_SYNTH 

#ifndef NRF_SDH_CLOCK_LF_SRC
#define NRF_SDH_CLOCK_LF_SRC 0
#endif

// &amp;lt;o&amp;gt; NRF_SDH_CLOCK_LF_RC_CTIV - SoftDevice calibration timer interval. 
#ifndef NRF_SDH_CLOCK_LF_RC_CTIV
#define NRF_SDH_CLOCK_LF_RC_CTIV 16
#endif

// &amp;lt;o&amp;gt; NRF_SDH_CLOCK_LF_RC_TEMP_CTIV - SoftDevice calibration timer interval under constant temperature. 
// &amp;lt;i&amp;gt; How often (in number of calibration intervals) the RC oscillator shall be calibrated
// &amp;lt;i&amp;gt;  if the temperature has not changed.

#ifndef NRF_SDH_CLOCK_LF_RC_TEMP_CTIV
#define NRF_SDH_CLOCK_LF_RC_TEMP_CTIV 2
#endif

// &amp;lt;o&amp;gt; NRF_SDH_CLOCK_LF_ACCURACY  - External clock accuracy used in the LL to compute timing.
 
// &amp;lt;0=&amp;gt; NRF_CLOCK_LF_ACCURACY_250_PPM 
// &amp;lt;1=&amp;gt; NRF_CLOCK_LF_ACCURACY_500_PPM 
// &amp;lt;2=&amp;gt; NRF_CLOCK_LF_ACCURACY_150_PPM 
// &amp;lt;3=&amp;gt; NRF_CLOCK_LF_ACCURACY_100_PPM 
// &amp;lt;4=&amp;gt; NRF_CLOCK_LF_ACCURACY_75_PPM 
// &amp;lt;5=&amp;gt; NRF_CLOCK_LF_ACCURACY_50_PPM 
// &amp;lt;6=&amp;gt; NRF_CLOCK_LF_ACCURACY_30_PPM 
// &amp;lt;7=&amp;gt; NRF_CLOCK_LF_ACCURACY_20_PPM 
// &amp;lt;8=&amp;gt; NRF_CLOCK_LF_ACCURACY_10_PPM 
// &amp;lt;9=&amp;gt; NRF_CLOCK_LF_ACCURACY_5_PPM 
// &amp;lt;10=&amp;gt; NRF_CLOCK_LF_ACCURACY_2_PPM 
// &amp;lt;11=&amp;gt; NRF_CLOCK_LF_ACCURACY_1_PPM 

#ifndef NRF_SDH_CLOCK_LF_ACCURACY
#define NRF_SDH_CLOCK_LF_ACCURACY 1
#endif&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Karl&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>