S32K144 EEPROM读写问题

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

S32K144 EEPROM读写问题

2,558 Views
liqing
Contributor II

HI NXP Team:

    How do I read and write to the S32K144 EEPROM? I hope to offer a routine, thank you!

0 Kudos
Reply
6 Replies

2,112 Views
dianabatrlova
NXP TechSupport
NXP TechSupport

Hi,

The AN11983 - Using the S32K1xx EEPROM Functionality can be useful for you. see "3.6 S32K1xx reading and writing the EEE" section.

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

If you want to use SDK I recommend you to use the newest version https://community.nxp.com/docs/DOC-343020 

Best Regards,

Diana

0 Kudos
Reply

2,113 Views
liqing
Contributor II

Thanks,Can you send it to me? My email is Darren_lv@163.com.

0 Kudos
Reply

2,113 Views
jcrannell-ash
Contributor I

C:\NXP\S32DS_ARM_v2018.R1\S32DS\S32SDK_S32K14x_EAR_0.8.6\platform\drivers\src

0 Kudos
Reply

2,113 Views
liqing
Contributor II

hi:

Thanks,Can you send it to me? My email is Darrenlv@163.com.

0 Kudos
Reply

2,113 Views
jcrannell-ash
Contributor I

Do you have the source code for the board? Mostly you need flash_driver.c

Write to EEPROM:

 FLASH_DRV_Init(&Flash1_InitConfig0, &flashSSDConfig);

 FLASH_DRV_EEEWrite(&flashSSDConfig, flashSSDConfig.EERAMBase, sizeof(DATA), &DATA);

Read from EEPROM:

memcpy(DATA, flashSSDConfig.EERAMBase, sizeof(DATA));

0 Kudos
Reply

2,113 Views
642142357
Contributor III

hi@John Crannell-Ash#, ask you a question about s32k144,what 's problem to write or read data to eeprom in the interrupt,just like show picture as below.Do you recommend suggesting to write or read data to eeprom  in the interrupt?

2.jpg

0 Kudos
Reply