<?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 communication</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/125707/nrf5340-ipc-communication</link><description>Hello, 
 I am using Nordic nRF Connect SDK v3.1.1 and nRF5340DK board. 
 My project is based on the project: GitHub - nordic-auko/nRF5-ble-timesync-demo: nRF52 clock synchronization demo code . 
 
 I added communication via BLE to timesync app and I built</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 25 Nov 2025 11:04:35 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/125707/nrf5340-ipc-communication" /><item><title>RE: nRF5340 IPC communication</title><link>https://devzone.nordicsemi.com/thread/555363?ContentTypeID=1</link><pubDate>Tue, 25 Nov 2025 11:04:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dc45fc69-8262-42c6-9df4-d24a1f08caeb</guid><dc:creator>Kazi Afroza Sultana</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;For sending ADC sampling data from App core to netcore is simply you just need to call BLE notification function. If you run the timesync on the netcore, you need to have a way to send that sampling data to BLE application. You&amp;nbsp;&lt;span&gt;need to put the timestamp and the ADC sample together. Most likely in the form of the TIMER counter.&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF5340 IPC communication</title><link>https://devzone.nordicsemi.com/thread/555112?ContentTypeID=1</link><pubDate>Sat, 22 Nov 2025 16:55:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4fffa047-7708-43bc-bbde-3fd7213451fc</guid><dc:creator>Kazi Afroza Sultana</dc:creator><description>&lt;p&gt;&amp;#39;&amp;#39;&lt;strong&gt;If I want to establish two-way IPC communication, do I need to add additional mechanisms to avoid errors or data loss?&amp;#39;&amp;#39;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;I will ask team for details explanation of this query.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Is the method of sending data via IPC presented in the &amp;quot;ipc_service&amp;quot; sample (extended to send data array from ADC) suitable for my purposes?&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;yes.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF5340 IPC communication</title><link>https://devzone.nordicsemi.com/thread/555111?ContentTypeID=1</link><pubDate>Sat, 22 Nov 2025 16:43:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:08a202b2-c0a2-4a53-9d99-e1a9847d9fe3</guid><dc:creator>Kazi Afroza Sultana</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;&amp;#39;&amp;#39;&lt;strong&gt;Will the IPC implementation slow down my application or is it fast enough that I can read data from the ADC on cpuapp every 10 ms (or even every 8 ms), then send it via IPC to cpunet, and then send it from cpunet to the receiver via BLE ?&amp;nbsp; &amp;nbsp; &amp;nbsp;[ each of these steps should occur every 10ms ]&amp;#39;&amp;#39;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Yes, it is possible as ipc_service sample on nRF5340 sends 100-byte packets as fast as possible between the cores and reports throughput of 7.5 Mbit/s (application core) and 5.3 Mbit/s (network core)&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1763825961356v5.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1763826068161v7.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/samples/ipc/ipc_service/README.html#testing"&gt;IPC service&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;You just need to verify the BLE link budget and timing with your actual payload size and connection parameters. You can read the following documentation:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://academy.nordicsemi.com/courses/nrf-connect-sdk-intermediate/lessons/lesson-6-analog-to-digital-converter-adc/topic/choosing-between-zephyr-adc-api-and-nrfx-saadc-driver-api/#nrfx-SAADC-use-cases"&gt;Choosing between Zephyr ADC API and nrfx SAADC driver API - Nordic Developer Academy&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/102531/can-t-send-data-via-ble-nus-service-at-high-speed-and-leads-to-disconnection"&gt;(+) can&amp;#39;t send data via ble nus service at high speed and leads to disconnection - Nordic Q&amp;amp;A - Nordic DevZone - Nordic DevZone&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;#39;&amp;#39;&lt;strong&gt;How much data (how many Bytes) can be sent via IPC so that the transmission does not slow down the rest of the application?&amp;#39;&amp;#39;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;There is specific fixed rate. It depends on the application. You can read this previous case&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/107302/nrf5340-evaluate-options-for-fast-reliable-data-transfer-method-between-cores/465892"&gt;(+) nRF5340, evaluate options for fast/reliable data transfer method between cores - Nordic Q&amp;amp;A - Nordic DevZone - Nordic DevZone&lt;/a&gt;.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Can cpuapp and cpunet communication via IPC work both ways equally well (cpuapp -&amp;gt; cpunet or cpunet -&amp;gt; cpuapp) ?&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Yes.&lt;/p&gt;
&lt;p&gt;&amp;#39;&amp;#39;Both application and network core send data to each other in the time interval specified by the&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/samples/ipc/ipc_service/README.html#config-app-ipc-service-send-interval"&gt;&lt;span&gt;CONFIG_APP_IPC_SERVICE_SEND_INTERVAL&lt;/span&gt;&lt;/a&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;option. You can change the value and observe how the throughput on each core changes.&amp;#39;&amp;#39; source:&amp;nbsp;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/samples/ipc/ipc_service/README.html#configuration"&gt;https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/samples/ipc/ipc_service/README.html#configuration&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&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>