<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>S32GのトピックIPCF or XRDC with SEMA42</title>
    <link>https://community.nxp.com/t5/S32G/IPCF-or-XRDC-with-SEMA42/m-p/1600975#M2245</link>
    <description>&lt;P&gt;&lt;BR /&gt;We are building a complex application on the S32G274A supporting several combinations of cores.&lt;BR /&gt;At least one of the A53 cores will run Linux.&lt;BR /&gt;At least one of the M7 cores will run FreeRTOS.&lt;/P&gt;&lt;P&gt;We need a good approach for communication between different cores.&lt;/P&gt;&lt;P&gt;The S32G2RM describes different types of hardware support for communication between different cores, for instance:&lt;/P&gt;&lt;P&gt;- Messaging Unit (MU), chapter 62&lt;BR /&gt;- Semaphores2(SEMA42), chapter 17&lt;BR /&gt;- Extended Resource Domain Controller (XRDC), chapter 15&lt;BR /&gt;- NoC Subsystem, chapter 6 (probably not relevant, since it might only be hardware based)&lt;BR /&gt;- Ncore, chapter 7 (probably not relevant, since it might only be hardware based)&lt;/P&gt;&lt;P&gt;There is also the Inter-Platform Communication Framework (IPCF)&lt;BR /&gt;see: &lt;A href="https://www.nxp.com/design/automotive-software-and-tools/inter-platform-communication-framework-ipcf:IPCF" target="_self"&gt;https://www.nxp.com/design/automotive-software-and-tools/inter-platform-communication-framework-ipcf:IPCF&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This framework seems to be a good base.&lt;BR /&gt;But here is my question:&lt;/P&gt;&lt;P&gt;Does this framework use any of the above hardware supports for inter core communication?&lt;BR /&gt;When looking at the code, it seems to only rely on interrupts and static memory configuration, as well as using the ARM MPU for memory protection.&lt;BR /&gt;I see the advantage of being platform independent, but then are the above hardware features not an improvement?&lt;/P&gt;&lt;P&gt;Our first goal is to have a fast (high bandwidth) Ethernet-like interface between one A53 core and one M7 core.&lt;/P&gt;&lt;P&gt;Should we build this upon the IPCF or should we better use the hardware capability?&lt;/P&gt;</description>
    <pubDate>Fri, 17 Feb 2023 08:23:44 GMT</pubDate>
    <dc:creator>Markus_Schroeder</dc:creator>
    <dc:date>2023-02-17T08:23:44Z</dc:date>
    <item>
      <title>IPCF or XRDC with SEMA42</title>
      <link>https://community.nxp.com/t5/S32G/IPCF-or-XRDC-with-SEMA42/m-p/1600975#M2245</link>
      <description>&lt;P&gt;&lt;BR /&gt;We are building a complex application on the S32G274A supporting several combinations of cores.&lt;BR /&gt;At least one of the A53 cores will run Linux.&lt;BR /&gt;At least one of the M7 cores will run FreeRTOS.&lt;/P&gt;&lt;P&gt;We need a good approach for communication between different cores.&lt;/P&gt;&lt;P&gt;The S32G2RM describes different types of hardware support for communication between different cores, for instance:&lt;/P&gt;&lt;P&gt;- Messaging Unit (MU), chapter 62&lt;BR /&gt;- Semaphores2(SEMA42), chapter 17&lt;BR /&gt;- Extended Resource Domain Controller (XRDC), chapter 15&lt;BR /&gt;- NoC Subsystem, chapter 6 (probably not relevant, since it might only be hardware based)&lt;BR /&gt;- Ncore, chapter 7 (probably not relevant, since it might only be hardware based)&lt;/P&gt;&lt;P&gt;There is also the Inter-Platform Communication Framework (IPCF)&lt;BR /&gt;see: &lt;A href="https://www.nxp.com/design/automotive-software-and-tools/inter-platform-communication-framework-ipcf:IPCF" target="_self"&gt;https://www.nxp.com/design/automotive-software-and-tools/inter-platform-communication-framework-ipcf:IPCF&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This framework seems to be a good base.&lt;BR /&gt;But here is my question:&lt;/P&gt;&lt;P&gt;Does this framework use any of the above hardware supports for inter core communication?&lt;BR /&gt;When looking at the code, it seems to only rely on interrupts and static memory configuration, as well as using the ARM MPU for memory protection.&lt;BR /&gt;I see the advantage of being platform independent, but then are the above hardware features not an improvement?&lt;/P&gt;&lt;P&gt;Our first goal is to have a fast (high bandwidth) Ethernet-like interface between one A53 core and one M7 core.&lt;/P&gt;&lt;P&gt;Should we build this upon the IPCF or should we better use the hardware capability?&lt;/P&gt;</description>
      <pubDate>Fri, 17 Feb 2023 08:23:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/IPCF-or-XRDC-with-SEMA42/m-p/1600975#M2245</guid>
      <dc:creator>Markus_Schroeder</dc:creator>
      <dc:date>2023-02-17T08:23:44Z</dc:date>
    </item>
    <item>
      <title>Re: IPCF or XRDC with SEMA42</title>
      <link>https://community.nxp.com/t5/S32G/IPCF-or-XRDC-with-SEMA42/m-p/1601352#M2250</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;The framework's example works mainly with the "Miscellaneous System Control Module". There is a specific "Core-to-core" MSI that sends an interrupt from one core to another on the system (for A53, the interrupt goes directly to the GIC).&lt;/P&gt;
