<?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 Flex Memory Endurance calculator in S32K</title>
    <link>https://community.nxp.com/t5/S32K/Flex-Memory-Endurance-calculator/m-p/1224825#M9797</link>
    <description>&lt;P&gt;Dear NXP-Team,&lt;/P&gt;&lt;P&gt;I have difficulties to understand the calculations of the endurance of EEPROM.&lt;/P&gt;&lt;P&gt;First we have the table from the data sheet:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="stefan_nagel_0-1612278442404.png" style="width: 582px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/136318i92AF3501F4F9A5E2/image-dimensions/582x176?v=v2" width="582" height="176" role="button" title="stefan_nagel_0-1612278442404.png" alt="stefan_nagel_0-1612278442404.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;stefan_nagel_0-1612278442404.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Second I have the output of the calculator:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="stefan_nagel_1-1612278498226.png" style="width: 605px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/136320iC6B50E88F8B7AB3F/image-dimensions/605x585?v=v2" width="605" height="585" role="button" title="stefan_nagel_1-1612278498226.png" alt="stefan_nagel_1-1612278498226.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;stefan_nagel_1-1612278498226.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I configured the calculator as follows:&lt;/P&gt;&lt;P&gt;65536B of EEPROM Backup size, 4096B of EEPROM size&lt;/P&gt;&lt;P&gt;--&amp;gt; I assume this should lead to a FLEXRAM ratio of 16.&lt;/P&gt;&lt;P&gt;I further more configure 4096 records with 1 byte each. In my book this should lead to 100k write cycles as indicated in the table above. However ... it does not.&lt;/P&gt;&lt;P&gt;I dont understand the section from green to red at 12.500 flash cycles. The table above indicates a max of 1.000 flash cycles&lt;/P&gt;&lt;P&gt;I furthermore dont understand the relation between 100.000 update requirements lead to 25.000 flash cycles. In my understanding, it should lead to 100.000/16 (ratio) = 6.250 flash cycles.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could you please clarify my wrong understanding?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kind regards&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 02 Feb 2021 15:18:53 GMT</pubDate>
    <dc:creator>stefan_nagel</dc:creator>
    <dc:date>2021-02-02T15:18:53Z</dc:date>
    <item>
      <title>Flex Memory Endurance calculator</title>
      <link>https://community.nxp.com/t5/S32K/Flex-Memory-Endurance-calculator/m-p/1224825#M9797</link>
      <description>&lt;P&gt;Dear NXP-Team,&lt;/P&gt;&lt;P&gt;I have difficulties to understand the calculations of the endurance of EEPROM.&lt;/P&gt;&lt;P&gt;First we have the table from the data sheet:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="stefan_nagel_0-1612278442404.png" style="width: 582px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/136318i92AF3501F4F9A5E2/image-dimensions/582x176?v=v2" width="582" height="176" role="button" title="stefan_nagel_0-1612278442404.png" alt="stefan_nagel_0-1612278442404.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;stefan_nagel_0-1612278442404.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Second I have the output of the calculator:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="stefan_nagel_1-1612278498226.png" style="width: 605px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/136320iC6B50E88F8B7AB3F/image-dimensions/605x585?v=v2" width="605" height="585" role="button" title="stefan_nagel_1-1612278498226.png" alt="stefan_nagel_1-1612278498226.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;stefan_nagel_1-1612278498226.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I configured the calculator as follows:&lt;/P&gt;&lt;P&gt;65536B of EEPROM Backup size, 4096B of EEPROM size&lt;/P&gt;&lt;P&gt;--&amp;gt; I assume this should lead to a FLEXRAM ratio of 16.&lt;/P&gt;&lt;P&gt;I further more configure 4096 records with 1 byte each. In my book this should lead to 100k write cycles as indicated in the table above. However ... it does not.&lt;/P&gt;&lt;P&gt;I dont understand the section from green to red at 12.500 flash cycles. The table above indicates a max of 1.000 flash cycles&lt;/P&gt;&lt;P&gt;I furthermore dont understand the relation between 100.000 update requirements lead to 25.000 flash cycles. In my understanding, it should lead to 100.000/16 (ratio) = 6.250 flash cycles.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could you please clarify my wrong understanding?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kind regards&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Feb 2021 15:18:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Flex-Memory-Endurance-calculator/m-p/1224825#M9797</guid>
      <dc:creator>stefan_nagel</dc:creator>
      <dc:date>2021-02-02T15:18:53Z</dc:date>
    </item>
    <item>
      <title>Re: Flex Memory Endurance calculator</title>
      <link>https://community.nxp.com/t5/S32K/Flex-Memory-Endurance-calculator/m-p/1225699#M9813</link>
      <description>&lt;P&gt;Hello Stefan,&lt;/P&gt;
