how to write/read into FlexNVM in S32K144

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

how to write/read into FlexNVM in S32K144

2,694 次查看
d_shivamkumar
Contributor III

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 回复数

2,440 次查看
dianabatrlova
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 项奖励
回复

2,440 次查看
d_shivamkumar
Contributor III

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 项奖励
回复

2,440 次查看
dianabatrlova
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 项奖励
回复