dsPIC30F5011/5013
DS70116F-page 214 © 2006 Microchip Technology Inc.
D
Data Accumulators and Adder/Subtractor...........................19
Data Space Write Saturation ..................... .................21
Overflow and Saturation .............................. .... .... .......19
Round Logic................................................................20
Write Back...................................................................20
Data Address Space...........................................................27
Alignment....................................................................30
Alignment (Figure) ......................................................30
Effect of Invalid Memory Accesses (Table) .................30
MCU and DSP (MAC Class) Instructions
Example..............................................................29
Memory Map.........................................................27, 28
Near Data Space ........................................................31
Softwa re Stack............................ ............................ ....31
Spaces........................................................................30
Width...........................................................................30
Data Converter Interface (DCI) Module ............................119
Data EEPROM Memory......................................................53
Erasing........................................................................54
Erasing, Block.............................................................54
Erasing, Word.............................................................54
Protection Agains t S pur io u s Write ..... .............. ...........57
Reading.......................................................................53
Write Verify .................................................................57
Writing.........................................................................55
Writing , Block........................ ........................... ...........56
Writing , Wo rd ................ ..................... ..................... ....55
DC Characteristics............................................................167
BOR..........................................................................175
Brown-out Reset.......................................................174
I/O Pin Output Specifications....................................173
Idle Current (IIDLE) ....................................................170
Low-Voltage Detect...................................................173
LVDL.........................................................................174
Operating Current (IDD).............................................169
Power-Down Current (IPD)........................................171
Program and EEPROM.............................................175
Temperature and Voltage Specifications..................168
DCI Module
Bit Clock Generator...................................................123
Buffer Alignment with Data Frames ..........................125
Buffe r Con trol...................... ........................... ...........119
Buffe r Data Alignment......... ..................... .................119
Buffer Length Control.................... ....... .... .. .. .... .. .......125
COFS Pin....... ........................... ..................... ...........119
CSCK Pin............. ..................... ..................... ...........119
CSDI Pin...... ........ ..................... ..................... ...........119
CSDO Mode Bit ........................................................126
CSDO Pin .................................................................119
Data Justification Control Bit.....................................124
Device Frequencies for Common Codec CSCK Frequen-
cies (Table).......................................................123
Digital Loopback Mode ......... .. .... .. ......... .. .... .. .... .. .....126
Enable.......................................................................121
Frame Sync Generator .............................................121
Frame Sync Mode Control Bits.................................121
I/O Pi n s......................... ................................. ...........119
Interrupts...................................................................126
Introduction ...............................................................119
Master Frame Sync Operation..................................121
Operation ..................................................................121
Operation During CPU Idle Mode.............................126
Operation During CPU Sleep Mode..........................126
Receive Slot Enable Bits.............................. .... .. .......124
Receive St a tu s Bits................. ..................... ............. 125
Register Map ................ ........................... ................. 128
Sample Clock Edge Control Bit ................. .. ....... .... .. 124
Slave Fra me Sync Operat io n.. ............... ................... 12 2
Slot Enable Bits Operation with Frame Sync . ........... 124
Slot St a tus Bits ............... .................................. ........126
Synchronous Data Transfers.................................... 124
Timing Characteristics
AC-Li n k Mode............. ............................ .......... 191
Multichannel, I2S Modes.................. .. .. ..... .. .... .. 189
Timing Requirements
AC-Li n k Mode............. ............................ .......... 191
Multichannel, I2S Modes.................. .. .. ..... .. .... .. 190
Transmit Slot Enable Bits ......................................... 124
Transmit Status Bits.................................................. 125
Transmit/Receive Shift Register............................... 119
Underflow Mode Control Bit....................... ....... .... .. ..126
Word Size Selection Bits.......................................... 121
Development Support....................................................... 163
Device Configuration
Register Map ................ ........................... ................. 153
Device Configuration Registers
FBORPOR................................................................ 151
FBS........................................................................... 151
FGS .......................................................................... 151
FOSC........................................................................ 151
FSS........................................................................... 151
FWDT ....................................................................... 151
Device Overview................................................................... 7
Disabling th e UART........ .............. ............... ............... ...... 101
Divide Support ....................................... .. .... .. .... .. ....... .... .. .. 16
Instructions (Tabl e ).......................... ........................... 16
DSP Engine.................. ........................... ........................... 17
Multiplier ..................................................................... 19
Dual Output Compare Match Mode................... ............... ..84
Continuous Pulse Mode......................... .. .... ....... .. .... .. 84
Single Pulse Mode...................................................... 84
E
Electrical Characteristics .................................................. 167
AC............................................................................. 176
DC ............................................................................ 167
Enabling and Setting Up UART
Setting Up Data, Parity and Stop Bit Selections....... 101
Enabling the UART........................................................... 101
Equations
ADC Convers io n Cl o ck.............. ..................... .......... 131
Baud Rate................................................................. 103
Bit Clock Frequency................................... ............. .. 123
COFSG Perio d ........................... ........................... .... 121
Serial Clock Rate........................................................ 96
Time Quantum for Clock Generation...................... .. 113
Errata.................................................................................... 6
Exception Sequence
Trap Sources..... ............................ ........................... ..43
External Clock Timing Characteristics
Type A, B and C Timer............................................. 184
Exter n a l C l o c k Timi n g Re quireme n t s . .. ...... ...... ..... .......... . 177
Type A Timer............................................................ 184
Type B Timer............................................................ 185
Type C Timer............................................................ 185
External Interrupt Requests................................................ 45
F
Fast Context Saving ...........................................................45
Flash Pr o g ram Memory.......................................... ............ 47