<?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 FlashNvM how to verify ? in S32K</title>
    <link>https://community.nxp.com/t5/S32K/FlashNvM-how-to-verify/m-p/1205447#M9436</link>
    <description>&lt;P&gt;Hello&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here am using "flash_partitioning_s32k148" in which&lt;/P&gt;&lt;P&gt;.PFlashBase = 0x00000000U, /* Base address of Program Flash block */&lt;BR /&gt;.PFlashSize = 0x00180000U, /* Size of Program Flash block */&lt;BR /&gt;.DFlashBase = 0x10000000U, /* Base address of Data Flash block */&lt;BR /&gt;.EERAMBase = 0x14000000U, /* Base address of FlexRAM block */&amp;nbsp;&lt;/P&gt;&lt;P&gt;after running the example am able to see source buffer data(o to 256) at 17F000 address which is last sector of P-Flash and also at 0x14000000U 32bits of data(0,1,2,3)&amp;nbsp;&lt;/P&gt;&lt;P&gt;As I understand after partitioning if we write anything to EERAM it has to write in NVM space at some address but how to verify written values in NvM ? here using memory window at&amp;nbsp;0x10000000U(D-Flash base address) am not seeing any data.&lt;/P&gt;&lt;P&gt;Also is their any specific reason for writing only 32bits of data at&amp;nbsp;0x14000000U ?, what happens if we write whole 256bytes source buffer data(0-256) ?.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here am able to write 256bytes at&amp;nbsp;0x14000000U but not sure what is the effect of it, &amp;amp; how it will effect on endurance cycle.&lt;/P&gt;&lt;P&gt;Please do the needful&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;</description>
    <pubDate>Thu, 31 Dec 2020 07:31:49 GMT</pubDate>
    <dc:creator>Saitej</dc:creator>
    <dc:date>2020-12-31T07:31:49Z</dc:date>
    <item>
      <title>FlashNvM how to verify ?</title>
      <link>https://community.nxp.com/t5/S32K/FlashNvM-how-to-verify/m-p/1205447#M9436</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here am using "flash_partitioning_s32k148" in which&lt;/P&gt;&lt;P&gt;.PFlashBase = 0x00000000U, /* Base address of Program Flash block */&lt;BR /&gt;.PFlashSize = 0x00180000U, /* Size of Program Flash block */&lt;BR /&gt;.DFlashBase = 0x10000000U, /* Base address of Data Flash block */&lt;BR /&gt;.EERAMBase = 0x14000000U, /* Base address of FlexRAM block */&amp;nbsp;&lt;/P&gt;&lt;P&gt;after running the example am able to see source buffer data(o to 256) at 17F000 address which is last sector of P-Flash and also at 0x14000000U 32bits of data(0,1,2,3)&amp;nbsp;&lt;/P&gt;&lt;P&gt;As I understand after partitioning if we write anything to EERAM it has to write in NVM space at some address but how to verify written values in NvM ? here using memory window at&amp;nbsp;0x10000000U(D-Flash base address) am not seeing any data.&lt;/P&gt;&lt;P&gt;Also is their any specific reason for writing only 32bits of data at&amp;nbsp;0x14000000U ?, what happens if we write whole 256bytes source buffer data(0-256) ?.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here am able to write 256bytes at&amp;nbsp;0x14000000U but not sure what is the effect of it, &amp;amp; how it will effect on endurance cycle.&lt;/P&gt;&lt;P&gt;Please do the needful&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;</description>
      <pubDate>Thu, 31 Dec 2020 07:31:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/FlashNvM-how-to-verify/m-p/1205447#M9436</guid>
      <dc:creator>Saitej</dc:creator>
      <dc:date>2020-12-31T07:31:49Z</dc:date>
    </item>
    <item>
      <title>Re: FlashNvM how to verify ?</title>
      <link>https://community.nxp.com/t5/S32K/FlashNvM-how-to-verify/m-p/1206127#M9463</link>
      <description>&lt;P&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/61445"&gt;@nxp&lt;/a&gt;&lt;/P&gt;&lt;P&gt;any update please&lt;/P&gt;</description>
      <pubDate>Mon, 04 Jan 2021 12:15:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/FlashNvM-how-to-verify/m-p/1206127#M9463</guid>
      <dc:creator>Saitej</dc:creator>
      <dc:date>2021-01-04T12:15:28Z</dc:date>
    </item>
    <item>
      <title>Re: FlashNvM how to verify ?</title>
      <link>https://community.nxp.com/t5/S32K/FlashNvM-how-to-verify/m-p/1206165#M9465</link>
      <description>&lt;P&gt;Hello Saitej,&lt;/P&gt;
