Hi
I am using KSDK V2.0 for FRDM-K22F software as an example, customer need to modify below codes:
1> <clock_config.h> file
line 36: #define BOARD_XTAL0_CLK_HZ 10000000U
2> <clock_config.c> file
//PLL refer clock is 2MHz with VDIV0(Multiply Factor) 40 to get PLL clock 80MHz
line 109: .enableMode = 0U, .prdiv = 0x4U, .vdiv = 0x10U,
Wish it helps.
Have a great day,
Ma Hui
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------