![Texas Instruments TMS320x2823x Скачать руководство пользователя страница 63](http://html1.mh-extra.com/html/texas-instruments/tms320x2823x/tms320x2823x_reference-manual_1095205063.webp)
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]
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)
www.ti.com
ePWM Submodules
Figure 40. Trip-Zone Submodule Interrupt Logic
2.8
Event-Trigger (ET) Submodule
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, the
counter-compare submodule, and the digital-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 41. Event-Trigger Submodule
2.8.1
Operational Overview of the Event-Trigger Submodule
The following sections describe the event-trigger submodule's operational highlights.
63
SPRUG04A – October 2008 – Revised July 2009
TMS320x2833x, 2823x Enhanced Pulse Width Modulator (ePWM) Module
© 2008–2009, Texas Instruments Incorporated