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.
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
Hi,
This doesn't look like a EPWM issue, there can be some issue with the ISR being served. I am assigning it to AUTOSAR expert who will respond to this thread.
Regards,
Meghavi
Hi Phoenix,
Any other ISR's will be served along with this? Have you confirmed that this is not logic analyzer issue?
BR,
Sunil
Hi Sunil,
There are other ISR for CAN, OS Count, but those are CAT2 interrupt.
PWM interrupt is only CAT0 ISR, which has highest priority.
Thanks
Hi Phoenix,
Can you please provide more details?
BR,
Sunil Kumar M S