<?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 About S32K144 FlexRAM used for EEPROM quick writes in S32K</title>
    <link>https://community.nxp.com/t5/S32K/About-S32K144-FlexRAM-used-for-EEPROM-quick-writes/m-p/931299#M4954</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN&gt;About FlexRAM used for EEPROM quick writes:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; background-color: #f7f8fa; font-weight: normal; font-size: 14px;"&gt;Are there any examples of &lt;SPAN style="color: #3d3d3d;"&gt;quick&lt;/SPAN&gt; write?&amp;nbsp; I can't write data when I configure &lt;SPAN style="color: #3d3d3d;"&gt;quick&lt;/SPAN&gt; write.&amp;nbsp;&lt;SPAN style="font-weight: normal;"&gt;Here is an example of my configuration:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/81047i08E6C74C3B14396B/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #f7f8fa; color: #333333; font-weight: normal; font-size: 14px; "&gt;thanks!&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 17 Jul 2019 03:21:21 GMT</pubDate>
    <dc:creator>jianguo_li</dc:creator>
    <dc:date>2019-07-17T03:21:21Z</dc:date>
    <item>
      <title>About S32K144 FlexRAM used for EEPROM quick writes</title>
      <link>https://community.nxp.com/t5/S32K/About-S32K144-FlexRAM-used-for-EEPROM-quick-writes/m-p/931299#M4954</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN&gt;About FlexRAM used for EEPROM quick writes:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; background-color: #f7f8fa; font-weight: normal; font-size: 14px;"&gt;Are there any examples of &lt;SPAN style="color: #3d3d3d;"&gt;quick&lt;/SPAN&gt; write?&amp;nbsp; I can't write data when I configure &lt;SPAN style="color: #3d3d3d;"&gt;quick&lt;/SPAN&gt; write.&amp;nbsp;&lt;SPAN style="font-weight: normal;"&gt;Here is an example of my configuration:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/81047i08E6C74C3B14396B/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #f7f8fa; color: #333333; font-weight: normal; font-size: 14px; "&gt;thanks!&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jul 2019 03:21:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/About-S32K144-FlexRAM-used-for-EEPROM-quick-writes/m-p/931299#M4954</guid>
      <dc:creator>jianguo_li</dc:creator>
      <dc:date>2019-07-17T03:21:21Z</dc:date>
    </item>
    <item>
      <title>Re: About S32K144 FlexRAM used for EEPROM quick writes</title>
      <link>https://community.nxp.com/t5/S32K/About-S32K144-FlexRAM-used-for-EEPROM-quick-writes/m-p/931300#M4955</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I don't see anything wrong in the configuration.&lt;/P&gt;&lt;P&gt;What does it mean that you can't write the data?&lt;/P&gt;&lt;P&gt;How do you write the data?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;BR, Daniel&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Jul 2019 10:24:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/About-S32K144-FlexRAM-used-for-EEPROM-quick-writes/m-p/931300#M4955</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2019-07-22T10:24:25Z</dc:date>
    </item>
    <item>
      <title>Re: About S32K144 FlexRAM used for EEPROM quick writes</title>
      <link>https://community.nxp.com/t5/S32K/About-S32K144-FlexRAM-used-for-EEPROM-quick-writes/m-p/931301#M4956</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&amp;nbsp;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Daniel&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Here&amp;nbsp;are my write function and read function, after i write a 32bits variable into the eeeprom by CAN,&amp;nbsp;it is then read and the value of the variable is reported through the CAN module.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;After reset my&amp;nbsp;brassboard,&amp;nbsp;the report is still 0xffffffff.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;But&amp;nbsp;I&amp;nbsp;can read and&amp;nbsp;write normally&amp;nbsp;without QUICK WRITE mode.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;thanks!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/82832iBCE63798B223E1AA/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/82869i163ED113E93A4FC1/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Jul 2019 01:18:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/About-S32K144-FlexRAM-used-for-EEPROM-quick-writes/m-p/931301#M4956</guid>
      <dc:creator>jianguo_li</dc:creator>
      <dc:date>2019-07-23T01:18:30Z</dc:date>
    </item>
    <item>
      <title>Re: About S32K144 FlexRAM used for EEPROM quick writes</title>
      <link>https://community.nxp.com/t5/S32K/About-S32K144-FlexRAM-used-for-EEPROM-quick-writes/m-p/931302#M4957</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/jianguo.li@ev-ep.com"&gt;jianguo.li@ev-ep.com&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;In the quick-write mode, all requested bytes (SetRAM command 0x81 (FCCOB5, FCCOB4), in this case 512 bytes) have to complete the program operation for any of them to be valid. If write operation interrupted&amp;nbsp;by reset or power lost before last byte written, none of the writes are valid and last records are the valid.&amp;nbsp;Because the maintenance is performed only once the last byte has been written.&lt;/P&gt;&lt;P&gt;You should be able to see all the data in the FlexRAM after reset if you lower the number of quick-write bytes to the number of bytes that you are actually writing to the FlexRAM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To check any EEPROM issue after reset, please use the SetRAM command &lt;SPAN style="text-decoration: underline;"&gt;EEPROM quick write status query (0x77)&lt;/SPAN&gt;&amp;nbsp;as explained in AN11983 Section 3.2.1.4 FlexRAM used for querying write status on EEPROM.&lt;/P&gt;&lt;P&gt;In this case, I expect the returned brownout code to be 0x02.&amp;nbsp;&lt;/P&gt;&lt;P&gt;If the the brownout code&amp;nbsp;is 0x01, you can use the SetRAM command&amp;nbsp;&lt;SPAN style="text-decoration: underline;"&gt;Complete interrupted EEPROM quick write process (0xAA)&lt;/SPAN&gt; to complete the &lt;SPAN&gt;maintenance (3.2.1.5 FlexRAM used to complete interrupted EEPROM quick write process).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Daniel&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Jul 2019 14:20:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/About-S32K144-FlexRAM-used-for-EEPROM-quick-writes/m-p/931302#M4957</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2019-07-23T14:20:54Z</dc:date>
    </item>
    <item>
      <title>Re: About S32K144 FlexRAM used for EEPROM quick writes</title>
      <link>https://community.nxp.com/t5/S32K/About-S32K144-FlexRAM-used-for-EEPROM-quick-writes/m-p/931303#M4958</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Hi,&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;Daniel&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help，my problem has been solved. I set the minimum value (0x10 bytes)&amp;nbsp; for EEPROM quick writes and the actual number of bytes also written to 0x10. After reset, the data can be read.&lt;/P&gt;&lt;P&gt;But there are two more questions:&lt;BR /&gt;1. &lt;SPAN&gt;I set the minimum value (0x10 bytes)&amp;nbsp; for EEPROM quick writes and the actual number of bytes written to 0x08(&amp;lt;0x10)&lt;/SPAN&gt;. The brownout code returned is the last data I wrote in, not&amp;nbsp; 0x01 or 0x02, and the data cannot be read after reset.&lt;BR /&gt;2. &lt;SPAN&gt;I set the minimum value (0x10 bytes)&amp;nbsp; for EEPROM quick writes and the actual number of bytes written to 0x20(&amp;gt;0x10)&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&amp;nbsp;The data can still be read after reset.&lt;/P&gt;&lt;P&gt;I &lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;don't know why, and the&amp;nbsp;&lt;SPAN&gt;AN11983&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #666666; font-weight: normal; font-size: 14px;"&gt;does not mention.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #666666; font-weight: normal; font-size: 14px; "&gt;Thanks.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Jul 2019 03:43:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/About-S32K144-FlexRAM-used-for-EEPROM-quick-writes/m-p/931303#M4958</guid>
      <dc:creator>jianguo_li</dc:creator>
      <dc:date>2019-07-24T03:43:27Z</dc:date>
    </item>
    <item>
      <title>Re: About S32K144 FlexRAM used for EEPROM quick writes</title>
      <link>https://community.nxp.com/t5/S32K/About-S32K144-FlexRAM-used-for-EEPROM-quick-writes/m-p/931304#M4959</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp;&lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/jianguo.li@ev-ep.com" rel="noopener noreferrer" target="_blank"&gt;jianguo.li@ev-ep.com&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The quick-write mode expects a number of bytes to be written.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1.&lt;BR /&gt;If the number of FlexRAM bytes allocated for EEPROM quick writes is:&lt;/P&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;FTFC-&amp;gt;FCCOB[7] = 0x00; 
