Purpose:
As a firmware engineer, I want to distinguish between every one of my identical PCBs inside of my code.
Question:
Is it possible to get the unique identifier ID of an S32K?
Something like a wafer die number or an internal serial number.
Possible solutions:
1. The ARM architecture offers the CPUID register, but it doesn't contain anything unique.
2. The CSEC S32 SDK module has the CSEC_DRV_GetID function to obtain a UUID. I'm not sure exposing this UUID used in the security module is a good idea.
3. Adding a Silicon Serial Number IC like the DS2411 could be an option, but a 100% software solution would be preferable.
Solved! Go to Solution.
Sorry, yes, there is actually.
Regards,
Daniel
Exactly what I wanted.
Thanks a lot.
Gabriel
Hi danielmartynek,
Thanks for taking the time again for answering one of my questions.
While the Program Once Field seems great to store unique ID value, I would prefer having access to a manufacturer-defined unique value.
Here's my inspiration for this question:
How to obtain the die ID with a TI Hercules MCU:
Does something like this exist in the S32K register?
Thanks again !
Hello, we need to know how we can get this UID from user application though. When we try to do the following, the software crashes with a hard fault
And using the MCAL FLS driver, I also get a hardfault
Any guidance on how we could get the 8 bytes of the UID?
Also, does the device's MAC have a UID as well? If so, how can we get it?
Thanks in advance!