EPWM1SYNCI
ePWM1
EPWM1SYNCO
EPWM2SYNCI
ePWM2
EPWM2SYNCO
EPWM3SYNCI
ePWM3
EPWM3SYNCO
EPWM4SYNCI
ePWM4
EPWM4SYNCO
EPWM5SYNCI
ePWM5
EPWM5SYNCO
EPWM6SYNCI
ePWM6
EPWM7SYNCI
ePWM7
EPWM7SYNCO
EPWM8SYNCI
ePWM8
EPWM8SYNCO
EPWM9SYNCI
ePWM9
SYNCI
eCAP4
SYNCOUT
Pulse
Stretch
(8 cycles)
SYNCI
eCAP5
SYNCOUT
SYNCI
eCAP6
SYNCOUT
SYNCI
eCAP1
SYNCOUT
SYNCI
eCAP2
SYNCOUT
SYNCI
eCAP3
SYNCOUT
GPIO
MUX
GPTRIP6
GPIO0 . . . GPIO63
C28.SYSCLK
ePWM Submodules
648
SPRUH22I – April 2012 – Revised November 2019
Copyright © 2012–2019, Texas Instruments Incorporated
C28 Enhanced Pulse Width Modulator (ePWM) Module
of this chapter
•
Time-Base Period Immediate Load Mode:
If immediate load mode is selected (TBCTL[PRDLD] = 1), then a read from or a write to the TBPRD
memory address goes directly to the active register.
7.2.2.3.2 Time-Base Clock Synchronization
The TBCLKSYNC bit in the peripheral clock enable registers allows all users to globally synchronize all
enabled ePWM modules to the time-base clock (TBCLK). When set, all enabled ePWM module clocks are
started with the first rising edge of TBCLK aligned. For perfectly synchronized TBCLKs, the prescalers for
each ePWM module must be set identically.
The proper procedure for enabling ePWM clocks is as follows:
1. Enable ePWM module clocks in the PCLKCRx register
2. Set TBCLKSYNC= 0
3. Configure ePWM modules
4. Set TBCLKSYNC=1
7.2.2.3.3
Time-Base Counter Synchronization
A time-base synchronization scheme connects all of the ePWM modules on a device. Each ePWM
module has a synchronization input (EPWMxSYNCI) and a synchronization output (EPWMxSYNCO). The
input synchronization for the first instance (ePWM1) comes from an external pin.
Figure 7-7. Time-Base Counter Synchronization Scheme 4
NOTE:
All modules shown in the synchronization schemes may not be available on all devices.
Please refer to the device specific data manual to determine which modules are available on
a particular device.