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)
Event
Trigger
and
Interrupt
(ET)
Trip
Zone
(TZ)
ADC
PIE
PIE
Digital Compare
Signals
Digital Compare
Signals
CTR = CMPB
CTR = CMPA
CTR = CMPC
CTR = CMPD
CTR = PRD
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
643
SPRUH22I – April 2012 – Revised November 2019
Copyright © 2012–2019, Texas Instruments Incorporated
C28 Enhanced Pulse Width Modulator (ePWM) Module
7.2.2 Time-Base (TB) Submodule
Each ePWM module has its own time-base submodule that determines all of the event timing for the
ePWM module. Built-in synchronization logic allows the time-base of multiple ePWM modules to work
together as a single system.
illustrates the time-base module's place within the ePWM.
Figure 7-4. Time-Base Submodule
7.2.2.1
Purpose of the Time-Base Submodule
You can configure the time-base submodule for the following:
•
Specify the ePWM time-base counter (TBCTR) frequency or period to control how often events occur.
•
Manage time-base synchronization with other ePWM modules.
•
Maintain a phase relationship with other ePWM modules.
•
Set the time-base counter to count-up, count-down, or count-up-and-down mode.
•
Generate the following events:
–
CTR = PRD: Time-base counter equal to the specified period (TBCTR = TBPRD) .
–
CTR = Zero: Time-base counter equal to zero (TBCTR = 0x00).
•
Configure the rate of the time-base clock; a prescaled version of the CPU system clock
(SYSCLKOUT). This allows the time-base counter to increment/decrement at a slower rate.