Datasheet
© 2008-2012 Microchip Technology Inc. DS70318F-page 195
dsPIC33FJ06GS101/X02 and dsPIC33FJ16GSX02/X04
15.0 HIGH-SPEED PWM
The high-speed PWM module on the
dsPIC33FJ06GS101/X02 and dsPIC33FJ16GSX02/
X04 devices supports a wide variety of PWM modes
and output formats. This PWM module is ideal for
power conversion applications, such as:
• AC/DC Converters
• DC/DC Converters
• Power Factor Correction (PFC)
• Uninterruptible Power Supply (UPS)
•Inverters
• Battery Chargers
• Digital Lighting
15.1 Features Overview
The high-speed PWM module incorporates the
following features:
• 2-4 PWM generators with 4-8 outputs
• Individual time base and duty cycle for each of the
eight PWM outputs
• Dead time for rising and falling edges:
• Duty cycle resolution of 1.04 ns
• Dead-time resolution of 1.04 ns
• Phase shift resolution of 1.04 ns
• Frequency resolution of 1.04 ns
• PWM modes supported:
- Standard Edge-Aligned
- True Independent Output
- Complementary
- Center-Aligned
- Push-Pull
- Multiphase
- Variable Phase
- Fixed Off-Time
- Current Reset
- Current-Limit
• Independent Fault/Current-Limit inputs for each of
the eight PWM outputs
• Output override control
• Special Event Trigger
• PWM capture feature
• Prescaler for input clock
• Dual trigger from PWM to ADC
• PWMxH, PWMxL output pin swapping
• PWM4H, PWM4L pins remappable
• On-the-fly PWM frequency, duty cycle and phase
shift changes
• Disabling of Individual PWM generators to reduce
power consumption
• Leading-Edge Blanking (LEB) functionality
Figure 15-1 conceptualizes the PWM module in a
simplified block diagram. Figure 15-2 illustrates how
the module hardware is partitioned for each PWM
output pair for the Complementary PWM mode. Each
functional unit of the PWM module is discussed in
subsequent sections.
The PWM module contains four PWM generators. The
module has up to eight PWM output pins: PWM1H,
PWM1L, PWM2H, PWM2L, PWM3H, PWM3L,
PWM4H and PWM4L. For complementary outputs,
these eight I/O pins are grouped into H/L pairs.
Note 1: This data sheet summarizes the features
of the dsPIC33FJ06GS101/X02 and
dsPIC33FJ16GSX02/X04 families of
devices. It is not intended to be a compre-
hensive reference source. To comple-
ment the information in this data sheet,
refer to Section 43. “High- Speed
PWM” (DS70323) in the “dsPIC33F/
PIC24H Family Reference Manual”,
which is available on the Microchip web
site (www.microchip.com).
2: Some registers and associated bits
described in this section may not be
available on all devices. Refer to
Section 4.0 “Memory Organization” in
this data sheet for device-specific register
and bit information.
Note: Duty cycle, dead-time, phase shift and
frequency resolution is 8.32 ns in
Center-Aligned PWM mode.