TBCNT
EPWMxA
EPWMxB
TBPRD
(value)
CA
Z
P
CB
Z
P
CB
CA
Z
P
Z
P
CA
Z
P
CA
Z
P
CB
CB
Architecture
491
SPRUH82C – April 2013 – Revised September 2016
Copyright © 2013–2016, Texas Instruments Incorporated
Enhanced High-Resolution Pulse-Width Modulator (eHRPWM)
The PWM waveforms in
through
show some common action-qualifier
configurations. Some conventions used in the figures are as follows:
•
TBPRD, CMPA, and CMPB refer to the value written in their respective registers. The active register,
not the shadow register, is used by the hardware.
•
CMPx, refers to either CMPA or CMPB.
•
EPWMxA and EPWMxB refer to the output signals from ePWMx
•
Up-Down means Count-up-and-down mode, Up means up-count mode and Dwn means down-count
mode
•
Sym = Symmetric, Asym = Asymmetric
and
contains initialization and runtime register configurations for the waveforms
in
Figure 16-22. Up, Single Edge Asymmetric Waveform, With Independent Modulation on EPWMxA and
EPWMxB—Active High
(1)
PWM period = (TBPRD + 1 ) × T
TBCLK
(2)
Duty modulation for EPWMxA is set by CMPA, and is active high (that is, high time duty proportional to
CMPA).
(3)
Duty modulation for EPWMxB is set by CMPB and is active high (that is, high time duty proportional to
CMPB).
(4)
The "Do Nothing" actions ( X ) are shown for completeness, but will not be shown on subsequent diagrams.
(5)
Actions at zero and period, although appearing to occur concurrently, are actually separated by one TBCLK
period. TBCNT wraps from period to 0000h.