Hello all,
When PIT and external interrupt works, suddenly PIT ISR don't be called.
Priorities are defined that PIT ISR is lower than external ISR. and external ISR works well during PIT ISR is running.
It looks interrupt nesting works fine.
But At an unspecified point in time, PIT ISR is no longer called. However, external interrupts work well. at the last time PIT ISR is called, PIT ISR starts, but not finishied.
Checking interrupt-related registers, INTC.CPR_PRC is set as the priority same with PIT ISR.
I solve this problem that adding INTC.CPR_PRC=0 in PIT ISR.
this initialization (INTC.CPR_PRC=0) appear in the initialization function.
However, this initialization is needed in PIT ISR?
that unspecified point in time is around 5~15 minutes.
Thanks in advance.