<?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: K82 : cache and cache in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K82-cache-and-cache/m-p/787290#M47899</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Eugene,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. There is no specific order, I suggest you to first enable the caches and then the write buffers. You could also enable&amp;nbsp;L1CACHE_EnableSystemCacheWriteBuffer(true);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. No, you don't need to deactivate caches.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;3. According to the&amp;nbsp;&lt;A href="https://www.nxp.com/docs/en/reference-manual/K82P121M150SF5RM.pdf"&gt;reference manual&lt;/A&gt;&amp;nbsp;caches are not affected by LLS3 mode, please refer &lt;STRONG&gt;chapter 9.3.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4,5. As you know this device includes two 8 KB of combined data/ instructions cache. When you use the &lt;STRONG&gt;fsl_ftfx_cache.c&lt;/STRONG&gt; you are not enabling a different cache, is just a different driver.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;6. To my understanding in this specific case&amp;nbsp;&lt;STRONG&gt;__ISB();&lt;/STRONG&gt; and&amp;nbsp;&lt;STRONG&gt;__DSB();&lt;/STRONG&gt; functions don't need to be in an specific order because we are not working in a complex operating system where a context switch is needed.&lt;/P&gt;&lt;P&gt;ISB instruction flushes the pipeline and DSB ensures all explicit data transfers before the&amp;nbsp;DSB&amp;nbsp;are complete before any instruction after the&amp;nbsp;DSB&amp;nbsp;is executed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Felipe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 17 Oct 2018 15:53:55 GMT</pubDate>
    <dc:creator>FelipeGarcia</dc:creator>
    <dc:date>2018-10-17T15:53:55Z</dc:date>
    <item>
      <title>K82 : cache and cache</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K82-cache-and-cache/m-p/787289#M47898</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;1. In normal Cortex-M4&amp;nbsp; exists&amp;nbsp;Auxiliary Control Register, ACTLR what user for enable/disable WriteBuffer.&lt;/P&gt;&lt;P&gt;#define CPU_REG_SCnSCB_ACTLR ( * (( uint32_t * )( &lt;STRONG&gt;0xE000E008U&lt;/STRONG&gt; )))&lt;BR /&gt;#define CPU_REG_SCnSCB_ACTLR_DISDEFWBUF ( 0x00000002U )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think in case of K82 this WriteBuffer is missing because you have other set of caches -&amp;nbsp; LMEM.&lt;/P&gt;&lt;P&gt;And all functionality is implemented in fsl_cache.h/fsl_cache.c files.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my design I using MPU module and interesting what is proper sequence to enable all caches ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/*&amp;nbsp; SYSMPU Initialisation &amp;amp; Enable. */&lt;BR /&gt; SYSMPU_Init(SYSMPU, &amp;amp;userConfig1);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;L1CACHE_EnableCodeCache();&lt;BR /&gt; L1CACHE_EnableCodeCacheWriteBuffer(true);&lt;BR /&gt; L1CACHE_EnableSystemCache();&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this right order ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Should I invalidate all caches and disable write buffer if I disable MPU&amp;nbsp; ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. Is any invalidation or temporary disabling are need if I put MCU to low power mode LLS3 ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4. Do I undestand right, for achieve even better performance I should enable&amp;nbsp;&lt;/P&gt;&lt;P&gt;FTFx_CACHE_Init() as well ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Should I set also&amp;nbsp;FTFx_CACHE_PflashSetPrefetchSpeculation(ftfx_prefetch_speculation_status_t )&lt;/P&gt;&lt;P&gt;for enable prefech for code and data&amp;nbsp; ? Or it is enabled by default ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When this cache should be enabled ? Before of after L1 caches ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;5. Is any other caches available on K82 to accelerate performance ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;6.&amp;nbsp; in SDK file fsl_ftfx_cache.c you have used a lot of code like this :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/* Memory barriers for good measure.&lt;BR /&gt; * All Cache, Branch predictor and TLB maintenance operations before this instruction complete */&lt;BR /&gt; __ISB();&lt;BR /&gt; __DSB();&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But why ISB executed before DSB ?&lt;/P&gt;&lt;P&gt;In all ARM documentation it is recommended other sequence:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;__DSB()&lt;/P&gt;&lt;P&gt;__ISB()&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just interesting to know.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Eugene&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Oct 2018 12:51:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/K82-cache-and-cache/m-p/787289#M47898</guid>
      <dc:creator>EugeneHiihtaja</dc:creator>
      <dc:date>2018-10-12T12:51:02Z</dc:date>
    </item>
    <item>
      <title>Re: K82 : cache and cache</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K82-cache-and-cache/m-p/787290#M47899</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Eugene,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. There is no specific order, I suggest you to first enable the caches and then the write buffers. You could also enable&amp;nbsp;L1CACHE_EnableSystemCacheWriteBuffer(true);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. No, you don't need to deactivate caches.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;3. According to the&amp;nbsp;&lt;A href="https://www.nxp.com/docs/en/reference-manual/K82P121M150SF5RM.pdf"&gt;reference manual&lt;/A&gt;&amp;nbsp;caches are not affected by LLS3 mode, please refer &lt;STRONG&gt;chapter 9.3.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4,5. As you know this device includes two 8 KB of combined data/ instructions cache. When you use the &lt;STRONG&gt;fsl_ftfx_cache.c&lt;/STRONG&gt; you are not enabling a different cache, is just a different driver.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;6. To my understanding in this specific case&amp;nbsp;&lt;STRONG&gt;__ISB();&lt;/STRONG&gt; and&amp;nbsp;&lt;STRONG&gt;__DSB();&lt;/STRONG&gt; functions don't need to be in an specific order because we are not working in a complex operating system where a context switch is needed.&lt;/P&gt;&lt;P&gt;ISB instruction flushes the pipeline and DSB ensures all explicit data transfers before the&amp;nbsp;DSB&amp;nbsp;are complete before any instruction after the&amp;nbsp;DSB&amp;nbsp;is executed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Felipe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Oct 2018 15:53:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/K82-cache-and-cache/m-p/787290#M47899</guid>
      <dc:creator>FelipeGarcia</dc:creator>
      <dc:date>2018-10-17T15:53:55Z</dc:date>
    </item>
    <item>
      <title>Re: K82 : cache and cache</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K82-cache-and-cache/m-p/787291#M47900</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Felipe !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you clarify a bit about few answers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1.&amp;nbsp;Is&amp;nbsp;exists on K82 register&amp;nbsp;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;ACTLR ,what used for enable/disable WriteBuffer,&amp;nbsp; ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&amp;nbsp; &amp;nbsp;or LMEM driver is cover whole cache functionality.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;4. Can I completely drop&amp;nbsp;&lt;SPAN&gt;FTFx_CACHE API usage from pflash SDK example ( it demonstrate flash erase/read/write API)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp;and use LMEM API&amp;nbsp; e.g Code/System caches only ?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN&gt;&amp;nbsp; Or what is relation&amp;nbsp; between those 2 caches ?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN&gt;Thank you !&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN&gt;Eugene&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Oct 2018 06:31:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/K82-cache-and-cache/m-p/787291#M47900</guid>
      <dc:creator>EugeneHiihtaja</dc:creator>
      <dc:date>2018-10-18T06:31:44Z</dc:date>
    </item>
    <item>
      <title>Re: K82 : cache and cache</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K82-cache-and-cache/m-p/787292#M47901</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Eugene,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. For enable/disable write buffer you should use LMEM_PCCCR and&amp;nbsp;LMEM_PSCCR registers for code and system cache respectively.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4. Yes, I'd recommend you to use LMEM driver instead for a better implementation.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Felipe&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Oct 2018 14:22:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/K82-cache-and-cache/m-p/787292#M47901</guid>
      <dc:creator>FelipeGarcia</dc:creator>
      <dc:date>2018-10-18T14:22:25Z</dc:date>
    </item>
    <item>
      <title>Re: K82 : cache and cache</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K82-cache-and-cache/m-p/787293#M47902</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Felipe !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But how I should understand those few lines in pflash example in K82 latest SDK:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/* Post-preparation work about flash Cache/Prefetch/Speculation. */&lt;BR /&gt; FTFx_CACHE_ClearCachePrefetchSpeculation(&amp;amp;s_cacheDriver, false);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;#if defined(FSL_FEATURE_HAS_L1CACHE) &amp;amp;&amp;amp; FSL_FEATURE_HAS_L1CACHE&lt;BR /&gt; L1CACHE_InvalidateCodeCache();&lt;BR /&gt;#endif /* FSL_FEATURE_HAS_L1CACHE */&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It looks like this is 2 independent caches ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or this is just example what demonstrate&amp;nbsp; code cache cleaning ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Eugene&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Oct 2018 06:39:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/K82-cache-and-cache/m-p/787293#M47902</guid>
      <dc:creator>EugeneHiihtaja</dc:creator>
      <dc:date>2018-10-19T06:39:03Z</dc:date>
    </item>
    <item>
      <title>Re: K82 : cache and cache</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K82-cache-and-cache/m-p/787294#M47903</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Eugene,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The lines you mentioned are not referring to different caches, but they are doing different things.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As you can see &lt;STRONG&gt;FTFx_CACHE_ClearCachePrefetchSpeculation(&amp;amp;s_cacheDriver, false);&lt;/STRONG&gt; uses the &lt;STRONG&gt;FMC&lt;/STRONG&gt; driver. The Flash Memory Controller (FMC) is a memory acceleration unit used to enhanced flash performance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On the other hand&amp;nbsp;&lt;STRONG&gt;L1CACHE_InvalidateCodeCache();&lt;/STRONG&gt; is invalidating code cache using &lt;STRONG&gt;LMEM&lt;/STRONG&gt; controller as you mentioned before&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Hope this helps!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;BR /&gt;Felipe&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Oct 2018 14:48:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/K82-cache-and-cache/m-p/787294#M47903</guid>
      <dc:creator>FelipeGarcia</dc:creator>
      <dc:date>2018-10-19T14:48:45Z</dc:date>
    </item>
    <item>
      <title>Re: K82 : cache and cache</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K82-cache-and-cache/m-p/787295#M47904</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Felipe !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you clarify one more detail.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1.&lt;/P&gt;&lt;P&gt;I'm using for nonvolatile data storage last 2 sectors on flash space. And it is no any code run is expected for that area in any conditions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Should I really use&amp;nbsp;&lt;STRONG style="color: #51626f; background-color: #ffffff; border: 0px; font-weight: bold; font-size: 14px;"&gt;FTFx_CACHE_ClearCachePrefetchSpeculation(&amp;amp;s_cacheDriver, false); / true and L1CACHE operation in this case ?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2.&lt;/P&gt;&lt;P&gt;Should I really call API for&amp;nbsp;FTFx_CACHE_PflashSetPrefetchSpeculation() for code and data or after initialization prefetch is set ON for code and data by default. Or how properly initialize FMC cache for have max gain for flash performance ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Eugene&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Oct 2018 08:16:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/K82-cache-and-cache/m-p/787295#M47904</guid>
      <dc:creator>EugeneHiihtaja</dc:creator>
      <dc:date>2018-10-22T08:16:14Z</dc:date>
    </item>
    <item>
      <title>Re: K82 : cache and cache</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K82-cache-and-cache/m-p/787296#M47905</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Eugene,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1.&amp;nbsp;The FMC prefetch speculation buffer allow the FMC to respond to flash accesses&amp;nbsp;faster. Cache prefetch is not related to avoid code execution in certain flash areas.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. The FMC cache and prefetch buffers are enabled by default. Both instructions and data accesses can trigger a speculative prefetch cycle.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please check the following application note.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.nxp.com/docs/en/application-note/AN4745.pdf"&gt;Optimizing Performance on Kinetis K-series MCUs&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Felipe&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Oct 2018 15:23:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/K82-cache-and-cache/m-p/787296#M47905</guid>
      <dc:creator>FelipeGarcia</dc:creator>
      <dc:date>2018-10-22T15:23:30Z</dc:date>
    </item>
    <item>
      <title>Re: K82 : cache and cache</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K82-cache-and-cache/m-p/787297#M47906</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Felipe !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using MPU and configure memory regions in RAM/ROM where is execution enabled. It work fine for&amp;nbsp; limit/enable User privileged software.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If FMC cache is enabled by default, have it sense to take care about it at all in areas where execution is not expected ?&lt;/P&gt;&lt;P&gt;Like in my case, when last 2 flash sectors is used for store some data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can easily write 4 bytes aligned chunk at once even I think it should be 16 bytes lines only. Or atomic write unit to flash memory is 4 bytes ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By the way how-to possible to see all NXP's application notes for K82 MCU ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Generic page&amp;nbsp;&lt;A class="link-titled" href="https://www.nxp.com/products/processors-and-microcontrollers/arm-based-processors-and-mcus/kinetis-cortex-m-mcus/k-seriesperformancem4/k8x-secure/kinetis-k82-150-mhz-hw-cryptographic-co-processor-quadspi-microcontrollers-mcus-based-on-arm-cortex-m4-core:K82_150?tab=Documentation_Tab" title="https://www.nxp.com/products/processors-and-microcontrollers/arm-based-processors-and-mcus/kinetis-cortex-m-mcus/k-seriesperformancem4/k8x-secure/kinetis-k82-150-mhz-hw-cryptographic-co-processor-quadspi-microcontrollers-mcus-based-on-arm-cortex-m4-core:K82_150?tab=Documentation_Tab"&gt;Arm® Cortex® -M4|Kinetis K82 150 MHz Secure MCUs|NXP&lt;/A&gt;&amp;nbsp; dosn't have link&amp;nbsp; AN4547.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Eugene&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Oct 2018 12:30:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/K82-cache-and-cache/m-p/787297#M47906</guid>
      <dc:creator>EugeneHiihtaja</dc:creator>
      <dc:date>2018-10-24T12:30:55Z</dc:date>
    </item>
    <item>
      <title>Re: K82 : cache and cache</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K82-cache-and-cache/m-p/787298#M47907</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Eugene,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;FMC cache will just enhances flash accesses so I wouldn't worry about&amp;nbsp;those areas.&lt;/LI&gt;&lt;LI&gt;Writing to flash requires the start address to be 4-byte aligned but you could specify the number of bytes you want to write just making sure the length is 4-byte aligned.&lt;/LI&gt;&lt;/UL&gt;&lt;UL&gt;&lt;LI&gt;AN4745 is located in K70 Application Notes but it works for all Kinetis devices. You can access specific K82 application notes&amp;nbsp;in the Documentation section in&amp;nbsp;&lt;A href="https://www.nxp.com/products/processors-and-microcontrollers/arm-based-processors-and-mcus/kinetis-cortex-m-mcus/k-seriesperformancem4/k8x-secure/kinetis-k82-150-mhz-hw-cryptographic-co-processor-quadspi-microcontrollers-mcus-based-on-arm-cortex-m4-core:K82_150?tab=Documentation_Tab"&gt;K82 page&lt;/A&gt;.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this helps.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;Felipe&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Oct 2018 19:56:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/K82-cache-and-cache/m-p/787298#M47907</guid>
      <dc:creator>FelipeGarcia</dc:creator>
      <dc:date>2018-10-24T19:56:47Z</dc:date>
    </item>
    <item>
      <title>Re: K82 : cache and cache</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K82-cache-and-cache/m-p/787299#M47908</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Felipe !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does NXP has page where possible to see all ANxxx in sequential order ?&lt;/P&gt;&lt;P&gt;Looks like it is exists more K82 relative AppNotes then mentioned on K81 Doc pages.&lt;/P&gt;&lt;P&gt;But it would be nice to know and read all of them.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Eugene&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Oct 2018 06:34:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/K82-cache-and-cache/m-p/787299#M47908</guid>
      <dc:creator>EugeneHiihtaja</dc:creator>
      <dc:date>2018-10-25T06:34:23Z</dc:date>
    </item>
    <item>
      <title>Re: K82 : cache and cache</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K82-cache-and-cache/m-p/787300#M47909</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Eugene,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unfortunately, there is no site where you could see all the available application notes. You need to look for them on specific device page.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Felipe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Oct 2018 18:02:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/K82-cache-and-cache/m-p/787300#M47909</guid>
      <dc:creator>FelipeGarcia</dc:creator>
      <dc:date>2018-10-25T18:02:58Z</dc:date>
    </item>
  </channel>
</rss>

