Microchip | The Embedded Control Solutions Company Register Login
Browse All
Microchip Technology
 369 Code Snippets

CE023 - PWM Frequency Dither using dsPIC SMPS DSC

Microchip Technology

This program illustrates the use of the Dithering mode of the SMPS dsPIC devices. It uses a sequential tuning of the FRC oscillator to produce a +/- 3% dither in the frequency.

About this Code Example

In this program, PWM1 and PWM2 are configured in the complementary mode
and produce constant duty cycles. The dither mode will cause the PWM
signals to jitter about the factory calibrated frequency.


Release History

  • Jun 15, 2012

    Version: 1.0.0

    First release To ECS

Download Contact the Developer

*Required Fields

  • Current Version:1.0.0
  • Created:Jun 15, 2012
  • Updated:Feb 26, 2015
  • Downloads:4006
  • MPLAB Version:V8.xx or above
  • C Compiler:MCC18 v3.30 or above
  • Development Tools:N/A
  • Supported Devices:N/A

Corporate News


Stay Connected

Stay up to date with the latest news from Microchip Technology.