MKV58 configuration for use a 8MHZ crystal.

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

MKV58 configuration for use a 8MHZ crystal.

779 次查看
arimendes
Contributor III

Hi,

I replaced the MKV46 of a TWR-MKV46F board for a MKV58FN1M0VLL12 microcontroller. The demo software was developed to use with a TWR-MKV58F board that uses a 50MHZ oscillator as clock source. The TWR-MKV46F board uses a 8MHZ crystal as clock source.  When it run a example code for the TWR-MKV58F board the processor gets stuck in the function CLOCK_HALL_GetFllSrc(MCG_Type *base).

How can I change the demo code to use a 8 MHZ crystal instead of a 50 MHZ oscillator?

Is there some application to configure the KV5x MCU clock?

Ari.

0 项奖励
回复
1 回复

489 次查看
Hui_Ma
NXP TechSupport
NXP TechSupport

Hi Ari,

Please download KSDK for KV4xF (TWR-KV46F150M board) software from here ​.

It provides the MCG clock configuration at BOARD_ClockInit() function at <board.c> file.

Wish it helps.


Have a great day,
Ma Hui

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

0 项奖励
回复