Kevin,

You should NOT set INTCON, PIEx, PIRx, IPRx or any other interrupt related registers manually. DT_INTS handles all of those bits for you.

There is NO reason to INT_DISABLE / INT_ENABLE inside of an interrupt handler. Interrupts are automatically disabled by the hardware during an interrupt event, and can not cause another interrupt until the current one is finished. You are confusing things with ON INTERRUPT which must have DISABLE/ENABLE wrapped around them.

Louie,

When an interrupt occurs, the main program STOPS.
Program execution jumps to the ISR where it remains until the handlers have completed.
The main program will continue only after the entire ISR is finished.

The ISR and the main program do not execute at the same time.

It's why they're called Interrupts.
They Interrupt the main program to go do something else.
<br>