Dear NXPs:
IC:S32K142
I need to determine whether there is a key in NVM in a scenario, and I hope to get such judgment from the register, rather than the software recording the flag itself. How can I know from the CSEc register that the key has been imported?
Solved! Go to Solution.
Hi @Gideon
CSEc does not provide information if a key is loaded or not. It's up to user to do the tracking of keys.
The only indirect way I can see: try to use a key. If a key is not loaded yet, you should get ERC_KEY_EMPTY error.
Regards,
Lukas
Hi @Gideon
CSEc does not provide information if a key is loaded or not. It's up to user to do the tracking of keys.
The only indirect way I can see: try to use a key. If a key is not loaded yet, you should get ERC_KEY_EMPTY error.
Regards,
Lukas