Part Number: TMS320F28035
I am implementing a Phase Shift Full Bridge converter in PCMC.
Comparator 2 is set to trip DCAEVT1, which sets an interrupt. in my ISR code, I do the following:
EPwm2Regs.TZCLR.bit.OST = 1;
EPwm2Regs.TZCLR.bit.DCAEVT1 = 1;
EPwm2Regs.TZCLR.bit.INT = 1;
This does not clear OST or DCAEVT1, but it does clear INT. I believe this is causing a second interrupt to occur.
Any suggestions as to why OST and DCAEVT1 are not being cleared?
Thanks in advance for any assistance.