Categories

App note: High-Speed PWM module on PIC24E and dsPIC33E

Posted on Sunday, December 25th, 2011 in Uncategorized by DP

Here’s a reference guide from Microchip about the high-speed PWM modules found on some PIC24E and dsPIC33E microcontrollers and digital signal processors.

This module is a advanced version of the standard ECCP pulse-width modulator on PIC microcontrollers. It’s designed mainly for power conversion and electric motor control. The feature list is impressive:

  • Up to seven PWM generators, each with an individual time base.
  • Two PWM outputs per PWM generator.
  • Individual period and duty cycle for each PWM output.
  • Duty cycle, dead time, phase shift and frequency resolution equal to the system clock source (TOSC).
  • Independent fault and current-limit inputs for up to 14 PWM outputs.
  • Redundant Output mode.
  • Independent Output mode (this feature is not available on all devices).
  • Push-Pull Output mode.
  • Complementary Output mode.
  • Center-Aligned PWM mode.
  • Output override control.
  • Special Event Trigger.
  • PWM capture feature.
  • Prescaler for input clock.
  • ADC triggering with PWM.
  • Independent PWM frequency, duty cycle and phase shift changes.
  • Leading-Edge Blanking (LEB) functionality.
  • Dead time compensation.
  • Output clock chopping.

The resolution of this module is just 7.14nS, which means it can output a PWM signal at 500KHz with a resolution of 8bits.

This entry was posted on Sunday, December 25th, 2011 at 11:00 am and is filed under Uncategorized. You can follow any responses to this entry through the RSS 2.0 feed. You can skip to the end and leave a response. Pinging is currently not allowed.

Leave a Reply

Notify me of followup comments via e-mail. You can also subscribe without commenting.

Recent Comments

  • Paul Campbell: I'm old enough that I started programming with punched cards .... each card had a sequence number in the last few characters. A friend once...
  • Ian: test comment on /blog/ page
  • ian: No, that's exactly how it should be :) Sorry about missing names on comments, the theme is being reworked as we speak.
  • J. Peterson: Nice writeup. It looks like some of the formatting for your command examples needs some missing newlines?
  • Geert Jordaens: I'm not sure what kind of licensing I have to add since it is a fairly straight forward implementation of the adaptive Huffman Decoding. For...