How to use the PIT on the TWR-K60F120

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to use the PIT on the TWR-K60F120

480 Views
minminzhengzhen
Contributor I
hello
I am learning the PIT, but there is a problem.The program is built and debug successfully. When the program is running but it cann't get into the Interrupt callback function.1.png2.png3.png
0 Kudos
3 Replies

378 Views
Robin_Shen
NXP TechSupport
NXP TechSupport

Hi

I am not sure if this problem is solved after configure NVIC.

Please let us know if you fixed the issue.

 

Best Regards,

Robin

 

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

0 Kudos

378 Views
minminzhengzhen
Contributor I

OK, I have solved the problem, Thanks.

0 Kudos

378 Views
mjbcswitzerland
Specialist V

Hi Minmin

Attached is the PIT driver from the uTasker project (for all processor types).
You can get the project at the links below, which allows you to test the PITs (and their interrupts) in its simulator.

Regards

Mark

PITs and other HW timers: http://www.utasker.com/docs/uTasker/uTaskerHWTimers.PDF
http://www.utasker.com/kinetis.html
http://www.utasker.com/kinetis/TWR-K60F120M.html

0 Kudos