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?