<?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 IPC &amp;amp; OpenAMP</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/126005/nrf5340-ipc-openamp</link><description>My first dual-core project: 
 - custom board with nRF5340 + nRF7002 + nRF21540 
 - nRF Connect SDK 3.0.1 
 1) I successfully ported nrf/samples/wifi/radio_test/multi_domain sample to cpuapp to test WiFi radio HW, choosing nrf7002dk/nrf5340/cpuapp board</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 09 Dec 2025 06:59:34 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/126005/nrf5340-ipc-openamp" /><item><title>RE: nRF5340 IPC &amp; OpenAMP</title><link>https://devzone.nordicsemi.com/thread/556516?ContentTypeID=1</link><pubDate>Tue, 09 Dec 2025 06:59:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b05886ac-1dd0-4b90-9465-fc5dacc74ac8</guid><dc:creator>MartinZ</dc:creator><description>&lt;p&gt;When&amp;nbsp;merging 1) and 2), I have the&lt;span&gt;&amp;nbsp;cpuapp FW based on 1) and the cpunet based on 2) so I have both projects based on&amp;nbsp;nrf7002dk/nrf5340 board, as stated above. So&amp;nbsp;there is no&amp;nbsp;nrf5340dk_nrf5340_cpuapp.overlay. I&amp;nbsp;also don&amp;#39;t have the sysbuild folder.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;In the meantime, I managed to join the BLE and WiFi radio test by going the other way around: I took both the cpunet and cpuapp from 2) as starting point and added WiFi functionality to cpuapp.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF5340 IPC &amp; OpenAMP</title><link>https://devzone.nordicsemi.com/thread/556480?ContentTypeID=1</link><pubDate>Mon, 08 Dec 2025 14:48:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cce1b0a9-18d6-4c19-a4b4-75f79c1c5429</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Could you try to add the following content to&amp;nbsp;&lt;span&gt;boards/&lt;/span&gt;nrf5340dk_nrf5340_cpuapp.overlay and&amp;nbsp;sysbuild/ipc_radio/boards/nrf5340dk_nrf5340_cpunet.overlay and let me know the result?&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;/*
 * Copyright (c) 2021 Carlo Caione &amp;lt;ccaione@baylibre.com&amp;gt;
 *
 * SPDX-License-Identifier: Apache-2.0
 */

#include &amp;lt;zephyr/dt-bindings/ipc_service/static_vrings.h&amp;gt;

/ {
	chosen {
		/delete-property/ zephyr,ipc_shm;
	};

	reserved-memory {
		/delete-node/ memory@20070000;

		sram_ipc0: memory@20070000 {
			reg = &amp;lt;0x20070000 0x8000&amp;gt;;
		};

		sram_ipc1: memory@20078000 {
			reg = &amp;lt;0x20078000 0x8000&amp;gt;;
		};
	};

	ipc {
		/delete-node/ ipc0;

		ipc0: ipc0 {
			compatible = &amp;quot;zephyr,ipc-openamp-static-vrings&amp;quot;;
			memory-region = &amp;lt;&amp;amp;sram_ipc0&amp;gt;;
			mboxes = &amp;lt;&amp;amp;mbox 0&amp;gt;, &amp;lt;&amp;amp;mbox 1&amp;gt;;
			mbox-names = &amp;quot;tx&amp;quot;, &amp;quot;rx&amp;quot;;
			role = &amp;quot;host&amp;quot;;
			status = &amp;quot;okay&amp;quot;;

			bt_hci_ipc0: bt_hci_ipc0 {
				compatible = &amp;quot;zephyr,bt-hci-ipc&amp;quot;;
				status = &amp;quot;okay&amp;quot;;
			};
		};

		ipc1: ipc1 {
			compatible = &amp;quot;zephyr,ipc-openamp-static-vrings&amp;quot;;
			memory-region = &amp;lt;&amp;amp;sram_ipc1&amp;gt;;
			mboxes = &amp;lt;&amp;amp;mbox 2&amp;gt;, &amp;lt;&amp;amp;mbox 3&amp;gt;;
			mbox-names = &amp;quot;tx&amp;quot;, &amp;quot;rx&amp;quot;;
			role = &amp;quot;host&amp;quot;;
			zephyr,priority = &amp;lt;1 PRIO_COOP&amp;gt;;
			zephyr,buffer-size = &amp;lt;128&amp;gt;;
			status = &amp;quot;okay&amp;quot;;
		};
	};
};&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF5340 IPC &amp; OpenAMP</title><link>https://devzone.nordicsemi.com/thread/556420?ContentTypeID=1</link><pubDate>Mon, 08 Dec 2025 08:45:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d1f200bb-9630-4a6b-833a-ea161387db35</guid><dc:creator>MartinZ</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I added the configuration from your link to my&amp;nbsp;overlay file (I&amp;nbsp;only kept the ipc0 and deleted the ipc1 part). The build was successful but both issues remain:&lt;/p&gt;
&lt;p&gt;-&amp;nbsp;&lt;span&gt;Missing dependencies:&amp;nbsp;DT_HAS_ZEPHYR_IPC_OPENAMP_STATIC_VRINGS_ENABLED&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;- ENOMEM error&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;There was an additional one: when I hover over &lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;reserved-memory&lt;/span&gt; part in the overlay, I get this tip:&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;You are using Partition Manager to define the partitions. Devicetree definitions are ignored for this build.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;So I followed this link:&amp;nbsp;&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/74571/how-to-configure-flash-and-ram-partitions"&gt;How to configure flash and RAM partitions&lt;/a&gt;&amp;nbsp;and copied&amp;nbsp;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;build/partitions.yml&lt;/span&gt; to &lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;&amp;lt;project folder&amp;gt;/pm_static.yml&lt;/span&gt;,&amp;nbsp;and replaced its contents with&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;sram_ipc0: 
  address: 0x20070000
  end_address: 0x20080000
  region: sram_primary
  size: 0x10000&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;I also removed the&amp;nbsp;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;reserved-memory&lt;/span&gt;&lt;span&gt;&amp;nbsp;part from the overlay.&lt;/span&gt; The build now fails with&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;devicetree error: /ipc/ipc0: undefined node label &amp;#39;sram_ipc0&amp;#39;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;So to wrap up: I still have the missing&amp;nbsp;&lt;span&gt;DT_HAS_ZEPHYR_IPC_OPENAMP_STATIC_VRINGS_ENABLED dependency and I don&amp;#39;t know how to correctly reserve a SRAM partition for IPC.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF5340 IPC &amp; OpenAMP</title><link>https://devzone.nordicsemi.com/thread/556383?ContentTypeID=1</link><pubDate>Fri, 05 Dec 2025 20:32:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:050c980f-4e76-4334-a8d5-864d11e55f10</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
