i am working with TWR-K20D72M EVM as controller and IAREW software for programming.i am working on PIT(Periodic Interrupt Timer) module but facing some problems.i attached code for your reference.this code works and timer also works but i am facing some problems.below i mention my problem please try to solve my below query:
-- in this code i load the value 90000000 in PIT_LDVAL0 register,so when timer decrements to 0 at that time in PIT_TFLG0 register TIF(Timer Interrupt Flag) flag is set but isr function(pit_isr()) not executed.and when timer reaches to 0 then it continuously prints the string "****default_isr entered on vector 84*****".
please help me so that i can execute isr function(pit_isr()).
Any help in this will be appreciated more.
Original Attachment has been moved to: pit_timer.zip