Texas Instruments 28xxx 用户手册

下载
页码 119
www.ti.com
Generate
interrupt
pulse when
input=1
Clear
Set
TZCLR[INT]
EPWMx_TZINT
(PIE)
Latch
Clear
Set
Clear
Set
Latch
Latch
TZFLG[CBC]
TZFLG[OST]
TZEINT[CBC]
TZCLR[CBC]
CBC
trip event
TZEINT[OST]
OSHT
trip event
TZCLR[OST]
TZFLG[INT]
2.8
Event-Trigger (ET) Submodule
CTR = CMPB
CTR = CMPA
CTR_Dir
CTR = 0
CTR = PRD
Dead
Band
(DB)
Counter
Compare
(CC)
Action
Qualifier
(AQ)
EPWMA
EPWMB
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)
Event-Trigger (ET) Submodule
Figure 2-37. Trip-Zone Submodule Interrupt Logic
The key functions of the event-trigger submodule are:
Receives event inputs generated by the time-base and counter-compare submodules
Uses the time-base direction information for up/down event qualification
Uses prescaling logic to issue interrupt requests and ADC start of conversion at:
Every event
Every second event
Every third event
Provides full visibility of event generation via event counters and flags
Allows software forcing of Interrupts and ADC start of conversion
The event-trigger submodule manages the events generated by the time-base submodule and the
counter-compare submodule to generate an interrupt to the CPU and/or a start of conversion pulse to the
ADC when a selected event occurs.
illustrates where the event-trigger submodule fits within
the ePWM system.
Figure 2-38. Event-Trigger Submodule
SPRU791D – November 2004 – Revised October 2007
ePWM Submodules
63