<?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>IPC problem with a custom board nrf5340</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/118189/ipc-problem-with-a-custom-board-nrf5340</link><description>HI guys, I&amp;#39;m trying to figure out whether the problem I&amp;#39;m having is a hardware or software issue. 
 
 So, my problem is: I have created a custom board using the nrf5340 and I&amp;#39;m debugging the hardware/software now. It&amp;#39;s a basic PCB with USB and FEM. 
</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 03 Mar 2025 08:40:35 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/118189/ipc-problem-with-a-custom-board-nrf5340" /><item><title>RE: IPC problem with a custom board nrf5340</title><link>https://devzone.nordicsemi.com/thread/525450?ContentTypeID=1</link><pubDate>Mon, 03 Mar 2025 08:40:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6f4cde78-197a-4361-88da-ac8f2ec8435f</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Did you run your design through a review process? If not, I suggest you create a ticket and upload your design (schematics), and ask for a review. I see that you have a ticket about this, but I am not sure whether this is with the faulty or the working board.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Then someone with more HW expertise can have a look. They can probably answer whether the XTAL that you are using is compatible with/without the external capacitors linked to it. Also, perhaps some suggestions on how to check if the XTAL is actually working as intended.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: IPC problem with a custom board nrf5340</title><link>https://devzone.nordicsemi.com/thread/525138?ContentTypeID=1</link><pubDate>Thu, 27 Feb 2025 17:09:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c1fbb42b-2010-4b7b-9f3f-266a92ba9aeb</guid><dc:creator>brendow</dc:creator><description>&lt;p data-start="60" data-end="69"&gt;Hi Edvin,&lt;/p&gt;
&lt;p data-start="71" data-end="205"&gt;I tried using these configurations, and I also removed the external capacitors and enabled the internals.&lt;/p&gt;
&lt;p data-start="287" data-end="333"&gt;Unfortunately, none of these solutions worked.&lt;/p&gt;
&lt;p data-start="335" data-end="553"&gt;I&amp;#39;m not entirely sure, but I&amp;rsquo;m starting to accept that the issue may be with the crystal oscillator on the board. However, it&amp;#39;s strange to me that the same components work on one board but not on the other.&lt;/p&gt;
&lt;p data-start="555" data-end="672"&gt;Is there any additional advice you could offer to help resolve this issue or prevent it from occurring in the future?&lt;/p&gt;
&lt;p data-start="674" data-end="698"&gt;Thanks for your support,&lt;/p&gt;
&lt;p data-start="674" data-end="698"&gt;Brendow&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: IPC problem with a custom board nrf5340</title><link>https://devzone.nordicsemi.com/thread/525097?ContentTypeID=1</link><pubDate>Thu, 27 Feb 2025 14:28:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d133cc21-a79e-49a1-87ed-1f44707d5f37</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;If that alone doesn&amp;#39;t help, try adding:&lt;/p&gt;
&lt;p&gt;&lt;span&gt;CONFIG_SOC_HFXO_CAP_INTERNAL=n&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I don&amp;#39;t have your HW to test on, so not 100% sure how these work.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: IPC problem with a custom board nrf5340</title><link>https://devzone.nordicsemi.com/thread/525093?ContentTypeID=1</link><pubDate>Thu, 27 Feb 2025 14:25:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4c22c5f0-88c7-4489-8df5-38c52829523b</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I am no hardware expert, but I asked a colleague of mine, and he said:&lt;/p&gt;
&lt;p&gt;If they are using external capacitors with the XTAL, then they need to disable the internal ones, which by default is set to 12pF. So if they have both, they will see 24pF, which may cause it not to start up [the crystal], or that it starts very slowly.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;To disable the internal capacitors, add this to your prj.conf:&lt;/p&gt;
&lt;p&gt;CONFIG_SOC_HFXO_CAP_EXTERNAL=y&lt;/p&gt;
&lt;p&gt;And see if that helps.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: IPC problem with a custom board nrf5340</title><link>https://devzone.nordicsemi.com/thread/524856?ContentTypeID=1</link><pubDate>Wed, 26 Feb 2025 14:43:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6dfc501b-433d-44fa-ade2-62fb8e844dbf</guid><dc:creator>brendow</dc:creator><description>&lt;p&gt;Hi Edvin,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;You&amp;#39;re right, there&amp;#39;s an issue with the HFCLK because the loop never ends in the B1. However, I&amp;#39;m even more confused now.&lt;/p&gt;
[quote userid="26071" url="~/f/nordic-q-a/118189/ipc-problem-with-a-custom-board-nrf5340/524790"]Can you check the soldering around the HFXTAL? Does it look ok? Is it mounted correctly? (We have seen some times that they are mounted 90 degrees off, so make sure it is in the same orientation as the other working board.)[/quote]
&lt;p&gt;I made these two boards manufactured by JLCPCB using the same Gerber file, CPL,&amp;nbsp;and BOM (I only removed the LFCLK from B2). The soldering looks fine&amp;nbsp;to me.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;This is the connection I made in my project. Did I do something wrong?&lt;/p&gt;
&lt;table height="271" width="379"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td style="text-align:center;"&gt;My project&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1740577963709v1.png" alt=" " /&gt;&lt;/td&gt;
&lt;td style="text-align:center;"&gt;Thingy53&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1740578184987v3.png" alt=" " /&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;I followed the HFCLK placement from Thingy53, although the trace distance in my design is longer, and I used external capacitors.&lt;/p&gt;
&lt;p&gt;Could this&amp;nbsp;affect the probability of my board working properly? In my project, I used an 8pF XTAL so the external capacitors are both 12pF.&lt;/p&gt;
&lt;p&gt;One more thing. I&amp;#39;m not sure if this will help identify the source of the problem. I know the correct approach would be&amp;nbsp;to use an oscilloscope to measure the XTAL clock, but I don&amp;#39;t have one here. Instead, I used a multimeter to measure the voltage on the capacitors to see if I could find anything.&lt;/p&gt;
&lt;p&gt;On my B2 (working board), both XC1 and XC2 have 800mV, but on my B1, XC1 has 800mV while XC2 only has 200mV. &lt;br /&gt;&lt;br /&gt;Why is there this voltage difference between the capacitors?&amp;nbsp;What could be causing this &lt;span&gt;difference&lt;/span&gt;?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best Regards,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Brendow&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: IPC problem with a custom board nrf5340</title><link>https://devzone.nordicsemi.com/thread/524790?ContentTypeID=1</link><pubDate>Wed, 26 Feb 2025 11:30:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6f94c4e5-bba6-421c-887e-b8557603de36</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;The MPSL Assert 112, 1557 suggests that the HFXTAL (32MHz crystal) is not ramping up quick enough.&lt;/p&gt;
&lt;p&gt;Without doing any modifications, you can check whether the HFXTAL actually starts by running this piece of code in the very beginning of main():&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;    LOG_INF(&amp;quot;Starting HFXO&amp;quot;);
    NRF_CLOCK-&amp;gt;TASKS_HFCLKSTART=1;
    while (NRF_CLOCK-&amp;gt;EVENTS_HFCLKSTARTED == false)
    {
        // Wait...        
    }
    LOG_INF(&amp;quot;HFXO started.&amp;quot;);&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Can you check the soldering around the HFXTAL? Does it look ok? Is it mounted correctly? (We have seen some times that they are mounted 90 degrees off, so make sure it is in the same orientation as the other working board.)&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: IPC problem with a custom board nrf5340</title><link>https://devzone.nordicsemi.com/thread/524788?ContentTypeID=1</link><pubDate>Wed, 26 Feb 2025 11:13:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c83337a3-940e-4e5a-a685-7d05ca39c3e7</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Ok. This suggests that there is a deviation in the chip. Let me run this assert through the SDK team, and based on their response, we might have to forward this ticket to our QA (Quality Assurance) department. Stay tuned.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: IPC problem with a custom board nrf5340</title><link>https://devzone.nordicsemi.com/thread/524676?ContentTypeID=1</link><pubDate>Tue, 25 Feb 2025 16:35:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bc04d493-259e-47e5-8a2a-42d6a93094df</guid><dc:creator>brendow</dc:creator><description>&lt;p&gt;Yes, I just commented on the lines used by the&amp;nbsp;&lt;code&gt;&lt;span&gt;#include&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;&amp;lt;dk_buttons_and_leds.h&amp;gt;&amp;nbsp;&lt;/span&gt;&lt;/code&gt;&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;	for (;;) {
		// dk_set_led(RUN_STATUS_LED, (++blink_status) % 2);
		k_sleep(K_MSEC(RUN_LED_BLINK_INTERVAL));
	}&lt;/pre&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;because if I didn&amp;#39;t do that it would show me a continuous error log:&lt;br /&gt;&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;[00:01:06.631,652] &amp;lt;err&amp;gt; dk_buttons_and_leds: LED index out of the range
