Hi @gary_yang,
The main differences between writting to SRAM and FlexRAM (in EEE mode) are:
- The EEE can be written once EEERDY = 1, which is set either automatically after system reset exit (which inludes the copy-down process) or after the FTFC SetFlexRAM Function command.
danielmartynek_0-1718618899173.png
danielmartynek_1-1718618978778.png
- Any write to EEE clears the FTFC CCIF flag, and any subsequent write can take place only once CCIF is set again.
danielmartynek_2-1718619034340.png
For more information, refer to AN11983 Using the S32K1xx EEPROM Functionality
https://www.nxp.com/docs/en/application-note/AN11983.pdf
Regards,
Daniel