Hello ,
Firstly , please enable the PIT module clock, SIM_SCGC6|=SIM_SCGC6_PIT_MASK;
And i recommend you refer to the demo under CodeWarrior installation directory (...\CW MCU v10.6\MCU\CodeWarrior_Examples\Kinetis_Examples\k60\lptmr) , refer to the interrupt configure :
/* LPTMR Interrupt Example */
lptmr_interrupt();
Best Regards,
Alice
------------------------------------------------------------------------------------------
If this post answers your question, please click the Correct Answer button.
-----------------------------------------------------------------------------------
If this post help your question, please click the helpful Answer button.