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.
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!
-----------------------------------------------------------------------------------------------------------------------