![Texas Instruments TMS320x2823x Reference Manual Download Page 20](http://html1.mh-extra.com/html/texas-instruments/tms320x2823x/tms320x2823x_reference-manual_1095205020.webp)
CTR = CMPB
CTR = CMPA
CTR_Dir
CTR = 0
CTR = PRD
Dead
Band
(DB)
Counter
Compare
(CC)
Action
Qualifier
(AQ)
EPWMxA
EPWMxB
CTR = CMPB
CTR = 0
EPWMxINT
EPWMxSOCA
EPWMxSOCB
EPWMxA
EPWMxB
TZ1 to TZ6
CTR = CMPA
Time-Base
(TB)
CTR = PRD
CTR = 0
CTR_Dir
EPWMxSYNCI
EPWMxSYNCO
EPWMxTZINT
PWM-
chopper
(PC)
Event
Trigger
and
Interrupt
(ET)
Trip
Zone
(TZ)
GPIO
MUX
ADC
PIE
PIE
ePWM Submodules
www.ti.com
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 4. Time-Base Submodule Block Diagram
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 = 0x0000).
•
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.
20
TMS320x2833x, 2823x Enhanced Pulse Width Modulator (ePWM) Module
SPRUG04A – October 2008 – Revised July 2009
© 2008–2009, Texas Instruments Incorporated