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

CE369 - Motor Control - PWM Complementary PWM

Microchip Technology

The PIC24FJ16MC101/102 devices offer ultra low-cost MCUs for Motor Control applications. This code example configures all 6 MC PWM outputs in complementary, center-aligned mode operation at 500Hz frequency.

About this Code Example

The PIC24FJ16MC101/102 devices offer ultra low-cost MCUs for Motor Control
applications. This code example configures all 6 MC PWM outputs in
complementary, center-aligned mode operation at 500Hz frequency.

The PWM faults are always enabled during any reset event. This code example
demonstrates how the PWM faults can be cleared. To clear the PWM faults,
The /FLTA and /FLTB pins must first be externally driven high and then
cleared in software using the PxFLTACON and PxFLTBCON registers.

Categories

Release History

  • Aug 23, 2011

    Version: 1.0.0

    First release to ECS

Download Contact the Developer

*Required Fields

  • Current Version:1.0.0
  • Created:Aug 23, 2011
  • Updated:Feb 26, 2015
  • Downloads:7306
  • MPLAB Version:8.73 or later
  • C Compiler:C30 compiler v3.30 or later
  • Development Tools:Explorer 16 development board, PIC24FJ16MC102 Plug-in module
  • Supported Devices:PIC24FJ16MC101/102, PIC24F

Corporate News

Resources

Stay Connected

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