Some questions about interrupt and storage life of S32K144 EEPROM

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

Some questions about interrupt and storage life of S32K144 EEPROM

716 Views
JackZhang_
Contributor I

I am using example 'EEERAM_usage_no_SDK'. l have some questions about it.

Question 1 :When using S32K144 EEPROM ,I need to receive CAN data and UART data simultaneously,but example 'disable interrupt' wheather means that CAN or UART interrupt should be turn off,if l need to do that. How can l resolve the contradiction between EEPROM storage and real-time receiving data.

Question 2 : According to 'S32K144-RM', I need to use full memory (4K) of EEPROM and I would like to ask how many times I can do full rewrite of 4K data

0 Kudos
2 Replies

703 Views
danielmartynek
NXP TechSupport
NXP TechSupport

Hello Jack,

A1.

There is no need to disable the interrupts before writing or reading the EEPROM.

In the example, the interrupts are disabled because of the partitioning in the EEE_Init() function.

A2.

If the EEPROM backup to FlexRAM ratio is 16 (64kB / 4kB), the whole FlexRAM can be updated 100k times.

danielmartynek_0-1605883148566.png

 

Regards,

Daniel

0 Kudos

692 Views
JackZhang_
Contributor I

Thank you very much.

0 Kudos