K64F Clock Speed And Delay

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

K64F Clock Speed And Delay

795 次查看
dogusural
Contributor I


Hello people, recently i bought a K64F Board and i am kind of new to embedded programming scene , can somebody point me to a direction where i can learn to set which oscillator to use to set the clock speed then write a simple ms delay function. Thanks a lot (I am using KDS and avoiding to use PE and other similar programs to learn from the scratch)

标签 (1)
标记 (3)
1 回复

511 次查看
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello Dogus,

There is no bare board demo delay function .

- About the clock , you can first read the CLOCK chapter of the Reference manual ,

then you can only create one simple project on KDS, then you can see the different clock mode

about how to configure the related registers :

pastedImage_0.png

- About the delay function , you can configure the PIT timer by your self , also i think the simple

method is you create one PE project, then configure the  interrupt :

pastedImage_1.png

Hope it helps

Alice


Have a great day,
Alice

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------