FTFC-&amp;gt;FCCOB[6] = 0x10; // 16 bytes&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;and there are only two 32-bit writes before reset, the brown-out code&amp;nbsp;returned by the&amp;nbsp;EEPROM quick write status query after the reset is:&lt;/P&gt;&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.png"&gt;&lt;IMG alt="pastedImage_2.png" src="https://community.nxp.com/t5/image/serverpage/image-id/84956iE3CAFDEA52CD7883/image-size/large?v=v2&amp;amp;px=999" title="pastedImage_2.png" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;And the two records are lost.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2.&lt;BR /&gt;Yes, that’s correct. &lt;BR /&gt;Once the expected number of bytes is reached, the EEPROM starts the maintenance on the flash block.&lt;BR /&gt;After that, subsequent data can be written as normal writes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please refer to AN11983, Appendix A EEPROM examples.&lt;BR /&gt;On p.22, there is a quick-write use case described.&lt;BR /&gt;“Quick write mode is intended to be used to save critical status records prior brownout events.”&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Nov 2020 14:24:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/About-S32K144-FlexRAM-used-for-EEPROM-quick-writes/m-p/931304#M4959</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2020-11-02T14:24:46Z</dc:date>
    </item>
    <item>
      <title>Re: About S32K144 FlexRAM used for EEPROM quick writes</title>
      <link>https://community.nxp.com/t5/S32K/About-S32K144-FlexRAM-used-for-EEPROM-quick-writes/m-p/931305#M4960</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;Hi,&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;Daniel&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Thank you very much for your help.&lt;/P&gt;&lt;P&gt;I can use EEE normally.&lt;/P&gt;&lt;P&gt;What I have been reading is the old version AN11983, and the new version AN11983 explains the use of EEE in detail.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 27 Jul 2019 01:20:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/About-S32K144-FlexRAM-used-for-EEPROM-quick-writes/m-p/931305#M4960</guid>
      <dc:creator>jianguo_li</dc:creator>
      <dc:date>2019-07-27T01:20:47Z</dc:date>
    </item>
  </channel>
</rss>

