<?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: s32k118 EEPROM Functionality example in S32K</title>
    <link>https://community.nxp.com/t5/S32K/s32k118-EEPROM-Functionality-example/m-p/1218924#M9673</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please, refer to the &lt;A href="https://www.nxp.com/docs/en/application-note/AN11983.pdf" target="_self"&gt;AN11983&lt;/A&gt;&amp;nbsp;section "3.6.1 EEE writes"&lt;/P&gt;
&lt;P&gt;"Writes to the EEE space launch a EEE operation to store the data within the E-flash memory. Because this is a flash program operation, software &lt;STRONG&gt;must test the CCIF bit to determine if any other flash operations are in progress before writing to the EEE&amp;nbsp;space. &lt;/STRONG&gt;Because multiple concurrent writes and read-while-write operations within the same flash block are not allowable, accesses&lt;BR /&gt;to the EEE or D-flash space are not allowed until the EEE write is complete.&lt;STRONG&gt; Check CCIF flag to determine if previous Flash or EEEPROM command is finished&lt;/STRONG&gt;"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;&amp;gt;&amp;gt; When writing the mass data(is bigger than 4 byte), Can I use the memcpy function?&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;No, you should wait for CCIF whenever you write 4 bytes as you can see in the example.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;"the records used to back up the EEE data use a word sized data field"&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I hope it helps.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Diana&lt;/P&gt;</description>
    <pubDate>Thu, 21 Jan 2021 15:33:11 GMT</pubDate>
    <dc:creator>dianabatrlova</dc:creator>
    <dc:date>2021-01-21T15:33:11Z</dc:date>
    <item>
      <title>s32k118 EEPROM Functionality example</title>
      <link>https://community.nxp.com/t5/S32K/s32k118-EEPROM-Functionality-example/m-p/1217757#M9655</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I'm trying to use EEPROM Functionality, and refer to AN11983 Rev 0,06/2017&lt;/P&gt;&lt;P&gt;there are examples, but I couldn't access the funcition which in the examples.&lt;/P&gt;&lt;P&gt;this function is flash_launchCommand();&lt;/P&gt;&lt;P&gt;What can I do?&lt;/P&gt;&lt;P&gt;And Can I get&amp;nbsp;the&amp;nbsp;full example code like S32K1xx Series Cookbook(AN5413)?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Jan 2021 08:56:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/s32k118-EEPROM-Functionality-example/m-p/1217757#M9655</guid>
      <dc:creator>종찬박</dc:creator>
      <dc:date>2021-01-20T08:56:07Z</dc:date>
    </item>
    <item>
      <title>Re: s32k118 EEPROM Functionality example</title>
      <link>https://community.nxp.com/t5/S32K/s32k118-EEPROM-Functionality-example/m-p/1218001#M9662</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SW examples directly for the AN11983 is not available.&lt;/P&gt;
