Some questions about CSEc on S32K48

cancel
Showing results for 
Search instead for 
Did you mean: 

Some questions about CSEc on S32K48

233 Views
wang_q4
Contributor I

Dear All,

    I have some questions about CSEc:

1.I have configured the emulated-EEPROM(4K+64K backup),now i want to enable CSEc function, how should I enable CSEc function;

2.When i is using EEP(reading or writing data),this moment can i using the CSEc? Such as CSEc driver init、Encrypt/DecryptECB、Load Key、Generate random...

0 Kudos
3 Replies

222 Views
danielmartynek
NXP TechSupport
NXP TechSupport

Hello,

1.

Please use the examples from AN5401:

danielmartynek_0-1622713893288.png

https://www.nxp.com/products/processors-and-microcontrollers/arm-microcontrollers/s32k-automotive-mc...

The CSEc has to be enabled along with the Emulated EEPROM by the Program Partition FTFC command.

 

2.

The EEPROM (FlexRAM) can be read during CSEc operations but NOT written.

Before the EEPROM (FlexRAM) is written or before a FTFC command (Flash or CSEC command) is launched, the CCIF flag must be set.

 

Please refer to the RM, rev.13.

37.5.6 Read while write (RWW)

37.5.8.4 Allowed simultaneous flash operations

 

Regards,

Daniel

 

 

 

0 Kudos

206 Views
wang_q4
Contributor I

Hi,

    Thank you for response,the CSEc operations include Encrypt/DecryptECB and Generate random?

0 Kudos

195 Views
danielmartynek
NXP TechSupport
NXP TechSupport

Hi,

Yes, the CCIF flag is cleared upon execution of any CSEc command and is set upon completion.

 

Regards,

Daniel

0 Kudos