<?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 sysbuild LFCLK loop</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/110249/nrf5340-sysbuild-lfclk-loop</link><description>Hello, 
 I have a custom nrf5340 board without a 32kHz clock attached. When using a sysbuild configuration (with MCUBOOT) and debugging the code I get stuck in this LFCLK loop: 
 
 I tried using another nrf5340dk and cut the SB1 and SB2 with the same</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 01 May 2024 02:12:24 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/110249/nrf5340-sysbuild-lfclk-loop" /><item><title>RE: nrf5340 sysbuild LFCLK loop</title><link>https://devzone.nordicsemi.com/thread/481356?ContentTypeID=1</link><pubDate>Wed, 01 May 2024 02:12:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9749eb36-6014-4600-94e0-c5d8449e9c30</guid><dc:creator>ecc</dc:creator><description>&lt;p&gt;I also had the same problem.&amp;nbsp; It turns out that the prj.conf settings are not applied to MCUBoot, and so I had to add&lt;/p&gt;
&lt;pre&gt;&lt;span&gt;CONFIG_CLOCK_CONTROL_NRF_K32SRC_RC&lt;/span&gt;&lt;span&gt;=y&lt;br /&gt;&lt;/span&gt;&lt;span&gt;CONFIG_CLOCK_CONTROL_NRF_K32SRC_XTAL&lt;/span&gt;&lt;span&gt;=n&lt;/span&gt;&lt;/pre&gt;
&lt;div&gt;to sysbuild/mcuboot.conf so that MCUBoot would also be told to use the RC oscillator, instead of the XTAL.&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;Edit: I actually ended up putting those two lines into my custom board&amp;#39;s defconfig file, so that the LFCLK source gets picked up no matter what type of build system is performed.&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf5340 sysbuild LFCLK loop</title><link>https://devzone.nordicsemi.com/thread/479919?ContentTypeID=1</link><pubDate>Mon, 22 Apr 2024 09:11:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f3db618b-ad5e-4aea-be19-2fda5fbc34ad</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi Domen,&lt;br /&gt;&lt;br /&gt;Sysbuild is not yet production ready. For now, you could try building your project as a standard multi-image build without sysbuild.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Dejan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf5340 sysbuild LFCLK loop</title><link>https://devzone.nordicsemi.com/thread/479662?ContentTypeID=1</link><pubDate>Fri, 19 Apr 2024 10:25:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7ec83dc4-4c68-4415-9538-d22a410c9ecb</guid><dc:creator>Domziy</dc:creator><description>&lt;p&gt;Hello Dejan,&lt;/p&gt;
&lt;p&gt;Can you provide more information about your application? &lt;br /&gt;I have a nrf5340, and I want to capture adc values from an external ADC and sent the values via the net_core with ESB to another nrf5340. I am using sysbuild as I have had a understanding that a multi-image build is fazing out and your are transitioning to sysbuild.&lt;br /&gt;What did you flash on both cores?&lt;br /&gt;Both cores have a minimal main.c with contents:&lt;br /&gt;/*&lt;br /&gt; * Copyright (c) 2022 Nordic Semiconductor ASA&lt;br /&gt; *&lt;br /&gt; * SPDX-License-Identifier: LicenseRef-Nordic-5-Clause&lt;br /&gt; */&lt;/p&gt;
&lt;p&gt;#include &amp;lt;zephyr/kernel.h&amp;gt;&lt;br /&gt;#include &amp;lt;zephyr/logging/log.h&amp;gt;&lt;/p&gt;
&lt;p&gt;LOG_MODULE_REGISTER(main_net, LOG_LEVEL_DBG);&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;int main(void)&lt;br /&gt;{&lt;/p&gt;
&lt;p&gt;while(1)&lt;br /&gt; {&lt;br /&gt; LOG_DBG(&amp;quot;Hello World! %s\n&amp;quot;, CONFIG_BOARD);&lt;br /&gt; k_yield();&lt;br /&gt; }&lt;/p&gt;
&lt;p&gt;return 0; /* Dummy application. Unused main */&lt;br /&gt;}&lt;/p&gt;
&lt;p&gt;How did you build your application? &lt;br /&gt;Using nRF connect for desktop and visual studio code using SDK v2.6.0&lt;br /&gt;What do you refer to as normal project? &lt;br /&gt;Normal project I mean as in &amp;quot;Create new application&amp;quot; without sysbuild configuration&lt;br /&gt;Could you provide information why you needed to modify SDK and in which way?&lt;br /&gt;Because with the inclusion of CONFIG_NCS_SAMPLE_EMPTY_NET_CORE_CHILD_IMAGE=y I have modified the empty_net_core project as it included it in the parent application for a multi-image build&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Domen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf5340 sysbuild LFCLK loop</title><link>https://devzone.nordicsemi.com/thread/479247?ContentTypeID=1</link><pubDate>Wed, 17 Apr 2024 13:39:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2e8d99ce-56f8-4cf1-b410-7263990dc590</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi Domen,&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Can you provide more information about your application? What did you flash on both cores? How did you build your application? What do you refer to as normal project? Could you provide information why you needed to modify SDK and in which way?&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Dejan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf5340 sysbuild LFCLK loop</title><link>https://devzone.nordicsemi.com/thread/479038?ContentTypeID=1</link><pubDate>Tue, 16 Apr 2024 15:01:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:875924f4-58ae-4715-8ca1-25598e568b56</guid><dc:creator>Domziy</dc:creator><description>&lt;p&gt;Hello Dejans,&lt;br /&gt;&lt;br /&gt;I am using sysbuild as I want to have both the application core code and the network core code of the nrf5340 separate from the SDK. I started by using a normal project and then adding &amp;quot;empty_net_core&amp;quot; project as a child image in a multi-image build, but then I had to modify the SDK. If there is another approach to have both cores codes separate and outside of the SDK without using sysbuild please let me know.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;&lt;br /&gt;Domen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf5340 sysbuild LFCLK loop</title><link>https://devzone.nordicsemi.com/thread/479030?ContentTypeID=1</link><pubDate>Tue, 16 Apr 2024 14:27:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:21fcf345-6ee6-4589-93bf-a174093024c1</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;You could try to build your application without sysbuild.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Dejan&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>