dsPIC30F2011/2012/3012/3013
Erasing, Block ............................................................. 56
Erasing, Word ............................................................. 56
Protection Against Spurious Write .............................. 58
Reading....................................................................... 55
Write Verify ................................................................. 58
Writing ......................................................................... 57
Writing, Block .............................................................. 57
Writing, Word .............................................................. 57
DC Characteristics ............................................................ 147
BOR .......................................................................... 155
Brown-out Reset ....................................................... 155
I/O Pin Input Specifications ....................................... 153
I/O Pin Output Specifications .................................... 153
Idle Current (IIDLE) .................................................... 150
Low-Voltage Detect................................................... 154
LVDL ......................................................................... 154
Operating Current (IDD)............................................. 149
Power-Down Current (IPD) ........................................ 151
Program and EEPROM............................................. 156
Temperature and Voltage Specifications .................. 147
Development Support ....................................................... 143
Device Configuration
Register Map............................................................. 134
Device Configuration Registers
FBORPOR ................................................................ 132
FGS........................................................................... 132
FOSC ........................................................................ 132
FWDT........................................................................ 132
Device Overview ........................................................... 11, 19
Disabling the UART........................................................... 105
Divide Support..................................................................... 22
Instructions (Table) ..................................................... 22
DSP Engine......................................................................... 23
Multiplier...................................................................... 25
Dual Output Compare Match Mode .................................... 88
Continuous Pulse Mode .............................................. 88
Single Pulse Mode ...................................................... 88
E
Electrical Characteristics
AC ............................................................................. 157
DC ............................................................................. 147
Enabling and Setting Up UART
Alternate I/O .............................................................. 105
Setting Up Data, Parity and Stop Bit Selections ....... 105
Enabling the UART ........................................................... 105
Equations
ADC Conversion Clock ............................................. 113
Baud Rate ................................................................. 107
Serial Clock Rate ...................................................... 100
Errata .................................................................................. 10
Exception Sequence
Trap Sources .............................................................. 67
External Clock Timing Characteristics
Type A, B and C Timer ............................................. 165
External Clock Timing Requirements................................ 158
Type A Timer ............................................................ 165
Type B Timer ............................................................ 166
Type C Timer ............................................................ 166
External Interrupt Requests ................................................ 70
F
Fast Context Saving............................................................ 70
Flash Program Memory....................................................... 49
I
I/O Pin Specifications
Input.......................................................................... 153
Output ....................................................................... 153
I/O Ports.............................................................................. 59
Parallel (PIO) .............................................................. 59
I2C 10-bit Slave Mode Operation........................................ 97
Reception ................................................................... 98
Transmission .............................................................. 98
I2C 7-bit Slave Mode Operation.......................................... 97
Reception ................................................................... 97
Transmission .............................................................. 97
I2C Master Mode Operation................................................ 99
Baud Rate Generator ............................................... 100
Clock Arbitration ....................................................... 100
Multi-Master Communication, Bus Collision and
Bus Arbitration .................................................. 100
Reception ................................................................. 100
Transmission .............................................................. 99
I2C Master Mode Support ................................................... 99
I2C Module
Addresses................................................................... 97
Bus Data Timing Characteristics
Master Mode..................................................... 175
Slave Mode....................................................... 177
Bus Data Timing Requirements
Master Mode..................................................... 176
Slave Mode....................................................... 177
Bus Start/Stop Bits Timing Characteristics
Master Mode..................................................... 175
Slave Mode....................................................... 177
General Call Address Support .................................... 99
Interrupts .................................................................... 99
IPMI Support............................................................... 99
Operating Function Description .................................. 95
Operation During CPU Sleep and Idle Modes .......... 100
Pin Configuration ........................................................ 95
Programmer’s Model .................................................. 95
Register Map ............................................................ 101
Registers .................................................................... 95
Slope Control .............................................................. 99
Software Controlled Clock Stretching (STREN = 1) ... 98
Various Modes............................................................ 95
Idle Current (IIDLE) ............................................................ 150
In-Circuit Serial Programming (ICSP)......................... 49, 121
Input Capture (CAPX) Timing Characteristics .................. 167
Input Capture Module ......................................................... 83
Interrupts .................................................................... 84
Register Map .............................................................. 85
Input Capture Operation During Sleep and Idle Modes...... 84
CPU Idle Mode ........................................................... 84
CPU Sleep Mode ........................................................ 84
Input Capture Timing Requirements................................. 167
Input Change Notification Module....................................... 63
dsPIC30F2012/3013 Register Map (Bits 7-0)............. 63
Instruction Addressing Modes ............................................ 43
File Register Instructions ............................................ 43
Fundamental Modes Supported ................................. 43
MAC Instructions ........................................................ 44
MCU Instructions ........................................................ 43
Move and Accumulator Instructions............................ 44
Other Instructions ....................................................... 44
Instruction Set
Overview................................................................... 138
Summary .................................................................. 135
DS70139F-page 198
© 2008 Microchip Technology Inc.