&lt;P&gt;When EEERDY = 1, any data written to FlexRAM are backed up in FlexNVM, but the user does not have access to FlexNVM used as EEE Backup.&lt;/P&gt;
&lt;P&gt;It can be verified after a power-on reset, when EEERDY = 1 again, the FlexRAM will contain all the data previously stored to the EEPROM.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please refer to AN11983 Using the S32K1xx EEPROM Functionality&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;I believe it is all explained there.&lt;/P&gt;
&lt;P&gt;3.6.1 EEE writes&lt;/P&gt;
&lt;P&gt;6 S32K1xx new quick write mode&lt;/P&gt;
&lt;P&gt;7 S32K1xx EEPROM endurance&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To answer your question,&lt;/P&gt;
&lt;P&gt;You can write up to 32b at a time, every write clears the CCIF flag and you need to wait until the flag is set again.&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;</description>
      <pubDate>Mon, 04 Jan 2021 14:25:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/FlashNvM-how-to-verify/m-p/1206165#M9465</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2021-01-04T14:25:07Z</dc:date>
    </item>
    <item>
      <title>Re: FlashNvM how to verify ?</title>
      <link>https://community.nxp.com/t5/S32K/FlashNvM-how-to-verify/m-p/1206458#M9472</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/160001"&gt;@danielmartynek&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the reply.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;To answer your question,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;You can write up to 32b at a time, every write clears the CCIF flag and you need to wait until the flag is set again.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;- Yes I see even in example it is writing 32bits only, but we have a scenario to write more than 32bits at a time, for that do we need to call write function as many times as required ?&lt;/P&gt;&lt;P&gt;- In ideal case what is the estimated time&amp;nbsp; consumed for one write function ?&lt;/P&gt;&lt;P&gt;- Also at what location all this Flex NVM partition configuration is stored(considering the same example), would like to preserve them in my debug setting please guide me on this too.&lt;/P&gt;&lt;P&gt;Thanks in advance and please do the need full.&lt;/P&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Tue, 05 Jan 2021 06:54:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/FlashNvM-how-to-verify/m-p/1206458#M9472</guid>
      <dc:creator>Saitej</dc:creator>
      <dc:date>2021-01-05T06:54:59Z</dc:date>
    </item>
    <item>
      <title>Re: FlashNvM how to verify ?</title>
      <link>https://community.nxp.com/t5/S32K/FlashNvM-how-to-verify/m-p/1206880#M9483</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;You need to wait until the previous 32b write is complete which is indicated by the CCIF flag.&lt;/P&gt;
