The possible actions imposed on outputs EPWMxA and EPWMxB are:
•
Set High:
Set output EPWMxA or EPWMxB to a high level.
•
Clear Low:
Set output EPWMxA or EPWMxB to a low level.
•
Toggle:
If EPWMxA or EPWMxB is currently pulled high, then pull the output low. If EPWMxA or EPWMxB is
currently pulled low, then pull the output high.
•
Do Nothing:
Keep outputs EPWMxA and EPWMxB at same level as currently set. Although the "Do Nothing"
option prevents an event from causing an action on the EPWMxA and EPWMxB outputs, this event can still
trigger interrupts and ADC start of conversion. See the Event-trigger Submodule description in
for details.
Actions are specified independently for either output (EPWMxA or EPWMxB). Any or all events can be
configured to generate actions on a given output. For example, both CTR = CMPA and CTR = CMPB can
operate on output EPWMxA. All qualifier actions are configured via the control registers found at the end of this
section.
For clarity, the drawings in this document use a set of symbolic actions. These symbols are summarized in
. Each symbol represents an action as a marker in time. Some actions are fixed in time (zero and
period) while the CMPA and CMPB actions are moveable and their time positions are programmed via the
counter-compare A and B registers, respectively. To turn off or disable an action, use the "Do Nothing option"; it
is the default at reset.
Z
Z
Z
CA
CA
CA
Z
T
CB
T
P
T
CA
T
CB
P
CB
CB
P
Do Nothing
Clear Low
Set High
Toggle
P
Zero
Comp
A
Comp
B
Period
TB Counter equals:
Actions
S/W
force
SW
SW
SW
SW
T
Figure 3-20. Possible Action-Qualifier Actions for EPWMxA and EPWMxB Outputs
Enhanced Pulse Width Modulator (ePWM) Module
SPRUH18I – JANUARY 2011 – REVISED JUNE 2022
TMS320x2806x Microcontrollers
267
Copyright © 2022 Texas Instruments Incorporated
Summary of Contents for TMS320 2806 Series
Page 2: ......