<?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>nRF5340 Custom Board Hangs at WFE (Idle) After Migration from NCS v2.4.0 - No External 32.768 kHz Crystal</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/125940/nrf5340-custom-board-hangs-at-wfe-idle-after-migration-from-ncs-v2-4-0---no-external-32-768-khz-crystal</link><description>Environment 
 
 NCS Version (Working): v2.4.0 
 NCS Version (Not Working): v3.1.1 
 Board: Custom board based on nRF5340 (Application Core + Network Core) 
 Build System: Sysbuild 
 Network Core Image: ipc_radio 
 IDE: VS Code 
 Hardware: Custom PCB without</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 04 Dec 2025 07:04:59 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/125940/nrf5340-custom-board-hangs-at-wfe-idle-after-migration-from-ncs-v2-4-0---no-external-32-768-khz-crystal" /><item><title>RE: nRF5340 Custom Board Hangs at WFE (Idle) After Migration from NCS v2.4.0 - No External 32.768 kHz Crystal</title><link>https://devzone.nordicsemi.com/thread/556205?ContentTypeID=1</link><pubDate>Thu, 04 Dec 2025 07:04:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d6d948c3-92e7-4588-88ca-c8947b638083</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Good to hear that it works now and thanks for the update. Yes, changing the default clock source in the board files is a best solution. I wasn&amp;#39;t sure earlier if you had defined your own board or if you used the nrf5340DK board as your build target&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF5340 Custom Board Hangs at WFE (Idle) After Migration from NCS v2.4.0 - No External 32.768 kHz Crystal</title><link>https://devzone.nordicsemi.com/thread/556154?ContentTypeID=1</link><pubDate>Wed, 03 Dec 2025 15:25:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:010cea70-064e-4680-8875-9e13bf56f1b1</guid><dc:creator>Khldun</dc:creator><description>&lt;p&gt;Thank you very much for your help!&lt;/p&gt;
