3.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 3-7. Action-Qualifier Submodule Registers
Register
Address
Offset
Shadowed
Description
Bit Description
AQCTLA
0x000B
No
Action-Qualifier Control Register for Output A (EPWMxA)
AQCTLB
0x000C
No
Action-Qualifier Control Register for Output B (EPWMxB)
AQSFRC
0x000D
No
Action-Qualifier Software Force Register
AQCSFRC
0x000E
Yes
Action-Qualifier Continuous Software Force
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
Action-qualifier (AQ) Module
AQCTLA[15:0]
Action-qualifier control A
EPWMA
EPWMB
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
Figure 3-19. Action-Qualifier Submodule Inputs and Outputs
For convenience, the possible input events are summarized again in
Table 3-8. 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 = 0x0000
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.
Enhanced Pulse Width Modulator (ePWM) Module
266
TMS320x2806x Microcontrollers
SPRUH18I – JANUARY 2011 – REVISED JUNE 2022
Copyright © 2022 Texas Instruments Incorporated
Содержание TMS320 2806 Series
Страница 2: ......