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
Architecture
516
SPRUH82C – April 2013 – Revised September 2016
Copyright © 2013–2016, Texas Instruments Incorporated
Enhanced High-Resolution Pulse-Width Modulator (eHRPWM)
16.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 16-40. 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 16-41. Event-Trigger Submodule Showing Event Inputs and Prescaled Outputs