Use these peripherals to control various waveforms for basic motor control, LED dimming, custom communications and other applications. They offer a wide range of features to generate, steer and read waveforms while interconnecting with other on-chip capabilities.
The PWM peripherals available in PIC® and AVR® microcontrollers (MCUs) provide hardware-driven PWM generators that do not consume Central Processing Unit (CPU) resources at runtime. These peripherals also feature hardware to accommodate PWM-related tasks such as dead band delay, auto shutdown and interconnectivity with other on-chip capabilities.
These peripherals are used to extend PWMs or other signal capabilities such as complementary outputs with rising and falling edge dead band control, auto shutdown and auto restart. They can also interface directly with other peripherals/external inputs. The COG expands on these capabilities with the addition of blanking and phase control.
The DSM allows you to mix a data stream, also known as the modulator (MOD) signal, with a carrier signal to produce a modulated output. Flexible interconnectivity with on- and off-chip signals can accommodate various modulation schemes including Frequency-Shift Keying (FSK), Phase-Shift Keying (PSK) and On-Off Keying (OOK) modulation.
The NCO provides a programmable precision linear frequency generator from less than 1 MHz up to 32 MHz, providing on- and off-chip capabilities to improve the resolution of periodic signals.