Digital Compare
Signals
Counter Compare
Signals
Time Base
Signals
Dead
Band
(DB)
Counter
Compare
(CC)
CTR = 0
EPWMxINT
EPWMxSOCA
EPWMxSOCB
ePWMxA
ePWMxB
TZ1 to TZ3
Time-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
PIE
PIE
Digital
Compare
(DC)
EMUSTOP
CLOCKFAIL
EQEPxERR
Digital Compare
Signals
GPTRIP
CPU
SYSCTRL
EQEPx
Digital Compare
Signals
CTR = CMPB
CTR = CMPA
CTR = CMPC
CTR = CMPD
CTR = PRD
COMPxOUT
GPTRIP
PIEERR
ECCDBLERR
TZ1
TZ3
to
Action
Qualifier
(AQ)
ePWMxA
ePWMxB
GPIO
MUX
28x RAM/
Flash ECC
ePWM Submodules
698
SPRUHE8E – October 2012 – Revised November 2019
Copyright © 2012–2019, Texas Instruments Incorporated
C28 Enhanced Pulse Width Modulator (ePWM) Module
Figure 7-18. Action-Qualifier Submodule
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.
7.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 = 0x00)
–
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
7.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 7-8. Action-Qualifier Submodule Registers
Register
Name
Address Offset
Shadowed
Description
AQCTLA
0x0B
No
Action-Qualifier Control Register For Output A (EPWMxA)
AQCTLB
0x0C
No
Action-Qualifier Control Register For Output B (EPWMxB)
AQSFRC
0x0D
No
Action-Qualifier Software Force Register
AQCSFRC
0x0E
Yes
Action-Qualifier Continuous Software Force
AQCTLR
0x47
No
Action Qualifier Control Register
AQCTLAM
0x73
No
Action Qualifier Control Mirror Register For Output A
AQCTLBM
0x74
No
Action Qualifier Control Mirror Register For Output B
AQSFRCM
0x75
No
Action Qualifier Software Force Mirror Register