<?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>MQX Software Solutions中的主题 Disable cache on K60F120</title>
    <link>https://community.nxp.com/t5/MQX-Software-Solutions/Disable-cache-on-K60F120/m-p/326395#M10402</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am wondering if there is any cache feature in MQX for the Freescale tower K60F120M, and if so, how could I disable it ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help would be grateful,&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Camille&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 18 Mar 2015 14:29:55 GMT</pubDate>
    <dc:creator>dev25</dc:creator>
    <dc:date>2015-03-18T14:29:55Z</dc:date>
    <item>
      <title>Disable cache on K60F120</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Disable-cache-on-K60F120/m-p/326395#M10402</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am wondering if there is any cache feature in MQX for the Freescale tower K60F120M, and if so, how could I disable it ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help would be grateful,&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Camille&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Mar 2015 14:29:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Disable-cache-on-K60F120/m-p/326395#M10402</guid>
      <dc:creator>dev25</dc:creator>
      <dc:date>2015-03-18T14:29:55Z</dc:date>
    </item>
    <item>
      <title>Re: Disable cache on K60F120</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Disable-cache-on-K60F120/m-p/326396#M10403</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Camille,&lt;/P&gt;&lt;P&gt;MQX setups the Instruction/Data 8Kbyte caches to default setting in BSP init_bsp.c file as follows:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; /** Cache settings **/&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* Make sure that cache region settings has correct value(reset value).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; This value allow maximal perfomance settings for cache regions because of some regions are:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; non-cacheable ,non-cacheable and Write-through or non-cacheable and Write-throug or only Write_back*/&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; LMEM_PSCRMR = 0xAA0FA000u;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; LMEM_PCCRMR = 0xAA0FA000u;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; /*folowed 2 functions enable caches (instruction and data cache) and invalidate caches*/&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; _DCACHE_ENABLE(0);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; _ICACHE_ENABLE(0);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can change the _DCACHE_ENABLE(0); to _DCACHE_DISABLE(0); .&lt;/P&gt;&lt;P&gt;You can change the _ICACHE_ENABLE(0); to _ICACHE_DISABLE(0); .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The respective macros are defined in kinetis.h header.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;David &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Mar 2015 16:42:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Disable-cache-on-K60F120/m-p/326396#M10403</guid>
      <dc:creator>DavidS</dc:creator>
      <dc:date>2015-03-18T16:42:10Z</dc:date>
    </item>
  </channel>
</rss>

