Action-qualifier (AQ) Module
AQCTLA[15:0]
Action-qualifier control A
TBCLK
CTR = PRD
CTR = Zero
CTR = CMPA
CTR = CMPB
CTR_dir
AQCTLB[15:0]
Action-qualifier control B
AQSFRC[15:0]
Action-qualifier S/W force
AQCSFRC[3:0] (shadow)
continuous S/W force
AQCSFRC[3:0] (active)
continuous S/W force
EPWMA
EPWMB
AQCTLR[15:0]
Action-qualifier control register
ePWM Submodules
662
SPRUH22I – April 2012 – Revised November 2019
Copyright © 2012–2019, Texas Instruments Incorporated
C28 Enhanced Pulse Width Modulator (ePWM) Module
Table 7-8. Action-Qualifier Submodule Registers (continued)
Register
Name
Address Offset
Shadowed
Description
AQCSFRCM
0x76
No
Action Qualifier Continuous S/W Force Mirror Register
AQCTLR
0x47
No
Action Qualifier Control Register
The action-qualifier submodule is based on event-driven logic. It can be thought of as a programmable
cross switch with events at the input and actions at the output, all of which are software controlled via the
set of registers shown in
.
Figure 7-19. Action-Qualifier Submodule Inputs and Outputs
For convenience, the possible input events are summarized again in
Table 7-9. Action-Qualifier Submodule Possible Input Events
Signal
Description
Registers Compared
CTR = PRD
Time-base counter equal to the period value
TBCTR = TBPRD
CTR = Zero
Time-base counter equal to zero
TBCTR = 0x00
CTR = CMPA
Time-base counter equal to the counter-compare A
TBCTR = CMPA
CTR = CMPB
Time-base counter equal to the counter-compare B
TBCTR = CMPB
Software forced event
Asynchronous event initiated by software
The software forced action is a useful asynchronous event. This control is handled by registers AQSFRC
and AQCSFRC.
The action-qualifier submodule controls how the two outputs EPWMxA and EPWMxB behave when a
particular event occurs. The event inputs to the action-qualifier submodule are further qualified by the
counter direction (up or down). This allows for independent action on outputs on both the count-up and
count-down phases.
The possible actions imposed on outputs EPWMxA and EPWMxB are:
•
Set High:
Set output EPWMxA or EPWMxB to a high level.