Datasheet

dsPIC30F
DS70043F-page 26 © 2005 Microchip Technology Inc.
9.2.2 TIMER 2/3
The Timer2/3 module is a 32-bit timer (which can be
configured as two 16-bit timers) with selectable
operating modes. These timers are used by other
peripheral modules, such as:
Input Capture
Output Compare/Simple PWM
Timer2/3 has the following modes:
Two independent 16-bit timers (Timer2 and
Timer3) with Timer and Synchronous Counter
modes
Single 32-bit timer operation
Single 32-bit synchronous counter
Further, the following operational characteristics are
supported:
ADC conversion start trigger
32-bit Timer gated by external pulse
Selectable prescaler settings
Timer counter operation during Idle and Sleep
modes
Interrupt on a 32-bit period register match
9.2.3 TIMER 4/5
The Timer4/5 module is similar in operation to the
Timer2/3 module. Differences include:
The Timer4/5 module does not support the ADC
event trigger feature
Timer 4/5 can not be used by other peripheral
modules, such as Input Capture and Output
Compare
9.3 Motor Control PWM Module
The Motor Control PWM (MCPWM) module simplifies
the task of generating multiple, synchronized pulse
width modulated outputs. In particular, the following
power and motion control applications are supported:
Three-Phase AC Induction Motor
Switched Reluctance (SR) Motor
Brushless DC (BLDC) Motor
Uninterrupted Power Supply (UPS)
The PWM module has the following features:
Dedicated time base supports T
CY/2 PWM edge
resolution
Two output pins (pair) for each PWM generator
Complementary or independent operation for
each output pin pair
Hardware dead-time generators for
Complementary mode
Output pin polarity defined by nonvolatile device
Configuration bits
Multiple output modes:
- Edge-Aligned mode
- Center-Aligned mode
- Center-Aligned mode with double updates
- Single Event mode
Manual override register for PWM output pins
Hardware Fault input pins with programmable
function
Trigger for synchronizing A/D samples and
conversions to PWM timing
Each output pin associated with the PWM can be
individually enabled
9.3.1 MCPWM MODULE VARIANTS
There are two versions of the MCPWM module
depending on the dsPIC30F device that is selected.
There is an 8-output module that is typically found on
devices that have 64 or more pins. A 6-output MCPWM
module is also available and is typically found on
smaller devices that have fewer than 64 pins.
The 6-output MCPWM module is useful for single or
3-phase power application, while the 8 MCPWM can
support 4-phase motor applications. The 8-output
MCPWM (Figure 9-2) also provides increased flexibility
in an application because it supports two fault pins and
two programmable dead times.