Specifications

© 2008-2012 Microchip Technology Inc. DS70323E-page 43-53
Section 43. High-Speed PWM
High-Speed PWM
43
43.6.8 Dead Time Insertion in Center-Aligned Mode
While using Center-Aligned mode and complementary PWM, only the ALTDTRx register must
be used for dead time insertion. The dead time is inserted in the PWM waveform is illustrated in
Figure 43-15.
Figure 43-15: Dead Time Insertion in Center-Aligned Mode
43.6.9 Phase Shift
Phase shift is the relative offset between PWMxH or PWMxL with respect to the master time
base. In Independent Output mode, the PHASEx register determines the relative phase shift
between PWMxH and the master time base. The SPHASEx register determines the relative
phase shift between PWMxL and the master time base. The contents of the PHASEx register are
used as an initialization value for the PTMRx register and the contents of SPHASEx register are
used as an initialization value for the STMRx register.
Figure 43-16 and Figure 43-17 provide example waveforms for phase shifting in Complementary
mode and Independent Output mode, respectively.
Note: With IUE = 1, all the three cases as described in 43.13 “Immediate Update of
PWM Duty Cycle” hold good in Center-aligned mode.
ALTDTRx ALTDTRx
ALTDTRx ALTDTRx
PWMxH
PWMxL
PDCx
Period
2x Period
0
PHASEx