How do I determine in code which micro is being used

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

How do I determine in code which micro is being used

跳至解决方案
1,160 次查看
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?

标签 (1)
0 项奖励
回复
1 解答
1,149 次查看
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 项奖励
回复
2 回复数
1,138 次查看
larrydemuth
Contributor III

Thats what I was looking for! Thanks!

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