English
Language : 

DSPIC30F5013-20I Datasheet, PDF (7/220 Pages) Microchip Technology – 16-bit Digital Signal Controllers
dsPIC30F5011/5013
Table of Contents
1.0 Device Overview .......................................................................................................................................................................... 9
2.0 CPU Architecture Overview........................................................................................................................................................ 15
3.0 Memory Organization ................................................................................................................................................................. 23
4.0 Interrupts .................................................................................................................................................................................... 35
5.0 Address Generator Units............................................................................................................................................................ 41
6.0 Flash Program Memory.............................................................................................................................................................. 47
7.0 Data EEPROM Memory ............................................................................................................................................................. 53
8.0 I/O Ports ..................................................................................................................................................................................... 57
9.0 Timer1 Module ........................................................................................................................................................................... 63
10.0 Timer2/3 Module ........................................................................................................................................................................ 67
11.0 Timer4/5 Module ....................................................................................................................................................................... 73
12.0 Input Capture Module................................................................................................................................................................. 77
13.0 Output Compare Module ............................................................................................................................................................ 81
14.0 SPI™ Module ............................................................................................................................................................................. 87
15.0 I2C™ Module ............................................................................................................................................................................. 91
16.0 Universal Asynchronous Receiver Transmitter (UART) Module ................................................................................................ 99
17.0 CAN Module ............................................................................................................................................................................. 107
18.0 Data Converter Interface (DCI) Module.................................................................................................................................... 117
19.0 12-bit Analog-to-Digital Converter (ADC) Module .................................................................................................................... 127
20.0 System Integration ................................................................................................................................................................... 137
21.0 Instruction Set Summary .......................................................................................................................................................... 151
22.0 Development Support............................................................................................................................................................... 159
23.0 Electrical Characteristics .......................................................................................................................................................... 163
24.0 Packaging Information.............................................................................................................................................................. 203
Index .................................................................................................................................................................................................. 209
The Microchip Web Site ..................................................................................................................................................................... 215
Customer Change Notification Service .............................................................................................................................................. 215
Customer Support .............................................................................................................................................................................. 215
Reader Response .............................................................................................................................................................................. 216
Product Identification System ............................................................................................................................................................ 217
TO OUR VALUED CUSTOMERS
It is our intention to provide our valued customers with the best documentation possible to ensure successful use of your Microchip
products. To this end, we will continue to improve our publications to better suit your needs. Our publications will be refined and
enhanced as new volumes and updates are introduced.
If you have any questions or comments regarding this publication, please contact the Marketing Communications Department via
E-mail at docerrors@microchip.com or fax the Reader Response Form in the back of this data sheet to (480) 792-4150. We
welcome your feedback.
Most Current Data Sheet
To obtain the most up-to-date version of this data sheet, please register at our Worldwide Web site at:
http://www.microchip.com
You can determine the version of a data sheet by examining its literature number found on the bottom outside corner of any page.
The last character of the literature number is the version number, (e.g., DS30000A is version A of document DS30000).
Errata
An errata sheet, describing minor operational differences from the data sheet and recommended workarounds, may exist for current
devices. As device/documentation issues become known to us, we will publish an errata sheet. The errata will specify the revision
of silicon and revision of document to which it applies.
To determine if an errata sheet exists for a particular device, please check with one of the following:
• Microchip’s Worldwide Web site; http://www.microchip.com
• Your local Microchip sales office (see last page)
When contacting a sales office, please specify which device, revision of silicon and data sheet (include literature number) you are
using.
Customer Notification System
Register on our web site at www.microchip.com to receive the most current information on all of our products.
© 2011 Microchip Technology Inc.
DS70116J-page 7