<?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>Cannot read value using GPMEM over IPC on nrf7002DK</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/115496/cannot-read-value-using-gpmem-over-ipc-on-nrf7002dk</link><description>Hello, 
 I made a firmware that uses the IPC from the net core to the app core on the nrf700DK board. 
 I can read the events that generate callback on the receiver core (app core). I want to pass a value from the net to the app core using GPMEM. 
 I</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 17 Oct 2024 12:42:51 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/115496/cannot-read-value-using-gpmem-over-ipc-on-nrf7002dk" /><item><title>RE: Cannot read value using GPMEM over IPC on nrf7002DK</title><link>https://devzone.nordicsemi.com/thread/506724?ContentTypeID=1</link><pubDate>Thu, 17 Oct 2024 12:42:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:daa7e7e8-b505-431b-a159-48db6c52a839</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;So, me and you both seems to have misunderstood the GPMEM registers here.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;As per the product specification:&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&lt;strong&gt;&amp;quot;General purpose memory&lt;/strong&gt;&lt;/em&gt;&lt;br /&gt;&lt;em&gt;The GPMEM registers can be used freely to store information. These registers are accessed like any other of the IPC peripheral&amp;#39;s registers. Note that&lt;strong&gt; the contents of the GPMEM registers are not shared&lt;/strong&gt; between the instances of the peripherals. I.e. &lt;strong&gt;writing the GPMEM register of one peripheral does not change the value in another&lt;/strong&gt;.&amp;quot;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;As well as the following:&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&amp;quot;&lt;span&gt;&lt;span dir="ltr"&gt;An IPC event often does not contain any data itself, it is used to signal other MCUs that something has occurred. Data can be shared through shared memory, for example in the form of a software implemented mailbox, or command/event queues. It is up to software to assign a logical functionality to an IPC channel. For instance, one IPC channel can be used to signal that a command is ready to be executed, and any processor in the system can subscribe to that particular IPC channel and decode/execute the&lt;/span&gt;&lt;/span&gt;&lt;/em&gt;&lt;span dir="ltr"&gt; command.&amp;quot;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span dir="ltr"&gt;So, these IPC events don&amp;#39;t contain any data in and of themselves, but just signal to the other core that something occurred. Then data can be shared through shared memory.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span dir="ltr"&gt;Best regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span dir="ltr"&gt;Simon&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Cannot read value using GPMEM over IPC on nrf7002DK</title><link>https://devzone.nordicsemi.com/thread/506642?ContentTypeID=1</link><pubDate>Thu, 17 Oct 2024 08:14:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:97dd1f5f-9f8c-4499-b795-1ee9da466a2b</guid><dc:creator>Riccardo</dc:creator><description>&lt;p&gt;Hi Simon,&lt;/p&gt;
&lt;p&gt;thank you. We can continue here.&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Cannot read value using GPMEM over IPC on nrf7002DK</title><link>https://devzone.nordicsemi.com/thread/506637?ContentTypeID=1</link><pubDate>Thu, 17 Oct 2024 08:07:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7a6a0dfd-a7e6-4ad7-9f1d-b2490a1d2903</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi Ricardo&lt;/p&gt;
&lt;p&gt;I have created an internal request on how to use the &lt;strong&gt;gpmem_get&lt;/strong&gt;() function here, as I don&amp;#39;t see what you&amp;#39;re doing wrong either, and will get back to you when I hear from the devs on this. I also saw the new private ticket you created. Would you rather continue there or should we keep updates in this ticket?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Cannot read value using GPMEM over IPC on nrf7002DK</title><link>https://devzone.nordicsemi.com/thread/506325?ContentTypeID=1</link><pubDate>Tue, 15 Oct 2024 13:10:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a255c238-0832-4e84-9dc9-770b95d1a8f9</guid><dc:creator>Riccardo</dc:creator><description>&lt;p&gt;I appreciate the links you provided but I&amp;#39;m having trouble finding information on how to use &lt;strong&gt;nrfx_ipc_gpmem_get()&lt;/strong&gt;. I don&amp;#39;t want to implement an rpm service; I just need to send around 80 bytes of data asynchronously. My plan is to place the data in the GPMEM on one core and read it on the other core.&lt;/p&gt;
&lt;p&gt;Can I achieve this using the functions in the nrfx_ipc.h file?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Cannot read value using GPMEM over IPC on nrf7002DK</title><link>https://devzone.nordicsemi.com/thread/506269?ContentTypeID=1</link><pubDate>Tue, 15 Oct 2024 10:40:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:61fced36-d155-41e6-917f-6d7d1cd71039</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;Please check out this case where my colleague Sigurd explains how to let the APP and NET core communicate here:&amp;nbsp;&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/76606/communication-in-between-application-core-and-network-core-in-nrf5340/316739"&gt;RE: communication in between application core and network core in nrf5340&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;In general this is a question that&amp;#39;s been asked many times, and searching in the DevZone should be helpful as well:&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/search?q=communication%20between%20cores"&gt;https://devzone.nordicsemi.com/search?q=communication%20between%20cores&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>