K64F Clock Speed And Delay

cancel
Showing results for 
Search instead for 
Did you mean: 

K64F Clock Speed And Delay

394 Views
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)

Labels (1)
Tags (3)
1 Reply

110 Views
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!
-----------------------------------------------------------------------------------------------------------------------