Identify a S32K with a unique ID

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Identify a S32K with a unique ID

Jump to solution
2,819 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
2,664 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

5 Replies
2,664 Views
gberthiaume
Contributor III

Exactly what I wanted.
Thanks a lot.

Gabriel

0 Kudos
2,664 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
2,664 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
2,665 Views
danielmartynek
NXP TechSupport
NXP TechSupport

Hi gberthiaume@nordresa.com,

Sorry, yes, there is actually.

pastedImage_2.png

pastedImage_3.png

Regards,

Daniel

1,630 Views
MateoSegura413
Contributor III

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

MateoSegura413_0-1668035709286.png

And using the MCAL FLS driver, I also get a hardfault

MateoSegura413_0-1668037509721.png

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!

 

0 Kudos