Hello,
In my application I want to run two seperate ISR based on PWM1 and PWM4. I have set appropriate PIE registers and it is working Partially OK. As per my understanding PWM1 has higher priority than PWM4.
PWM1 interrupt gets generated every 0.2ms
PWM4 interrupt gets generated every 1ms.
In both ISR at the end I do clear the interrupt and acknowledge the Group.
By doing above step, I can see when PWM4 interrupt is ON and if PWM1 generates an interrupt, CPU does not get that interrupt before PWM4 finish its task and ACK the group.
I think it is doing what it supposed to do that.
Is there a way that to use priority within same group of interrupts?
Please Advise .
Thanks
Jigar