MKV58, Need clock_config.c for a 8 MHZ external crystal.

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

MKV58, Need clock_config.c for a 8 MHZ external crystal.

1,464 次查看
arimendes
Contributor III

 Hi,

 I need urgently the clock_config.c and clock_config.h for the MKV58 in the SDK 2.0. My custom board uses a 8 MHZ external crystal and I want to configure the clocks for the maximum possible with a 8 MHZ crystal and for the MKV58.

     

I could not figure out how to use the clock config tools for it.

  Ari.

0 项奖励
回复
2 回复数

1,202 次查看
Robin_Shen
NXP TechSupport
NXP TechSupport

Hi Ari Mendes,

When you select 'HSRUN' mode with 8MHz crystal, this maybe the maximum possible:

HSRUN.png

Best Regards,

Robin

 

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 项奖励
回复

1,202 次查看
marek-trmac
NXP Employee
NXP Employee

Hi Ari,

  • go to mcuxpresso.nxp.com
  • create new configuration for MKV58
  • from main menu select TOOLS - Clocks Tool
  • configure your clocks as you need, e.g. set external oscilator to 8MHz and configure PLL
  • use "Clock Diagram" to review your configuration
  • if there are no problems, copy-paste clock_config.c from "Sources" tab into your application

Note: It is also possible to download Clock tool to your local computer and use it offline.

Regards

Marek

Capture.PNG

Regards,
Marek


NOTE: If you find the answer useful, kindly click on [ACCEPT AS SOLUTION] button
0 项奖励
回复