How to write eeprom in s32k116?

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

How to write eeprom in s32k116?

2,387件の閲覧回数
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,892件の閲覧回数
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,892件の閲覧回数
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,892件の閲覧回数
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 件の賞賛
返信