ePWM
TMS320F2837xD Microcontroller Workshop - Control Peripherals 7 - 17
In the example above, the EPWMA output is being set high on the compare A match and being
cleared low on the compare B match, while the EPWMB output is being toggled on the zero
match.
ePWM Count Up-Down Symmetric
Waveform
with Independent Modulation on EPWMA / B
CA
↑
CA
↓
CA
↑
CA
↓
CB
↑
CB
↓
CB
↑
CB
↓
EPWMA
EPWMB
TBCTR
TBPRD
.
. .
.
.
.
. .
.
.
CMPB
CMPA
.
.
.
In the example above, there are different output actions on the up-count and down-count using a
single compare register. The EPWMA and EPWMB outputs are being set high on the compare A
and B up-count matches and cleared low on the compare A and B down-count matches.
ePWM Count Up-Down Symmetric
Waveform
with Independent Modulation on EPWMA
CA
↑
CB
↓
CA
↑
CB
↓
Z
↓
P
↑
Z
↓
P
↑
EPWMA
EPWMB
TBCTR
TBPRD
.
.
. .
.
.
CMPB
CMPA
.
.
.