I asked directly Darrel Taylor (Technical Support) and he gave be the good answer :
I simply need to clear the interrupt flag (TMR2IF) in PIR1 before leaving the Interrupt Service Routine
Otherwise, the ISR is called again and again. No relation with ReadCode execution time.
Many thanks to you, Darrel.
Bookmarks