Emulated EEPROM Query S12xE

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

Emulated EEPROM Query S12xE

666 Views
vmore
Contributor I

I am using Emulated EEPROM on S12XE.

If I write same value to same location again and again, 

will there be records created in D-flash each time, or the Emulated EEPROM hardware will understand that its a same value so do no create record again.

Labels (1)
0 Kudos
Reply
1 Reply

415 Views
kef
Specialist I

AN3490 Rev0 has following lines on page7:

 

  • To optimize the EEE write cycling, the S12XE implementation automatically filters out creating new
  • NVM records for aligned word data if the data value written to the EEE RAM is the same as that already
  • in the RAM. Writes of byte or misaligned word data will always create new records.

 

I'm unable to find confirmation for these words in datasheet, but you could check the time how long MGBUSY flag is set when you write the same data, and how long it is set when writing different data.

0 Kudos
Reply