&lt;P&gt;The execution time is specified in the datasheet, rev.13.&lt;/P&gt;
&lt;P&gt;Table 35. Flash command timing specifications for S32K14x series&lt;/P&gt;
&lt;P&gt;A write function will have some overhead and this depends on the CPU clock frequency mainly.&lt;/P&gt;
&lt;P&gt;The partition configuration is stored in the Flash IFR which is not accessible.&lt;/P&gt;
&lt;P&gt;However, the DEPART value is loaded during the reset sequence to the SIM_FCFG1[DEPART] register.&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;</description>
      <pubDate>Tue, 05 Jan 2021 12:26:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/FlashNvM-how-to-verify/m-p/1206880#M9483</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2021-01-05T12:26:07Z</dc:date>
    </item>
    <item>
      <title>Re: FlashNvM how to verify ?</title>
      <link>https://community.nxp.com/t5/S32K/FlashNvM-how-to-verify/m-p/1207482#M9489</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/160001"&gt;@danielmartynek&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;- The partition configuration is stored in the Flash IFR which is not accessible&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;okay but every time I debug am loosing the partition config and data in E-flash, &lt;STRONG&gt;which locations i need to preserve to avoid this&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Also here I see write function is consuming too much , &lt;STRONG&gt;is their any way to do it background ?&lt;/STRONG&gt; here I see all are blocking calls. for writing 100bytes of data it consumes nearly 6.5ms for first time later it takes 3.2ms still it is high.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="flash.JPG" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/134117i852BA7C907B9A451/image-size/medium?v=v2&amp;amp;px=400" role="button" title="flash.JPG" alt="flash.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Testing using logic analyser by toggling the gpio before and after write function.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Main code:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;for(i=0;i&amp;lt;=50;i++)&lt;BR /&gt;{&lt;BR /&gt;write[i]=i;&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;NvM_Init();&lt;BR /&gt;Dio_SetSignal(E_DIO_CH_LED2_DOH, DIO_HIGH );&lt;BR /&gt;NvM_WriteDataInSync( 0x14000000, write, sizeof(write), C_TRUE );&lt;BR /&gt;Dio_SetSignal(E_DIO_CH_LED2_DOH, DIO_LOW );&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Write function:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;address = EEEBASEADDRESS; /*TODO: Need to assign proper address*/&lt;BR /&gt;if(STATUS_SUCCESS != FLASH_DRV_EEEWrite(&amp;amp;flashSSDConfig, address, (uint32_t)size_u16, ramaddr_pu8))&lt;BR /&gt;{&lt;BR /&gt;rVal = E_Error;&lt;BR /&gt;}&lt;BR /&gt;if((verif_flag_u8) &amp;amp;&amp;amp; (rVal == E_Ok))&lt;BR /&gt;{&lt;BR /&gt;while(size_u16&amp;gt;0)&lt;BR /&gt;{&lt;BR /&gt;/* Verify the written data */&lt;BR /&gt;if (*((uint8_t *)ramaddr_pu8) != *((uint8_t *)address))&lt;BR /&gt;{&lt;BR /&gt;/* Failed to write data to EEPROM */&lt;BR /&gt;rVal = E_Error;&lt;BR /&gt;}&lt;BR /&gt;address += 1U;&lt;BR /&gt;ramaddr_pu8 += 1U;&lt;BR /&gt;size_u16 -= 1U;&lt;BR /&gt;}&lt;BR /&gt;}&lt;/P&gt;</description>
      <pubDate>Wed, 06 Jan 2021 10:36:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/FlashNvM-how-to-verify/m-p/1207482#M9489</guid>
      <dc:creator>Saitej</dc:creator>
      <dc:date>2021-01-06T10:36:35Z</dc:date>
    </item>
    <item>
      <title>Re: FlashNvM how to verify ?</title>
      <link>https://community.nxp.com/t5/S32K/FlashNvM-how-to-verify/m-p/1208193#M9505</link>
      <description>&lt;P&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/160001"&gt;@danielmartynek&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any update !&lt;/P&gt;&lt;P&gt;am using integrated freertos which is not allowing me to write data using "FLASH_DRV_EEEWrite" which is blocking function call.&lt;/P&gt;</description>
      <pubDate>Thu, 07 Jan 2021 09:48:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/FlashNvM-how-to-verify/m-p/1208193#M9505</guid>
      <dc:creator>Saitej</dc:creator>
      <dc:date>2021-01-07T09:48:15Z</dc:date>
    </item>
    <item>
      <title>Re: FlashNvM how to verify ?</title>
      <link>https://community.nxp.com/t5/S32K/FlashNvM-how-to-verify/m-p/1208208#M9506</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;As you can see in the application note:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="danielmartynek_0-1610012873349.png" style="width: 586px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/134225iB70642AE953C04D7/image-dimensions/586x268?v=v2" width="586" height="268" role="button" title="danielmartynek_0-1610012873349.png" alt="danielmartynek_0-1610012873349.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;If you debug with PE Micro in S32DS, you can preserve the partitioning.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="danielmartynek_1-1610013093133.png" style="width: 566px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/134226i372ABEC16F8D66A8/image-dimensions/566x349?v=v2" width="566" height="349" role="button" title="danielmartynek_1-1610013093133.png" alt="danielmartynek_1-1610013093133.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;The function of the flash driver is blocking, but the MCU allows using CCIF interrupt on completion of the flash operation.&lt;/P&gt;
