Hi, All
I have a question what is the Core-M4 systemtick clock source When use K60?
I configure the systick as
SysTick->CTRL = SysTick_CTRL_CLKSOURCE_Msk |
SysTick_CTRL_TICKINT_Msk |
SysTick_CTRL_ENABLE_Msk;
SysTick_CTRL_CLKSOURCE_Msk means CLKSOURCE = 1
CLKSOURCE Indicate s the clock source:
0 = external clock
1 = processor clock.
CLKSOURCE = 1 means select processor clock.
What is processor clock in the K60? It is core clock such as 100Mhz?
Thank you
Best Regards
Wang Song
Solved! Go to Solution.
Hi, Wang Song
I think this picture from reference manual will help you to understand what is the core clock of MCU.
Best regards!
Jing
Hi, Wang Song
I think this picture from reference manual will help you to understand what is the core clock of MCU.
Best regards!
Jing
Hi,Jing
Thank you for your help.
Best Regards
Wang song
Hi, Wang Song
The core clock depends on your clock setting. In our reference manual, you can find core clock is MCGOUTCLK divided by OUTDIV1 clocks the ARM Cortex- M4 core in chapter "clock distribution". So it depends on your MCG module setting.
Hope my reply can help you.
Best Regards
Paul