Part Number: TMS320F28379D
Other Parts Discussed in Thread: C2000WARE
Hi,
i am using 28379D for hardware testing of phase shifted full bridge converter. i am using up-down count mode for EPWM. TBPRD for up-dwon count mode is 1000(50kHz). both CMPA and CMPB with 500(50% duty). i have configured EPWM 1 as master and EPWM 6 as slave for controlling phase shift between the legs. during the testing we observed there was a missing pulse from EPWM 6 pins. after searching few e2e forum threads i understand that there is a a missing action of action qualifier for few conditions like when TBCTR<CMPA and TBPHS>CMPA , TBCTR>CMPA and TBPHS<CMPA. however, i also found some TI people suggesting to use T1, T2 actions whenever phase update happening at the instant SYNCIN pulse coming from master EPWM so that missing action doesn't happen.
after configuring T1,T2 action with SYNCIN pulse from EPWM 1(master), we have edited code for suitable action at this instant. the problem of missing pulse has been solved for phase phase jump from below CMPA to above CMPA and also for above CMPA to below CMPA. but there is still a problem of missing pulse for large duty changes like 0.1 to 0.9 or 0.2 to 0.8 . i will attach the result for case of duty change from 0.1 to 0.9. please suggest a solution to this. other than this there is a frequency change in EPWM output for one cycle whenever there is a jump in duty from 0 to 0.1 or 0.1 to 0.2 so on, i will also attach the waveform for reference, as you can see that from cursor measurement frequency is 47.6kHz. this is happening without T1, T2 event and also with T1,T2 events. i am also attaching the code for implementing T1, T2 action events with if loop condition inside isr. also all the EPWM 1, 6 configuration.




1) waveform for 0.1 to 0.9 duty jump

2) waveform for 0.1 to 0.2 duty jump showing frequency change to 47.6kHz instead of 50kHz.

