ePWM
C2000 Microcontroller Workshop - Control Peripherals
7 - 9
ePWM Phase Synchronization
SyncIn
SyncOut
CTR=zero
CTR=CMPB
X
En
o
o
o
o
o
o
o
φ
=120°
Phase
.
EPWM2A
EPWM2B
SyncIn
SyncOut
CTR=zero
CTR=CMPB
X
En
o
o
o
o
o
o
o
φ
=240°
Phase
.
EPWM3A
EPWM3B
SyncIn
SyncOut
CTR=zero
CTR=CMPB
X
En
o
o
o
o
o
o
o
φ
=0°
Phase
.
EPWM1A
EPWM1B
φ
=120°
φ
=120°
φ
=240°
Ext. SyncIn
To eCAP1
SyncIn
If needed, an ePWM module can be synchronized with adjacent ePWM modules.
Synchronization is based on a synch-in signal, time-base counter equals zero, or time-base
counter equals compare B register. Additionally, the waveform can be phase-shifted.
ePWM Time-Base Sub-Module Registers
(lab file: EPwm.c)
Name
Description
Structure
TBCTL
Time-Base Control
EPwmxRegs.TBCTL.all =
TBSTS
Time-Base Status
EPwmxRegs.TBSTS.all =
TBPHS
Time-Base Phase
EPwmxRegs.TBPHS =
TBCTR
Time-Base Counter
EPwmxRegs.TBCTR =
TBPRD
Time-Base Period
EPwmxRegs.TBPRD =
Summary of Contents for C2000 Piccolo LaunchPad
Page 74: ...Interrupts 4 18 C2000 Microcontroller Workshop Reset and Interrupts ...
Page 100: ...Lab 5 System Initialization 5 26 C2000 Microcontroller Workshop System Initialization ...
Page 218: ...Lab 8 IQmath FIR Filter 8 42 C2000 Microcontroller Workshop Numerical Concepts ...
Page 334: ...F28069 controlCARD A 4 C2000 Microcontroller Workshop Appendix A Experimenter s Kit SW2 ...
Page 336: ...F28035 controlCARD A 6 C2000 Microcontroller Workshop Appendix A Experimenter s Kit SW2 SW3 ...