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

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

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

889 Views
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 Kudos
2 Replies

627 Views
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 Kudos

627 Views
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
0 Kudos