Datasheet

TBCTL[SYNCOSEL]
TBPRD
Period Active
TBPRD
Period Shadow
16
TBCTL[SWFSYNC]
CTR = PRD
TBPHS
Phase Active Reg
Counter
UP/DOWN
16
Sync
Out
Select
EPWMxSYNCO
Reset
Load
16
TBCTL[PHSEN]
CTR = Zero
CTR = CMPB
Disable
X
EPWMxSYNCI
TBCTL[PRDLD]
TBCTR[15:0]
Mode
TBCTL[CTRMODE]
CTR = Zero
CTR_max
TBCLK
Clock
Prescale
VCLK4
TBCLK
TBCTL[HSPCLKDIV]
TBCTL[CLKDIV]
CTR_dir
TBCTR
Counter Active Reg
clk
Max
Dir
Zero
DCBEVT1.sync
(A)
DCAEVT1.sync
(A)
A. These signals are generated by the digital compare (DC) submodule.
ePWM Submodules
www.ti.com
Figure 34-4 shows the critical signals and registers of the time-base submodule. Table 34-4 provides
descriptions of the key signals associated with the time-base submodule.
Figure 34-4. Time-Base Submodule Signals and Registers
Table 34-4. Key Time-Base Signals
Signal Description
EPWMxSYNCI Time-base synchronization input.
Input pulse used to synchronize the time-base counter with the counter of ePWM module earlier in the
synchronization chain. An ePWM peripheral can be configured to use or ignore this signal. For the first ePWM
module (EPWM1) this signal comes from a device pin or from the N2HET1 module. For subsequent ePWM
modules this signal is passed from another ePWM peripheral. For example, EPWM2SYNCI is generated by the
ePWM1 peripheral, EPWM3SYNCI is generated by ePWM2 and so forth. See Section 34.2.2.3.3 for
information on the synchronization order of a particular device.
EPWMxSYNCO Time-base synchronization output.
This output pulse is used to synchronize the counter of an ePWM module later in the synchronization chain.
The ePWM module generates this signal from one of three event sources:
1. EPWMxSYNCI (Synchronization input pulse)
2. CTR = Zero: The time-base counter equal to zero (TBCTR = 0x0000).
3. CTR = CMPB: The time-base counter equal to the counter-compare B (TBCTR = CMPB) register.
CTR = PRD Time-base counter equal to the specified period.
This signal is generated whenever the counter value is equal to the active period register value. That is when
TBCTR = TBPRD.
CTR = Zero Time-base counter equal to zero
This signal is generated whenever the counter value is zero. That is when TBCTR equals 0x0000.
1720
Enhanced Pulse Width Modulator (ePWM) Module SPNU562May 2014
Submit Documentation Feedback
Copyright © 2014, Texas Instruments Incorporated