&lt;P&gt;You would need to write your own function and make sure the FlexNVM block is not accessed during the EEPROM background operation.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Daniel&lt;/P&gt;</description>
      <pubDate>Thu, 07 Jan 2021 10:03:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/FlashNvM-how-to-verify/m-p/1208208#M9506</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2021-01-07T10:03:13Z</dc:date>
    </item>
    <item>
      <title>Re: FlashNvM how to verify ?</title>
      <link>https://community.nxp.com/t5/S32K/FlashNvM-how-to-verify/m-p/1208218#M9507</link>
      <description>&lt;P&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/160001"&gt;@danielmartynek&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the reply&amp;nbsp;&lt;/P&gt;&lt;P&gt;Okay !&lt;/P&gt;&lt;P&gt;Also is their any comment on time consumption of flash driver write function, here I see almost 3.2ms for 100 bytes of data writing.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Jan 2021 10:13:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/FlashNvM-how-to-verify/m-p/1208218#M9507</guid>
      <dc:creator>Saitej</dc:creator>
      <dc:date>2021-01-07T10:13:33Z</dc:date>
    </item>
    <item>
      <title>Re: FlashNvM how to verify ?</title>
      <link>https://community.nxp.com/t5/S32K/FlashNvM-how-to-verify/m-p/1208231#M9509</link>
      <description>&lt;P&gt;As I mentioned, the execution time is specified in the datasheet, this is the time during which CCIF reads 0.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="danielmartynek_0-1610015273168.png" style="width: 532px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/134229i95D1DDEC76C3D84C/image-dimensions/532x260?v=v2" width="532" height="260" role="button" title="danielmartynek_0-1610015273168.png" alt="danielmartynek_0-1610015273168.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Then there is some CPU overhead of the driver that is not specified.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR, Daniel&lt;/P&gt;</description>
      <pubDate>Thu, 07 Jan 2021 10:28:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/FlashNvM-how-to-verify/m-p/1208231#M9509</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2021-01-07T10:28:11Z</dc:date>
    </item>
    <item>
      <title>Re: FlashNvM how to verify ?</title>
      <link>https://community.nxp.com/t5/S32K/FlashNvM-how-to-verify/m-p/1208879#M9528</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Actually, respectfully I don't think that's the problem. I was able to load the values from flash into a variable to test against, and that worked fine. There's something else here, adding any additional lines of code doesn't matter what it does seems to affect other parts of the program.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Jan 2021 10:14:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/FlashNvM-how-to-verify/m-p/1208879#M9528</guid>
      <dc:creator>Glenn335</dc:creator>
      <dc:date>2021-01-08T10:14:38Z</dc:date>
    </item>
    <item>
      <title>Re: FlashNvM how to verify ?</title>
      <link>https://community.nxp.com/t5/S32K/FlashNvM-how-to-verify/m-p/1208952#M9533</link>
      <description>&lt;P&gt;Hi Glenn,&lt;/P&gt;
