<?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 In-cache stack in MPC5674F (vs. MPC5777C) in MPC5xxx</title>
    <link>https://community.nxp.com/t5/MPC5xxx/In-cache-stack-in-MPC5674F-vs-MPC5777C/m-p/1938496#M26534</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I followed AN5191 to set a MPC5777C board up and, for a given application, noticed a sizeable performance gain (~10%) when the stack was inside the data cache, rather than the internal SRAM. I tried to repeat the experiment with a MPC5674F board and had no gain at all - in fact, I got a slight performance loss of ~3%.&lt;/P&gt;&lt;P&gt;Is this expected? I supposed gains might be smaller because the MPC5674F internal SRAM has a smaller latency than the MPC5777C one, but I did not expect to see a negative result.&lt;/P&gt;&lt;P&gt;Both boards are running at 264MHz.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Ricardo&lt;/P&gt;</description>
    <pubDate>Thu, 22 Aug 2024 13:24:00 GMT</pubDate>
    <dc:creator>ricardofranca</dc:creator>
    <dc:date>2024-08-22T13:24:00Z</dc:date>
    <item>
      <title>In-cache stack in MPC5674F (vs. MPC5777C)</title>
      <link>https://community.nxp.com/t5/MPC5xxx/In-cache-stack-in-MPC5674F-vs-MPC5777C/m-p/1938496#M26534</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I followed AN5191 to set a MPC5777C board up and, for a given application, noticed a sizeable performance gain (~10%) when the stack was inside the data cache, rather than the internal SRAM. I tried to repeat the experiment with a MPC5674F board and had no gain at all - in fact, I got a slight performance loss of ~3%.&lt;/P&gt;&lt;P&gt;Is this expected? I supposed gains might be smaller because the MPC5674F internal SRAM has a smaller latency than the MPC5777C one, but I did not expect to see a negative result.&lt;/P&gt;&lt;P&gt;Both boards are running at 264MHz.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Ricardo&lt;/P&gt;</description>
      <pubDate>Thu, 22 Aug 2024 13:24:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/In-cache-stack-in-MPC5674F-vs-MPC5777C/m-p/1938496#M26534</guid>
      <dc:creator>ricardofranca</dc:creator>
      <dc:date>2024-08-22T13:24:00Z</dc:date>
    </item>
    <item>
      <title>Re: In-cache stack in MPC5674F (vs. MPC5777C)</title>
      <link>https://community.nxp.com/t5/MPC5xxx/In-cache-stack-in-MPC5674F-vs-MPC5777C/m-p/1939993#M26583</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/47395"&gt;@ricardofranca&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;"because the MPC5674F internal SRAM has a smaller latency than the MPC5777C one" - this is the key point. The stack in cache can help significantly on MPC5777C because of the mentioned latency. This effect won't be so visible on MPC5674F. I guess that the performance loss can be caused by fact that the size of cache used for application is smaller, so more flash reads are needed in runtime. &lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Lukas&lt;/P&gt;</description>
      <pubDate>Mon, 26 Aug 2024 06:34:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/In-cache-stack-in-MPC5674F-vs-MPC5777C/m-p/1939993#M26583</guid>
      <dc:creator>lukaszadrapa</dc:creator>
      <dc:date>2024-08-26T06:34:55Z</dc:date>
    </item>
  </channel>
</rss>

