ePWM
TMS320F2837xD Microcontroller Workshop - Control Peripherals 7 - 15
ePWM Action Qualifier Actions
for EPWMA and EPWMB
SW
↓
SW
↑
SW
X
SW
T
S/W
Force
Do Nothing
Clear Low
Set High
Toggle
EPWM
Output
Actions
Time-Base Counter equals:
Z
↓
Z
↑
Z
X
Z
T
Zero
CA
↓
CA
↑
CA
X
CA
T
CMPA
CB
↓
CB
↑
CB
X
CB
T
CMPB
P
↓
P
↑
P
X
P
T
TBPRD
T1
↓
T1
↑
T1
X
T1
T
T1
T2
↓
T2
↑
T2
X
T2
T
T2
Trigger Events:
Tx Event Sources = DCAEVT1, DCAEVT2, DCBEVT1, DCBEVT2, TZ1, TZ2, TZ3, EPWMxSYNCIN
The Action Qualifier actions are setting the pin high, clearing the pin low, toggling the pin, or do
nothing to the pin, based independently on count-up and count-down time-base match event.
The match events are when the time-base counter equals the period register value, the time-base
counter is zero, the time-base counter equals CMPA, the time-base counter equals CMPB, or a
Trigger event (T1 and T2) based on a comparator, trip, or sync signal. Note that zero and period
actions are fixed in time, whereas CMPA and CMPB actions are moveable in time by
programming their respective registers. Actions are configured independently for each output
using shadowed registers, and any or all events can be configured to generate actions on either
output. Also, the output pins can be forced to any action using software.