Texas Instruments 28xxx 用户手册

下载
页码 119
www.ti.com
2.2
Time-Base (TB) Submodule
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
2.2.1 Purpose of the Time-Base Submodule
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 2-1. Time-Base Submodule Block Diagram
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.
SPRU791D – November 2004 – Revised October 2007
ePWM Submodules
23