Other Parts Discussed in Thread: TIDM-02000
I'm looking at the example code for implementing deadband in PWM. Here is setup for Active high complementary PWMs
//
// Active high complementary PWMs - Setup the deadband
//
EPwm3Regs.DBCTL.bit.OUT_MODE = DB_FULL_ENABLE; // 0x3
EPwm3Regs.DBCTL.bit.POLSEL = DB_ACTV_HIC; // 0x2
EPwm3Regs.DBCTL.bit.IN_MODE = DBA_ALL; // 0x0
EPwm3Regs.DBRED = EPWM3_MIN_DB;
EPwm3Regs.DBFED = EPWM3_MIN_DB;
EPwm3_DB_Direction = DB_UP;


But I don't understand the logic here. It seems to me that, in figure 3.32, the waveform for AHC is achieved by first letting the upper waveform have a rising edge DB (RED) and then letting the lower waveform have RED. This doesn't seem to be the case when looking at the setup code. Can anyone explain to me how the setup works for AHC?
