<?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>ASSERTION FAILED PC=0X154A2</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/76361/assertion-failed-pc-0x154a2</link><description>chip:nrf52840 
 SD:S140 6.1.0 
 SDK:nRF5 SDK v15.2.0 
 ASSERTION FAILED often appears in my firmware, connecting J-link in debugging state or turning on NRF_LOG and outputting a large number of logs in RTT mode may increase the probability of occurrence</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 23 Jun 2021 09:22:15 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/76361/assertion-failed-pc-0x154a2" /><item><title>RE: ASSERTION FAILED PC=0X154A2</title><link>https://devzone.nordicsemi.com/thread/316651?ContentTypeID=1</link><pubDate>Wed, 23 Jun 2021 09:22:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0b19c8d3-df69-4552-a725-4747477afad3</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;&lt;span&gt;Ok, good. Could be that your debugging is somehow interfering with the LF clock,&amp;nbsp;&lt;/span&gt;&lt;span&gt;especially if you place breakpoints, halt the&amp;nbsp;&lt;/span&gt;&lt;span&gt;CPU&lt;/span&gt;&lt;span&gt;, etc. For lower power consumption, you should switch back to LF RC when you are not debugging.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ASSERTION FAILED PC=0X154A2</title><link>https://devzone.nordicsemi.com/thread/315837?ContentTypeID=1</link><pubDate>Thu, 17 Jun 2021 11:07:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3c10c778-b3cc-4c57-8023-c1ba73ec0228</guid><dc:creator>AAC</dc:creator><description>&lt;p&gt;&lt;em&gt;yes&lt;/em&gt;&lt;span&gt;,&lt;/span&gt;&lt;em&gt;it&lt;/em&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;em&gt;is&lt;/em&gt;&lt;span&gt;.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ASSERTION FAILED PC=0X154A2</title><link>https://devzone.nordicsemi.com/thread/315833?ContentTypeID=1</link><pubDate>Thu, 17 Jun 2021 11:01:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4b136de1-a863-47b9-a08b-8dd1e2f6ce5d</guid><dc:creator>Sigurd</dc:creator><description>[quote user="AAC"]Although I used the internal low frequency clock before.[/quote]
&lt;p&gt;&amp;nbsp;Ok, Was this the configuration you used?&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;//==========================================================

// &amp;lt;h&amp;gt; Clock - SoftDevice clock configuration

//==========================================================
// &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;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ASSERTION FAILED PC=0X154A2</title><link>https://devzone.nordicsemi.com/thread/315741?ContentTypeID=1</link><pubDate>Thu, 17 Jun 2021 05:53:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:190f8096-6b0b-4661-82c8-93737e4e9c6d</guid><dc:creator>AAC</dc:creator><description>&lt;p&gt;Thank you, the change of low frequency clock source to &lt;span&gt;&amp;nbsp;synthesized&lt;/span&gt; clock mentioned in this post worked for me. Although I used the internal low frequency clock before.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ASSERTION FAILED PC=0X154A2</title><link>https://devzone.nordicsemi.com/thread/315437?ContentTypeID=1</link><pubDate>Tue, 15 Jun 2021 14:03:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f37f5d63-96d9-4336-b1f6-0b9b96776ada</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;See this post:&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/70041/softdevice-s140-v6-1-0-assert-0x000154a2"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/70041/softdevice-s140-v6-1-0-assert-0x000154a2&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>