how to write/read into FlexNVM in S32K144

cancel
Showing results for 
Search instead for 
Did you mean: 

how to write/read into FlexNVM in S32K144

269 Views
Contributor II

i want to perform simple write/read operation into FlexNVM after memory partition (allotted the whole 64KB for EEPROM). what are the linker file modifications for that? what is the way to write/read? is there any code available for the same?

3 Replies

15 Views
NXP TechSupport
NXP TechSupport

Hello Shivam,

Please, refer to the flash_partitioning_S32k144 example which is available in the S32Design Studio File->New->S32DS Project from Example. The EEPROM is read by a pointer and write by the flash driver function FLASH_DRV_EEEWrite(). 

Also, you can look at these examples:

EXAMPLE: S32K144 EEEPROM usage - No SDK 

Example: S32K144 EEEPROM usage 

I hope it helps.

Best regards,

Diana

0 Kudos

15 Views
Contributor II

yes, i've already seen that example. what i ment is, is there any register based code available? other then that processor expert code.

for my project i am not using processor expert code, i want some register based code for the same.

0 Kudos

15 Views
NXP TechSupport
NXP TechSupport

Hello Sivam,

This example already mentioned is not using processor expert (no SDK):

EXAMPLE: S32K144 EEEPROM usage - No SDK 

Best regards,

Diana

0 Kudos