KE06Z Sim Driver Missing - Need UID

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

KE06Z Sim Driver Missing - Need UID

1,505 次查看
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 项奖励
回复
5 回复数

1,490 次查看
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 项奖励
回复

1,481 次查看
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 项奖励
回复

1,463 次查看
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 项奖励
回复

1,457 次查看
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 项奖励
回复

1,447 次查看
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 项奖励
回复