<?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>topic Re: S32G IPCF Data Cache Support in S32G</title>
    <link>https://community.nxp.com/t5/S32G/S32G-IPCF-Data-Cache-Support/m-p/1984219#M11519</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/242612"&gt;@Lee_Mitchell&lt;/a&gt;,&amp;nbsp;&lt;BR /&gt;The User Manual is only available at the IPCF 4.6.0 you need to download the .exe file from the NXP &lt;A href="https://www.nxp.com/design/design-center/software/automotive-software-and-tools/inter-platform-communication-framework-ipcf:IPCF" target="_self"&gt;&lt;SPAN&gt;Inter-Platform Communication Framework (IPCF)&lt;/SPAN&gt;&lt;/A&gt;&amp;nbsp;page at the &lt;STRONG&gt;Software Offering&lt;/STRONG&gt; section.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="carlos_o_0-1730239308427.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/307572i2DC195D1A2BCBFE1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="carlos_o_0-1730239308427.png" alt="carlos_o_0-1730239308427.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Select &lt;STRONG&gt;GET IPCF FOR S32G2&amp;nbsp;&lt;/STRONG&gt;and go to the software tab and select the &lt;STRONG&gt;IPCF 4.6.0&lt;/STRONG&gt; version&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="carlos_o_1-1730239522375.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/307574i65A01648F2E7AEDB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="carlos_o_1-1730239522375.png" alt="carlos_o_1-1730239522375.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Check the IPCF and click on &lt;STRONG&gt;GENERATE BUNDLE INSTALLER&lt;/STRONG&gt;, run this installer to get the corresponding files and after you execute the .exe file at the installation folder you will get the User Manual.&lt;BR /&gt;&lt;BR /&gt;At your particular case to run the command "dcache on" on the U-Boot we are reviewing it with the internal team, this response time will be a bit longer, so we appreciate your patience, I'll come back when a relevant information is given.&lt;/P&gt;</description>
    <pubDate>Tue, 29 Oct 2024 22:18:37 GMT</pubDate>
    <dc:creator>carlos_o</dc:creator>
    <dc:date>2024-10-29T22:18:37Z</dc:date>
    <item>
      <title>S32G IPCF Data Cache Support</title>
      <link>https://community.nxp.com/t5/S32G/S32G-IPCF-Data-Cache-Support/m-p/1982900#M11490</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;We're using the S32G274 and have Linux running on the A53 cores and an application running FreeRTOS on CM7 core 0. The code for the M7 being loaded at boot time using U-Boot. This all works without any problems and our application exchanges data between Linux and the M7 application using IPCF.&lt;/P&gt;&lt;P&gt;All of the examples we've seen from NXP show the command "dcache off" being executed in U-Boot before loading the M7 firmware and starting its execution, but we've not seen any examples where "dcache on" is performed subsequently.&lt;/P&gt;&lt;P&gt;Is it supported to turn the data cache back on again after this point (before booting Linux) ? We're keen to reduce the boot time of the system, and testing with dcache on results in a decent performance increase.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Lee&lt;/P&gt;</description>
      <pubDate>Mon, 28 Oct 2024 10:25:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/S32G-IPCF-Data-Cache-Support/m-p/1982900#M11490</guid>
      <dc:creator>Lee_Mitchell</dc:creator>
      <dc:date>2024-10-28T10:25:46Z</dc:date>
    </item>
    <item>
      <title>Re: S32G IPCF Data Cache Support</title>
      <link>https://community.nxp.com/t5/S32G/S32G-IPCF-Data-Cache-Support/m-p/1983273#M11499</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/242612"&gt;@Lee_Mitchell&lt;/a&gt;,&lt;BR /&gt;&lt;BR /&gt;The user manual of the &lt;STRONG&gt;IPCF 4.6.0&lt;/STRONG&gt; says the following:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="carlos_o_0-1730150319485.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/307328i66B1CE86E881998E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="carlos_o_0-1730150319485.png" alt="carlos_o_0-1730150319485.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;[page 36, IPCF Shared Memory Driver User Manual, Version 1.17, 05/2022]&lt;BR /&gt;&lt;BR /&gt;Could you help me answering the next questions?&lt;BR /&gt;&lt;BR /&gt;1. Are you using&amp;nbsp;&lt;STRONG&gt;S32G-VNP-RDB2&lt;/STRONG&gt; or a &lt;STRONG&gt;custom&lt;/STRONG&gt; board?&lt;BR /&gt;2. Which version of &lt;STRONG&gt;IPCF&lt;/STRONG&gt; are you using?&lt;BR /&gt;3. Which version of &lt;STRONG&gt;BSP&lt;/STRONG&gt; are you using?&lt;BR /&gt;4. Are you using this same version for &lt;STRONG&gt;U-Boot&lt;/STRONG&gt; and &lt;STRONG&gt;ATF&lt;/STRONG&gt;? (In the case you are doing the compilation manually)&lt;BR /&gt;&lt;BR /&gt;Regards.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Oct 2024 21:32:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/S32G-IPCF-Data-Cache-Support/m-p/1983273#M11499</guid>
      <dc:creator>carlos_o</dc:creator>
      <dc:date>2024-10-28T21:32:05Z</dc:date>
    </item>
    <item>
      <title>Re: S32G IPCF Data Cache Support</title>
      <link>https://community.nxp.com/t5/S32G/S32G-IPCF-Data-Cache-Support/m-p/1983645#M11511</link>
      <description>&lt;P&gt;Hi Carlos,&lt;/P&gt;&lt;P&gt;&amp;nbsp;Thanks for the response. In answer to your questions:&lt;/P&gt;&lt;P&gt;1) We're using a custom board with the S32G device being provided by a module from MicroSys.&lt;/P&gt;&lt;P&gt;2) We're using IPCF 4.9.0 from here:&amp;nbsp;&lt;A href="https://github.com/nxp-auto-linux/ipc-shm/tree/release/SW32G_IPCF_4.9.0_D2310" target="_blank"&gt;https://github.com/nxp-auto-linux/ipc-shm/tree/release/SW32G_IPCF_4.9.0_D2310&lt;/A&gt;&lt;/P&gt;&lt;P&gt;3) We're using BSP 36.0 (Provided in a package from MicroSys)&lt;/P&gt;&lt;P&gt;4) We're using the version of U-Boot provided by MicroSys which I believe is based on BSP 36.0&lt;/P&gt;&lt;P&gt;With reference to the IPCF user manual, could you please provide a link to the latest version ? Searching on nxp.com doesn't yield any results.&lt;/P&gt;&lt;P&gt;On the M7 side of things, I can see in the function ipc_shm_unmanaged_tx() the following:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;	/* flush and invalidate dcache */
	ipc_hw_flush_cache_local(instance);
	ipc_hw_flush_cache_remote(instance);&lt;/LI-CODE&gt;&lt;P&gt;D_CACHE_ENABLE is defined at compile time&lt;/P&gt;&lt;P&gt;So I believe the cache is being invalidated before tx, at least on the M7 side of things.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Actually testing with dcache on added after the M7 application has started seems to work ok and performance is significantly better, we're just concerned that we've missed something that could come back to bite us at a later date!&lt;/P&gt;</description>
      <pubDate>Tue, 29 Oct 2024 08:54:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/S32G-IPCF-Data-Cache-Support/m-p/1983645#M11511</guid>
      <dc:creator>Lee_Mitchell</dc:creator>
      <dc:date>2024-10-29T08:54:24Z</dc:date>
    </item>
    <item>
      <title>Re: S32G IPCF Data Cache Support</title>
      <link>https://community.nxp.com/t5/S32G/S32G-IPCF-Data-Cache-Support/m-p/1984219#M11519</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/242612"&gt;@Lee_Mitchell&lt;/a&gt;,&amp;nbsp;&lt;BR /&gt;The User Manual is only available at the IPCF 4.6.0 you need to download the .exe file from the NXP &lt;A href="https://www.nxp.com/design/design-center/software/automotive-software-and-tools/inter-platform-communication-framework-ipcf:IPCF" target="_self"&gt;&lt;SPAN&gt;Inter-Platform Communication Framework (IPCF)&lt;/SPAN&gt;&lt;/A&gt;&amp;nbsp;page at the &lt;STRONG&gt;Software Offering&lt;/STRONG&gt; section.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="carlos_o_0-1730239308427.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/307572i2DC195D1A2BCBFE1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="carlos_o_0-1730239308427.png" alt="carlos_o_0-1730239308427.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Select &lt;STRONG&gt;GET IPCF FOR S32G2&amp;nbsp;&lt;/STRONG&gt;and go to the software tab and select the &lt;STRONG&gt;IPCF 4.6.0&lt;/STRONG&gt; version&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="carlos_o_1-1730239522375.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/307574i65A01648F2E7AEDB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="carlos_o_1-1730239522375.png" alt="carlos_o_1-1730239522375.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Check the IPCF and click on &lt;STRONG&gt;GENERATE BUNDLE INSTALLER&lt;/STRONG&gt;, run this installer to get the corresponding files and after you execute the .exe file at the installation folder you will get the User Manual.&lt;BR /&gt;&lt;BR /&gt;At your particular case to run the command "dcache on" on the U-Boot we are reviewing it with the internal team, this response time will be a bit longer, so we appreciate your patience, I'll come back when a relevant information is given.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Oct 2024 22:18:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/S32G-IPCF-Data-Cache-Support/m-p/1984219#M11519</guid>
      <dc:creator>carlos_o</dc:creator>
      <dc:date>2024-10-29T22:18:37Z</dc:date>
    </item>
    <item>
      <title>Re: S32G IPCF Data Cache Support</title>
      <link>https://community.nxp.com/t5/S32G/S32G-IPCF-Data-Cache-Support/m-p/1984507#M11530</link>
      <description>Thanks Carlos, I await your response.</description>
      <pubDate>Wed, 30 Oct 2024 07:26:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/S32G-IPCF-Data-Cache-Support/m-p/1984507#M11530</guid>
      <dc:creator>Lee_Mitchell</dc:creator>
      <dc:date>2024-10-30T07:26:49Z</dc:date>
    </item>
    <item>
      <title>Re: S32G IPCF Data Cache Support</title>
      <link>https://community.nxp.com/t5/S32G/S32G-IPCF-Data-Cache-Support/m-p/1984598#M11531</link>
      <description>&lt;P&gt;I actually found a user manual for IPCF 4.9.0 D2310 installed on my system which was included in the IPCF package downloaded within S32DS, the location is as follows:&lt;/P&gt;&lt;P&gt;C:\NXP\S32DS.3.5\S32DS\software\PlatformSDK_S32XX_4_0_0\IPCF\doc&lt;/P&gt;&lt;P&gt;In that version of the manual, the note you highlighted in the manual for V 4.6.0 is not present.&lt;/P&gt;</description>
      <pubDate>Wed, 30 Oct 2024 09:06:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/S32G-IPCF-Data-Cache-Support/m-p/1984598#M11531</guid>
      <dc:creator>Lee_Mitchell</dc:creator>
      <dc:date>2024-10-30T09:06:11Z</dc:date>
    </item>
    <item>
      <title>Re: S32G IPCF Data Cache Support</title>
      <link>https://community.nxp.com/t5/S32G/S32G-IPCF-Data-Cache-Support/m-p/1985714#M11545</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/242612"&gt;@Lee_Mitchell&lt;/a&gt;,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The internal team mention you can use "dcache on" once the load of the M7 firmware is complete.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The limitation I mentioned you before only applies in older versions of the driver.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 31 Oct 2024 17:05:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/S32G-IPCF-Data-Cache-Support/m-p/1985714#M11545</guid>
      <dc:creator>carlos_o</dc:creator>
      <dc:date>2024-10-31T17:05:37Z</dc:date>
    </item>
    <item>
      <title>Re: S32G IPCF Data Cache Support</title>
      <link>https://community.nxp.com/t5/S32G/S32G-IPCF-Data-Cache-Support/m-p/1986141#M11550</link>
      <description>Great, thanks Carlos. It would be nice if the examples included with IPCF were updated to include that step to make it a bit clearer that this is now supported for later versions.</description>
      <pubDate>Fri, 01 Nov 2024 08:39:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/S32G-IPCF-Data-Cache-Support/m-p/1986141#M11550</guid>
      <dc:creator>Lee_Mitchell</dc:creator>
      <dc:date>2024-11-01T08:39:28Z</dc:date>
    </item>
  </channel>
</rss>

