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...
Please use the examples from AN5401:
The CSEc has to be enabled along with the Emulated EEPROM by the Program Partition FTFC command.
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)
184.108.40.206 Allowed simultaneous flash operations