How to write eeprom in s32k116?

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

How to write eeprom in s32k116?

2,078 次查看
shyamalasundar
Contributor II

looking for driver support to write data (in bytes) into eeprom of S32K116 microcontroller.

I got emulation and configuration of eeprom in s32k116.

But need the driver part of writing bytes of data into eeprom.

s32k116 eeprom; writeeeprom flashpartitioning flexnvm‌ 

标签 (1)
0 项奖励
3 回复数

1,583 次查看
shyamalasundar
Contributor II

I can able to view the written data from 00 to FF in the eeprom memory locations.

And now i need to read what has been written already in those locations.

A sample code to read data from eeprom of s32k116 will be of more useful.

And further i can't view any backup of data into flexNVM.

If it is happening kindly tell how to view and understand that also.

0 项奖励

1,583 次查看
danielmartynek
NXP TechSupport
NXP TechSupport

Hi,
The SDK example shows how to verify written data in EEPROM.

pastedImage_1.png
So just modify that code to:

uint32_t data = *((uint32_t *) address)

The EEE backup is not mapped, it is visible only to the EEPROM state machine.

Regards,
Daniel

1,583 次查看
danielmartynek
NXP TechSupport
NXP TechSupport

Hello,
If you need a driver, you can use the SDK.
The flash_partitioning_s32k116 example uses FLASH_DRV_EEEWrite() function.

Regards,
Daniel

0 项奖励