Texas Instruments 28xxx 用户手册

下载
页码 119
www.ti.com
2.4
Action-Qualifier (AQ) Submodule
CTR = CMPB
CTR = CMPA
CTR_Dir
CTR =  0
CTR = PRD
Dead
Band
(DB)
Counter
Compare
(CC)
Action
Qualifier
(AQ)
EPWMxA
EPWMxB
CTR = CMPB
CTR = 0
EPWMxINT
EPWMxSOCA
EPWMxSOCB
EPWMxA
EPWMxB
TZ1 to TZ6
CTR = CMPA
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
2.4.1 Purpose of the Action-Qualifier Submodule
2.4.2 Action-Qualifier Submodule Control and Status Register Definitions
Action-Qualifier (AQ) Submodule
shows the action-qualifier (AQ) submodule (see shaded block) in the ePWM system.
Figure 2-17. 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.
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. .
The action-qualifier submodule operation is controlled and monitored via the registers in
Table 2-6. Action-Qualifier Submodule Registers
Register
Address offset
Shadowed
Description
Name
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
SPRU791D – November 2004 – Revised October 2007
ePWM Submodules
37