<?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>Sample ipc_service failed in NCS v2.3.0</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/97387/sample-ipc_service-failed-in-ncs-v2-3-0</link><description>Hello ! 
 I have compiled sampel ncs/v2.3.0/nrf/samples/ipc/ipc_service without any overlays west build -p --board nrf5340dk_nrf5340_cpuapp and west flash --recover it. 
 Looks like it doesn&amp;#39;t work in new release 
 
 Network core traces 
 *** Booting</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 16 Mar 2023 14:33:56 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/97387/sample-ipc_service-failed-in-ncs-v2-3-0" /><item><title>RE: Sample ipc_service failed in NCS v2.3.0</title><link>https://devzone.nordicsemi.com/thread/415760?ContentTypeID=1</link><pubDate>Thu, 16 Mar 2023 14:33:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:afe51bd6-7388-4c02-820a-4894fe7b3d2f</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;Eugene,&lt;/p&gt;
&lt;p&gt;I&amp;nbsp;referred to Synchronized RTC sample just for the description of RTC synchronization.&amp;nbsp;CONFIG_IPM is not enabled in the IPC Service sample. (Though some other IPM related configs are used by the sync RTC implementation like&amp;nbsp;NRF53_SYNC_RTC_IPM_OUT, but these have the default values / IPC channel assignments, and are not set explicitly in the sample).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Sample ipc_service failed in NCS v2.3.0</title><link>https://devzone.nordicsemi.com/thread/415663?ContentTypeID=1</link><pubDate>Thu, 16 Mar 2023 11:06:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:02e4af0e-8e54-4eb1-9d89-604a60bda016</guid><dc:creator>Hiihtaja</dc:creator><description>&lt;p&gt;Hi Einar !&lt;/p&gt;
&lt;p&gt;I check my .config and sample and&lt;/p&gt;
&lt;p&gt;# CONFIG_IPM is not set&lt;/p&gt;
&lt;p&gt;anywhere but in synchronised RTC sample mentioned that IPM protocol is in use.&lt;/p&gt;
&lt;p&gt;Or this is not the same ?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Eugene&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Sample ipc_service failed in NCS v2.3.0</title><link>https://devzone.nordicsemi.com/thread/415659?ContentTypeID=1</link><pubDate>Thu, 16 Mar 2023 10:43:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0edf3748-36c8-4ba9-97aa-65f45f2ab062</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;Eugene,&lt;/p&gt;
&lt;p&gt;I see. I have till not been able to track down what caused the issue with IPC performance in SDK 2.3.0, but I am looking into it and checking with the developers.&lt;/p&gt;
&lt;p&gt;Regarding&amp;nbsp;RTC synchronization, the point of this feature is to have the same time reference on the net core and app core, for instance for logging (which has a dependency on it). This is based on the same clock, so there is just a need to communicate and use a offset. You can see the documentation for the &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.3.0/zephyr/samples/boards/nrf/nrf53_sync_rtc/README.html"&gt;Synchronized RTC sample&lt;/a&gt;&amp;nbsp;for a bit more information on that. You will need to remove more functionality in order to disable it, setting&amp;nbsp;&lt;code&gt;CONFIG_LOG_MODE_MINIMAL=y&lt;/code&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Sample ipc_service failed in NCS v2.3.0</title><link>https://devzone.nordicsemi.com/thread/415594?ContentTypeID=1</link><pubDate>Thu, 16 Mar 2023 06:33:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:da392dd0-8574-4eec-a470-2853b08a56c5</guid><dc:creator>Hiihtaja</dc:creator><description>&lt;p&gt;Hi Einar !&lt;/p&gt;
&lt;p&gt;In sample you need to change timeout for demo if&amp;nbsp; it expect to work out of box.&lt;/p&gt;
&lt;p&gt;And open question is remain how-to disable RTC sync in both core in correct ways&lt;/p&gt;
&lt;p&gt;and for what reason this sync is really need ?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Eugene&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Sample ipc_service failed in NCS v2.3.0</title><link>https://devzone.nordicsemi.com/thread/415536?ContentTypeID=1</link><pubDate>Wed, 15 Mar 2023 15:33:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:28a7d6fe-dbcb-4a8f-9f10-bba0f2ddb828</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;Eugene,&lt;/p&gt;
&lt;p&gt;I am sorry for the late reply. Did you resolve this? If not, can you elaborate on the issue (what you are seeing, what you are doing, and what you are expecting)?&lt;/p&gt;
&lt;p&gt;Einar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Sample ipc_service failed in NCS v2.3.0</title><link>https://devzone.nordicsemi.com/thread/413947?ContentTypeID=1</link><pubDate>Tue, 07 Mar 2023 17:38:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:eb924329-e605-4b39-9d20-e9fcd9c95833</guid><dc:creator>Hiihtaja</dc:creator><description>&lt;p&gt;Hi Einar !&lt;/p&gt;
&lt;p&gt;Looks like RTC_SYNC is automatically added to my custom network core automatically.&lt;/p&gt;
&lt;p&gt;*** Bootnghyr O uld v3.2.99-ns2 ***&lt;br /&gt;Hello world from net nrf5340dcpunet, data Mar 7 2023, time 14:1:10&lt;br /&gt;OSF I-srvienrf540dk_nf0et started&lt;br /&gt;[00:00:00.027,862]nc_rtc: Updated timetamp to synchronized RTC by 294 ticks (8972us)&amp;Delta;pkt: 249 (255 B/pkt) | throughput: 507960 bit/s&lt;br /&gt;&amp;Delta;pkt: 248 (255 B/pkt) | throughput: 505920 bit/s&lt;br /&gt;&amp;Delta;pkt: 248 (255 B/pkt) | throughput: 505920 bit/s&lt;/p&gt;
&lt;p&gt;I have disabled it&amp;nbsp;&lt;/p&gt;
&lt;p&gt;# IPC service&lt;br /&gt;CONFIG_IPC_SERVICE=y&lt;br /&gt;CONFIG_HEAP_MEM_POOL_SIZE=4096&lt;br /&gt;CONFIG_OPENAMP=y&lt;br /&gt;CONFIG_OPENAMP_SLAVE=y&lt;br /&gt;CONFIG_OPENAMP_MASTER=n&lt;br /&gt;CONFIG_IPC_SERVICE_BACKEND_RPMSG=y&lt;br /&gt;CONFIG_MBOX=y&lt;br /&gt;CONFIG_NRF53_SYNC_RTC=n&lt;br /&gt;#CONFIG_MBOX_NRFX_IPC=n&lt;br /&gt;CONFIG_IPM=n&lt;br /&gt;CONFIG_IPC_SERVICE_LOG_LEVEL_INF=y&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I have added&amp;nbsp;&lt;span&gt;CONFIG_NRF53_SYNC_RTC=n&amp;nbsp; to application core as well. At list build is not complain.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Eugene&lt;/span&gt;&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><item><title>RE: Sample ipc_service failed in NCS v2.3.0</title><link>https://devzone.nordicsemi.com/thread/413929?ContentTypeID=1</link><pubDate>Tue, 07 Mar 2023 16:17:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:84bb1609-2d53-4300-b716-357fa0044e0a</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;You are right, the sample seems broken in nRF Connect SDK 2.3.0. I have not been able to get to the bottom of this yet, but will look into it.&lt;/p&gt;
&lt;p&gt;Regarding RTC synchronization, &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/kconfig/index.html#CONFIG_NRF53_SYNC_RTC"&gt;CONFIG_NRF53_SYNC_RTC&lt;/a&gt; is set to y by default in most cases.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Sample ipc_service failed in NCS v2.3.0</title><link>https://devzone.nordicsemi.com/thread/413708?ContentTypeID=1</link><pubDate>Tue, 07 Mar 2023 07:21:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:be65bceb-f08d-4b17-84d0-263533bf2901</guid><dc:creator>Hiihtaja</dc:creator><description>&lt;p&gt;Hi !&lt;/p&gt;
&lt;p&gt;I think, very short interval is set by default&lt;/p&gt;
&lt;p&gt;with&amp;nbsp;CONFIG_APP_IPC_SERVICE_SEND_INTERVAL=20000&lt;/p&gt;
&lt;p&gt;Traces are visible from both cores:&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;*** Booting Zephyr OS build v3.2.99-ncs2 ***&lt;br /&gt;IPC-service nrf5340dk_nrf5340_cpunet demo started&lt;br /&gt;[00:00:00.520,477] &amp;lt;inf&amp;gt; sync_rtc: Updated timestamp to synchronized RTC by 8360 ticks (255126us)&lt;br /&gt;&amp;Delta;pkt: 50 (100 B/pkt) | throughput: 40000 bit/s&lt;br /&gt;&amp;Delta;pkt: 50 (100 B/pkt) | throughput: 40000 bit/s&lt;br /&gt;&amp;Delta;pkt: 49 (100 B/pkt) | throughput: 39200 bit/s&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;*** Booting Zephyr OS build v3.2.99-ncs2 ***&lt;br /&gt;IPC-service nrf5340dk_nrf5340_cpuapp demo started&lt;br /&gt;&amp;Delta;pkt: 50 (100 B/pkt) | throughput: 40000 bit/s&lt;br /&gt;&amp;Delta;pkt: 50 (100 B/pkt) | throughput: 40000 bit/s&lt;br /&gt;&amp;Delta;pkt: 50 (100 B/pkt) | throughput: 40000 bit/s&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;But&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;from what component come trace&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;[00:00:00.520,477] &amp;lt;inf&amp;gt; sync_rtc: Updated timestamp to synchronized RTC by 8360 ticks (255126us)&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;RTC syncronization should be disabled by default ?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Regards, Eugene&lt;/span&gt;&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>