how to use 64k witch s32k148

cancel
Showing results for 
Search instead for 
Did you mean: 

how to use 64k witch s32k148

Jump to solution
538 Views
sunbingyue
Contributor I

s32k148 simulates eeprom through Dflash, and reads and writes through flexram,  I have more than 10k data want to save to eeprom . but flexram is 4k,how to use 64k eeprom with flexram.3q.

0 Kudos
1 Solution
530 Views
danielmartynek
NXP TechSupport
NXP TechSupport

Hi,

Unfortunately, this is not possible.

There is only 4KB of the Emulated EEEPROM.

But you can split the FlexNVM block to 64KB of EEPROM backup and 448KB of DFlash.

And store 4KB of data to EEPROM (FlexRAM) and 6KB to DFlash.

 

Regards,

Daniel

 

View solution in original post

0 Kudos
3 Replies
531 Views
danielmartynek
NXP TechSupport
NXP TechSupport

Hi,

Unfortunately, this is not possible.

There is only 4KB of the Emulated EEEPROM.

But you can split the FlexNVM block to 64KB of EEPROM backup and 448KB of DFlash.

And store 4KB of data to EEPROM (FlexRAM) and 6KB to DFlash.

 

Regards,

Daniel

 

0 Kudos
473 Views
sunbingyue
Contributor I

thank you vevry much  now i have a new question witch the Emulated eeprom. I write some byte to flexram,  How can I determine if it is really Synchronize to the 64k falsh eeprom backup when i read it?  is there a way that Force (64k)flash eeprom backup to be synchronized to(4k) flexram? 3q

0 Kudos
465 Views
danielmartynek
NXP TechSupport
NXP TechSupport

Hi @sunbingyue,

Depending on the partitioning (please take a look at the description of Program Partition FTFC command), the FlexRAM is loaded with valid data either after reset automatically or it needs to be done by the Set FlexRAM Function FTFC command (Make FlexRAM available for emulated EEPROM).

The data are synchronized when the EEERDY = 1.

 

Regards,

Daniel

0 Kudos