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

  • Daniel: Do I comment here or on FB?
  • Craig B: Shouldn't the default be 00xxx010? Note that bit 0 appears out of order in the documentation. In that case I think the initial value is...
  • JJM: From the datasheet extract you are showing, the power up status should be 00xxx010, not 000xxx01. Bit numbering is misleading since 'measurement resolution' is apparently...
  • Jan Ciger (@janoc200): Hmm, that could actually explain why the three sensor IMU breakout I have bought a few years ago had all sorts of issues - I...
  • Travis: Is it preset to the windows 3 fingered salute?