&lt;P&gt;Is this related to the thread?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;BR, Daniel&lt;/P&gt;</description>
      <pubDate>Fri, 08 Jan 2021 13:12:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/FlashNvM-how-to-verify/m-p/1208952#M9533</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2021-01-08T13:12:03Z</dc:date>
    </item>
    <item>
      <title>Re: FlashNvM how to verify ?</title>
      <link>https://community.nxp.com/t5/S32K/FlashNvM-how-to-verify/m-p/1209543#M9540</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/160001"&gt;@danielmartynek&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;- I assume CCIF_Handler() is triggered for every 32bits writing so, we have a situation of writing 100bytes in this case it has to execute CCIF_Handler() for 50 times ideally, but am seeing it got executed 65 times. any clue ?&lt;/P&gt;&lt;P&gt;- Here I see in call back function interrupt is enabled and in handler function it is disabled again, what is the need of enabling and disabling again and again, in generic the ISR need to execute at once when interrupt occurs, but if I comment out disabling interrupt it is getting struck in CCIF_Handler()&lt;/P&gt;&lt;P&gt;&lt;FONT size="2"&gt;void CCIF_Handler(void)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;{&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;/* Disable Flash Command Complete interrupt */&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;FTFx_FCNFG &amp;amp;= (~FTFx_FCNFG_CCIE_MASK);&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;x = x+1;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;return;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;}&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2"&gt;START_FUNCTION_DEFINITION_RAMSECTION&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;void CCIF_Callback(void)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;{&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;/* Enable interrupt for Flash Command Complete */&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;if ((FTFx_FCNFG &amp;amp; FTFx_FCNFG_CCIE_MASK) == 0u)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;{&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;FTFx_FCNFG |= FTFx_FCNFG_CCIE_MASK;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;}&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;}&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;END_FUNCTION_DEFINITION_RAMSECTION&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;- On S32_NVIC-&amp;gt;ISPR registers also not seen updating as when am trying to get&amp;nbsp;INT_SYS_GetPending() or&amp;nbsp;INT_SYS_ClearPending()&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Jan 2021 09:18:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/FlashNvM-how-to-verify/m-p/1209543#M9540</guid>
      <dc:creator>Saitej</dc:creator>
      <dc:date>2021-01-11T09:18:14Z</dc:date>
    </item>
    <item>
      <title>Re: FlashNvM how to verify ?</title>
      <link>https://community.nxp.com/t5/S32K/FlashNvM-how-to-verify/m-p/1209706#M9544</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;The CCIF flag is cleared by any 8b, 16b or 32b write to the EEPROM (FlexRAM) .&lt;/P&gt;
&lt;P&gt;100 bytes written in 4byte words is 25 writes, if I'm not mistaken.&lt;/P&gt;
&lt;P&gt;The driver must enable the CCIF interrupt once the CCIF has been cleared.&lt;/P&gt;
&lt;P&gt;And it must be disabled as soon as the operation is finished and CCIF is set.&lt;/P&gt;
&lt;P&gt;Otherwise the interrupt will became active again.&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;</description>
      <pubDate>Mon, 11 Jan 2021 14:30:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/FlashNvM-how-to-verify/m-p/1209706#M9544</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2021-01-11T14:30:18Z</dc:date>
    </item>
    <item>
      <title>Re: FlashNvM how to verify ?</title>
      <link>https://community.nxp.com/t5/S32K/FlashNvM-how-to-verify/m-p/1209713#M9545</link>
      <description>&lt;P&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/160001"&gt;@danielmartynek&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yes, I have mistaken it has to call &lt;SPAN&gt;CCIF interrupt&amp;nbsp;&lt;/SPAN&gt;25 times, but if you keep a counter in CCIF_Handler() it shows CCIF_Handler called for 54 times for 100 bytes &amp;amp; for 200 bytes it called for&amp;nbsp; 65+ times.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Also why we are not able to see updates on S32_NVIC-&amp;gt;ISPR registers&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Jan 2021 14:37:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/FlashNvM-how-to-verify/m-p/1209713#M9545</guid>
      <dc:creator>Saitej</dc:creator>
      <dc:date>2021-01-11T14:37:57Z</dc:date>
    </item>
    <item>
      <title>Re: FlashNvM how to verify ?</title>
      <link>https://community.nxp.com/t5/S32K/FlashNvM-how-to-verify/m-p/1210220#M9554</link>
      <description>&lt;P&gt;The ISPR bit would be set if the interrupt was pending.&lt;/P&gt;
&lt;P&gt;I guess the interrupt becomes active immediately so you don't see the ISPR bit set.&lt;/P&gt;
&lt;P&gt;Please make sure that CCIF == 0 when the CCIF interrupt gets enabled.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you,&lt;/P&gt;
&lt;P&gt;BR, Daniel&lt;/P&gt;</description>
      <pubDate>Tue, 12 Jan 2021 08:27:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/FlashNvM-how-to-verify/m-p/1210220#M9554</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2021-01-12T08:27:31Z</dc:date>
    </item>
  </channel>
</rss>

