How to create project for S9KEAZN32AMLC microcontroller in Codewarrior

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

How to create project for S9KEAZN32AMLC microcontroller in Codewarrior

跳至解决方案
1,480 次查看
rkavinash03
Contributor I

How to create project for S9KEAZN32AMLC microcontroller in codewarrior. ??

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

Hi rkavinash03,

Sorry for the inconvenience we bring you!
This is a known issue of ProcessorExpert of CodeWarrior. You may select MKE02Z32xxx4 PEx cpu component. Or use KDS3.2 instead of CodeWarrior.

Note the trimming. The KEAZN32 and KE02Z32 devices ship from the factory with factory trim to 32MHz. To get the part operating at 40MHz requires the internal clock source ICS to have *user* trim (to 39.0625 kHz (upper limit)). Normally this user trim is written into flash at 0x0000_03FF/03FE and must be copied into the ICS_C3 register by the startup code. Simply setting the PEx CPU component ‘Slow internal reference clock [kHz]’ to 39.0625 does not make the clock 40MHz. 

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 项奖励
回复
1 回复
1,462 次查看
Robin_Shen
NXP TechSupport
NXP TechSupport

Hi rkavinash03,

Sorry for the inconvenience we bring you!
This is a known issue of ProcessorExpert of CodeWarrior. You may select MKE02Z32xxx4 PEx cpu component. Or use KDS3.2 instead of CodeWarrior.

Note the trimming. The KEAZN32 and KE02Z32 devices ship from the factory with factory trim to 32MHz. To get the part operating at 40MHz requires the internal clock source ICS to have *user* trim (to 39.0625 kHz (upper limit)). Normally this user trim is written into flash at 0x0000_03FF/03FE and must be copied into the ICS_C3 register by the startup code. Simply setting the PEx CPU component ‘Slow internal reference clock [kHz]’ to 39.0625 does not make the clock 40MHz. 

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 项奖励
回复