3.2.8 Event-Trigger (ET) Submodule
The key functions of the event-trigger submodule are:
• Receives event inputs generated by the time-base, counter-compare, and digital-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.
Digital Compare
Signals
Counter Compare
Signals
Time Base
Signals
Dead
Band
(DB)
Counter
Compare
(CC)
Action
Qualifier
(AQ)
EPWMxA
EPWMxB
CTR = CMPB
CTR = 0
EPWMxINT
EPWMxSOCA
EPWMxSOCB
EPWMxA
EPWMxB
TZ1
TZ3
to
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
Digital
Compare
(DC)
EMUSTOP
CLOCKFAIL
EQEP1ERR
Digital Compare
Signals
COMP
COMPxOUT
CPU
SYSCTRL
EQEP1
Digital Compare
Signals
Figure 3-39. Event-Trigger Submodule
3.2.8.1 Purpose of the Event-Trigger Submodule
The following sections describe the event-trigger submodule.
Each ePWM module has one interrupt request line connected to the PIE and two start of conversion signals
connected to the ADC module. As shown in
, ADC start of conversion for all ePWM modules are
connected to individual ADC trigger inputs to the ADC, and hence multiple modules can initiate an ADC start of
conversion via the ADC trigger inputs.
Enhanced Pulse Width Modulator (ePWM) Module
292
TMS320x2806x Microcontrollers
SPRUH18I – JANUARY 2011 – REVISED JUNE 2022
Copyright © 2022 Texas Instruments Incorporated
Содержание TMS320 2806 Series
Страница 2: ......