2 Available when EEEPROM, CSEc and Data Flash are not used?

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

2 Available when EEEPROM, CSEc and Data Flash are not used?

820 Views
hewei03
Contributor III

I see the note in the S32K1XX RM. My mcu is S32K148, I want to know if  I have used the EEEPROM with the FlexRAM that I can't use the CSEc module? Thanks!

Best Regards!

Labels (1)
0 Kudos
1 Reply

713 Views
dianabatrlova
NXP TechSupport
NXP TechSupport

Hi,

The footnote note number 2 is related to the availability of the Flash memory. So, 2MB is available when EEEPROM, CSEc, and Data Flash are not used. Else only up to 1,984 KB is available for Program Flash.

I would like to recommend AN5401, Getting Started with CSEc Security Module

https://www.nxp.com/webapp/Download?colCode=AN5401 

There is described FlexRAM and the section "4.1 PRGPART: Program Partition Command" describes how the start using the CSEc command:

"To start using the CSEc command set, the user must configure the device into emulated-EEPROM mode. The PGMPART command defines the CSEc Key Size and FlexNVM/FlexRAM partition between normal and EEPROM operation. It also defines whether VERIFY_ONLY functionality is enabled and whether FlexRAM (EEERAM) is loaded with valid EEPROM data during the reset sequence. Any error that occurs during command execution can be observed in the FSTAT register. For more information refer to the Program Partition Command Section of the device reference manual. "

I hope it helps you.

Best Regards,

Diana

0 Kudos