dsPIC30F6010A/6015
Data Sheet
High-Performance, 16-Bit
Digital Signal Controllers
©
2007 Microchip Technology Inc.
DS70150C
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 provided only for your convenience
and may be superseded by updates. It is your responsibility to
ensure that your application meets with your specifications.
MICROCHIP MAKES NO REPRESENTATIONS OR
WARRANTIES OF ANY KIND WHETHER EXPRESS OR
IMPLIED, WRITTEN OR ORAL, STATUTORY OR
OTHERWISE, RELATED TO THE INFORMATION,
INCLUDING BUT NOT LIMITED TO ITS CONDITION,
QUALITY, PERFORMANCE, MERCHANTABILITY OR
FITNESS FOR PURPOSE. Microchip disclaims all liability
arising from this information and its use. Use of Microchip
devices in life support and/or safety applications is entirely at
the buyer’s risk, and the buyer agrees to defend, indemnify and
hold harmless Microchip from any and all damages, claims,
suits, or expenses resulting from such use. No licenses are
conveyed, implicitly or otherwise, under any Microchip
intellectual property rights.
Trademarks
The Microchip name and logo, the Microchip logo, Accuron,
dsPIC, K
EE
L
OQ
, microID, MPLAB, PIC, PICmicro, PICSTART,
PRO MATE, PowerSmart, rfPIC and SmartShunt are
registered trademarks of Microchip Technology Incorporated
in the U.S.A. and other countries.
AmpLab, FilterLab, Migratable Memory, MXDEV, MXLAB,
SEEVAL, SmartSensor and The Embedded Control Solutions
Company are registered trademarks of Microchip Technology
Incorporated in the U.S.A.
Analog-for-the-Digital Age, Application Maestro, CodeGuard,
dsPICDEM, dsPICDEM.net, dsPICworks, ECAN,
ECONOMONITOR, FanSense, FlexROM, fuzzyLAB,
In-Circuit Serial Programming, ICSP, ICEPIC, Linear Active
Thermistor, Mindi, MiWi, MPASM, MPLIB, MPLINK, PICkit,
PICDEM, PICDEM.net, PICLAB, PICtail, PowerCal,
PowerInfo, PowerMate, PowerTool, REAL ICE, rfLAB,
rfPICDEM, Select Mode, Smart Serial, SmartTel, Total
Endurance, UNI/O, WiperLock and ZENA are trademarks of
Microchip Technology Incorporated in the U.S.A. and other
countries.
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.
© 2007, Microchip Technology Incorporated, Printed in the
U.S.A., All Rights Reserved.
Printed on recycled paper.
Microchip received ISO/TS-16949:2002 certification for its worldwide
headquarters, design and wafer fabrication facilities in Chandler and
Tempe, Arizona, Gresham, Oregon and Mountain View, California. The
Company’s quality system processes and procedures are for its PIC
®
MCUs and dsPIC DSCs, K
EE
L
OQ
®
code hopping devices, Serial
EEPROMs, microperipherals, nonvolatile memory and analog
products. In addition, Microchip’s quality system for the design and
manufacture of development systems is ISO 9001:2000 certified.
DS70150C-page ii
©
2007 Microchip Technology Inc.
dsPIC30F6010A/6015
dsPIC30F6010A/6015 Enhanced Flash
16-bit Digital Signal Controller (DSC)
Note:
This data sheet summarizes features of this
group of dsPIC30F devices and is not intended to be
a complete reference source. For more information
on the CPU, peripherals, register descriptions and
general device functionality, refer to the “dsPIC30F
Family Reference Manual”
(DS70046). For more
information on the device instruction set and pro-
gramming, refer to the “dsPIC30F/33F
Programmers
Reference Manual”
(DS70157).
Peripheral Features:
• High-current sink/source I/O pins: 25 mA/25 mA
• Timer module with programmable prescaler:
- Five 16-bit timers/counters; optionally pair
16-bit timers into 32-bit timer modules
• 16-bit Capture input functions
• 16-bit Compare/PWM output functions
• 3-wire SPI modules (supports 4 Frame modes)
• I
2
C
TM
module supports Multi-Master/Slave mode
and 7-bit/10-bit addressing
• 2 UART modules with FIFO Buffers
• 2 CAN modules, 2.0B compliant (dsPIC306010A)
• 1 CAN module, 2.0B compliant (dsPIC306015)
High-Performance Modified RISC CPU:
• Modified Harvard architecture
• C compiler optimized instruction set architecture
with flexible Addressing modes
• 83 base instructions
• 24-bit wide instructions, 16-bit wide data path
• 144 Kbytes on-chip Flash program space
(Instruction words)
• 8 Kbytes of on-chip data RAM
• 4 Kbytes of nonvolatile data EEPROM
• Up to 30 MIPS operation:
- DC to 40 MHz external clock input
- 4 MHz-10 MHz oscillator input with
PLL active (4x, 8x, 16x)
- 7.37 MHz internal RC with PLL active
(4x, 8x, 16x)
• 44 interrupt sources:
- 5 external interrupt sources
- 8 user selectable priority levels for each
interrupt source
- 4 processor trap sources
• 16 x 16-bit working register array
Motor Control PWM Module Features:
• 8 PWM output channels:
- Complementary or Independent Output
modes
- Edge and Center-Aligned modes
• 4 duty cycle generators
• Dedicated time base
• 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
DSP Engine Features:
Dual data fetch
Accumulator write-back for DSP operations
Modulo and Bit-Reversed Addressing modes
Two, 40-bit wide accumulators with optional
saturation logic
• 17-bit x 17-bit single-cycle hardware fractional/
integer multiplier
• All DSP instructions single cycle
• ±16-bit single-cycle shift
•
•
•
•
©
2007 Microchip Technology Inc.
DS70150C-page 1
dsPIC30F6010A/6015
Analog Features:
• 10-bit Analog-to-Digital Converter (ADC) with
4 S/H Inputs:
- 1 Msps conversion rate
- 16 input channels
- Conversion available during Sleep and Idle
• Programmable Brown-out Reset
• 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™)
• Selectable Power Management modes
- Sleep, Idle and Alternate Clock modes
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
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
dsPIC30F Motor Control and Power Conversion Family*
Device
Program
Output
Motor
SRAM EEPROM Timer Input
A/D 10-bit Quad
Pins Mem. Bytes/
Comp/Std Control
Bytes
Bytes
16-bit Cap
1 Msps
Enc
Instructions
PWM
PWM
28
28
28
40/
44
40/
44
64
80
80
64
12K/4K
24K/8K
48K/16K
24K/8K
48K/16K
66K/22K
66K/22K
144K/48K
144K/48K
512
1024
2048
1024
2048
2048
2048
8192
8192
1024
1024
1024
1024
1024
1024
1024
4096
4096
3
5
5
5
5
5
5
5
5
4
4
4
4
4
4
4
8
8
2
2
2
4
4
4
4
8
8
6 ch
6 ch
6 ch
6 ch
6 ch
8 ch
8 ch
8 ch
8 ch
6 ch
6 ch
6 ch
9 ch
9 ch
16 ch
16 ch
16 ch
16 ch
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
UART
I
2
C™
1
1
1
1
1
1
1
1
1
CAN
—
—
1
—
1
1
1
2
1
SPI
1
1
1
1
1
2
2
2
2
dsPIC30F2010
dsPIC30F3010
dsPIC30F4012
dsPIC30F3011
dsPIC30F4011
dsPIC30F5015
dsPIC30F5016
dsPIC30F6010A
dsPIC30F6015
1
1
1
2
2
1
1
2
2
* This table provides a summary of the dsPIC30F peripheral features. Other available devices in the dsPIC30F Motor Control and
Power Conversion Family are shown for feature comparison.
DS70150C-page 2
©
2007 Microchip Technology Inc.
dsPIC30F6010A/6015
Pin Diagram
80-Pin TQFP
OC8/UPDN/CN16/RD7
IC5/RD12
OC4/RD3
OC3/RD2
EMUD2/OC2/RD1
PWM2H/RE3
PWM3L/RE4
PWM2L/RE2
PWM1H/RE1
PWM1L/RE0
80
79
78
77
76
75
74
73
72
71
70
69
68
67
66
65
64
63
62
61
C2RX/RG0
C2TX/RG1
C1TX/RF1
C1RX/RF0
V
DD
V
SS
OC6/CN14/RD5
OC5/CN13/RD4
IC6/CN19/RD13
OC7/CN15/RD6
PWM3H/RE5
PWM4L/RE6
PWM4H/RE7
T2CK/RC1
T4CK/RC3
SCK2/CN8/RG6
SDI2/CN9/RG7
SDO2/CN10/RG8
MCLR
SS2/CN11/RG9
V
SS
V
DD
FLTA/INT1/RE8
FLTB/INT2/RE9
AN5/QEB/CN7/RB5
AN4/QEA/CN6/RB4
AN3/INDX/CN5/RB3
AN2/SS1/CN4/RB2
PGC/EMUC/AN1/CN3/RB1
PGD/EMUD/AN0/CN2/RB0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
34
35
36
37
38
39
23
24
25
26
27
28
29
30
31
32
33
60
59
58
57
56
55
54
53
52
EMUC1/SOSCO/T1CK/CN0/RC14
EMUD1/SOSCI/CN1/RC13
EMUC2/OC1/RD0
IC4/RD11
IC3/RD10
IC2/RD9
IC1/RD8
INT4/RA15
INT3/RA14
V
SS
OSC2/CLKO/RC15
OSC1/CLKI
V
DD
SCL/RG2
SDA/RG3
EMUC3/SCK1/INT0/RF6
SDI1/RF7
EMUD3/SDO1/RF8
U1RX/RF2
U1TX/RF3
dsPIC30F6010A
51
50
49
48
47
46
45
44
43
42
41
40
U2TX/CN18/RF5
AN15/OCFB/CN12/RB15
IC7/CN20/RD14
AV
SS
V
SS
IC8/CN21/RD15
AN12/RB12
AN13/RB13
AN10/RB10
AN14/RB14
Note:
Pinout subject to change.
©
2007 Microchip Technology Inc.
U2RX/CN17/RF4
AN6/OCFA/RB6
V
REF
+/RA10
AN11/RB11
V
REF
-/RA9
AV
DD
AN8/RB8
AN7/RB7
AN9/RB9
V
DD
DS70150C-page 3