<?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>LPC Microcontrollers中的主题 Re: LPC8N04 EEPROM endurance</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC8N04-EEPROM-endurance/m-p/1058271#M40953</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/kenchill" rel="nofollow noopener noreferrer" target="_blank"&gt;kenchill&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've already reported the issue with the applications team, it looks like the&amp;nbsp;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;EEPROM_Init should have the following condition:&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE class="" style="color: #000000; background: #f5f2f0; border: 0px; margin: 0.5em 0px; padding: 1em 1em 1em 3.8em;"&gt;&lt;CODE style="border: 0px; font-weight: inherit;"&gt;&lt;SPAN class="" style="color: #0077aa; border: 0px; font-weight: inherit;"&gt;if&lt;/SPAN&gt; &lt;SPAN class="" style="color: #999999; border: 0px; font-weight: inherit;"&gt;(&lt;/SPAN&gt;base&lt;SPAN class="" style="color: #a67f59; background: rgba(255, 255, 255, 0.5); border: 0px; font-weight: inherit;"&gt;-&amp;gt;&lt;/SPAN&gt;CLKDIV &lt;SPAN class="" style="color: #a67f59; background: rgba(255, 255, 255, 0.5); border: 0px; font-weight: inherit;"&gt;&amp;lt;&lt;/SPAN&gt; &lt;SPAN class="" style="color: #990000; border: 0px; font-weight: inherit;"&gt;1&lt;/SPAN&gt;&lt;SPAN class="" style="color: #999999; border: 0px; font-weight: inherit;"&gt;)&lt;/SPAN&gt;
&lt;SPAN class="" style="color: #999999; border: 0px; font-weight: inherit;"&gt;{&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; base&lt;SPAN class="" style="color: #a67f59; background: rgba(255, 255, 255, 0.5); border: 0px; font-weight: inherit;"&gt;-&amp;gt;&lt;/SPAN&gt;CLKDIV &lt;SPAN class="" style="color: #a67f59; background: rgba(255, 255, 255, 0.5); border: 0px; font-weight: inherit;"&gt;=&lt;/SPAN&gt; &lt;SPAN class="" style="color: #990000; border: 0px; font-weight: inherit;"&gt;1&lt;/SPAN&gt;&lt;SPAN class="" style="color: #999999; border: 0px; font-weight: inherit;"&gt;;&lt;/SPAN&gt;
&lt;SPAN class="" style="color: #999999; border: 0px; font-weight: inherit;"&gt;}&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Alexis Andalon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 10 Jul 2020 15:59:49 GMT</pubDate>
    <dc:creator>Alexis_A</dc:creator>
    <dc:date>2020-07-10T15:59:49Z</dc:date>
    <item>
      <title>LPC8N04 EEPROM endurance</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC8N04-EEPROM-endurance/m-p/1058270#M40952</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;Are there any specifications for EEPROM or FLASH endurance for the LPC8N04 ?&lt;/P&gt;&lt;P&gt;All the data sheet gives is 10 year min data retention time for the EEPROM it gives no endurance or write times (the same goes for the FLASH).&lt;/P&gt;&lt;P&gt;We have a 32-bit counter that needs to reside in EEPROM&amp;nbsp;which could be incremented once every 10 seconds over a life of 5 years, so some sort of wear-levelling algorithm needs to be&amp;nbsp;used - but this is impossible without more info on the EEPROM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are a couple of other EEPROM issues:&lt;/P&gt;&lt;P&gt;(1) There is no info for setting the value in the RWSTATE and WSTATE wait registers, only magic numbers are given - will these values work for all clock speeds and temperatures or do they need to be scaled?&lt;/P&gt;&lt;P&gt;(2) The API won't work with a 500kHz clock - in table 8 of the user-manual it states that 500kHz is ok, but the API sets the CLKDIV to zero if this speed is selected causing a hardware exception - is this a bug in the API? the following is extracted from the 'EEPROM_Init()' function:&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; /* Set the clock divider */&lt;BR /&gt; clockDiv = sourceClock_Hz / FSL_FEATURE_EEPROM_INTERNAL_FREQ;&lt;BR /&gt; if ((sourceClock_Hz % FSL_FEATURE_EEPROM_INTERNAL_FREQ) &amp;gt; FSL_FEATURE_EEPROM_INTERNAL_FREQ&amp;nbsp; / 2U))&lt;BR /&gt; {&lt;BR /&gt; clockDiv += 1U;&lt;BR /&gt; }&lt;BR /&gt; base-&amp;gt;CLKDIV = clockDiv - 1U;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for any help&lt;/P&gt;&lt;P&gt;Ken...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jun 2020 15:35:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC8N04-EEPROM-endurance/m-p/1058270#M40952</guid>
      <dc:creator>kenchill</dc:creator>
      <dc:date>2020-06-17T15:35:38Z</dc:date>
    </item>
    <item>
      <title>Re: LPC8N04 EEPROM endurance</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC8N04-EEPROM-endurance/m-p/1058271#M40953</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/kenchill" rel="nofollow noopener noreferrer" target="_blank"&gt;kenchill&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've already reported the issue with the applications team, it looks like the&amp;nbsp;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;EEPROM_Init should have the following condition:&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE class="" style="color: #000000; background: #f5f2f0; border: 0px; margin: 0.5em 0px; padding: 1em 1em 1em 3.8em;"&gt;&lt;CODE style="border: 0px; font-weight: inherit;"&gt;&lt;SPAN class="" style="color: #0077aa; border: 0px; font-weight: inherit;"&gt;if&lt;/SPAN&gt; &lt;SPAN class="" style="color: #999999; border: 0px; font-weight: inherit;"&gt;(&lt;/SPAN&gt;base&lt;SPAN class="" style="color: #a67f59; background: rgba(255, 255, 255, 0.5); border: 0px; font-weight: inherit;"&gt;-&amp;gt;&lt;/SPAN&gt;CLKDIV &lt;SPAN class="" style="color: #a67f59; background: rgba(255, 255, 255, 0.5); border: 0px; font-weight: inherit;"&gt;&amp;lt;&lt;/SPAN&gt; &lt;SPAN class="" style="color: #990000; border: 0px; font-weight: inherit;"&gt;1&lt;/SPAN&gt;&lt;SPAN class="" style="color: #999999; border: 0px; font-weight: inherit;"&gt;)&lt;/SPAN&gt;
&lt;SPAN class="" style="color: #999999; border: 0px; font-weight: inherit;"&gt;{&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; base&lt;SPAN class="" style="color: #a67f59; background: rgba(255, 255, 255, 0.5); border: 0px; font-weight: inherit;"&gt;-&amp;gt;&lt;/SPAN&gt;CLKDIV &lt;SPAN class="" style="color: #a67f59; background: rgba(255, 255, 255, 0.5); border: 0px; font-weight: inherit;"&gt;=&lt;/SPAN&gt; &lt;SPAN class="" style="color: #990000; border: 0px; font-weight: inherit;"&gt;1&lt;/SPAN&gt;&lt;SPAN class="" style="color: #999999; border: 0px; font-weight: inherit;"&gt;;&lt;/SPAN&gt;
&lt;SPAN class="" style="color: #999999; border: 0px; font-weight: inherit;"&gt;}&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Alexis Andalon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Jul 2020 15:59:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC8N04-EEPROM-endurance/m-p/1058271#M40953</guid>
      <dc:creator>Alexis_A</dc:creator>
      <dc:date>2020-07-10T15:59:49Z</dc:date>
    </item>
  </channel>
</rss>

