problem for Core-M4 systemtick clocksource

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

problem for Core-M4 systemtick clocksource

ソリューションへジャンプ
821件の閲覧回数
AaronsCook
Contributor III

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

ラベル(1)
0 件の賞賛
返信
1 解決策
620件の閲覧回数
kerryzhou
NXP TechSupport
NXP TechSupport

Hi, Wang Song

    I think this picture from reference manual will help you to understand what is the core clock of MCU.

pastedImage_0.png

Best regards!

Jing

元の投稿で解決策を見る

0 件の賞賛
返信
3 返答(返信)
621件の閲覧回数
kerryzhou
NXP TechSupport
NXP TechSupport

Hi, Wang Song

    I think this picture from reference manual will help you to understand what is the core clock of MCU.

pastedImage_0.png

Best regards!

Jing

0 件の賞賛
返信
620件の閲覧回数
AaronsCook
Contributor III

Hi,Jing

Thank you for your help.

Best Regards

Wang song

0 件の賞賛
返信
620件の閲覧回数
Paul_Tian
NXP Employee
NXP Employee

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

0 件の賞賛
返信