Texas Instruments TMS320x28xx Network Router User Manual


 
www.ti.com
2.4Action-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.1PurposeoftheAction-QualifierSubmodule
2.4.2Action-QualifierSubmoduleControlandStatusRegisterDefinitions
Action-Qualifier(AQ)Submodule
Figure2-17showstheaction-qualifier(AQ)submodule(seeshadedblock)intheePWMsystem.
Figure2-17.Action-QualifierSubmodule
Theaction-qualifiersubmodulehasthemostimportantroleinwaveformconstructionandPWM
generation.Itdecideswhicheventsareconvertedintovariousactiontypes,therebyproducingthe
requiredswitchedwaveformsattheEPWMxAandEPWMxBoutputs.
Theaction-qualifiersubmoduleisresponsibleforthefollowing:
Qualifyingandgeneratingactions(set,clear,toggle)basedonthefollowingevents:
CTR=PRD:Time-basecounterequaltotheperiod(TBCTR=TBPRD).
CTR=Zero:Time-basecounterequaltozero(TBCTR=0x0000)
CTR=CMPA:Time-basecounterequaltothecounter-compareAregister(TBCTR=CMPA)
CTR=CMPB:Time-basecounterequaltothecounter-compareBregister(TBCTR=CMPB)
Managingprioritywhentheseeventsoccurconcurrently
Providingindependentcontrolofeventswhenthetime-basecounterisincreasingandwhenitis
decreasing..
Theaction-qualifiersubmoduleoperationiscontrolledandmonitoredviatheregistersinTable2-6.
Table2-6.Action-QualifierSubmoduleRegisters
RegisterAddressoffsetShadowedDescription
Name
AQCTLA0x000BNoAction-QualifierControlRegisterForOutputA(EPWMxA)
AQCTLB0x000CNoAction-QualifierControlRegisterForOutputB(EPWMxB)
AQSFRC0x000DNoAction-QualifierSoftwareForceRegister
AQCSFRC0x000EYesAction-QualifierContinuousSoftwareForce
SPRU791DNovember2004RevisedOctober2007ePWMSubmodules37
SubmitDocumentationFeedback