S32K148 System Frequency for EEPROM Emulation Usage of FlexNVM

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

S32K148 System Frequency for EEPROM Emulation Usage of FlexNVM

Jump to solution
1,620 Views
turgaykale
Contributor III

Hi,

I am trying to configure the FlexNVM for storing EEPROM-backup (E-flash) and FlexRAM for EERAM (EEPROM RAM) via software source code. I have read application notes: AN12003 (Using S32K148 FlexNVM Memory), AN11983 (Using the S32K1xx EEPROM Functionality). I have overviewed the NXP community forums and example codes. It is messed up for my side. I have two questions.

My first question is; do I have to set the MCU system frequency to 80 MHz for running EEPROM emulation functionality in S32K148 ?

p782 @ S32K1xx series reference manual (Rev.13, 04/2020) says:

CSEc (Security) or EEPROM writes/erase will
trigger error flags in HSRUN mode (112 MHz)
because this use case is not allowed to execute
simultaneously. The device need to switch to RUN
mode (80 Mhz) to execute CSEc (Security) or
EEPROM writes/erase.

My second question is, do I have to edit or add something in linker file for FlexNVM usage (storing EEPROM-backup (E-flash) and FlexRAM for EERAM) ?

Regards,

0 Kudos
Reply
1 Solution
1,602 Views
Senlent
NXP TechSupport
NXP TechSupport

Hi@turgaykale

First question:

       No,you don't have to set system frequency to 80MHz. 

Second question:

       No,you don't have to.

    There is an example "flash_partitioning_s32k14x" in S32 DS,In this example,system clock is set to 48MHz,and did't edit or add anything in linker file.

 

BR!

     Jim,

 

 

View solution in original post

2 Replies
1,603 Views
Senlent
NXP TechSupport
NXP TechSupport

Hi@turgaykale

First question:

       No,you don't have to set system frequency to 80MHz. 

Second question:

       No,you don't have to.

    There is an example "flash_partitioning_s32k14x" in S32 DS,In this example,system clock is set to 48MHz,and did't edit or add anything in linker file.

 

BR!

     Jim,

 

 

1,591 Views
turgaykale
Contributor III

Hi Jim, thank you.

0 Kudos
Reply