KE06Z Sim Driver Missing - Need UID

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

KE06Z Sim Driver Missing - Need UID

1,504 Views
stevenlutz
Contributor III

I have realized that the sim driver (fsl_sim) isn't available in mcuxpresso for the MKE06Z and therefore accessing the UID of the chip isn't doable using the SIM_GetUniqueIdfunction as listed in the API here: https://mcuxpresso.nxp.com/api_doc/dev/1390/a00037.html#ga3691d99318793509be2fdc198ec7fd9e

Please advise on how I should move forward from here. Thank you

0 Kudos
Reply
5 Replies

1,489 Views
jingpan
NXP TechSupport
NXP TechSupport

Hi @stevenlutz ,

This function read register at 0x4004_8018, named SIM_UUIDL. You can read it by yourself.

 

Regards,

Jing

0 Kudos
Reply

1,480 Views
stevenlutz
Contributor III

Thank you for the reply.
the SIM_UUIDL that you mentioned is only part of the UUID right? Or does that call the entire value?

0 Kudos
Reply

1,462 Views
jingpan
NXP TechSupport
NXP TechSupport

Hi @stevenlutz ,

In the link you provided, it shows the return value of SIM_GetUniqueId (sim_uid_t *uid).

The sim_uid_t is defined as below

jingpan_0-1639036777713.png

 

Regards,

Jing

 

0 Kudos
Reply

1,456 Views
stevenlutz
Contributor III

as mentioned in my original post, SIM_GetUniqueId() isn't a valid fucntion in my case. it seems that I need the SIM driver which isn't available. 

Please advise on how to call this through the SDK
Thank you

0 Kudos
Reply

1,446 Views
jingpan
NXP TechSupport
NXP TechSupport

Hi,

 Use this instrument

  uid=(*(unsigned int*) 0x40048018);

It seems no other function can read UID in SDK driver.

 

Regards,

Jing

0 Kudos
Reply