M
dsPIC30F Data Sheet
General Purpose and Sensor Families
High Performance
Digital Signal Controllers
2003 Microchip Technology Inc.
Advance Information
DS70083B
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,
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.
DS70083B-page ii
Advance Information
2003 Microchip Technology Inc.
M
•
•
•
•
•
•
•
•
•
•
•
•
dsPIC30F
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
• Data Converter Interface (DCI) supports common
audio Codec protocols, including I
2
S and AC’97
• 3-wire SPI
TM
modules (supports 4 Frame modes)
• I
2
C
TM
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
dsPIC30F Enhanced FLASH 16-Bit Digital Signal Controllers
Sensor and General Purpose Family
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 optional
saturation 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 41 interrupt sources:
- 8 user selectable priority levels
Vector table with up to 62 vectors:
- 54 interrupt vectors
- 8 processor exceptions and software traps
High Performance Modified RISC CPU:
•
•
•
•
•
•
Analog Features:
• 12-bit Analog-to-Digital Converter (A/D) with:
- 100 Ksps 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
•
•
2003 Microchip Technology Inc.
Advance Information
DS70083B-page 1
dsPIC30F
Special Microcontroller Features:
• Enhanced FLASH program memory:
- 10,000 erase/write cycle (typical) for
industrial temperature range
• Data EEPROM memory:
- 100,000 erase/write cycle (typical) for
industrial temperature range
• 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
3 pins 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
DS70083B-page 2
Advance Information
2003 Microchip Technology Inc.
dsPIC30F
dsPIC30F Sensor Processor Family
UART
SPI
TM
1
1
1
1
Device
dsPIC30F2011
dsPIC30F3012
dsPIC30F2012
dsPIC30F3013
Pins
Bytes
18
18
28
28
12K
24K
12K
24K
Instructions
4K
8K
4K
8K
SRAM EEPROM Timer
Bytes
Bytes
16-bit
1024
2048
1024
2048
0
1024
0
1024
3
3
3
3
Input
Cap
2
2
2
2
Output Comp/ A/D 12-bit
Std PWM
100 Ksps
2
2
2
2
8 ch
8 ch
10 ch
10 ch
I
2
C
TM
1
1
1
1
Program Memory
1
1
1
2
Pin Diagrams
18-Pin SOIC and PDIP
EMUC3/AN6/SCK1/INT0/OCFA/RB6
AN5/U1ARX/SDI1/SDA/CN7/RB5
EMUD3/AN4/U1ATX/SDO1/SCL/CN6/RB4
MCLR
Vss
PGD/EMUD/AN0/V
REF
+/CN2/RB0
PGC/EMUC/AN1/V
REF
-/CN3/RB1
AV
DD
AV
SS
1
2
3
4
5
6
7
8
9
18
17
16
15
14
13
12
11
10
EMUD2/AN7/IC2/OC2/RB7
EMUC2/IC1/OC1/RD8
OSC1/CLKI
OSC2/CLKO/RC15
V
DD
EMUD1/SOSCI/T2CK/U1TX/CN1/RC13
EMUC1/SOSCO/T1CK/U1RX/CN0/RC14
AN3/CN5/RB3
AN2/SS1/LVDIN/CN4/RB2
dsPIC30F2011
dsPIC30F3012
28-Pin SDIP
MCLR
PGD/EMUD/AN0/V
REF
+/CN2/RB0
PGC/EMUC/AN1/V
REF
-/CN3/RB1
AN2/SS1/LVDIN/CN4/RB2
AN3/CN5/RB3
AN4/CN6/RB4
AN5/CN7/RB5
V
SS
OSC1/CLKI
OSC2/CLKO/RC15
EMUD1/SOSCI/T2CK/U1ATX/CN1/RC13
EMUC1/SOSCO/T1CK/U1ARX/CN0/RC14
V
DD
IC2/INT2/RD9
1
2
3
4
5
6
7
8
9
10
11
12
13
14
28
27
26
25
24
23
22
21
20
19
18
17
16
15
AV
DD
AV
SS
AN6/OCFA/RB6
AN7/RB7
EMUC2/AN8/OC1/RB8
EMUD2/AN9/OC2/RB9
RF4
RF5
V
DD
V
SS
U1RX/SDI1/SDA/RF2
EMUD3/U1TX/SDO1/SCL/RF3
EMUC3/SCK1/INT0/RF6
IC1/INT1/RD8
dsPIC30F2012
28-Pin SDIP
MCLR
PGD/EMUD/AN0/V
REF
+/CN2/RB0
PGC/EMUC/AN1/V
REF
-/CN3/RB1
AN2/SS1/LVDIN/CN4/RB2
AN3/CN5/RB3
AN4/CN6/RB4
AN5/CN7/RB5
V
SS
OSC1/CLKI
OSC2/CLKO/RC15
EMUD1/SOSCI/T2CK/U1ATX/CN1/RC13
EMUC1/SOSCO/T1CK/U1ARX/CN0/RC14
V
DD
IC2/INT2/RD9
1
2
3
4
5
6
7
8
9
10
11
12
13
14
28
27
26
25
24
23
22
21
20
19
18
17
16
15
AV
DD
AV
SS
AN6/OCFA/RB6
AN7/RB7
EMUC2/AN8/OC1/RB8
EMUD2/AN9/OC2/RB9
U2RX/RF4
U2TX/RF5
V
DD
V
SS
U1RX/SDI1/SDA/RF2
EMUD3/U1TX/SDO1/SCL/RF3
EMUC3/SCK1/INT0/RF6
IC1/INT1/RD8
dsPIC30F3013
Note:
Pinout subject to change.
2003 Microchip Technology Inc.
Advance Information
DS70083B-page 3