Datasheet

Digital Compare
Signals
Counter Compare
Signals
T ime Base
Signals
Dead
Band
(DB)
Counter
Compare
(CC)
Action
Qualifier
(AQ)
EPWMxA
EPWMxB
CTR = CMPB
CTR = 0
EPWMxINT
EPWMxSOCA
EPWMxSOCB
EPWMxA
EPWMxB
nTZ1 to nTZ3
CTR = CMPA
T ime-Base
(TB)
CTR = PRD
CTR = 0
CTR_Dir
EPWMxSYNCI
EPWMxSYNCO
EPWMxTZINT
PWM-
chopper
(PC)
Event
Trigger
and
Interrupt
(ET)
Trip
Zone
(TZ)
GPIO
MUX
ADC
VIM
Digital
Compare
(DC)
CPU Debug Mode
OSCFAIL or PLL SLip
Combination of EQEP1ERR
and EQEP2ERR
Digital Compare
Signals
Digital Compare
Signals
VIM
ePWM Submodules
www.ti.com
34.2.4 Action-Qualifier (AQ) Submodule
Figure 34-17 shows the action-qualifier (AQ) submodule (see shaded block) in the ePWM system.
The action-qualifier submodule has the most important role in waveform construction and PWM
generation. It decides which events are converted into various action types, thereby producing the
required switched waveforms at the EPWMxA and EPWMxB outputs.
Figure 34-17. Action-Qualifier Submodule
34.2.4.1 Purpose of the Action-Qualifier Submodule
The action-qualifier submodule is responsible for the following:
Qualifying and generating actions (set, clear, toggle) based on the following events:
CTR = PRD: Time-base counter equal to the period (TBCTR = TBPRD).
CTR = Zero: Time-base counter equal to zero (TBCTR = 0x0000)
CTR = CMPA: Time-base counter equal to the counter-compare A register (TBCTR = CMPA)
CTR = CMPB: Time-base counter equal to the counter-compare B register (TBCTR = CMPB)
Managing priority when these events occur concurrently
Providing independent control of events when the time-base counter is increasing and when it is
decreasing.
34.2.4.2 Action-Qualifier Submodule Control and Status Register Definitions
The action-qualifier submodule operation is controlled and monitored via the registers in Table 34-7.
Table 34-7. Action-Qualifier Submodule Registers
Register Name Address Offset Shadowed Description
AQCTLA 16h No Action-Qualifier Control Register For Output A (EPWMxA)
AQSFRC 1Ah No Action-Qualifier Software Force Register
AQCTLB 18h No Action-Qualifier Control Register For Output B (EPWMxB)
AQCSFRC 1Ch Yes Action-Qualifier Continuous Software Force
1732
Enhanced Pulse Width Modulator (ePWM) Module SPNU562May 2014
Submit Documentation Feedback
Copyright © 2014, Texas Instruments Incorporated