<?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 S32K3 Dataflash Cache Disable in S32K</title>
    <link>https://community.nxp.com/t5/S32K/S32K3-Dataflash-Cache-Disable/m-p/1787538#M30559</link>
    <description>&lt;P&gt;I saw the below statement in the FLS driver:&lt;/P&gt;&lt;P&gt;Synchronize the memory by invalidating the cache after each flash hardware operation.&lt;BR /&gt;The FLS driver needs to maintain the memory coherency by means of three methods:&lt;BR /&gt;1. Disable data cache, or&lt;BR /&gt;2. Configure the flash region upon which the driver operates, as non-cacheable, or&lt;BR /&gt;3. Enable the FlsSynchronizeCache feature.&lt;BR /&gt;Depending on the application configuration, one option may be more beneficial than other.&lt;/P&gt;&lt;P&gt;I am concerned about performance speed because I am unable to disable all data caches. (num 1)&lt;BR /&gt;Therefore, I would like to disable Cache only in the DataFlash area. (num 2)&lt;BR /&gt;Please tell me how to disable cache in a specific area.&lt;/P&gt;</description>
    <pubDate>Thu, 11 Jan 2024 23:42:03 GMT</pubDate>
    <dc:creator>kjy106906</dc:creator>
    <dc:date>2024-01-11T23:42:03Z</dc:date>
    <item>
      <title>S32K3 Dataflash Cache Disable</title>
      <link>https://community.nxp.com/t5/S32K/S32K3-Dataflash-Cache-Disable/m-p/1787538#M30559</link>
      <description>&lt;P&gt;I saw the below statement in the FLS driver:&lt;/P&gt;&lt;P&gt;Synchronize the memory by invalidating the cache after each flash hardware operation.&lt;BR /&gt;The FLS driver needs to maintain the memory coherency by means of three methods:&lt;BR /&gt;1. Disable data cache, or&lt;BR /&gt;2. Configure the flash region upon which the driver operates, as non-cacheable, or&lt;BR /&gt;3. Enable the FlsSynchronizeCache feature.&lt;BR /&gt;Depending on the application configuration, one option may be more beneficial than other.&lt;/P&gt;&lt;P&gt;I am concerned about performance speed because I am unable to disable all data caches. (num 1)&lt;BR /&gt;Therefore, I would like to disable Cache only in the DataFlash area. (num 2)&lt;BR /&gt;Please tell me how to disable cache in a specific area.&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jan 2024 23:42:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K3-Dataflash-Cache-Disable/m-p/1787538#M30559</guid>
      <dc:creator>kjy106906</dc:creator>
      <dc:date>2024-01-11T23:42:03Z</dc:date>
    </item>
    <item>
      <title>Re: S32K3 Dataflash Cache Disable</title>
      <link>https://community.nxp.com/t5/S32K/S32K3-Dataflash-Cache-Disable/m-p/1815443#M32105</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;I think with #2, you can use API provided in Mcl module :&amp;nbsp;Mcl_CacheInvalidateByAddr() with input params as:&amp;nbsp; &lt;SPAN class="fontstyle0"&gt;Mcl_CacheType &lt;/SPAN&gt;&lt;SPAN class="fontstyle2"&gt;CacheType,&amp;nbsp; &lt;SPAN class="fontstyle0"&gt;uint32 &lt;/SPAN&gt;Addr&amp;nbsp; and&amp;nbsp; &lt;SPAN class="fontstyle0"&gt;uint32 &lt;/SPAN&gt;Length&amp;nbsp;to invalidate Cache by address of specific DataFls region as you want.&lt;BR /&gt;In detail, please see in MCL User Manual document&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="cuongnguyenphu_0-1708940105508.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/265012iC2BB3A938C062768/image-size/medium?v=v2&amp;amp;px=400" role="button" title="cuongnguyenphu_0-1708940105508.png" alt="cuongnguyenphu_0-1708940105508.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 26 Feb 2024 09:35:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K3-Dataflash-Cache-Disable/m-p/1815443#M32105</guid>
      <dc:creator>cuongnguyenphu</dc:creator>
      <dc:date>2024-02-26T09:35:30Z</dc:date>
    </item>
  </channel>
</rss>

