
dsPIC30F

Enhanced Flash 16-bit Digital SignalControllers 
Motor Control and Power Conversion Family
__________________________________________________

High Performance Modified RISC CPU:

• Modified Harvard architecture
• C compiler optimized instruction set architecture
• 84 base instructions
• 24-bit wide instructions, 16-bit wide data path
• Linear program memory addressing up to 4M Instruction Words
• Linear data memory addressing up to 64 Kbytes
• Up to 144 Kbytes on-chip Flash program space
• Up to 48K Instruction Words
• Up to 8 Kbytes of on-chip data RAM
• Up to 4 Kbytes of non-volatile data EEPROM
• 16 x 16-bit working register array
• Three Address Generation Units that enable:
  - Dual data fetch
  - Accumulator write back for DSP operations
• Flexible Addressing modes supporting:
  - Indirect, Modulo and Bit-Reversed modes
• Two, 40-bit wide accumulators with optionalsaturation logic
• 17-bit x 17-bit single cycle hardware fractional/
  integer multiplier
• Single cycle Multiply-Accumulate (MAC) operation
• 40-stage Barrel Shifter
• Up to 30 MIPs operation:
  - DC to 40 MHz external clock input
  - 4 MHz-10 MHz oscillator input with PLL active (4x, 8x, 16x)
• Up to 42 interrupt sources
  - 8 user selectable priority levels
• Vector table with up to 62 vectors
  - 54 interrupt vectors
  - 8 processor exceptions and software traps

Peripheral Features:

• High current sink/source I/O pins: 25 mA/25 mA
• Up to 5 external interrupt sources
• Timer module with programmable prescaler:
  - Up to five 16-bit timers/counters; optionally
    pair up 16-bit timers into 32-bit timer modules
• 16-bit Capture input functions
• 16-bit Compare/PWM output functions
  - Dual Compare mode available
• 3-wire SPITM modules (supports 4 Frame modes)
• I2CTM module supports Multi-Master/Slave mode
  and 7-bit/10-bit addressing
• Addressable UART modules supporting:
  - Interrupt on address bit
  - Wake-up on Start bit
  - 4 characters deep TX and RX FIFO buffers
• CAN bus modules

Motor Control PWM Module Features:

• Up to 8 PWM output channels
  - Complementary or Independent Output modes
  - Edge and Center Aligned modes
• 4 duty cycle generators
• Dedicated time base with 4 modes
• Programmable output polarity
• Dead-time control for Complementary mode
• Manual output control
• Trigger for A/D conversions

Quadrature Encoder Interface Module Features:

• Phase A, Phase B and Index Pulse input
• 16-bit up/down position counter
• Count direction status
• Position Measurement (x2 and x4) mode
• Programmable digital noise filters on inputs
• Alternate 16-bit Timer/Counter mode
• Interrupt on position counter rollover/underflow

Input Capture Module Features:

• Captures 16-bit timer value
  - Capture every 1st, 4th or 16th rising edge
  - Capture every falling edge
  - Capture every rising and falling edge
• Resolution of 33 ns at 30 MIPs
• Timer2 or Timer3 time base selection
• Input Capture during Idle
• Interrupt on input capture event

Analog Features:

• 10-bit Analog-to-Digital Converter (A/D) with:
  - 500 Ksps (for 10-bit A/D) conversion rate
  - Up to 16 input channels
  - Conversion available during Sleep and Idle
• Programmable Low Voltage Detection (PLVD)
• Programmable Brown-out Detection and Reset
  generation

Special Microcontroller Features:

• Enhanced Flash program memory:
  - 10,000 erase/write cycle (min.) for
    industrial temperature range, 100K (typical)
• Data EEPROM memory:
  - 100,000 erase/write cycle (min.) for
  industrial temperature range, 1M (typical)
• Self-reprogrammable under software control
• Power-on Reset (POR), Power-up Timer (PWRT)
  and Oscillator Start-up Timer (OST)
• Flexible Watchdog Timer (WDT) with on-chip low
  power RC oscillator for reliable operation
• Fail-Safe clock monitor operation
• Detects clock failure and switches to on-chip low
  power RC oscillator
• Programmable code protection
• In-Circuit Serial Programming™ (ICSP™) via 3pins and 
  power/ground
• Selectable Power Management modes
  - Sleep, Idle and Alternate Clock modes

CMOS Technology:

• Low power, high speed Flash technology
• Wide operating voltage range (2.5V to 5.5V)
• Industrial and Extended temperature ranges
• Low power consumption
