S32K EEPROM TEST

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

S32K EEPROM TEST

1,285 Views
zhengjianfei1
Contributor III

Hi ,

      I am testing the eeprom write endurance using S32K118.  I write 2KB datas to eeprom and read back the eeprom datas. And then compare the write datas with the read-back datas,  if they are equal, number of success plus 1, if not , test over.  Then write another 2KB datas witch totally different with the last  2KB datas to eeprom, and do the same test. I use CAN to send the success time to PC.

      In the datasheet , the write endurance of eeprom is >100K (ratio = 16). I tested for several days, and the write time reached up to 2000K. I doubt whether i use the corrrect way to test write endurance? I want to know whether datas were written  to  D-flash when I write datas to eeprom(flexNVM) before MCU power down? 

      Thanks!

0 Kudos
1 Reply

1,077 Views
danielmartynek
NXP TechSupport
NXP TechSupport

Hi zhengjianfei@zlgmcu.com,

Please use the Flex Memory Endurance Calculator
https://www.nxp.com/downloads/en/calculators/FME-Calculator.zip

Each 4-byte write requires one 8-byte phrase in the EEPROM backup (the data + information about the data).
If the EEPROM/backup ratio is 16, it takes 8 updates of 512 words (4byte writes) before the EEPROM state machine needs to erase a sector.

Regards,
Daniel

0 Kudos