Digital Compare
Signals
Counter Compare
Signals
Time Base
Signals
Dead
Band
(DB)
Counter
Compare
(CC)
Action
Qualifier
(AQ)
ePWMxA
ePWMxB
CTR = 0
EPWMxINT
EPWMxSOCA
EPWMxSOCB
Time-Base
(TB)
CTR = PRD
CTR = 0
CTR_Dir
EPWMxSYNCI
EPWMxSYNCO
EPWMxTZINT
PWM-
chopper
(PC)
Trip
Zone
(TZ)
ADC
PIE
PIE
Digital Compare
Signals
Digital Compare
Signals
CTR = CMPB
CTR = CMPA
CTR = CMPC
CTR = CMPD
CTR = PRD
Event
Trigger
and
Interrupt
(ET)
ePWMxA
ePWMxB
TZ1 to TZ3
GPIO
MUX
Digital
Compare
(DC)
EMUSTOP
CLOCKFAIL
EQEPxERR
GPTRIP
CPU
SYSCTRL
EQEPx
COMPxOUT
GPTRIP
PIEERR
ECCDBLERR
TZ1
TZ3
to
GPIO
MUX
28x RAM/
Flash ECC
ePWM Submodules
730
SPRUHE8E – October 2012 – Revised November 2019
Copyright © 2012–2019, Texas Instruments Incorporated
C28 Enhanced Pulse Width Modulator (ePWM) Module
Figure 7-41. Event-Trigger Submodule
7.2.8.1
Operational Overview of the ePWM type 2 Event-Trigger Submodule
The following sections describe the event-trigger submodule's operational highlights.
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 via the Analog Common Interface Bus
(ACIB) and hence multiple modules can initiate an ADC start of conversion via the ADC trigger inputs. The
configuration options for the TRIGxSEL register is shown in the below table.The trigger source for an ADC
start of conversion is configured by a combination of the TRIGSEL field in the ADCSOCxCTL register, the
appropriate bits in the ADCINTSOCSEL1 or ADCINTSOCSEL2 register, and setting the correct bits in the
TRIGxSEL registers.
Table 7-22. TRIGxSEL Trigger Options
TRIGxSEL Bits
Trigger Source
Peripheral
00000
No Trigger Enabled (Default)
00001
TINT0
CPU Timer 0
00010
TINT1
CPU Timer 1
00011
TINT2
CPU Timer 2
00100
XINT2
C28 GPIO MUX
00101
EPWM1SOCA
EPWM1
00110
EPWM1SOCB
00111
EPWM1SYNC
01000
EPWM2SOCA
EPWM2
01001
EPWM2SOCB
01010
EPWM2SYNC
01011
EPWM3SOCA
EPWM3
01100
EPWM3SOCB
01101
EPWM3SYNC