How to determine CPU frequency?

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

How to determine CPU frequency?

跳至解决方案
1,662 次查看
cfgmgr
Contributor III

Due to CPU availability problems, we are considering using 120MHz K60 MCUs instead of the 150MHz K60 MCUs that we currently use.

How can I tell (at run time) which version of MCU (120MHz, or 150MHz) I have?   The SIM_SDID register tells me the product family (e.g. K60, K61, etc.) and the pin count (e.g. 144 pins),  but how can I determine if I have a 120MHz or a 150MHz part?

Many thanks!

标签 (1)
0 项奖励
回复
1 解答
1,635 次查看
jingpan
NXP TechSupport
NXP TechSupport

Hi @cfgmgr ,

It seems you can't distinguish the two part by software. REVID in SDID mark silicon reversion number. But these two part share same silicon. And there isn't other field or register are different.

 

Regards,

Jing

在原帖中查看解决方案

0 项奖励
回复
3 回复数
1,636 次查看
jingpan
NXP TechSupport
NXP TechSupport

Hi @cfgmgr ,

It seems you can't distinguish the two part by software. REVID in SDID mark silicon reversion number. But these two part share same silicon. And there isn't other field or register are different.

 

Regards,

Jing

0 项奖励
回复
1,613 次查看
cfgmgr
Contributor III

Thanks for the quick reply.

It's a pity that you can't query the max frequency of the MCU.    It seems then, that for a single code base to run on both processors, it would have to be coded for the lowest speed MCU (e.g. 120MHz).

Maybe this would be a good feature to add for future revisions of Kinetis MCUs?

Thanks again 

0 项奖励
回复
1,600 次查看
jingpan
NXP TechSupport
NXP TechSupport

Hi @cfgmgr ,

K60 is an old product. I'm afraid there will not have new revision. But I believe other Kinetis device should not have such issue.

 

Regards,

Jing

0 项奖励
回复
An error has occurred when reading existing sub-variable "Language_PG_Configuration"; see cause exception! The type of the containing value was: extended_hash+string (lithium.coreapi.webui.template.models.NamedValueByNameTemplateModel wrapped into f.e.b.StringModel) ---- FTL stack trace ("~" means nesting-related): - Failed at: #assign redirect_lingo_page_url = web... [in template "language_macro_header.ftl" at line 173, column 1] - Reached through: #include "language_macro_header.ftl" [in template "Language_translator_Dashboard" at line 3, column 1] ----