This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM2634-Q1: PWM ISR latency issue in Autosar system through CAT 0 interrupt

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