This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TMS320F28069: Deadband - Active high complementary PWM, please explain

Part Number: TMS320F28069
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

Fullscreen
1
2
3
4
5
6
7
8
9
//
// 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;
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

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?