<?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: FlexNVM as EEPROM is Slow in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/FlexNVM-as-EEPROM-is-Slow/m-p/651724#M39696</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We actually have the Flash clock configured for 25 MHz.&amp;nbsp; Also, I've been able to reproduce the problem while having the EEPROM code run in our highest priority interrupt (SysTick).&amp;nbsp; Since it cannot preempt itself, disabling global interrupts will have no effect.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'll run a test where we don't have any interrupts enabled (including SysTick), and report back if that has any effect.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 07 Apr 2017 12:43:21 GMT</pubDate>
    <dc:creator>benjaminschroed</dc:creator>
    <dc:date>2017-04-07T12:43:21Z</dc:date>
    <item>
      <title>FlexNVM as EEPROM is Slow</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/FlexNVM-as-EEPROM-is-Slow/m-p/651722#M39694</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'm currently working on a project where we plan to use FlexNVM as EEPROM with a K61.&amp;nbsp; We are not writing huge amounts of data, but maybe something like 16 bytes every time 60 seconds has passed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I'm noticing is that if I time how long the EEERDY flag takes to set within FCNFG after every write.&amp;nbsp; It can take up to 667 microseconds, and this is per 32-bit write.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We currently are running in a real-time scheduler, and this is obviously not easy to schedule.&amp;nbsp; We could queue everything that needs to be written, and write it during slack/background time, but that is undesired if we can avoid it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyone have any insight on how to speed this up, or have any novel improvements to what I'm trying to do?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Apr 2017 14:34:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/FlexNVM-as-EEPROM-is-Slow/m-p/651722#M39694</guid>
      <dc:creator>benjaminschroed</dc:creator>
      <dc:date>2017-04-05T14:34:28Z</dc:date>
    </item>
    <item>
      <title>Re: FlexNVM as EEPROM is Slow</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/FlexNVM-as-EEPROM-is-Slow/m-p/651723#M39695</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Benjamin Schroeder,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; What the flash frequency your are configuring?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; 667 ms is too long, there may have some problem.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; When you do the eeprom write, please disable the global interrupt, and test it again.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; You can configure the flash frequency to 25Mhz.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Kerry&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, 07 Apr 2017 09:50:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/FlexNVM-as-EEPROM-is-Slow/m-p/651723#M39695</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2017-04-07T09:50:33Z</dc:date>
    </item>
    <item>
      <title>Re: FlexNVM as EEPROM is Slow</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/FlexNVM-as-EEPROM-is-Slow/m-p/651724#M39696</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We actually have the Flash clock configured for 25 MHz.&amp;nbsp; Also, I've been able to reproduce the problem while having the EEPROM code run in our highest priority interrupt (SysTick).&amp;nbsp; Since it cannot preempt itself, disabling global interrupts will have no effect.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'll run a test where we don't have any interrupts enabled (including SysTick), and report back if that has any effect.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Apr 2017 12:43:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/FlexNVM-as-EEPROM-is-Slow/m-p/651724#M39696</guid>
      <dc:creator>benjaminschroed</dc:creator>
      <dc:date>2017-04-07T12:43:21Z</dc:date>
    </item>
  </channel>
</rss>

