Identify a S32K with a unique ID

cancel
Showing results for 
Search instead for 
Did you mean: 

Identify a S32K with a unique ID

Jump to solution
713 Views
gberthiaume
Contributor III

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.

Labels (1)
1 Solution
558 Views
danielmartynek
NXP TechSupport
NXP TechSupport

Hi gberthiaume@nordresa.com,

Sorry, yes, there is actually.

pastedImage_2.png

pastedImage_3.png

Regards,

Daniel

View solution in original post

4 Replies
558 Views
gberthiaume
Contributor III

Exactly what I wanted.
Thanks a lot.

Gabriel

0 Kudos
558 Views
danielmartynek
NXP TechSupport
NXP TechSupport

Hi gberthiaume@nordresa.com,

Have you considered using the Program Once Field?

pastedImage_3.png

Regards,

Daniel

0 Kudos
558 Views
gberthiaume
Contributor III

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:

pastedImage_1.png

Does something like this exist in the S32K register? 

Thanks again !

0 Kudos
559 Views
danielmartynek
NXP TechSupport
NXP TechSupport

Hi gberthiaume@nordresa.com,

Sorry, yes, there is actually.

pastedImage_2.png

pastedImage_3.png

Regards,

Daniel

View solution in original post