AnsweredAssumed Answered

PIT Reentrant

Question asked by Michael Hufnagl on Feb 11, 2014
Latest reply on May 11, 2014 by Ankur Kala

Hy ! I ran into a problem regarding the PIT on an 56F82746.

At the moment the Timer is configured to call the ISR every 10µsec. (100kHz). The ISR is equipped with a #pragma interrupt saveall (Otherwise the ISR won't fire).

What i'm trying to achive is some kind of reentrant PIT isr. However.. when i set the ioctl(PIT_0, PIT_CLEAR_ROLLOVER_INT, NULL); at the beginning of the ISR the timer is not resetted. It will get resetted at the end of the routine.

Is there a way to reset the PIT timer just at the beginning of the ISR ?..