Hi TI experts,
I'm using F28P650DK9 with compiler version v22.6.1.LTS.
My goal is to software forced trip for three ePWM modules, but I couldn't trip all of them everytime I execute the code.
Here's the description of the issue:
[Case 1]
I sequentially do software forced trip to EPwm15Regs, EPwm17Regs, and EPwm18Regs, and also use EALLOW and EDIS to ensure that the registers are set correctly.
EALLOW; EPwm15Regs.TZFRC.bit.OST = 1; EPwm17Regs.TZFRC.bit.OST = 1; EPwm18Regs.TZFRC.bit.OST = 1; EDIS;
The waveforms below represents EPWM15A, EPWM15B, EPWM17A, EPWM17B, EPWM18A, EPWM18B signals. The left side of the red line indicates the normal waveform (All PWM module activate), and the right side of the red line indicates results of forced-trip action. However, only EPWM15 was not successfully tripped.

[Case 2]
I've tried to add a line of code behind for debugging. I found that the result changes, it turns out to be that EPWM17 is not tripped succesfully.
EALLOW; EPwm15Regs.TZFRC.bit.OST = 1; EPwm17Regs.TZFRC.bit.OST = 1; EPwm18Regs.TZFRC.bit.OST = 1; GpioDataRegs.GPCTOGGLE.bit.GPIO68 = 1; EDIS;

I would like to ask how to explain two cases above, or is there a problem with my register settings?