Texas Instruments TMS320x28xx Network Router User Manual


 
www.ti.com
Trip-Zone(TZ)Submodule
Table2-18.PossibleActionsOnaTripEvent
TZCTL[TZA]EPWMxAComment
and/orand/or
TZCTL[TZB]EPWMxB
0,0High-ImpedanceTripped
0,1ForcetoHighStateTripped
1,0ForcetoLowStateTripped
1,1NoChangeDoNothing.
Nochangeismadetotheoutput.
Example2-8.Trip-ZoneConfigurations
ScenarioA:
Aone-shottripeventonTZ1pullsbothEPWM1A,EPWM1BlowandalsoforcesEPWM2Aand
EPWM2Bhigh.
ConfiguretheePWM1registersasfollows:
TZSEL[OSHT1]=1:enablesTZ1asaone-shoteventsourceforePWM1
TZCTL[TZA]=2:EPWM1Awillbeforcedlowonatripevent.
TZCTL[TZB]=2:EPWM1Bwillbeforcedlowonatripevent.
ConfiguretheePWM2registersasfollows:
TZSEL[OSHT1]=1:enablesTZ1asaone-shoteventsourceforePWM2
TZCTL[TZA]=1:EPWM2Awillbeforcedhighonatripevent.
TZCTL[TZB]=1:EPWM2Bwillbeforcedhighonatripevent.
ScenarioB:
Acycle-by-cycleeventonTZ5pullsbothEPWM1A,EPWM1Blow.
Aone-shoteventonTZ1orTZ6putsEPWM2Aintoahighimpedancestate.
ConfiguretheePWM1registersasfollows:
TZSEL[CBC5]=1:enablesTZ5asaone-shoteventsourceforePWM1
TZCTL[TZA]=2:EPWM1Awillbeforcedlowonatripevent.
TZCTL[TZB]=2:EPWM1Bwillbeforcedlowonatripevent.
ConfiguretheePWM2registersasfollows:
TZSEL[OSHT1]=1:enablesTZ1asaone-shoteventsourceforePWM2
TZSEL[OSHT6]=1:enablesTZ6asaone-shoteventsourceforePWM1
TZCTL[TZA]=0:EPWM1Awillbeputintoahigh-impedancestateonatripevent.
TZCTL[TZB]=3:EPWM1Bwillignorethetripevent.
SPRU791DNovember2004RevisedOctober2007ePWMSubmodules61
SubmitDocumentationFeedback