Event Trigger
Module Logic
CTR = 0
CTR = PRD
CTR = CMPA
EPWMxINT
CTR = CMPB
CTR_dir
Direction
qualifier
CTRU=CMPA
ETSEL reg
/n
/n
/n
clear
count
count
clear
count
clear
CTRD=CMPA
CTRU=CMPB
CTRD=CMPB
ETPS reg
ETFLG reg
ETCLR reg
ETFRC reg
Interrupt
controller
EPWM1INT
EPWM1
module
EPWM2INT
EPWM2
module
EPWMxINT
EPWMx
module
Interrupt
controller
Enhanced PWM (ePWM) Module
15.2.2.9.3 Operational Overview of the 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 interrupt controller as shown in
.
Figure 15-45. Event-Trigger Submodule Inter-Connectivity to Interrupt Controller
The event-trigger submodule monitors various event conditions (the left side inputs to event-trigger
submodule shown in
) and can be configured to prescale these events before issuing an
Interrupt request. The event-trigger prescaling logic can issue Interrupt requests at:
•
Every event
•
Every second event
•
Every third event
Figure 15-46. Event-Trigger Submodule Showing Event Inputs and Prescaled Outputs
1547
SPRUH73H – October 2011 – Revised April 2013
Pulse-Width Modulation Subsystem (PWMSS)
Copyright © 2011–2013, Texas Instruments Incorporated