ePWM
7 - 14 C2000 Microcontroller Workshop - Control Peripherals
This table shows the various action qualifier compare-match options for when the time-base
counter equals zero, compare A match, compare B match, and period match. Based on the
selected match option, the output pins can be configured to do nothing, clear low, set high, or
toggle. Also, the output pins can be forced to any action using software.
ePWM Count Up Asymmetric Waveform
with Independent Modulation on EPWMA / B
Z
↑
P
X
CB
X
CA
↓
Z
↑
P
X
CB
X
CA
↓
Z
↑
P
X
Z
↑
P
X
CB
↓
CA
X
Z
↑
P
X
CB
↓
CA
X
Z
↑
P
X
TBCTR
TBPRD
.
.
.
.
EPWMA
EPWMB
.
.
.
.
.
CMPA
CMPB
The next few figures show how the action qualifier uses the compare matches to modulate the
output pins. Notice that the output pins for EPWMA and EPWMB are completely independent.
Here, on the EPWMA output, the waveform will be set high on zero match and clear low on
compare A match. On the EPWMB output, the waveform will be set high on zero match and
clear low on compare B match.