Introduction
Author: Christopher Best, Microchip Technology Inc. |
The Complementary Waveform Generator (CWG) peripheral generates Pulse-Width Modulated (PWM) waveforms that can be used in a variety of applications, such as motor control or LED lighting. The CWG can produce up to four output signals from a single selectable input source. The output signals can be used in several modes of operation, such as Half Bridge or Full Bridge modes with dead-band control, Synchronous or Asynchronous Steering modes, and Push-Pull mode. Each CWG output has its own independent polarity control, and may be routed to one of several pins through the Peripheral Pin Select (PPS) module. Selectable Auto-Shutdown sources can be used to immediately halt the CWG outputs during a fault condition, and allows the module to resume operation once the fault condition has been removed.
Figure shows the simplified block diagram of the CWG module.