Z
P
Z
P
TBCNT
EPWMxA
EPWMxB
CA
CA
CB
CB
Architecture
501
SPRUH82C – April 2013 – Revised September 2016
Copyright © 2013–2016, Texas Instruments Incorporated
Enhanced High-Resolution Pulse-Width Modulator (eHRPWM)
and
contains initialization and runtime register configurations for the waveforms
in
. Use the code in
to define the headers.
Figure 16-27. Up-Down-Count, Dual Edge Asymmetric Waveform, With Independent Modulation on
EPWMxA—Active Low
(1)
PWM period = 2 × TBPRD × TBCLK
(2)
Rising edge and falling edge can be asymmetrically positioned within a PWM cycle. This allows for pulse
placement techniques.
(3)
Duty modulation for EPWMxA is set by CMPA and CMPB.
(4)
Low time duty for EPWMxA is proportional to (CMPA + CMPB).
(5)
To change this example to active high, CMPA and CMPB actions need to be inverted (i.e., Set ! Clear and
Clear Set).
(6)
Duty modulation for EPWMxB is fixed at 50% (utilizes spare action resources for EPWMxB)