Microchip Technology dsPIC30F Family Reference Manual

Type
Family Reference Manual
© 2004 Microchip Technology Inc. DS70046C
dsPIC30F
Family Reference Manual
High Performance
Digital Signal Controllers
DS70046C - page ii © 2004 Microchip Technology Inc.
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 WAR-
RANTIES 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’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 Microchip intellectual property
rights.
Trademarks
The Microchip name and logo, the Microchip logo, Accuron,
dsPIC, K
EELOQ, 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, MXDEV, MXLAB, PICMASTER, 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, dsPICDEM,
dsPICDEM.net, dsPICworks, ECAN, ECONOMONITOR,
FanSense, FlexROM, fuzzyLAB, In-Circuit Serial
Programming, ICSP, ICEPIC, Migratable Memory, MPASM,
MPLIB, MPLINK, MPSIM, PICkit, PICDEM, PICDEM.net,
PICLAB, PICtail, PowerCal, PowerInfo, PowerMate,
PowerTool, rfLAB, rfPICDEM, Select Mode, Smart Serial,
SmartTel and Total Endurance 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.
© 2004, 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, KEELOQ
®
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.
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.
2004 Microchip Technology Inc. DS70046C-page iii
PAGE
SECTION 1. INTRODUCTION 1-1
Introduction ...................................................................................................................................................... 1-2
Manual Objective ............................................................................................................................................. 1-2
Device Structure ............................................................................................................................................... 1-3
Development Support ...................................................................................................................................... 1-4
Style and Symbol Conventions ........................................................................................................................ 1-4
Related Documents .......................................................................................................................................... 1-6
Revision History ............................................................................................................................................... 1-7
SECTION 2. CPU 2-1
Introduction ...................................................................................................................................................... 2-2
Programmer’s Model ........................................................................................................................................ 2-4
Software Stack Pointer ..................................................................................................................................... 2-8
CPU Register Descriptions ............................................................................................................................. 2-11
Arithmetic Logic Unit (ALU) ............................................................................................................................ 2-17
DSP Engine .................................................................................................................................................... 2-18
Divide Support ................................................................................................................................................ 2-27
Instruction Flow Types ................................................................................................................................... 2-27
Loop Constructs ............................................................................................................................................. 2-30
Address Register Dependencies .................................................................................................................... 2-35
Register Maps ................................................................................................................................................ 2-38
Related Application Notes .............................................................................................................................. 2-40
Revision History ............................................................................................................................................. 2-41
SECTION 3. DATA MEMORY 3-1
Introduction ...................................................................................................................................................... 3-2
Data Space Address Generator Units (AGUs) ................................................................................................. 3-5
Modulo Addressing .......................................................................................................................................... 3-7
Bit-Reversed Addressing ............................................................................................................................... 3-14
Control Register Descriptions ......................................................................................................................... 3-18
Related Application Notes .............................................................................................................................. 3-23
Revision History ............................................................................................................................................. 3-24
SECTION 4. PROGRAM MEMORY 4-1
Program Memory Address Map ....................................................................................................................... 4-2
Program Counter .............................................................................................................................................. 4-4
Data Access from Program Memory ................................................................................................................ 4-4
Program Space Visibility from Data Space ...................................................................................................... 4-8
Program Memory Writes ................................................................................................................................ 4-10
Related Application Notes .............................................................................................................................. 4-11
Revision History ............................................................................................................................................. 4-12
SECTION 5. FLASH AND EEPROM PROGRAMMING 5-1
Introduction ...................................................................................................................................................... 5-2
Table Instruction Operation .............................................................................................................................. 5-2
Control Registers ............................................................................................................................................. 5-5
Run-Time Self-Programming (RTSP) ............................................................................................................... 5-9
Data EEPROM Programming ........................................................................................................................ 5-14
Design Tips .................................................................................................................................................... 5-20
Related Application Notes .............................................................................................................................. 5-21
Revision History ............................................................................................................................................. 5-22
Table of Contents
DS70046C-page iv 2004 Microchip Technology Inc.
PAGE
SECTION 6. RESET INTERRUPTS 6-1
Introduction ...................................................................................................................................................... 6-2
Non-Maskable Traps ........................................................................................................................................ 6-6
Interrupt Processing Timing ........................................................................................................................... 6-11
Interrupt Control and Status Registers ........................................................................................................... 6-14
Interrupt Setup Procedures ............................................................................................................................ 6-42
Design Tips .................................................................................................................................................... 6-44
Related Application Notes .............................................................................................................................. 6-45
Revision History ............................................................................................................................................. 6-46
SECTION 7. OSCILLATOR 7-1
Introduction ...................................................................................................................................................... 7-2
CPU Clocking Scheme ..................................................................................................................................... 7-4
Oscillator Configuration .................................................................................................................................... 7-5
Oscillator Control Register (OSCCON) ............................................................................................................ 7-6
Primary Oscillator ............................................................................................................................................. 7-9
Crystal Oscillators/Ceramic Resonators ......................................................................................................... 7-10
Determining Best Values for Crystals, Clock Mode, C1, C2 and Rs .............................................................. 7-12
External Clock Input ....................................................................................................................................... 7-13
External RC Oscillator .................................................................................................................................... 7-14
Phase Locked Loop (PLL) .............................................................................................................................. 7-18
Low Power 32 kHz Crystal Oscillator ............................................................................................................. 7-19
Oscillator Start-up Timer (OST) ...................................................................................................................... 7-19
Internal Fast RC Oscillator (FRC) .................................................................................................................. 7-19
Internal Low Power RC (LPRC) Oscillator ..................................................................................................... 7-20
Fail-Safe Clock Monitor (FSCM) .................................................................................................................... 7-20
Programmable Oscillator Postscaler .............................................................................................................. 7-21
Clock Switching Operation ............................................................................................................................. 7-22
Design Tips .................................................................................................................................................... 7-26
Related Application Notes .............................................................................................................................. 7-27
Revision History ............................................................................................................................................. 7-28
SECTION 8. RESET 8-1
Introduction ...................................................................................................................................................... 8-2
Clock Source Selection at Reset ...................................................................................................................... 8-5
POR: Power-on Reset ...................................................................................................................................... 8-5
External Reset (EXTR) ..................................................................................................................................... 8-7
Software RESET Instruction (SWR) ................................................................................................................. 8-7
Watchdog Time-out Reset (WDTR) ................................................................................................................. 8-7
Brown-out Reset (BOR) ................................................................................................................................... 8-8
Using the RCON Status Bits .......................................................................................................................... 8-10
Device Reset Times ....................................................................................................................................... 8-11
Device Start-up Time Lines ............................................................................................................................ 8-13
Special Function Register Reset States ......................................................................................................... 8-16
Design Tips .................................................................................................................................................... 8-17
Related Application Notes .............................................................................................................................. 8-18
Revision History ............................................................................................................................................. 8-19
Table of Contents
2004 Microchip Technology Inc. DS70046C-page v
PAGE
SECTION 9. LOW VOLTAGE DETECT (LVD) 9-1
Introduction ...................................................................................................................................................... 9-2
LVD Operation ................................................................................................................................................. 9-5
Design Tips ...................................................................................................................................................... 9-6
Related Application Notes ................................................................................................................................ 9-7
Revision History ............................................................................................................................................... 9-8
SECTION 10. WATCHDOG TIMER AND POWER SAVING MODES 10-1
Introduction .................................................................................................................................................... 10-2
Power Saving Modes ..................................................................................................................................... 10-2
Sleep Mode .................................................................................................................................................... 10-2
Idle Mode ....................................................................................................................................................... 10-4
Interrupts Coincident with Power Save Instructions ....................................................................................... 10-5
Watchdog Timer ............................................................................................................................................. 10-6
Design Tips .................................................................................................................................................... 10-9
Related Application Notes ............................................................................................................................ 10-10
Revision History ........................................................................................................................................... 10-11
SECTION 11. I/O PORTS 11-1
Introduction .................................................................................................................................................... 11-2
I/O Port Control Registers .............................................................................................................................. 11-3
Peripheral Multiplexing ................................................................................................................................... 11-4
Port Descriptions ............................................................................................................................................ 11-5
Change Notification (CN) Pins ....................................................................................................................... 11-5
CN Operation in Sleep and Idle Modes .......................................................................................................... 11-6
Related Application Notes .............................................................................................................................. 11-9
Revision History ........................................................................................................................................... 11-10
SECTION 12. TIMERS 12-1
Introduction .................................................................................................................................................... 12-2
Timer Variants ................................................................................................................................................ 12-3
Control Registers ........................................................................................................................................... 12-6
Modes of Operation ........................................................................................................................................ 12-9
Timer Prescalers .......................................................................................................................................... 12-14
Timer Interrupts ............................................................................................................................................ 12-14
Reading and Writing 16-bit Timer Module Registers .................................................................................... 12-15
Low Power 32 kHz Crystal Oscillator Input .................................................................................................. 12-15
32-bit Timer Configuration ............................................................................................................................ 12-16
32-bit Timer Modes of Operation ................................................................................................................. 12-18
Reading and Writing into 32-bit Timers ........................................................................................................ 12-21
Timer Operation in Power Saving States ..................................................................................................... 12-21
Peripherals Using Timer Modules ................................................................................................................ 12-22
Design Tips .................................................................................................................................................. 12-24
Related Application Notes ............................................................................................................................ 12-25
Revision History ........................................................................................................................................... 12-26
Table of Contents
DS70046C-page vi 2004 Microchip Technology Inc.
PAGE
SECTION 13. INPUT CAPTURE 13-1
Introduction .................................................................................................................................................... 13-2
Input Capture Registers ................................................................................................................................. 13-3
Timer Selection .............................................................................................................................................. 13-4
Input Capture Event Modes ........................................................................................................................... 13-4
Capture Buffer Operation ............................................................................................................................... 13-8
Input Capture Interrupts ................................................................................................................................. 13-9
UART Autobaud Support ............................................................................................................................... 13-9
Input Capture Operation in Power Saving States ........................................................................................ 13-10
I/O Pin Control .............................................................................................................................................. 13-10
Special Function Registers Associated with the Input Capture Module ....................................................... 13-11
Design Tips .................................................................................................................................................. 13-12
Related Application Notes ............................................................................................................................ 13-13
Revision History ........................................................................................................................................... 13-14
SECTION 14. OUTPUT COMPARE 14-1
Introduction .................................................................................................................................................... 14-2
Output Compare Registers ............................................................................................................................ 14-3
Modes of Operation ........................................................................................................................................ 14-4
Output Compare Operation in Power Saving States .................................................................................... 14-23
I/O Pin Control .............................................................................................................................................. 14-23
Design Tips .................................................................................................................................................. 14-26
Related Application Notes ............................................................................................................................ 14-27
Revision History ........................................................................................................................................... 14-28
SECTION 15. MOTOR CONTROL PWM 15-1
Introduction .................................................................................................................................................... 15-2
Control Registers ........................................................................................................................................... 15-4
PWM Time Base .......................................................................................................................................... 15-16
PWM Duty Cycle Comparison Units ............................................................................................................. 15-20
Complementary PWM Output Mode ............................................................................................................ 15-24
Dead Time Control ....................................................................................................................................... 15-25
Independent PWM Output Mode .................................................................................................................. 15-28
PWM Output Override .................................................................................................................................. 15-29
PWM Output and Polarity Control ................................................................................................................ 15-32
PWM Fault Pins ........................................................................................................................................... 15-32
PWM Update Lockout .................................................................................................................................. 15-35
PWM Special Event Trigger ......................................................................................................................... 15-35
Operation in Device Power Saving Modes ................................................................................................... 15-36
Special Features for Device Emulation ........................................................................................................ 15-37
Related Application Notes ............................................................................................................................ 15-40
Revision History ........................................................................................................................................... 15-41
Table of Contents
2004 Microchip Technology Inc. DS70046C-page vii
PAGE
SECTION 16. QUADRATURE ENCODER INTERFACE (QEI) 16-1
Module Introduction ........................................................................................................................................ 16-2
Control and Status Registers ......................................................................................................................... 16-4
Programmable Digital Noise Filters ................................................................................................................ 16-9
Quadrature Decoder .................................................................................................................................... 16-10
16-bit Up/Down Position Counter ................................................................................................................. 16-12
Using QEI as an Alternate 16-bit Timer/Counter .......................................................................................... 16-16
Quadrature Encoder Interface Interrupts ..................................................................................................... 16-17
I/O Pin Control .............................................................................................................................................. 16-18
QEI Operation During Power Saving Modes ................................................................................................ 16-19
Effects of a Reset ......................................................................................................................................... 16-19
Design Tips .................................................................................................................................................. 16-21
Related Application Notes ............................................................................................................................ 16-22
Revision History ........................................................................................................................................... 16-23
SECTION 17. 10-BIT A/D CONVERTER 17-1
Introduction .................................................................................................................................................... 17-2
Control Registers ........................................................................................................................................... 17-4
A/D Result Buffer ........................................................................................................................................... 17-4
A/D Terminology and Conversion Sequence ............................................................................................... 17-11
A/D Module Configuration ............................................................................................................................ 17-13
Selecting the Voltage Reference Source ..................................................................................................... 17-13
Selecting the A/D Conversion Clock ............................................................................................................ 17-13
Selecting Analog Inputs for Sampling .......................................................................................................... 17-14
Enabling the Module .................................................................................................................................... 17-16
Specifying the Sample/Conversion Sequence ............................................................................................. 17-16
How to Start Sampling ................................................................................................................................. 17-17
How to Stop Sampling and Start Conversions ............................................................................................. 17-18
Controlling Sample/Conversion Operation ................................................................................................... 17-29
Specifying How Conversion Results are Written Into the Buffer .................................................................. 17-30
Conversion Sequence Examples ................................................................................................................. 17-31
A/D Sampling Requirements ........................................................................................................................ 17-45
Reading the A/D Result Buffer ..................................................................................................................... 17-46
Transfer Function ......................................................................................................................................... 17-47
A/D Accuracy/Error ...................................................................................................................................... 17-47
Connection Considerations .......................................................................................................................... 17-47
Initialization .................................................................................................................................................. 17-48
Operation During Sleep and Idle Modes ...................................................................................................... 17-49
Effects of a Reset ......................................................................................................................................... 17-49
Special Function Registers Associated with the 10-bit A/D Converter ......................................................... 17-50
Design Tips .................................................................................................................................................. 17-51
Related Application Notes ............................................................................................................................ 17-52
Revision History ........................................................................................................................................... 17-53
Table of Contents
DS70046C-page viii 2004 Microchip Technology Inc.
PAGE
SECTION 18. 12-BIT A/D CONVERTER 18-1
Introduction .................................................................................................................................................... 18-2
Control Registers ........................................................................................................................................... 18-4
A/D Result Buffer ........................................................................................................................................... 18-4
A/D Terminology and Conversion Sequence ............................................................................................... 18-10
A/D Module Configuration ............................................................................................................................ 18-11
Selecting the Voltage Reference Source ..................................................................................................... 18-11
Selecting the A/D Conversion Clock ............................................................................................................ 18-12
Selecting Analog Inputs for Sampling .......................................................................................................... 18-12
Enabling the Module .................................................................................................................................... 18-14
How to Start Sampling ................................................................................................................................. 18-14
How to Stop Sampling and Start Conversions ............................................................................................. 18-14
Controlling Sample/Conversion Operation ................................................................................................... 18-19
Specifying How Conversion Results are Written into the Buffer .................................................................. 18-19
Conversion Sequence Examples ................................................................................................................. 18-21
A/D Sampling Requirements ........................................................................................................................ 18-26
Reading the A/D Result Buffer ..................................................................................................................... 18-27
Transfer Function ......................................................................................................................................... 18-28
A/D Accuracy/Error ...................................................................................................................................... 18-28
Connection Considerations .......................................................................................................................... 18-28
Initialization .................................................................................................................................................. 18-29
Operation During Sleep and Idle Modes ...................................................................................................... 18-30
Effects of a Reset ......................................................................................................................................... 18-30
Special Function Registers Associated with the 12-bit A/D Converter ......................................................... 18-31
Design Tips .................................................................................................................................................. 18-32
Related Application Notes ............................................................................................................................ 18-33
Revision History ........................................................................................................................................... 18-34
SECTION 19. UART 19-1
Introduction .................................................................................................................................................... 19-2
Control Registers ........................................................................................................................................... 19-3
UART Baud Rate Generator (BRG) ............................................................................................................... 19-8
UART Configuration ..................................................................................................................................... 19-10
UART Transmitter ........................................................................................................................................ 19-11
UART Receiver ............................................................................................................................................ 19-14
Using the UART for 9-bit Communication .................................................................................................... 19-18
Receiving Break Characters ........................................................................................................................ 19-19
Initialization .................................................................................................................................................. 19-20
Other Features of the UART ........................................................................................................................ 19-21
UART Operation During CPU Sleep and Idle Modes ................................................................................... 19-21
Registers Associated with UART Module ..................................................................................................... 19-22
Design Tips .................................................................................................................................................. 19-23
Related Application Notes ............................................................................................................................ 19-24
Revision History ........................................................................................................................................... 19-25
Table of Contents
2004 Microchip Technology Inc. DS70046C-page ix
PAGE
SECTION 20. SERIAL PERIPHERAL INTERFACE (SPI™) 20-1
Introduction .................................................................................................................................................... 20-2
Status and Control Registers ......................................................................................................................... 20-4
Modes of Operation ........................................................................................................................................ 20-7
SPI Master Mode Clock Frequency .............................................................................................................. 20-19
Operation in Power Save Modes ................................................................................................................. 20-20
Special Function Registers Associated with SPI Modules ........................................................................... 20-22
Related Application Notes ............................................................................................................................ 20-23
Revision History ........................................................................................................................................... 20-24
SECTION 21. INTER-INTEGRATED CIRCUIT™ (I2C™) 21-1
Overview ........................................................................................................................................................ 21-2
I
2
C Bus Characteristics .................................................................................................................................. 21-4
Control and Status Registers ......................................................................................................................... 21-7
Enabling I
2
C Operation ................................................................................................................................ 21-13
Communicating as a Master in a Single Master Environment ...................................................................... 21-15
Communicating as a Master in a Multi-Master Environment ........................................................................ 21-29
Communicating as a Slave .......................................................................................................................... 21-32
Connection Considerations for I
2
C Bus ....................................................................................................... 21-47
Module Operation During PWRSAV Instruction ........................................................................................... 21-49
Effects of a Reset ......................................................................................................................................... 21-49
Design Tips .................................................................................................................................................. 21-50
Related Application Notes ............................................................................................................................ 21-51
Revision History ........................................................................................................................................... 21-52
SECTION 22. DATA CONVERTER INTERFACE (DCI) 22-1
Introduction .................................................................................................................................................... 22-2
Control Register Descriptions ......................................................................................................................... 22-2
Codec Interface Basics and Terminology ....................................................................................................... 22-8
DCI Operation .............................................................................................................................................. 22-10
Using the DCI Module .................................................................................................................................. 22-17
Operation in Power Saving Modes ............................................................................................................... 22-28
Registers Associated with DCI ..................................................................................................................... 22-28
Design Tips .................................................................................................................................................. 22-30
Related Application Notes ............................................................................................................................ 22-31
Revision History ........................................................................................................................................... 22-32
Table of Contents
DS70046C-page x 2004 Microchip Technology Inc.
PAGE
SECTION 23. CAN MODULE 23-1
Introduction .................................................................................................................................................... 23-2
Control Registers for the CAN Module ........................................................................................................... 23-2
CAN Module Features .................................................................................................................................. 23-28
CAN Module Implementation ....................................................................................................................... 23-29
CAN Module Operation Modes .................................................................................................................... 23-36
Message Reception ..................................................................................................................................... 23-39
Transmission ................................................................................................................................................ 23-49
Error Detection ............................................................................................................................................. 23-58
CAN Baud Rate ............................................................................................................................................ 23-60
Interrupts ...................................................................................................................................................... 23-64
Time-stamping ............................................................................................................................................. 23-65
CAN Module I/O ........................................................................................................................................... 23-65
Operation in CPU Power Saving Modes ...................................................................................................... 23-66
CAN Protocol Overview ............................................................................................................................... 23-68
Related Application Notes ............................................................................................................................ 23-72
Revision History ........................................................................................................................................... 23-73
SECTION 24. DEVICE CONFIGURATION 24-1
Introduction .................................................................................................................................................... 24-2
Device Configuration Registers ...................................................................................................................... 24-2
Configuration Bit Descriptions ........................................................................................................................ 24-7
Device Identification Registers ....................................................................................................................... 24-8
Related Application Notes .............................................................................................................................. 24-9
Revision History ........................................................................................................................................... 24-10
SECTION 25. DEVELOPMENT TOOL SUPPORT 25-1
Introduction .................................................................................................................................................... 25-2
Microchip Hardware and Language Tools ...................................................................................................... 25-2
Third Party Hardware/Software Tools and Application Libraries ................................................................... 25-6
dsPIC30F Hardware Development Boards .................................................................................................. 25-11
Related Application Notes ............................................................................................................................ 25-15
Revision History ........................................................................................................................................... 25-16
SECTION 26. APPENDIX
Appendix A: I2C™ Overview........................................................................................................................... 26-2
Appendix B: CAN Overview .......................................................................................................................... 26-12
Appendix C: Codec Protocol Overview ......................................................................................................... 26-25
Table of Contents
© 2004 Microchip Technology Inc. DS70048C-page 1-1
Introduction
1
Section 1. Introduction
HIGHLIGHTS
This section of the manual contains the following topics:
1.1 Introduction .................................................................................................................... 1-2
1.2 Manual Objective ........................................................................................................... 1-2
1.3 Device Structure.............................................................................................................1-3
1.4 Development Support .................................................................................................... 1-4
1.5 Style and Symbol Conventions ...................................................................................... 1-4
1.6 Related Documents ....................................................................................................... 1-6
1.7 Revision History .............................................................................................................1-7
dsPIC30F Family Reference Manual
DS70048C-page 1-2 © 2004 Microchip Technology Inc.
1.1 Introduction
Microchip is a leading provider of microcontrollers and analog semiconductors. The company’s
focus is on products that meet the needs of the embedded control market. We are a leading
supplier of:
8-bit general purpose microcontrollers (PICmicro
®
MCUs)
dsPIC30F 16-bit microcontrollers
Speciality and standard non-volatile memory devices
Security devices (K
EELOQ
®
)
Application specific standard products
Please request a Microchip Product Line Card for a listing of all the interesting products that we
have to offer. This literature can be obtained from your local sales office, or downloaded from the
Microchip web site (www.microchip.com).
1.2 Manual Objective
PICmicro and dsPIC30F devices are grouped by the size of their Instruction Word and Data Path.
The current device families are:
1. Base-Line: 12-bit Instruction Word length, 8-bit Data Path
2. Mid-Range: 14-bit Instruction Word length, 8-bit Data Path
3. High-End: 16-bit Instruction Word length, 8-bit Data Path
4. Enhanced: 16-bit Instruction Word length, 8-bit Data Path
5. dsPIC30F: 24-bit Instruction Word length, 16-bit Data Path
This manual describes the dsPIC30F 16-bit MCU family of devices.
This manual explains the operation of the dsPIC30F MCU family architecture and peripheral
modules, but does not cover the specifics of each device. The user should refer to the data sheet
for device specific information. The information that can be found in the data sheet includes:
Device memory map
Device pinout and packaging details
Device electrical specifications
List of peripherals included on the device
Code examples are given throughout this manual. These examples sometimes need to be
written as device specific as opposed to family generic, though they are valid for most other
devices. Some modifications may be required for devices with variations in register file
mappings.
© 2004 Microchip Technology Inc. DS70048C-page 1-3
Section 1. Introduction
Introduction
1
1.3 Device Structure
Each part of the dsPIC30F device can be placed into one of three groups:
1. CPU Core
2. System Integration
3. Peripherals
1.3.1 CPU Core
The CPU core pertains to the basic features that are required to make the device operate. The
sections of the manual related to the CPU core include:
1. CPU
2. Data Memory
3. Program Memory
4. DSP Engine
5. Interrupts
1.3.2 System Integration
System integration functions help to:
Decrease system cost
Increase system reliability
Increase design flexibility
The following sections of the manual discuss dsPIC30F system integration functions:
1. Oscillator
2. Reset
3. Low Voltage Detect
4. Watchdog Timer and Power Saving Modes
5. Flash and EEPROM Programming
6. Device Configuration
1.3.3 Peripherals
The dsPIC30F has many peripherals that allow the device to be interfaced to the external world.
The peripherals discussed in this manual include:
1. I/O Ports
2. Timers
3. Input Capture Module
4. Output Compare Module
5. Quadrature Encoder Interface (QEI)
6. 10-bit A/D Converter
7. 12-bit A/D Converter
8. UART Module
9. SPI
TM
Module
10. I
2
C
TM
Module
11. Data Converter Interface (DCI) Module
12. CAN Module
1.3.4 Memory Technology
At the time of this writing, all dsPIC30F devices use Flash program memory technology. The
Flash program memory can be electrically erased or programmed.
dsPIC30F Family Reference Manual
DS70048C-page 1-4 © 2004 Microchip Technology Inc.
1.4 Development Support
Microchip offers a wide range of development tools that allow users to efficiently develop and
debug application code. Microchip’s development tools can be broken down into four categories:
1. Code generation
2. Hardware/Software debug
3. Device programmer
4. Product evaluation boards
A full description of each of Microchip’s development tools is discussed in Section
25. “Development Tool Support”. As new tools are developed, the latest product briefs and
user guides can be obtained from the Microchip web site (www.microchip.com) or from your local
Microchip Sales Office.
Microchip offers other reference tools to speed the development cycle. These include:
Application Notes
Reference Designs
Microchip web site
Local Sales Offices with Field Application Support
Corporate Support Line
The Microchip web site lists other sites that may be useful references.
1.5 Style and Symbol Conventions
Throughout this document, certain style and font format conventions are used. Most format
conventions imply a distinction should be made for the emphasized text. The MCU industry has
many symbols and non-conventional word definitions/abbreviations. Table 1-1 provides a
description for many of the conventions contained in this document. Located at the rear of this
document, a glossary provides additional word and abbreviation definitions used throughout this
manual.
© 2004 Microchip Technology Inc. DS70048C-page 1-5
Section 1. Introduction
Introduction
1
1.5.1 Document Conventions
Table 1-1 defines some of the symbols and terms used throughout this manual.
Table 1-1: Document Conventions
Symbol or Term Description
set To force a bit/register to a value of logic ‘1’.
clear To force a bit/register to a value of logic ‘0’.
Reset 1) To force a register/bit to its default state.
2) A condition in which the device places itself after a device Reset
occurs. Some bits will be forced to ‘0’ (such as interrupt enable bits),
while others will be forced to ‘1’ (such as the I/O data direction bits).
0xnn or nnh Designates the number ‘nn’ in the hexadecimal number system. These
conventions are used in the code examples. For example, 0x13F or
13Fh.
B‘bbbbbbbb’ Designates the number bbbbbbbb in the binary number system. This
convention is used in the text and in figures and tables. For example,
B10100000.
R-M-W Read-Modify-Write. This is when a register or port is read, then the value
is modified, and that value is then written back to the register or port. This
action can occur from a single instruction (such as bit set, BSET), or a
sequence of instructions.
: (colon) Used to specify a range or the concatenation of registers/bits/pins.
One example is TMR3:TMR2, which is the concatenation of two 16-bit
registers to form a 32-bit timer value.
Concatenation order (left-right) usually specifies a positional relationship
(MSb to LSb, higher to lower).
< > Specifies bit(s) locations in a particular register.
One example is PTCON<PTMOD1:PTMOD0> (or PTMOD<1:0>), which
specifies the register and associated bits or bit positions.
MSb, MSbit, LSb,
LSbit
Indicates the Least Significant or Most Significant bit in a field.
MSByte, MSWord,
LSByte, LSWord
Indicates the Least/Most Significant Byte or Word in a field of bits.
Courier Font Used for code examples, binary numbers and for instruction mnemonics
in the text.
Times Font Used for equations and variables.
Times, Bold Font,
Italics
Used in explanatory text for items called out from a graphic/
equation/example.
Note A Note presents information that we wish to re-emphasize, either to help
you avoid a common pitfall, or make you aware of operating differences
between some device family members. A Note is always in a shaded box
(as below), unless used in a table, where it is at the bottom of the table
(as in this table).
Note: This is a Note in a shaded note box.
dsPIC30F Family Reference Manual
DS70048C-page 1-6 © 2004 Microchip Technology Inc.
1.5.2 Electrical Specifications
Throughout this manual, there will be references to electrical specifications and their parameter
numbers. Table 1-2 shows the parameter numbering convention for dsPIC30F devices. A
parameter number represents a unique set of characteristics and conditions that is consistent
between every data sheet, though the actual parameter value may vary from device to device.
This manual describes a family of devices and therefore, does not specify the parameter values.
The user should refer to the “Electrical Specifications” section of the device data sheet for the
actual parameter values for that device.
Table 1-2: Electrical Specification Parameter Numbering Convention
1.6 Related Documents
Microchip, as well as other sources, offers additional documentation which can aid in your
development with dsPIC30F MCUs. These lists contain the most common documentation,
but other documents may also be available. Please check the Microchip web site
(www.microchip.com) for the latest published technical documentation.
1.6.1 Microchip Documentation
The following dsPIC30F documentation is available from Microchip at the time of this writing.
Many of these documents provide application specific information that gives actual examples of
using, programming and designing with dsPIC30F MCUs.
1. dsPIC30F Programmer’s Reference Manual (DS70030)
The dsPIC30F Programmer’s Reference Manual provides information about the dsPIC30F
programmer’s model and instruction set. A description of each instruction and syntax
examples are provided in this document.
2. dsPIC30F Family Overview (DS70043)
This document provides a summary of the available dsPIC30F family variants, including
device pinouts, memory sizes and available peripherals.
3. dsPIC30F Data Sheets (DS70082 and DS70083)
The data sheets contain device specific information, such as pinout and packaging details,
electrical specifications and memory maps.
1.6.2 Third Party Documentation
There are several documents available from third party sources around the world. Microchip
does not review these documents for technical accuracy. However, they may be a helpful source
for understanding the operation of Microchip dsPIC30F devices. Please refer to the Microchip
web site for third party documentation related to the dsPIC30F.
Parameter Number Format Comment
DXXX DC Specification
AXXX DC Specification for Analog Peripherals
XXX Timing (AC) Specification
PDXXX Device Programming DC Specification
PXXX Device Programming Timing (AC) Specification
Legend: XXX represents a number.
© 2004 Microchip Technology Inc. DS70048C-page 1-7
Section 1. Introduction
Introduction
1
1.7 Revision History
Revision A
This is the initial released revision of this document.
Revision B
There were no technical content or editorial revisions to this section of the manual, however, this
section was updated to reflect Revision B throughout the manual.
Revision C
There were no technical content revisions to this section of the manual, however, this section was
updated to reflect Revision C throughout the manual.
dsPIC30F Family Reference Manual
DS70048C-page 1-8 © 2004 Microchip Technology Inc.
NOTES:
© 2004 Microchip Technology Inc. DS70049C-page 2-1
CPU
2
Section 2. CPU
HIGHLIGHTS
This section of the manual contains the following topics:
2.1 Introduction .................................................................................................................... 2-2
2.2 Programmer’s Model...................................................................................................... 2-4
2.3 Software Stack Pointer................................................................................................... 2-8
2.4 CPU Register Descriptions .......................................................................................... 2-11
2.5 Arithmetic Logic Unit (ALU).......................................................................................... 2-17
2.6 DSP Engine ................................................................................................................. 2-18
2.7 Divide Support ............................................................................................................. 2-27
2.8 Instruction Flow Types ................................................................................................. 2-27
2.9 Loop Constructs........................................................................................................... 2-30
2.10 Address Register Dependencies ................................................................................. 2-35
2.11 Register Maps.............................................................................................................. 2-38
2.12 Related Application Notes............................................................................................ 2-40
2.13 Revision History ........................................................................................................... 2-41
dsPIC30F Family Reference Manual
DS70049C-page 2-2 © 2004 Microchip Technology Inc.
2.1 Introduction
The dsPIC30F CPU module has a 16-bit (data) modified Harvard architecture with an enhanced
instruction set, including significant support for DSP. The CPU has a 24-bit instruction word, with
a variable length opcode field. The program counter (PC) is 24-bits wide and addresses up to
4M x 24 bits of user program memory space. A single cycle instruction pre-fetch mechanism is
used to help maintain throughput and provides predictable execution. All instructions execute in
a single cycle, with the exception of instructions that change the program flow, the double-word
move (MOV.D) instruction and the table instructions. Overhead free program loop constructs are
supported using the DO and REPEAT instructions, both of which are interruptible at any point.
The dsPIC30F devices have sixteen 16-bit working registers in the programmer’s model. Each
of the working registers can act as a data, address, or address offset register. The 16th working
register (W15) operates as a software stack pointer for interrupts and calls.
The dsPIC30F instruction set has two classes of instructions: the MCU class of instructions and
the DSP class of instructions. These two instruction classes are seamlessly integrated into the
architecture and execute from a single execution unit. The instruction set includes many
Addressing modes and was designed for optimum C compiler efficiency.
The data space can be addressed as 32K words or 64 Kbytes and is split into two blocks,
referred to as X and Y data memory. Each memory block has its own independent Address
Generation Unit (AGU). The MCU class of instructions operate solely through the X memory
AGU, which accesses the entire memory map as one linear data space. Certain DSP instruc-
tions operate through the X and Y AGUs to support dual operand reads, which splits the data
address space into two parts. The X and Y data space boundary is device specific.
The upper 32 Kbytes of the data space memory map can optionally be mapped into program
space at any 16K program word boundary defined by the 8-bit Program Space Visibility Page
(PSVPAG) register. The program to data space mapping feature lets any instruction access
program space as if it were data space. Furthermore, RAM may be connected to the program
memory bus on devices with an external bus and used to extend the internal data RAM.
Overhead free circular buffers (modulo addressing) are supported in both X and Y address
spaces. The modulo addressing removes the software boundary checking overhead for DSP
algorithms. Furthermore, the X AGU circular addressing can be used with any of the MCU class
of instructions. The X AGU also supports bit-reverse addressing to greatly simplify input or
output data reordering for radix-2 FFT algorithms.
The CPU supports Inherent (no operand), Relative, Literal, Memory Direct, Register Direct
and Register Indirect Addressing modes. Each instruction is associated with a predefined
Addressing mode group depending upon its functional requirements. As many as 6 Addressing
modes are supported for each instruction.
For most instructions, the dsPIC30F is capable of executing a data (or program data) memory
read, a working register (data) read, a data memory write and a program (instruction) memory
read per instruction cycle. As a result, 3 operand instructions can be supported, allowing
A+B=C operations to be executed in a single cycle.
The DSP engine features a high speed, 17-bit by 17-bit multiplier, a 40-bit ALU, two 40-bit
saturating accumulators and a 40-bit bi-directional barrel shifter. The barrel shifter is capable of
shifting a 40-bit value up to 15 bits right, or up to 16 bits left, in a single cycle. The DSP instruc-
tions operate seamlessly with all other instructions and have been designed for optimal
real-time performance. The MAC instruction and other associated instructions can concurrently
fetch two data operands from memory while multiplying two W registers. This requires that the
data space be split for these instructions and linear for all others. This is achieved in a
transparent and flexible manner through dedicating certain working registers to each address
space.
The dsPIC30F has a vectored exception scheme with up to 8 sources of non-maskable traps
and 54 interrupt sources. Each interrupt source can be assigned to one of seven priority levels.
A block diagram of the CPU is shown in Figure 2-1.
  • Page 1 1
  • Page 2 2
  • Page 3 3
  • Page 4 4
  • Page 5 5
  • Page 6 6
  • Page 7 7
  • Page 8 8
  • Page 9 9
  • Page 10 10
  • Page 11 11
  • Page 12 12
  • Page 13 13
  • Page 14 14
  • Page 15 15
  • Page 16 16
  • Page 17 17
  • Page 18 18
  • Page 19 19
  • Page 20 20
  • Page 21 21
  • Page 22 22
  • Page 23 23
  • Page 24 24
  • Page 25 25
  • Page 26 26
  • Page 27 27
  • Page 28 28
  • Page 29 29
  • Page 30 30
  • Page 31 31
  • Page 32 32
  • Page 33 33
  • Page 34 34
  • Page 35 35
  • Page 36 36
  • Page 37 37
  • Page 38 38
  • Page 39 39
  • Page 40 40
  • Page 41 41
  • Page 42 42
  • Page 43 43
  • Page 44 44
  • Page 45 45
  • Page 46 46
  • Page 47 47
  • Page 48 48
  • Page 49 49
  • Page 50 50
  • Page 51 51
  • Page 52 52
  • Page 53 53
  • Page 54 54
  • Page 55 55
  • Page 56 56
  • Page 57 57
  • Page 58 58
  • Page 59 59
  • Page 60 60
  • Page 61 61
  • Page 62 62
  • Page 63 63
  • Page 64 64
  • Page 65 65
  • Page 66 66
  • Page 67 67
  • Page 68 68
  • Page 69 69
  • Page 70 70
  • Page 71 71
  • Page 72 72
  • Page 73 73
  • Page 74 74
  • Page 75 75
  • Page 76 76
  • Page 77 77
  • Page 78 78
  • Page 79 79
  • Page 80 80
  • Page 81 81
  • Page 82 82
  • Page 83 83
  • Page 84 84
  • Page 85 85
  • Page 86 86
  • Page 87 87
  • Page 88 88
  • Page 89 89
  • Page 90 90
  • Page 91 91
  • Page 92 92
  • Page 93 93
  • Page 94 94
  • Page 95 95
  • Page 96 96
  • Page 97 97
  • Page 98 98
  • Page 99 99
  • Page 100 100
  • Page 101 101
  • Page 102 102
  • Page 103 103
  • Page 104 104
  • Page 105 105
  • Page 106 106
  • Page 107 107
  • Page 108 108
  • Page 109 109
  • Page 110 110
  • Page 111 111
  • Page 112 112
  • Page 113 113
  • Page 114 114
  • Page 115 115
  • Page 116 116
  • Page 117 117
  • Page 118 118
  • Page 119 119
  • Page 120 120
  • Page 121 121
  • Page 122 122
  • Page 123 123
  • Page 124 124
  • Page 125 125
  • Page 126 126
  • Page 127 127
  • Page 128 128
  • Page 129 129
  • Page 130 130
  • Page 131 131
  • Page 132 132
  • Page 133 133
  • Page 134 134
  • Page 135 135
  • Page 136 136
  • Page 137 137
  • Page 138 138
  • Page 139 139
  • Page 140 140
  • Page 141 141
  • Page 142 142
  • Page 143 143
  • Page 144 144
  • Page 145 145
  • Page 146 146
  • Page 147 147
  • Page 148 148
  • Page 149 149
  • Page 150 150
  • Page 151 151
  • Page 152 152
  • Page 153 153
  • Page 154 154
  • Page 155 155
  • Page 156 156
  • Page 157 157
  • Page 158 158
  • Page 159 159
  • Page 160 160
  • Page 161 161
  • Page 162 162
  • Page 163 163
  • Page 164 164
  • Page 165 165
  • Page 166 166
  • Page 167 167
  • Page 168 168
  • Page 169 169
  • Page 170 170
  • Page 171 171
  • Page 172 172
  • Page 173 173
  • Page 174 174
  • Page 175 175
  • Page 176 176
  • Page 177 177
  • Page 178 178
  • Page 179 179
  • Page 180 180
  • Page 181 181
  • Page 182 182
  • Page 183 183
  • Page 184 184
  • Page 185 185
  • Page 186 186
  • Page 187 187
  • Page 188 188
  • Page 189 189
  • Page 190 190
  • Page 191 191
  • Page 192 192
  • Page 193 193
  • Page 194 194
  • Page 195 195
  • Page 196 196
  • Page 197 197
  • Page 198 198
  • Page 199 199
  • Page 200 200
  • Page 201 201
  • Page 202 202
  • Page 203 203
  • Page 204 204
  • Page 205 205
  • Page 206 206
  • Page 207 207
  • Page 208 208
  • Page 209 209
  • Page 210 210
  • Page 211 211
  • Page 212 212
  • Page 213 213
  • Page 214 214
  • Page 215 215
  • Page 216 216
  • Page 217 217
  • Page 218 218
  • Page 219 219
  • Page 220 220
  • Page 221 221
  • Page 222 222
  • Page 223 223
  • Page 224 224
  • Page 225 225
  • Page 226 226
  • Page 227 227
  • Page 228 228
  • Page 229 229
  • Page 230 230
  • Page 231 231
  • Page 232 232
  • Page 233 233
  • Page 234 234
  • Page 235 235
  • Page 236 236
  • Page 237 237
  • Page 238 238
  • Page 239 239
  • Page 240 240
  • Page 241 241
  • Page 242 242
  • Page 243 243
  • Page 244 244
  • Page 245 245
  • Page 246 246
  • Page 247 247
  • Page 248 248
  • Page 249 249
  • Page 250 250
  • Page 251 251
  • Page 252 252
  • Page 253 253
  • Page 254 254
  • Page 255 255
  • Page 256 256
  • Page 257 257
  • Page 258 258
  • Page 259 259
  • Page 260 260
  • Page 261 261
  • Page 262 262
  • Page 263 263
  • Page 264 264
  • Page 265 265
  • Page 266 266
  • Page 267 267
  • Page 268 268
  • Page 269 269
  • Page 270 270
  • Page 271 271
  • Page 272 272
  • Page 273 273
  • Page 274 274
  • Page 275 275
  • Page 276 276
  • Page 277 277
  • Page 278 278
  • Page 279 279
  • Page 280 280
  • Page 281 281
  • Page 282 282
  • Page 283 283
  • Page 284 284
  • Page 285 285
  • Page 286 286
  • Page 287 287
  • Page 288 288
  • Page 289 289
  • Page 290 290
  • Page 291 291
  • Page 292 292
  • Page 293 293
  • Page 294 294
  • Page 295 295
  • Page 296 296
  • Page 297 297
  • Page 298 298
  • Page 299 299
  • Page 300 300
  • Page 301 301
  • Page 302 302
  • Page 303 303
  • Page 304 304
  • Page 305 305
  • Page 306 306
  • Page 307 307
  • Page 308 308
  • Page 309 309
  • Page 310 310
  • Page 311 311
  • Page 312 312
  • Page 313 313
  • Page 314 314
  • Page 315 315
  • Page 316 316
  • Page 317 317
  • Page 318 318
  • Page 319 319
  • Page 320 320
  • Page 321 321
  • Page 322 322
  • Page 323 323
  • Page 324 324
  • Page 325 325
  • Page 326 326
  • Page 327 327
  • Page 328 328
  • Page 329 329
  • Page 330 330
  • Page 331 331
  • Page 332 332
  • Page 333 333
  • Page 334 334
  • Page 335 335
  • Page 336 336
  • Page 337 337
  • Page 338 338
  • Page 339 339
  • Page 340 340
  • Page 341 341
  • Page 342 342
  • Page 343 343
  • Page 344 344
  • Page 345 345
  • Page 346 346
  • Page 347 347
  • Page 348 348
  • Page 349 349
  • Page 350 350
  • Page 351 351
  • Page 352 352
  • Page 353 353
  • Page 354 354
  • Page 355 355
  • Page 356 356
  • Page 357 357
  • Page 358 358
  • Page 359 359
  • Page 360 360
  • Page 361 361
  • Page 362 362
  • Page 363 363
  • Page 364 364
  • Page 365 365
  • Page 366 366
  • Page 367 367
  • Page 368 368
  • Page 369 369
  • Page 370 370
  • Page 371 371
  • Page 372 372
  • Page 373 373
  • Page 374 374
  • Page 375 375
  • Page 376 376
  • Page 377 377
  • Page 378 378
  • Page 379 379
  • Page 380 380
  • Page 381 381
  • Page 382 382
  • Page 383 383
  • Page 384 384
  • Page 385 385
  • Page 386 386
  • Page 387 387
  • Page 388 388
  • Page 389 389
  • Page 390 390
  • Page 391 391
  • Page 392 392
  • Page 393 393
  • Page 394 394
  • Page 395 395
  • Page 396 396
  • Page 397 397
  • Page 398 398
  • Page 399 399
  • Page 400 400
  • Page 401 401
  • Page 402 402
  • Page 403 403
  • Page 404 404
  • Page 405 405
  • Page 406 406
  • Page 407 407
  • Page 408 408
  • Page 409 409
  • Page 410 410
  • Page 411 411
  • Page 412 412
  • Page 413 413
  • Page 414 414
  • Page 415 415
  • Page 416 416
  • Page 417 417
  • Page 418 418
  • Page 419 419
  • Page 420 420
  • Page 421 421
  • Page 422 422
  • Page 423 423
  • Page 424 424
  • Page 425 425
  • Page 426 426
  • Page 427 427
  • Page 428 428
  • Page 429 429
  • Page 430 430
  • Page 431 431
  • Page 432 432
  • Page 433 433
  • Page 434 434
  • Page 435 435
  • Page 436 436
  • Page 437 437
  • Page 438 438
  • Page 439 439
  • Page 440 440
  • Page 441 441
  • Page 442 442
  • Page 443 443
  • Page 444 444
  • Page 445 445
  • Page 446 446
  • Page 447 447
  • Page 448 448
  • Page 449 449
  • Page 450 450
  • Page 451 451
  • Page 452 452
  • Page 453 453
  • Page 454 454
  • Page 455 455
  • Page 456 456
  • Page 457 457
  • Page 458 458
  • Page 459 459
  • Page 460 460
  • Page 461 461
  • Page 462 462
  • Page 463 463
  • Page 464 464
  • Page 465 465
  • Page 466 466
  • Page 467 467
  • Page 468 468
  • Page 469 469
  • Page 470 470
  • Page 471 471
  • Page 472 472
  • Page 473 473
  • Page 474 474
  • Page 475 475
  • Page 476 476
  • Page 477 477
  • Page 478 478
  • Page 479 479
  • Page 480 480
  • Page 481 481
  • Page 482 482
  • Page 483 483
  • Page 484 484
  • Page 485 485
  • Page 486 486
  • Page 487 487
  • Page 488 488
  • Page 489 489
  • Page 490 490
  • Page 491 491
  • Page 492 492
  • Page 493 493
  • Page 494 494
  • Page 495 495
  • Page 496 496
  • Page 497 497
  • Page 498 498
  • Page 499 499
  • Page 500 500
  • Page 501 501
  • Page 502 502
  • Page 503 503
  • Page 504 504
  • Page 505 505
  • Page 506 506
  • Page 507 507
  • Page 508 508
  • Page 509 509
  • Page 510 510
  • Page 511 511
  • Page 512 512
  • Page 513 513
  • Page 514 514
  • Page 515 515
  • Page 516 516
  • Page 517 517
  • Page 518 518
  • Page 519 519
  • Page 520 520
  • Page 521 521
  • Page 522 522
  • Page 523 523
  • Page 524 524
  • Page 525 525
  • Page 526 526
  • Page 527 527
  • Page 528 528
  • Page 529 529
  • Page 530 530
  • Page 531 531
  • Page 532 532
  • Page 533 533
  • Page 534 534
  • Page 535 535
  • Page 536 536
  • Page 537 537
  • Page 538 538
  • Page 539 539
  • Page 540 540
  • Page 541 541
  • Page 542 542
  • Page 543 543
  • Page 544 544
  • Page 545 545
  • Page 546 546
  • Page 547 547
  • Page 548 548
  • Page 549 549
  • Page 550 550
  • Page 551 551
  • Page 552 552
  • Page 553 553
  • Page 554 554
  • Page 555 555
  • Page 556 556
  • Page 557 557
  • Page 558 558
  • Page 559 559
  • Page 560 560
  • Page 561 561
  • Page 562 562
  • Page 563 563
  • Page 564 564
  • Page 565 565
  • Page 566 566
  • Page 567 567
  • Page 568 568
  • Page 569 569
  • Page 570 570
  • Page 571 571
  • Page 572 572
  • Page 573 573
  • Page 574 574
  • Page 575 575
  • Page 576 576
  • Page 577 577
  • Page 578 578
  • Page 579 579
  • Page 580 580
  • Page 581 581
  • Page 582 582
  • Page 583 583
  • Page 584 584
  • Page 585 585
  • Page 586 586
  • Page 587 587
  • Page 588 588
  • Page 589 589
  • Page 590 590
  • Page 591 591
  • Page 592 592
  • Page 593 593
  • Page 594 594
  • Page 595 595
  • Page 596 596
  • Page 597 597
  • Page 598 598
  • Page 599 599
  • Page 600 600
  • Page 601 601
  • Page 602 602
  • Page 603 603
  • Page 604 604
  • Page 605 605
  • Page 606 606
  • Page 607 607
  • Page 608 608
  • Page 609 609
  • Page 610 610
  • Page 611 611
  • Page 612 612
  • Page 613 613
  • Page 614 614
  • Page 615 615
  • Page 616 616
  • Page 617 617
  • Page 618 618
  • Page 619 619
  • Page 620 620
  • Page 621 621
  • Page 622 622
  • Page 623 623
  • Page 624 624
  • Page 625 625
  • Page 626 626
  • Page 627 627
  • Page 628 628
  • Page 629 629
  • Page 630 630
  • Page 631 631
  • Page 632 632
  • Page 633 633
  • Page 634 634
  • Page 635 635
  • Page 636 636
  • Page 637 637
  • Page 638 638
  • Page 639 639
  • Page 640 640
  • Page 641 641
  • Page 642 642
  • Page 643 643
  • Page 644 644
  • Page 645 645
  • Page 646 646
  • Page 647 647
  • Page 648 648
  • Page 649 649
  • Page 650 650
  • Page 651 651
  • Page 652 652
  • Page 653 653
  • Page 654 654
  • Page 655 655
  • Page 656 656
  • Page 657 657
  • Page 658 658
  • Page 659 659
  • Page 660 660
  • Page 661 661
  • Page 662 662
  • Page 663 663
  • Page 664 664
  • Page 665 665
  • Page 666 666
  • Page 667 667
  • Page 668 668
  • Page 669 669
  • Page 670 670
  • Page 671 671
  • Page 672 672
  • Page 673 673
  • Page 674 674
  • Page 675 675
  • Page 676 676
  • Page 677 677
  • Page 678 678
  • Page 679 679
  • Page 680 680
  • Page 681 681
  • Page 682 682
  • Page 683 683
  • Page 684 684
  • Page 685 685
  • Page 686 686
  • Page 687 687
  • Page 688 688
  • Page 689 689
  • Page 690 690
  • Page 691 691
  • Page 692 692
  • Page 693 693
  • Page 694 694
  • Page 695 695
  • Page 696 696
  • Page 697 697
  • Page 698 698
  • Page 699 699
  • Page 700 700
  • Page 701 701
  • Page 702 702
  • Page 703 703
  • Page 704 704
  • Page 705 705
  • Page 706 706
  • Page 707 707
  • Page 708 708
  • Page 709 709
  • Page 710 710
  • Page 711 711
  • Page 712 712
  • Page 713 713
  • Page 714 714
  • Page 715 715
  • Page 716 716
  • Page 717 717
  • Page 718 718
  • Page 719 719
  • Page 720 720
  • Page 721 721
  • Page 722 722
  • Page 723 723
  • Page 724 724
  • Page 725 725
  • Page 726 726
  • Page 727 727
  • Page 728 728
  • Page 729 729
  • Page 730 730
  • Page 731 731
  • Page 732 732
  • Page 733 733
  • Page 734 734
  • Page 735 735
  • Page 736 736
  • Page 737 737
  • Page 738 738

Microchip Technology dsPIC30F Family Reference Manual

Type
Family Reference Manual

Ask a question and I''ll find the answer in the document

Finding information in a document is now easier with AI