[00:01:07.631,835] &amp;lt;err&amp;gt; dk_buttons_and_leds: LED index out of the range
[00:01:08.631,988] &amp;lt;err&amp;gt; dk_buttons_and_leds: LED index out of the range
[00:01:09.632,171] &amp;lt;err&amp;gt; dk_buttons_and_leds: LED index out of the range
[00:01:10.632,324] &amp;lt;err&amp;gt; dk_buttons_and_leds: LED index out of the range
[00:01:11.632,507] &amp;lt;err&amp;gt; dk_buttons_and_leds: LED index out of the range
[00:01:12.632,659] &amp;lt;err&amp;gt; dk_buttons_and_leds: LED index out of the range
[00:01:13.632,843] &amp;lt;err&amp;gt; dk_buttons_and_leds: LED index out of the range
[00:01:14.632,995] &amp;lt;err&amp;gt; dk_buttons_and_leds: LED index out of the range
[00:01:15.633,178] &amp;lt;err&amp;gt; dk_buttons_and_leds: LED index out of the range
[00:01:16.633,331] &amp;lt;err&amp;gt; dk_buttons_and_leds: LED index out of the range&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;but the rest of the code remains intact&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: IPC problem with a custom board nrf5340</title><link>https://devzone.nordicsemi.com/thread/524647?ContentTypeID=1</link><pubDate>Tue, 25 Feb 2025 14:42:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a54647d0-282e-4b79-8142-5f34e7bcdf13</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Is that the unmodified peripheral_uart sample from NCS v2.9.0?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: IPC problem with a custom board nrf5340</title><link>https://devzone.nordicsemi.com/thread/524632?ContentTypeID=1</link><pubDate>Tue, 25 Feb 2025 14:05:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2925c748-a4d0-4c38-9f9c-721e9bb5b641</guid><dc:creator>brendow</dc:creator><description>&lt;p&gt;Hi Edvin,&lt;/p&gt;
[quote userid="26071" url="~/f/nordic-q-a/118189/ipc-problem-with-a-custom-board-nrf5340/523410"]Are you able to run it?[/quote]
&lt;p&gt;Yes, CPU_APP works, but in CPU_NET an MPSL assertion occurs.&lt;/p&gt;
&lt;table&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;&lt;code&gt;[00:00:00.057,098] &amp;lt;inf&amp;gt; ipc_radio: Received hci message of 36 bytes.&lt;/code&gt;&lt;br /&gt;&lt;code&gt;[00:00:00.057,434] &amp;lt;inf&amp;gt; ipc_radio: Sent message of 7 bytes.&lt;/code&gt;&lt;br /&gt;&lt;code&gt;[00:00:00.057,739] &amp;lt;inf&amp;gt; ipc_radio: Received hci message of 36 bytes.&lt;/code&gt;&lt;br /&gt;&lt;code&gt;[00:00:00.058,074] &amp;lt;inf&amp;gt; ipc_radio: Sent message of 7 bytes.&lt;/code&gt;&lt;br /&gt;&lt;code&gt;[00:00:00.058,410] &amp;lt;inf&amp;gt; ipc_radio: Received hci message of 5 bytes.&lt;/code&gt;&lt;br /&gt;&lt;code&gt;[00:00:00.058,837] &amp;lt;inf&amp;gt; ipc_radio: Sent message of 7 bytes.&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;ASSERTION FAIL [0] @ WEST_TOPDIR/nrf/subsys/mpsl/init/mpsl_init.c:299&lt;/code&gt;&lt;br /&gt;&lt;code&gt; MPSL ASSERT: 112, 1557&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;[00:00:05.591,186] &amp;lt;err&amp;gt; os: ***** HARD FAULT *****&lt;/code&gt;&lt;br /&gt;&lt;code&gt;[00:00:05.591,186] &amp;lt;err&amp;gt; os: Fault escalation (see below)&lt;/code&gt;&lt;br /&gt;&lt;code&gt;[00:00:05.591,217] &amp;lt;err&amp;gt; os: ARCH_EXCEPT with reason 4&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;[00:00:05.591,247] &amp;lt;err&amp;gt; os: r0/a1: 0x00000004 r1/a2: 0x0000012b r2/a3: 0x00000002&lt;/code&gt;&lt;br /&gt;&lt;code&gt;[00:00:05.591,247] &amp;lt;err&amp;gt; os: r3/a4: 0x00000004 r12/ip: 0x00000010 r14/lr: 0x010221d3&lt;/code&gt;&lt;br /&gt;&lt;code&gt;[00:00:05.591,278] &amp;lt;err&amp;gt; os: xpsr: 0x0100001c&lt;/code&gt;&lt;br /&gt;&lt;code&gt;[00:00:05.591,278] &amp;lt;err&amp;gt; os: Faulting instruction address (r15/pc): 0x0102854a&lt;/code&gt;&lt;br /&gt;&lt;code&gt;[00:00:05.591,339] &amp;lt;err&amp;gt; os: &amp;gt;&amp;gt;&amp;gt; ZEPHYR FATAL ERROR 4: Kernel panic on CPU 0&lt;/code&gt;&lt;br /&gt;&lt;code&gt;[00:00:05.591,369] &amp;lt;err&amp;gt; os: Fault during interrupt handling&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;[00:00:05.591,400] &amp;lt;err&amp;gt; os: Current thread: 0x21006e98 (unknown)&lt;/code&gt;&lt;br /&gt;&lt;code&gt;[00:00:05.907,012] &amp;lt;err&amp;gt; os: Halting system&lt;/code&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
[quote userid="26071" url="~/f/nordic-q-a/118189/ipc-problem-with-a-custom-board-nrf5340/523410"]&lt;p&gt;Can you see any advertisements if you scan for nearby devices using your phone (nRF Connect for Android/iOS)?&lt;/p&gt;
&lt;p&gt;Can you connect to it? Does it maintain a stable connection?&lt;/p&gt;[/quote]
&lt;p&gt;I can&amp;#39;t because CPU_RADIO stopped working due to the assertion. I tested on my B2 to see if it was a Kconfig or overlay that I configured wrong, but on B2 the sample worked.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best Regards,&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;Brendow&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: IPC problem with a custom board nrf5340</title><link>https://devzone.nordicsemi.com/thread/523410?ContentTypeID=1</link><pubDate>Tue, 18 Feb 2025 08:04:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a645d5e5-e447-4db3-b7bf-e4f21b84da73</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello Brendow,&lt;/p&gt;
&lt;p&gt;Ok, let&amp;#39;s check some basics on your B1.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;For debugging purposes, can you please try to run a BLE sample? E.g.:&lt;/p&gt;
&lt;p&gt;NCS\nrf\samples\bluetooth\peripheral_uart&lt;/p&gt;
&lt;p&gt;Are you able to run it? Can you see any advertisements if you scan for nearby devices using your phone (nRF Connect for Android/iOS)?&lt;/p&gt;
&lt;p&gt;Can you connect to it? Does it maintain a stable connection?&lt;/p&gt;
&lt;p&gt;BR,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: IPC problem with a custom board nrf5340</title><link>https://devzone.nordicsemi.com/thread/522648?ContentTypeID=1</link><pubDate>Wed, 12 Feb 2025 12:59:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:425c76fe-f74c-4f1d-bfc7-953766eb097f</guid><dc:creator>brendow</dc:creator><description>[quote userid="26071" url="~/f/nordic-q-a/118189/ipc-problem-with-a-custom-board-nrf5340/522572"]Was this before or after using the internal oscillator?[/quote]
&lt;p&gt;Using the external and the internal is the same result. The shell only appears when I&amp;#39;ve added&amp;nbsp;the delay on my B1.&lt;/p&gt;
[quote userid="26071" url="~/f/nordic-q-a/118189/ipc-problem-with-a-custom-board-nrf5340/522572"]So it is only one device where you are seeing these issues?[/quote]
&lt;p&gt;Yes, just on a specific board (B1).&lt;/p&gt;
[quote userid="26071" url="~/f/nordic-q-a/118189/ipc-problem-with-a-custom-board-nrf5340/522572"]Is it in a particularly noisy environment?[/quote]
&lt;p&gt;I don&amp;#39;t think so, the board is connected to my&amp;nbsp;computer USB, and I&amp;#39;m trying to create a Thread network using two boards with the &lt;code&gt;ot-cli&lt;/code&gt; sample.&lt;/p&gt;
[quote userid="26071" url="~/f/nordic-q-a/118189/ipc-problem-with-a-custom-board-nrf5340/522572"]Have you tried it on a DK? Do you see the same issue there?[/quote]
&lt;p&gt;Yes, I tried and No, I don&amp;#39;t. Everything works the same when testing on B2&amp;nbsp;or DK.&amp;nbsp; I don&amp;#39;t think this might be a problem in your code, it&amp;#39;s more about an issue&amp;nbsp;in this specific custom board (B1) that I&amp;#39;m trying to figure out what&amp;#39;s going on.&lt;/p&gt;
[quote userid="26071" url="~/f/nordic-q-a/118189/ipc-problem-with-a-custom-board-nrf5340/522572"]Can you please specify the chain of ot-cli commands that you call, and where it gets stuck (on what command)?[/quote]
&lt;p&gt;I use the following commands:&lt;/p&gt;
&lt;p&gt;&lt;code&gt;ot scan&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;here is the &lt;a href="https://imgur.com/a/wKx0D1k"&gt;image&lt;/a&gt; of my shell using the B1 and the &lt;a href="https://imgur.com/a/uvZ8abg"&gt;image&lt;/a&gt; using the B2. I only used&lt;code&gt; ot scan &lt;/code&gt;on both boards after connecting to the shell.&lt;/p&gt;
&lt;p&gt;The B1&amp;nbsp;gets stuck because the IRQ on the CPU_NET never happens after the CPU_APP calls the&lt;code&gt;&amp;nbsp;&lt;span&gt;nrf_802154_transmit_csma_ca_raw(). &lt;/span&gt;&lt;/code&gt;Then, the&lt;code&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;span&gt;nrf_802154_transmitted_raw() &lt;/span&gt;&lt;/code&gt;is never called on the B1&amp;#39;s CPU_NET.&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&lt;span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;Best&amp;nbsp;regards,&lt;/p&gt;
&lt;p&gt;Brendow&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: IPC problem with a custom board nrf5340</title><link>https://devzone.nordicsemi.com/thread/522572?ContentTypeID=1</link><pubDate>Wed, 12 Feb 2025 08:24:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d3ee365d-f2a0-4eb3-a7a1-68e503b8a012</guid><dc:creator>Edvin</dc:creator><description>[quote user="brendow"]&lt;code&gt;k_msleep(100)&lt;/code&gt; inside the while loop in the &lt;code&gt;clock_init()&lt;/code&gt;, it started working[/quote]
&lt;p&gt;Was this before or after using the internal oscillator?&lt;/p&gt;
&lt;p&gt;So it is only one device where you are seeing these issues? Is it in a particularly noisy environment? Have you tried it on a DK? Do you see the same issue there?&lt;/p&gt;
&lt;p&gt;Also, with the board that is getting stuck. Can you please specify the chain of ot-cli commands that you call, and where it gets stuck (on what command)?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: IPC problem with a custom board nrf5340</title><link>https://devzone.nordicsemi.com/thread/522302?ContentTypeID=1</link><pubDate>Mon, 10 Feb 2025 20:31:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0318902e-1a8d-4fb5-abf6-f262bbf0d23a</guid><dc:creator>brendow</dc:creator><description>&lt;p&gt;Hi Edvin, I bring some updates.&lt;/p&gt;
&lt;p&gt;I have two custom boards here. One of them, which I&amp;#39;m having trouble with, has an external LFXTAL , while the other one doesn&amp;rsquo;t. I decided to test both boards using only the internal oscillator.&lt;/p&gt;
&lt;p&gt;The board with the external LFXTAL and the issue will be called &lt;strong&gt;B1&lt;/strong&gt;, and the board without it will be called &lt;strong&gt;B2&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;There seems to be something wrong with the nrf5340 on the&amp;nbsp;&lt;strong&gt;B1&lt;/strong&gt;. As I mentioned in the previous thread, when I was flashing the &lt;code&gt;radio_shell&lt;/code&gt;, the terminal I was accessing via USB was blank. However, after I added a &lt;code&gt;k_msleep(100)&lt;/code&gt; inside the while loop in the &lt;code&gt;clock_init()&lt;/code&gt;, it started working.&lt;/p&gt;
&lt;p&gt;I&amp;rsquo;m not sure why adding this 100ms delay in the loop makes a difference. The only explanation I can think of is that the while loop isn&amp;rsquo;t giving the CPU enough time to run other processes, but that shouldn&amp;rsquo;t be happening.&lt;/p&gt;
&lt;p&gt;So, I tested the same code without the 100ms delay on &lt;strong&gt;B2&lt;/strong&gt;, and it worked fine.&lt;/p&gt;
&lt;p&gt;After this, I flashed the &lt;code&gt;ot-cli&lt;/code&gt; sample on &lt;strong&gt;B2&lt;/strong&gt;, and it also worked. So, the issue seems to be with &lt;strong&gt;B1&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;While debugging both boards using &lt;code&gt;CONFIG_NRF_802154_SER_LOG=y&lt;/code&gt;, I noticed that the CPU_APP on &lt;strong&gt;B1&lt;/strong&gt; gets stuck at &lt;code&gt;net_generic_bool_response_await&lt;/code&gt;, specifically at this &lt;a href="https://github.com/zephyrproject-rtos/zephyr/blob/main/drivers/ieee802154/ieee802154_nrf5.c#L633"&gt;semaphore&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Meanwhile, on &lt;strong&gt;B1&lt;/strong&gt;, CPU_NET&amp;rsquo;s last message is sending a spinel frame.&lt;/p&gt;
&lt;p&gt;However, when I debugged &lt;strong&gt;B2&lt;/strong&gt;, I saw that after CPU_NET sends&amp;nbsp;a frame to CPU_APP, it calls the function &lt;a href="https://github.com/nrfconnect/sdk-nrfxlib/blob/v2.9-branch/nrf_802154/serialization/src/nrf_802154_spinel_net.c#L281"&gt;&lt;code&gt;nrf_802154_transmitted_raw&lt;/code&gt;&lt;/a&gt; because of an IRQ in &lt;code&gt;&lt;a href="https://github.com/nrfconnect/sdk-nrfxlib/blob/v2.9-branch/nrf_802154/driver/src/nrf_802154_swi.c#L73"&gt;swi_irq_handler()&lt;/a&gt;&lt;/code&gt;, which triggers &lt;code&gt;&lt;a href="https://github.com/nrfconnect/sdk-nrfxlib/blob/v2.9-branch/nrf_802154/driver/src/nrf_802154_notification_swi.c#L796"&gt;nrf_802154_notification_swi()&lt;/a&gt;&lt;/code&gt; and eventually calls&lt;code&gt;&lt;a href="https://github.com/nrfconnect/sdk-nrfxlib/blob/v2.9-branch/nrf_802154/driver/src/nrf_802154_notification_swi.c#L734"&gt; nrf_802154_transmitted_raw()&lt;/a&gt;&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;But when I debug &lt;strong&gt;B1&lt;/strong&gt;, I see that the IRQ caused by nrf_swi never happens. Why is that? Could it be an issue with the nrf5340? Since I&amp;rsquo;m now using the RC oscillator, is there something on the board that could be causing problems?&lt;/p&gt;
&lt;p&gt;I don&amp;#39;t know why, but the IRQ that should be called after CPU_APP calls &lt;code&gt;nrf_802154_transmit_csma_ca_raw&lt;/code&gt; never happens.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best Regards,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Brendow&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: IPC problem with a custom board nrf5340</title><link>https://devzone.nordicsemi.com/thread/520733?ContentTypeID=1</link><pubDate>Thu, 30 Jan 2025 13:47:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8cba2e5b-059d-43c0-919f-f74f5686034e</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I know that there have been issues with the IPC samples before (although I don&amp;#39;t know the current state of it). The IPC communication between the application core and network core on the nRF5340, on the other hand, usually works without any issues. There aren&amp;#39;t any external components needed for this, so it is probably not related to the issue that you are seeing.&lt;/p&gt;
[quote user="brendow"]Could it be a problem with my devicetree, Kconfig or maybe HFXO?[/quote]
&lt;p&gt;That is more likely to be the &amp;quot;issue&amp;quot;. Either that something is not configured correctly, or possibly that some components are out of specification.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Does your custom board have an LFXTAL? If not, try adding this to your prj.conf:&lt;/p&gt;
&lt;p&gt;CONFIG_CLOCK_CONTROL_NRF_K32SRC_RC=y&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: IPC problem with a custom board nrf5340</title><link>https://devzone.nordicsemi.com/thread/520265?ContentTypeID=1</link><pubDate>Mon, 27 Jan 2025 19:35:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9b56d03d-8340-48e4-8e79-90229df45cfc</guid><dc:creator>brendow</dc:creator><description>&lt;p&gt;Hi Edvin,&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
[quote userid="26071" url="~/f/nordic-q-a/118189/ipc-problem-with-a-custom-board-nrf5340/519887"]Are you able to reproduce the original issue you are having on the openthread sample on a DK? [/quote]
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I don&amp;#39;t have a problem building these samples in my DK, only when using my custom board.&lt;/p&gt;
[quote userid="26071" url="~/f/nordic-q-a/118189/ipc-problem-with-a-custom-board-nrf5340/519887"]Are you using nRF Connect SDK v2.9.0 for everything here?[/quote]
&lt;p&gt;Yes.&lt;/p&gt;
&lt;p&gt;My question is: How can I see if IPC is working on my custom board? Because I&amp;#39;m unable to access the ipc shell from radio_test sample and the ipc_service had&amp;nbsp;results different from your examples.&lt;/p&gt;
&lt;p&gt;Could it be a problem with my devicetree, Kconfig or maybe HFXO?&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Brendow&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: IPC problem with a custom board nrf5340</title><link>https://devzone.nordicsemi.com/thread/519887?ContentTypeID=1</link><pubDate>Thu, 23 Jan 2025 22:58:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bdec2381-55ea-46a8-884e-ff6cf18413a0</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;A lot of information here. Are you able to reproduce the original issue you are having on the openthread sample on a DK? If so, is it possible to upload that application here, so that I can have a look?&lt;/p&gt;
&lt;p&gt;Are you using nRF Connect SDK v2.9.0 for everything here?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>