&lt;p class="font-claude-response-body whitespace-normal break-words"&gt;The issue is now resolved. I added the LFCLK configuration options to my custom board&amp;#39;s &lt;code&gt;defconfig&lt;/code&gt; file. This ensures that all images (Application Core, Network Core, MCUboot, etc.) built for this board automatically use the internal RC oscillator instead of the external LFXO&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF5340 Custom Board Hangs at WFE (Idle) After Migration from NCS v2.4.0 - No External 32.768 kHz Crystal</title><link>https://devzone.nordicsemi.com/thread/556093?ContentTypeID=1</link><pubDate>Wed, 03 Dec 2025 10:33:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d3dff4f9-f713-4159-919b-d8f81659a291</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;When you don&amp;#39;t have an external LF crystal it is recommended to select the internal LF RC oscillator by enabling the CONFIG_CLOCK_CONTROL_NRF_K32SRC_RC setting. It is important that you not only apply this to your main application, but also any bootloader&amp;#39;s and to your &amp;nbsp;&lt;span&gt;ipc_radio build.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;You can check whether this setting is currently applied or not for ipc_radio by looking at the generated build/ipc_radio/zephyr/.config file.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
[quote user="Khldun"]Since my custom board does not have an external 32.768 kHz crystal, should I disable the LFXO node in my device tree overlay like this?[/quote]
&lt;p&gt;Yes.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF5340 Custom Board Hangs at WFE (Idle) After Migration from NCS v2.4.0 - No External 32.768 kHz Crystal</title><link>https://devzone.nordicsemi.com/thread/556006?ContentTypeID=1</link><pubDate>Tue, 02 Dec 2025 13:01:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9e3acb65-9e19-4578-bda1-a5f99da6e9b0</guid><dc:creator>Khldun</dc:creator><description>&lt;p class="font-claude-response-body whitespace-normal break-words"&gt;Thank you for your response.&lt;/p&gt;
&lt;p class="font-claude-response-body whitespace-normal break-words"&gt;I found the following LFXO configuration in my device tree file. Could this be causing the issue?&lt;br /&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1764679971563v1.png" /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p class="font-claude-response-body whitespace-normal break-words"&gt;Additionally, I checked the generated &lt;code&gt;build/zephyr.dts&lt;/code&gt; and found this output for the clock controller...&lt;/p&gt;
&lt;p class="font-claude-response-body whitespace-normal break-words"&gt;&lt;pre class="ui-code" data-mode="text"&gt;			/* node &amp;#39;/soc/peripheral@50000000/clock-controller@4000&amp;#39; defined in zephyr/dts/arm/nordic/nrf5340_cpuapp_peripherals.dtsi:15 */
			oscillators: clock-controller@4000 {
				compatible = &amp;quot;nordic,nrf53-oscillators&amp;quot;; /* in zephyr/dts/arm/nordic/nrf5340_cpuapp_peripherals.dtsi:16 */
				reg = &amp;lt; 0x4000 0x1000 &amp;gt;;                 /* in zephyr/dts/arm/nordic/nrf5340_cpuapp_peripherals.dtsi:17 */

				/* node &amp;#39;/soc/peripheral@50000000/clock-controller@4000/lfxo&amp;#39; defined in zephyr/dts/arm/nordic/nrf5340_cpuapp_peripherals.dtsi:19 */
				lfxo: lfxo {
					compatible = &amp;quot;nordic,nrf53-lfxo&amp;quot;;     /* in zephyr/dts/arm/nordic/nrf5340_cpuapp_peripherals.dtsi:20 */
					#clock-cells = &amp;lt; 0x0 &amp;gt;;               /* in zephyr/dts/arm/nordic/nrf5340_cpuapp_peripherals.dtsi:21 */
					clock-frequency = &amp;lt; 0x8000 &amp;gt;;         /* in zephyr/dts/arm/nordic/nrf5340_cpuapp_peripherals.dtsi:22 */
					load-capacitors = &amp;quot;internal&amp;quot;;         /* in custom/boards/arm/custom_nrf53/nrf5340_cpuapp_common.dtsi:262 */
					load-capacitance-picofarad = &amp;lt; 0x7 &amp;gt;; /* in custom/boards/arm/custom_nrf53/nrf5340_cpuapp_common.dtsi:263 */
				};

				/* node &amp;#39;/soc/peripheral@50000000/clock-controller@4000/hfxo&amp;#39; defined in zephyr/dts/arm/nordic/nrf5340_cpuapp_peripherals.dtsi:25 */
				hfxo: hfxo {
					compatible = &amp;quot;nordic,nrf53-hfxo&amp;quot;; /* in zephyr/dts/arm/nordic/nrf5340_cpuapp_peripherals.dtsi:26 */
					#clock-cells = &amp;lt; 0x0 &amp;gt;;           /* in zephyr/dts/arm/nordic/nrf5340_cpuapp_peripherals.dtsi:27 */
					clock-frequency = &amp;lt; 0x1e84800 &amp;gt;;  /* in zephyr/dts/arm/nordic/nrf5340_cpuapp_peripherals.dtsi:28 */
					startup-time-us = &amp;lt; 0x578 &amp;gt;;      /* in zephyr/dts/arm/nordic/nrf5340_cpuapp_peripherals.dtsi:29 */
				};
			};&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Since my custom board does not have an external 32.768 kHz crystal, should I disable the LFXO node in my device tree overlay like this?&lt;br /&gt;&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;&amp;amp;lfxo {
    status = &amp;quot;disabled&amp;quot;;
};&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Would this resolve the hang at &lt;code&gt;SLEEP_IF_ALLOWED(__WFE)&lt;/code&gt; that I&amp;#39;m experiencing?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF5340 Custom Board Hangs at WFE (Idle) After Migration from NCS v2.4.0 - No External 32.768 kHz Crystal</title><link>https://devzone.nordicsemi.com/thread/555990?ContentTypeID=1</link><pubDate>Tue, 02 Dec 2025 12:05:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:97db8851-7d4d-4898-903c-b1b2871a7212</guid><dc:creator>Turbo J</dc:creator><description>&lt;p&gt;Check finished DTS in build/zephyr. There were DTS LFXO changes IIRC.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>