&lt;P&gt;However, the flash_partitioning_s32k118 example can be found in the S32DS: File -&amp;gt; New -&amp;gt; S32DS Project from Example&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="dianabatrlova_0-1611152895898.png" style="width: 599px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/135308iCD10CE9E66D78654/image-dimensions/599x458?v=v2" width="599" height="458" role="button" title="dianabatrlova_0-1611152895898.png" alt="dianabatrlova_0-1611152895898.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Another available example codes are made for the S32K144:&lt;/P&gt;
&lt;P&gt;1. See the attachment.&lt;/P&gt;
&lt;P&gt;2.&amp;nbsp;&lt;A href="https://community.nxp.com/t5/S32-Design-Studio-Knowledge-Base/Example-S32K144-EEEPROM-usage/ta-p/1109405" target="_blank"&gt;https://community.nxp.com/t5/S32-Design-Studio-Knowledge-Base/Example-S32K144-EEEPROM-usage/ta-p/1109405&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;3.&amp;nbsp;&lt;A href="https://community.nxp.com/t5/S32-Design-Studio-Knowledge-Base/EXAMPLE-S32K144-EEEPROM-usage-No-SDK/ta-p/1106848" target="_blank"&gt;https://community.nxp.com/t5/S32-Design-Studio-Knowledge-Base/EXAMPLE-S32K144-EEEPROM-usage-No-SDK/ta-p/1106848&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To better understand flash commands I strongly recommend you reading the Reference Manual rev 12.1&lt;/P&gt;
&lt;P&gt;The flash commands are usually launched from the RAM because some operations on the flash module cannot be executed simultaneously.&lt;/P&gt;
&lt;P&gt;The equivalent of that function (&lt;SPAN&gt;flash_launchCommand();&lt;/SPAN&gt;) can be found in the mentioned example "flash_partitioning_s32k118"&amp;nbsp; function "FLASH_DRV_CommandSequence"&lt;/P&gt;
&lt;P&gt;Or simply:&lt;/P&gt;
&lt;P&gt;/* Clear CCIF to launch command */&lt;BR /&gt;FTFx_FSTAT |= FTFx_FSTAT_CCIF_MASK;&lt;/P&gt;
&lt;P&gt;/* Wait for previous command to complete */&lt;BR /&gt;while ((FTFC-&amp;gt;FSTAT &amp;amp; FTFC_FSTAT_CCIF_MASK) == 0);&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I hope it helps,&lt;/P&gt;
&lt;P&gt;Best regards.&lt;/P&gt;
&lt;P&gt;Diana&lt;/P&gt;</description>
      <pubDate>Wed, 20 Jan 2021 15:04:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/s32k118-EEPROM-Functionality-example/m-p/1218001#M9662</guid>
      <dc:creator>dianabatrlova</dc:creator>
      <dc:date>2021-01-20T15:04:03Z</dc:date>
    </item>
    <item>
      <title>Re: s32k118 EEPROM Functionality example</title>
      <link>https://community.nxp.com/t5/S32K/s32k118-EEPROM-Functionality-example/m-p/1218491#M9667</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Thanks for response.&lt;/P&gt;&lt;P&gt;your answer is useful for me.&lt;/P&gt;&lt;P&gt;but, I have another question.&lt;/P&gt;&lt;P&gt;In the example EEEPROM no SDK, when using the write function,&lt;/P&gt;&lt;P&gt;the function 'EEE_Write_ByteArray' execute the line to check FSTAT_CCIF whenever it write 4 byte.&lt;/P&gt;&lt;P&gt;I wonder why FSTAT_CCIF have to be checked.&lt;/P&gt;&lt;P&gt;And When writing the mass data(is bigger than 4 byte), Can I use the memcpy function?&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jan 2021 04:49:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/s32k118-EEPROM-Functionality-example/m-p/1218491#M9667</guid>
      <dc:creator>종찬박</dc:creator>
      <dc:date>2021-01-21T04:49:56Z</dc:date>
    </item>
    <item>
      <title>Re: s32k118 EEPROM Functionality example</title>
      <link>https://community.nxp.com/t5/S32K/s32k118-EEPROM-Functionality-example/m-p/1218924#M9673</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please, refer to the &lt;A href="https://www.nxp.com/docs/en/application-note/AN11983.pdf" target="_self"&gt;AN11983&lt;/A&gt;&amp;nbsp;section "3.6.1 EEE writes"&lt;/P&gt;
&lt;P&gt;"Writes to the EEE space launch a EEE operation to store the data within the E-flash memory. Because this is a flash program operation, software &lt;STRONG&gt;must test the CCIF bit to determine if any other flash operations are in progress before writing to the EEE&amp;nbsp;space. &lt;/STRONG&gt;Because multiple concurrent writes and read-while-write operations within the same flash block are not allowable, accesses&lt;BR /&gt;to the EEE or D-flash space are not allowed until the EEE write is complete.&lt;STRONG&gt; Check CCIF flag to determine if previous Flash or EEEPROM command is finished&lt;/STRONG&gt;"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;&amp;gt;&amp;gt; When writing the mass data(is bigger than 4 byte), Can I use the memcpy function?&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;No, you should wait for CCIF whenever you write 4 bytes as you can see in the example.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;"the records used to back up the EEE data use a word sized data field"&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I hope it helps.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Diana&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jan 2021 15:33:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/s32k118-EEPROM-Functionality-example/m-p/1218924#M9673</guid>
      <dc:creator>dianabatrlova</dc:creator>
      <dc:date>2021-01-21T15:33:11Z</dc:date>
    </item>
  </channel>
</rss>

