How do I determine in code which micro is being used

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

How do I determine in code which micro is being used

Jump to solution
1,038 Views
larrydemuth
Contributor III

With the disaster with getting NXP (and others) micros, I'm looking into switching to one that is available. But in my code I need to be able to tell which one I'm using. 

Is there a register or set of registers that would tell me if I'm using a MK66FN2M, or other micro?

Labels (1)
0 Kudos
1 Solution
1,027 Views
Robin_Shen
NXP TechSupport
NXP TechSupport

Hi larrydemuth,

You can check the value of System Device Identification Register (SIM_SDID).

Best Regards,
Robin
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

View solution in original post

0 Kudos
2 Replies
1,016 Views
larrydemuth
Contributor III

Thats what I was looking for! Thanks!

0 Kudos
1,028 Views
Robin_Shen
NXP TechSupport
NXP TechSupport

Hi larrydemuth,

You can check the value of System Device Identification Register (SIM_SDID).

Best Regards,
Robin
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 Kudos