S32K118 EEPROM emulation programming

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

S32K118 EEPROM emulation programming

1,342件の閲覧回数
RobertKalem
Contributor I

Hi,

Im using the S32K118 with winIDEA and want to use the EEPROM emulation. This is a completely new device for me.

Based on my understanding, when EEPROM emulation is enabled (EERDY=1), I should have no problem programming the addresses form 0x1400'0000 on. 

I wanted to do this via regular bus access but it does not work for me. When writing 8 bytes, only lower 4 bytes are programmed. When writing 16 bytes, only first and third 4 byte chunks are programmed. Does this sound familiar by any chance?

I explored the option of getting this programmed with flash API but did not find a way since I can only use 3 bytes of address.

How can I make sure that EEPROM programming will work as expected?

Thank you,

 

Robert

0 件の賞賛
返信
1 返信

1,332件の閲覧回数
danielmartynek
NXP TechSupport
NXP TechSupport

Hi Robert,

The EEPROM can be written in 8bit, 16bit or 32bit words, but each write clears the CCIF flag, and the program must wait until the flag is set again.

For more information, please refer to AN11983 Using the S32K1xx EEPROM Functionality

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


Regards,

Daniel

0 件の賞賛
返信