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

CE020 - Standard Mode PWM using dsPIC SMPS DSC

Microchip Technology

This code example illustrates the use of the Power Supply PWM module in the Standard PWM mode. This example is intended to provide a setup guide for using this mode.

About this Code Example

CE020 - Standard Mode PWM using dsPIC SMPS DSC
               ----------------------------------------------

The dsPIC SMPS Family of Digital Signal Controllers feature an on-chip
Power Supply PWM Module. This module supports several PWM modes typically
used in Power Conversion applications. One of the simplest modes is the
Standard PWM Mode.

This code example illustrates the use of the Power Supply PWM module in
the Standard PWM mode. This example is intended to provide a setup guide
for using this mode.

PWM1H and PWM2H are configured to be digital outputs, and PWM1L and PWM2L
are selected as PWM outputs. PWM2L is also configured with a phase shift
of 250 nsec from PWM1L.

This file provides a brief description of files and folders provided
in the accompanying workspace.

This folder contains the following files:
1. This file
        This file provides a description of the functionality demonstr-
        ated by the example source code.

2. Standard_PWM.mcw, Standard_PWM.mcp
        These are MPLAB® IDE workspace and project files that may be
        used to examine, build, program and debug the example source
        code.

This folder contains the following sub-folders:

1. src
        This folder contains all the C and Assembler source files (*.c,
        *.s) used in demonstrating the described example.


Categories

Release History

  • Apr 19, 2012

    Version: 1.0.0

    New

Download Contact the Developer

*Required Fields

  • Current Version:1.0.0
  • Created:Apr 19, 2012
  • Updated:Feb 26, 2015
  • Downloads:4296
  • MPLAB Version:v7.52 or higher
  • C Compiler:C30 v3.00 or later
  • Development Tools:dsPICDEM Buck SMPS Development Board
  • Supported Devices:dsPIC30F2020

Corporate News

Resources

Stay Connected

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