Part Number: AM2634-Q1
Hi,
I configured CAT 0 interrupt for PWM period match interrupt in Vector Microsar system.
In the ISR, I simply toggle a pin and capture the signal on the scope. There is no any functional code in the ISR, just toggle the pin.
But I could see that sometimes the pin was toggled with a delay, it looks like the ISR was serviced late. see the pic.
The pin should be toggled at the middle of the PWM high level, but the red line show the delay occured.

does anyone has idea of fixing this issue?
Thanks