dsPIC30F
Family Overview
dsPIC
®
High Performance 16-bit
Digital Signal Controller
2003 Microchip Technology Inc.
Advance Information
DS70043D
Note the following details of the code protection feature on Microchip devices:
•
•
Microchip products meet the specification contained in their particular Microchip Data Sheet.
Microchip believes that its family of products is one of the most secure families of its kind on the market today, when used in the
intended manner and under normal conditions.
There are dishonest and possibly illegal methods used to breach the code protection feature. All of these methods, to our
knowledge, require using the Microchip products in a manner outside the operating specifications contained in Microchip's Data
Sheets. Most likely, the person doing so is engaged in theft of intellectual property.
Microchip is willing to work with the customer who is concerned about the integrity of their code.
Neither Microchip nor any other semiconductor manufacturer can guarantee the security of their code. Code protection does not
mean that we are guaranteeing the product as “unbreakable.”
•
•
•
Code protection is constantly evolving. We at Microchip are committed to continuously improving the code protection features of our
products. Attempts to break microchip’s code protection feature may be a violation of the Digital Millennium Copyright Act. If such acts
allow unauthorized access to your software or other copyrighted work, you may have a right to sue for relief under that Act.
Information contained in this publication regarding device
applications and the like is intended through suggestion only
and may be superseded by updates. It is your responsibility to
ensure that your application meets with your specifications.
No representation or warranty is given and no liability is
assumed by Microchip Technology Incorporated with respect
to the accuracy or use of such information, or infringement of
patents or other intellectual property rights arising from such
use or otherwise. Use of Microchip’s products as critical
components in life support systems is not authorized except
with express written approval by Microchip. No licenses are
conveyed, implicitly or otherwise, under any intellectual
property rights.
Trademarks
The Microchip name and logo, the Microchip logo, dsPIC,
K
EE
L
OQ
, MPLAB, PIC, PICmicro, PICSTART, PRO MATE and
PowerSmart are registered trademarks of Microchip
Technology Incorporated in the U.S.A. and other countries.
FilterLab, microID, MXDEV, MXLAB, PICMASTER, SEEVAL
and The Embedded Control Solutions Company are
registered trademarks of Microchip Technology Incorporated
in the U.S.A.
Accuron, Application Maestro, dsPICDEM, dsPICDEM.net,
ECAN, ECONOMONITOR, FanSense, FlexROM, fuzzyLAB,
In-Circuit Serial Programming, ICSP, ICEPIC, microPort,
Migratable Memory, MPASM, MPLIB, MPLINK, MPSIM,
PICC, PICkit, PICDEM, PICDEM.net, PowerCal, PowerInfo,
PowerMate, PowerTool, rfLAB, rfPIC, Select Mode,
SmartSensor, SmartShunt, SmartTel and Total Endurance are
trademarks of Microchip Technology Incorporated in the
U.S.A. and other countries.
Serialized Quick Turn Programming (SQTP) is a service mark
of Microchip Technology Incorporated in the U.S.A.
All other trademarks mentioned herein are property of their
respective companies.
© 2003, Microchip Technology Incorporated, Printed in the
U.S.A., All Rights Reserved.
Printed on recycled paper.
Microchip received QS-9000 quality system
certification for its worldwide headquarters,
design and wafer fabrication facilities in
Chandler and Tempe, Arizona in July 1999
and Mountain View, California in March 2002.
The Company’s quality system processes and
procedures are QS-9000 compliant for its
PICmicro
®
8-bit MCUs, K
EE
L
OQ
®
code hopping
devices, Serial EEPROMs, microperipherals,
non-volatile memory and analog products. In
addition, Microchip’s quality system for the
design and manufacture of development
systems is ISO 9001 certified.
DS70043D-page ii
Advance Information
2003 Microchip Technology Inc.
dsPIC30F
dsPIC
®
High Performance 16-bit
Digital Signal Controller Family Overview
Operating Range
• DC - 30 MIPS (30 MIPS @ 4.5-5.5V, -40 to 85°C)
• Wide V
DD
range: 2.5-5.5V
• Ind.(-40 to 85°C) and ext. (-40 to 125°C)
On-Chip Flash, Data EEPROM and SRAM
• Flash program memory: up to 144 Kbytes
- 1M erase/write cycles typ (-40 to 85°C)
• Data EEPROM: up to 4 Kbytes
- 1M erase/write cycle typ (-40 to 85°C)
- Data EEPROM Retention > 20 years
• Data SRAM: up to 8 Kbytes
High Performance DSC CPU
•
•
•
•
•
•
•
•
•
•
•
•
•
•
Modified Harvard architecture
C compiler optimized instruction set
16-bit wide data path
24-bit wide instructions
Linear program memory addressing up to 4M
Instruction words
Linear data memory addressing up to 64 Kbytes
84 base instructions: mostly 1 word/1 cycle
16 16-bit general purpose registers
2 40-bit accumulators
- With rounding and saturation options
Flexible and powerful addressing modes
- Indirect, modulo and bit-reversed
Software stack
16 x 16 fractional/integer multiply
32/16 and 16/16 divide
Single cycle multiply-and-accumulate
- Accumulator write back for DSP operations
- Dual data fetch
40-stage barrel shifter
System Management
• Flexible clock options:
- External, crystal, resonator, internal RC
- Fully integrated PLL (4X, 8X, 16X)
- Extremely low jitter PLL
• Programmable power-up timer
• Oscillator start-up timer/stabilizer
• Watchdog timer with its own RC oscillator
• Fail-safe clock monitor
• Reset by Multiple Sources
Power Management
•
•
•
•
•
Switch between clock sources in real time
Power management by peripheral
Programmable low-voltage detect
Programmable brown-out reset
Idle and Sleep modes with fast wake-up
•
Interrupt Controller
•
•
•
•
5 cycle latency
Up to 45 interrupt sources, up to 5 external
7 programmable priority levels
4 processor exceptions and software traps
Timers/Capture/Compare/PWM
• Timer/counters: up to 5 16-bit timers
- Can pair up to make 32-bit timers
- 1 timer can run as real time clock with external
32 KHz oscillator
- Programmable prescaler
• Input capture: up to 8 channels
- Capture on up, down or both edges
- 16-bit Capture input functions
- 4-deep FIFO on each capture
• Output compare: up to 8 channels
- Single or dual 16-bit compare mode
- 16-bit glitchless PWM mode
Digital I/O
• Up to 54 programmable digital I/O pins
• Wake-up/Interrupt-on-change on up to 24 pins
• 25 mA sink and source on all I/O pins
2003 Microchip Technology Inc.
Advance Information
DS70043D-page 1
dsPIC30F
Communication Modules
• 3-wire SPI™: up to 2 modules
- Framing supports I/O interface to simple
codecs
- 4-bit to 16-bit data
• I
2
C™ full multi-master slave mode support
- 7-bit and 10-bit addressing
- Bus collision detection and arbitration
• UART: up to 2 modules
- Interrupt-on-address bit detect
- Wake-up-on-Start bit from Sleep mode
- 4-character TX and RX FIFO buffers
• Data Conversion Interface (DCI) module
- Codec interface
- Supports I
2
S and AC97 protocols
• CAN 2.0B active: up to 2 modules
- 3 transmit and 2 receive buffers
- Wake-up on CAN message
Analog-to-Digital Converters
• 10-bit 500 ksps A/D converter module
- 2 or 4 simultaneous samples
- Up to 16 input channels with auto scanning
- 16 deep result buffer
- Conversion start can be synchronized with
1of 3 trigger sources
- Conversion possible in Sleep mode
• 12-bit 100 ksps A/D converter module
- Up to 16 input channels with auto scanning
- 16 deep result buffer
- Conversion possible in Sleep mode
CMOS Technology:
•
•
•
•
•
Low power, high speed Flash technology
Fully static design
Wide operating voltage range (2.5V to 5.5V)
Industrial and extended temperature ranges
Low power consumption
Motor Control Peripherals
• Motor Control PWM: up to 8 channels
- 4 duty cycle generators
- Independent or complementary mode
- Programmable dead-time and output polarity
- Edge or center aligned
- Manual output override control
- Up to 2 fault inputs
- Trigger for A/D conversions
• Quadrature encoder interface module
- 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
Packaging:
•
•
•
•
•
80-pin TQFP
64-pin TQFP
40-pin DIP, 44-pin TQFP
28-pin DIP (300 mil), 28-pin SOIC
18-pin DIP (300 mil), 18-pin SOIC
Note:
See Table 1-1, Table 1-2 and Table 1-3 for
exact peripheral features per device.
DS70043D-page 2
Advance Information
2003 Microchip Technology Inc.
dsPIC30F
1.0
1.1
dsPIC30F PRODUCT FAMILIES
General Purpose Family
The dsPIC30F General Purpose Family (Table 1-1) is
ideal for a wide variety of 16-bit MCU class embedded
applications. The variants with Codec interfaces are
well suited for audio applications.
TABLE 1-1:
Device
dsPIC30F3014
dsPIC30F4013
dsPIC30F5011
dsPIC30F6011
dsPIC30F6012
dsPIC30F5013
dsPIC30F6013
dsPIC30F6014
dsPIC30F GENERAL PURPOSE FAMILY VARIANTS
UART
Pins
40/44
40/44
64
64
64
80
80
80
Bytes
24K
48K
66K
132K
144K
66K
132K
144K
Instructions
8K
16K
22K
44K
48K
22K
44K
48K
SRAM
Bytes
2048
2048
4096
6144
8192
4096
6144
8192
EEPROM
Bytes
1024
1024
1024
2048
4096
1024
2048
4096
Timer
16-bit
3
5
5
5
5
5
5
5
Codec
Interface
—
AC97, I2S
AC97, I2S
—
AC97, I2S
AC97, I2S
—
AC97, I2S
A/D 12-bit
100 Ksps
13 ch
13 ch
16 ch
16 ch
16 ch
16 ch
16 ch
16 ch
CAN
—
1
2
2
2
2
2
2
—
—
1
—
1
1
2
I
2
C
1
1
1
1
CAN
SPI
1
1
2
2
2
2
2
2
SPI
1
1
1
1
1
2
2
UART
1
1
1
2
I
2
C
1
1
1
1
1
1
1
1
SPI
1
1
1
1
I
2
C
1
1
1
1
1
1
1
Program Memory
Output
Input
Compare/
Capt.
Std PWM
2
4
8
8
8
8
8
8
2
4
8
8
8
8
8
8
2
2
2
2
2
2
2
2
1.2
Motor Control and Power
Conversion Family
This family of dsPIC30F controllers (see Table 1-2)
supports a variety of motor control applications such as
brushless DC motors, single and 3-phase induction
motors, and switch reluctance motors. These products
are also well suited for uninterruptable power supply
(UPS), inverters, switched mode power supplies and
power factor correction and also for controlling the
power management module in servers, telecom
equipment and other industrial equipment.
TABLE 1-2:
Device
dsPIC30F MOTOR CONTROL AND POWER CONVERSION FAMILY VARIANTS
Pins
Bytes Instructions
SRAM
Bytes
512
1024
2048
1024
2048
2048
8192
EEPROM
Bytes
1024
1024
1024
1024
1024
1024
4096
Timer
16-bit
3
5
5
5
5
5
5
Input
Capt.
4
4
4
4
4
4
8
UART
1
1
1
2
2
1
2
Program Memory
Output
Motor
A/D 10-bit
Compare/ Control
500 Ksps
Std PWM
PWM
2
2
2
4
4
4
8
6 ch
6 ch
6 ch
6 ch
6 ch
8 ch
8 ch
6 ch
6 ch
6 ch
9 ch
9 ch
16 ch
16 ch
Quad Enc
1
1
1
1
1
1
1
dsPIC30F2010
dsPIC30F3010
dsPIC30F4012
dsPIC30F3011
dsPIC30F4011
dsPIC30F5015
dsPIC30F6010
28
28
28
40/44
40/44
64
80
12K
24K
48K
24K
48K
66K
144K
4K
8K
16K
8K
16K
22K
48K
1.3
Sensor Family
The dsPIC30F Sensor Family products (Table 1-3)
have features designed to support high-performance,
low-cost embedded control applications. The 18- and
28-pin packages are designed to fit space-critical
applications.
TABLE 1-3:
Device
dsPIC30F2011
dsPIC30F3012
dsPIC30F2012
dsPIC30F3013
dsPIC30F SENSOR PROCESSOR FAMILY VARIANTS
Pins
18
18
28
28
Program Memory
Bytes
12K
24K
12K
24K
Instructions
4K
8K
4K
8K
SRAM
Bytes
1024
2048
1024
2048
EEPROM
Bytes
0
1024
0
1024
Timer
16-bit
3
3
3
3
Input
Cap
2
2
2
2
Output Comp/
Std PWM
2
2
2
2
A/D 12-bit
100 Ksps
8 ch
8 ch
10 ch
10 ch
2003 Microchip Technology Inc.
Advance Information
DS70043D-page 3