Hi there,
I'm can figure the core clock frequency, but can not figure the PIT Clock. Can you shoe me the key point?
About the project
Thanks in advance!
Jack!
Solved! Go to Solution.
Hi Jack,
In the void BOARD_BootClockRUN(void) function, the CLOCK_SetSimConfig(&g_defaultClockConfigRun.simConfig) can configure the frequency of the different clocks by setting the divider value of the OUTDIV1, OUTDIV2 and OUTDIV4.
So you can change the clkdiv1 value to change the frequency of the different clocks.
.simConfig = | ||
{ | ||
.pllFllSel = 1U, | /* PLLFLLSEL select PLL. */ | |
.er32ksrc=2U, | /* ERCLK32K selection, use RTC. */ | |
.clkdiv1 = 0x01140000U, /* SIM_CLKDIV1. */ | ||
}, |
Have a great day,
Ping
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi Jack,
In the void BOARD_BootClockRUN(void) function, the CLOCK_SetSimConfig(&g_defaultClockConfigRun.simConfig) can configure the frequency of the different clocks by setting the divider value of the OUTDIV1, OUTDIV2 and OUTDIV4.
So you can change the clkdiv1 value to change the frequency of the different clocks.
.simConfig = | ||
{ | ||
.pllFllSel = 1U, | /* PLLFLLSEL select PLL. */ | |
.er32ksrc=2U, | /* ERCLK32K selection, use RTC. */ | |
.clkdiv1 = 0x01140000U, /* SIM_CLKDIV1. */ | ||
}, |
Have a great day,
Ping
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------