&lt;P&gt;As for HW modules used on the IPCF, there is no explicit mention about them. Even if we look into the peripherals declared on the IPCF examples, no MU/SEMA42 elements are declared.&lt;/P&gt;
&lt;P&gt;Given that the IPCF (theoretically) should only be limited by the specified read/write latency to the shared memory, should have high-bandwidth.&lt;/P&gt;
&lt;P&gt;As for an ethernet-like feature inside the platform, we cannot find something explicit on the documentation. You could create a loop with your ethernet interfaces to communicate from one core to another, as you could do it with another communication interface like CAN, UART, SPI, etc...&lt;/P&gt;
&lt;P&gt;In summary, IPCF has been the main implementation regarding core-to-core communication on what S32G has to offer.&lt;/P&gt;
&lt;P&gt;On the other hand, XRDC is not defined as a HW communication interface between cores, but the module is defined as "focuses on how to&lt;BR /&gt;implement domain assignment for bus masters, and domain access control for memory regions and slave peripherals" [AN13024].&lt;/P&gt;
&lt;P&gt;Please, let us know if this information was helpful or not.&lt;/P&gt;</description>
      <pubDate>Fri, 17 Feb 2023 22:15:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/IPCF-or-XRDC-with-SEMA42/m-p/1601352#M2250</guid>
      <dc:creator>Daniel-Aguirre</dc:creator>
      <dc:date>2023-02-17T22:15:54Z</dc:date>
    </item>
    <item>
      <title>Re: IPCF or XRDC with SEMA42</title>
      <link>https://community.nxp.com/t5/S32G/IPCF-or-XRDC-with-SEMA42/m-p/1607485#M2355</link>
      <description>&lt;P&gt;Thank you for the answer.&lt;BR /&gt;Since this IPCF seems to have already some kind of implementation also on the Linux side,&lt;BR /&gt;this might be the better way to go. Even tough, it seems that it does not use any advantage of&lt;BR /&gt;the hardware, except interrupts.&lt;/P&gt;&lt;P&gt;The SEMA42 module and the XRDC module seem to be useful for a shared memory communication between cores.&lt;BR /&gt;See the example provided under "S32 RTD AUTOSAR 4.4 3.0.2 HF01 D2204 Example Projects" in&lt;BR /&gt;"Rm Examples" called "Xrdc_Ip_Example_integrated_with_Semaphore_S32G274A_M7".&lt;/P&gt;&lt;P&gt;For the IPCF, I have a further question:&lt;/P&gt;&lt;P&gt;There is a pdf on the following page:&lt;BR /&gt;&lt;A href="https://community.nxp.com/t5/Connects-Training-Material/Abstracting-Inter-Platform-Communication-in-Automotive/ta-p/1129081" target="_blank"&gt;https://community.nxp.com/t5/Connects-Training-Material/Abstracting-Inter-Platform-Communication-in-Automotive/ta-p/1129081&lt;/A&gt;&lt;/P&gt;&lt;P&gt;On page 14 there is an overview of the architecture. It seems, that there is a "Virtual ETH" part of the IPCF Framework.&lt;BR /&gt;This looks exactly like what we need.&lt;BR /&gt;The version of the IPCF, which I downloaded (SW32G_IPCF_4.6.0_D2205) does not have any Ethernet API.&lt;/P&gt;&lt;P&gt;Is this a feature planned in the future?&lt;BR /&gt;Is this meant to be implemented by the customer/me?&lt;BR /&gt;Is there a newer version of IPCF containing this "Virtual ETH" layer?&lt;/P&gt;&lt;P&gt;Best regards,&lt;BR /&gt;Markus&lt;/P&gt;</description>
      <pubDate>Wed, 01 Mar 2023 08:49:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/IPCF-or-XRDC-with-SEMA42/m-p/1607485#M2355</guid>
      <dc:creator>Markus_Schroeder</dc:creator>
      <dc:date>2023-03-01T08:49:19Z</dc:date>
    </item>
    <item>
      <title>Re: IPCF or XRDC with SEMA42</title>
      <link>https://community.nxp.com/t5/S32G/IPCF-or-XRDC-with-SEMA42/m-p/1607885#M2363</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;It does seem that the link you have provided is not related to S32G platform. What it is available on the IPCF on S32G is the diagram below (link: &lt;A href="https://www.nxp.com/docs/en/product-brief/IPCFPB.pdf" target="_blank"&gt;Inter-Platform Communication Framework (IPCF) - Product Brief (nxp.com)&lt;/A&gt;&lt;LI-EMOJI id="lia_disappointed-face" title=":disappointed_face:"&gt;&lt;/LI-EMOJI&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DanielAguirre_0-1677694699477.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/212922i4A679298E0E792D2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DanielAguirre_0-1677694699477.png" alt="DanielAguirre_0-1677694699477.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Which does not have the virtual ETH you are mentioning. We do apologize.&lt;/P&gt;
&lt;P&gt;As if there is plan on adding this, we do not have information about it. We may recommend sending this specific inquiry to your local NXP representative/FAE, given they could have the access to a roadmap. Still, for what we can see, there is no plan on doing it.&lt;/P&gt;
&lt;P&gt;Please, let us know.&lt;/P&gt;</description>
      <pubDate>Wed, 01 Mar 2023 18:20:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/IPCF-or-XRDC-with-SEMA42/m-p/1607885#M2363</guid>
      <dc:creator>Daniel-Aguirre</dc:creator>
      <dc:date>2023-03-01T18:20:50Z</dc:date>
    </item>
  </channel>
</rss>

