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
Hi @stevenlutz ,
This function read register at 0x4004_8018, named SIM_UUIDL. You can read it by yourself.
Regards,
Jing
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?
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
Regards,
Jing
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
Hi,
Use this instrument
uid=(*(unsigned int*) 0x40048018);
It seems no other function can read UID in SDK driver.
Regards,
Jing