&lt;P&gt;Please have a look at the footnotes in the table:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="danielmartynek_0-1612369238675.png" style="width: 680px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/136429i16CD088A569B3E72/image-dimensions/680x461?v=v2" width="680" height="461" role="button" title="danielmartynek_0-1612369238675.png" alt="danielmartynek_0-1612369238675.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;danielmartynek_0-1612369238675.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;The 100k specification is for 16-bit and 32-bit writes only.&lt;/P&gt;
&lt;P&gt;This is because one 8-bit record take the same amount of the EEPROM backup flash as one 16-bit record.&lt;/P&gt;
&lt;P&gt;Thus the 25000 flash cycles in you example.&lt;/P&gt;
&lt;P&gt;It is 12500 in the example below that uses 32-bit writes only.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="danielmartynek_1-1612369594203.png" style="width: 721px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/136430i9808DB3C760DBFF8/image-dimensions/721x683?v=v2" width="721" height="683" role="button" title="danielmartynek_1-1612369594203.png" alt="danielmartynek_1-1612369594203.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;danielmartynek_1-1612369594203.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Basically, the FlexNVM is more efficient in the Emulated EEPROM mode.&lt;/P&gt;
&lt;P&gt;As the footnote 6 says, "For usage of any EEE driver other than the FlexMemory feature, the endurance spec will fall back to the specified&lt;BR /&gt;endurance value of the D-Flash specification (1K)."&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Daniel&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Feb 2021 16:32:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Flex-Memory-Endurance-calculator/m-p/1225699#M9813</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2021-02-03T16:32:07Z</dc:date>
    </item>
    <item>
      <title>Re: Flex Memory Endurance calculator</title>
      <link>https://community.nxp.com/t5/S32K/Flex-Memory-Endurance-calculator/m-p/1269462#M10698</link>
      <description>&lt;P&gt;Hello Daniel,&lt;/P&gt;&lt;P&gt;an additional question to FlexNVM endurance: Does it matter in which arrangement data is stored in the FlexRAM / Eeprom?&lt;/P&gt;&lt;P&gt;To get a (logical) separation of different data areas, I created 1kByte blocks in the eeprom in the linker script and distributed the eeprom data accordingly. Since this data never has a size of 1kByte, free areas remain between the individual blocks. Does this affect the lifetime of the FlexNVM?&lt;BR /&gt;For a better unterstanding see attached file "eeprom_layout.png"&lt;/P&gt;</description>
      <pubDate>Wed, 28 Apr 2021 07:40:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Flex-Memory-Endurance-calculator/m-p/1269462#M10698</guid>
      <dc:creator>SPaulus</dc:creator>
      <dc:date>2021-04-28T07:40:51Z</dc:date>
    </item>
    <item>
      <title>Re: Flex Memory Endurance calculator</title>
      <link>https://community.nxp.com/t5/S32K/Flex-Memory-Endurance-calculator/m-p/1269480#M10700</link>
      <description>&lt;P&gt;Hello Sebastian,&lt;/P&gt;
&lt;P&gt;It does not matter:&lt;/P&gt;
&lt;P&gt;"EEE writes don’t have to be to sequential location, indeed user can write to any valid location and/or write to the same address more than once."&lt;/P&gt;
&lt;P&gt;AN11983 Using the S32K1xx EEPROM Functionality&lt;/P&gt;
&lt;P&gt;Section 3.6.1 EEE writes&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.nxp.com/docs/en/application-note/AN11983.pdf" target="_blank"&gt;https://www.nxp.com/docs/en/application-note/AN11983.pdf&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Daniel&lt;/P&gt;</description>
      <pubDate>Wed, 28 Apr 2021 07:59:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Flex-Memory-Endurance-calculator/m-p/1269480#M10700</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2021-04-28T07:59:38Z</dc:date>
    </item>
    <item>
      <title>Re: Flex Memory Endurance calculator</title>
      <link>https://community.nxp.com/t5/S32K/Flex-Memory-Endurance-calculator/m-p/1269496#M10703</link>
      <description>&lt;P&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/160001"&gt;@danielmartynek&lt;/a&gt;Thanks a lot!&lt;/P&gt;</description>
      <pubDate>Wed, 28 Apr 2021 08:21:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Flex-Memory-Endurance-calculator/m-p/1269496#M10703</guid>
      <dc:creator>SPaulus</dc:creator>
      <dc:date>2021-04-28T08:21:20Z</dc:date>
    </item>
  </channel>
</rss>

