S32K144- store variable in FlexNVM

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

S32K144- store variable in FlexNVM

536 Views
Gargi2021
Contributor I

Hi Team,

In S32k144, how can i store variable in FlexNVM and how to read its value. please provide some solution.

 

Thanks,

Gargi 

0 Kudos
Reply
1 Reply

524 Views
davidtosenovjan
NXP TechSupport
NXP TechSupport

For detailed description of EEPROM emulation, I would recommend to study AN11983:

https://www.nxp.com/docs/en/application-note/AN11983.pdf

 

First you need to perform program partition operation to enable EEPROM emulation as shown in the AN11983, section 2.2.2. There is an example code in S32DS SDK (flash_partitioning_s32k144). It needs to be blank new device or with performed mass erase operation before programming the example code.

 

In this mode FlexRAM acts as access point for EEE memory space, and EEE state machine perform flash erase/program operations to NVM (in this mode assigned to E-flash). From user point of view access to FlexRAM is same as access to ordinary RAM.

0 Kudos
Reply