[quote user=""]CONFIG_IPC_SERVICE_BACKEND_RPMSG was assigned the value y, but got the value n. Missing dependencies:&amp;nbsp;DT_HAS_ZEPHYR_IPC_OPENAMP_STATIC_VRINGS_ENABLED[/quote]
&lt;p&gt;&lt;span&gt;This means the devicetree for your&amp;nbsp;&lt;/span&gt;&lt;strong&gt;cpuapp&lt;/strong&gt;&lt;span&gt;&amp;nbsp;build does not contain a node for&amp;nbsp;&amp;quot;zephyr,ipc-openamp-static-vrings&amp;quot;;&amp;nbsp; You can refer to &lt;a href="https://github.com/nrfconnect/sdk-zephyr/blob/ncs-v3.0.99-snapshot1/samples/subsys/ipc/ipc_service/static_vrings/boards/nrf5340dk_nrf5340_cpuapp.overlay"&gt;https://github.com/nrfconnect/sdk-zephyr/blob/ncs-v3.0.99-snapshot1/samples/subsys/ipc/ipc_service/static_vrings/boards/nrf5340dk_nrf5340_cpuapp.overlay&lt;/a&gt;&amp;nbsp;to enable it.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
[quote user=""]&lt;p&gt;&lt;span&gt;If I flash both FWs to respective cores, I get error -12 from&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;shell_ipc_host_init() -&amp;gt;&amp;nbsp;ipc_init() -&amp;gt;&amp;nbsp;ipc_service_open_instance() -&amp;gt;&amp;nbsp;backend-&amp;gt;open_instance()&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;call chain.&lt;/span&gt;&lt;/div&gt;[/quote]
&lt;p&gt;&lt;code dir="ltr"&gt;-12&lt;/code&gt;&amp;nbsp;is&amp;nbsp;&lt;code dir="ltr"&gt;-ENOMEM&lt;/code&gt;. You can refer to&amp;nbsp;&lt;a href="https://github.com/nrfconnect/sdk-zephyr/blob/ncs-v3.0.99-snapshot1/samples/subsys/ipc/ipc_service/static_vrings/boards/nrf5340dk_nrf5340_cpuapp.overlay"&gt;https://github.com/nrfconnect/sdk-zephyr/blob/ncs-v3.0.99-snapshot1/samples/subsys/ipc/ipc_service/static_vrings/boards/nrf5340dk_nrf5340_cpuapp.overlay&lt;/a&gt;&amp;nbsp;&amp;nbsp;to adjust the partition.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Amanda H.&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>