TBCTR[15:0]
Time
Base
(TB)
Module
16
CMPA[15:0]
16
16
16
CMPA
Compare A Active Reg.
CTR = CMPA
CTR = CMPB
Action
Qualifier
(AQ)
Module
CMPB[15:0]
TBCTR[15:0]
CMPCTL
[LOADASYNC]
CMPCTL
[SHDWBFULL]
CMPCTL
[SHDWBMODE]
CMPCTL
[SHDWAFULL]
CMPCTL
[SHDWAMODE]
Shadow load
CMPA
Compare A Shadow Reg.
CMPB
Compare B Active Reg.
CMPB
Compare B Shadow Reg.
DCAEVT1.sync
(A)
DCBEVT1.sync
(A)
EPWMxSYNCI
TBCTL[SWFSYNC]
0
CMPCTL
[LOADAMODE]
CTR = PRD
CTR = Zero
CMPCTL
[LOADBSYNC]
Shadow load
DCAEVT1.sync
(A)
DCBEVT1.sync
(A)
EPWMxSYNCI
TBCTL[SWFSYNC]
0
CMPCTL
[LOADBMODE]
CTR = PRD
CTR = Zero
16
16
CTR = CMPC
CMPC[15:0]
TBCTR[15:0]
CMPCTL2
[SHDWCMODE]
CMPC
Compare C Active Reg.
CMPC
Compare C Shadow Reg.
16
16
CMPD[15:0]
TBCTR[15:0]
CMPCTL2
[SHDWDMODE]
CMPD
Compare D Active Reg.
CMPD
Compare D Shadow Reg.
CTR = CMPD
CMPCTL2
[LOADCSYNC]
Shadow load
DCAEVT1.sync
(A)
DCBEVT1.sync
(A)
EPWMxSYNCI
TBCTL[SWFSYNC]
0
CMPCTL2
[LOADCMODE]
CTR = PRD
CTR = Zero
CMPCTL2
[LOADDSYNC]
Shadow load
DCAEVT1.sync
(A)
DCBEVT1.sync
(A)
EPWMxSYNCI
TBCTL[SWFSYNC]
0
CMPCTL2
[LOADDMODE]
CTR = PRD
CTR = Zero
Event
Trigger
and
Interrupt
(ET)
SOCA
SOCB
EPWMxINT
Counter
Compare A
Counter
Compare B
Counter
Compare C
Counter
Compare D
ePWM Submodules
692
SPRUHE8E – October 2012 – Revised November 2019
Copyright © 2012–2019, Texas Instruments Incorporated
C28 Enhanced Pulse Width Modulator (ePWM) Module
Figure 7-13. Detailed View of the Counter-Compare Submodule
A
These events are generated by the type 2 ePWM digital compare (DC) submodule based on the levels of the TRIPIN
inputs [For Example: COMPxOUT and TZ signals].
The key signals associated with the counter-compare submodule are described in
.
Table 7-7. Counter-Compare Submodule Key Signals
Signal
Description of Event
Registers Compared
CTR = CMPA
Time-base counter equal to the active counter-compare A value
TBCTR = CMPA
CTR = CMPB
Time-base counter equal to the active counter-compare B value
TBCTR = CMPB
CTR = CMPC
Time-base counter equal to the active counter-compare C value
TBCTR = CMPC
CTR = CMPD
Time-base counter equal to the active counter-compare D value
TBCTR = CMPD