Datasheet

Table Of Contents
dsPIC30F6011A/6012A/6013A/6014A
DS70143E-page 228 © 2011 Microchip Technology Inc.
Output Compare Module..................................................... 85
Register Map............................................................... 89
Timing Characteristics .............................................. 193
Timing Requirements................................................ 193
Output Compare Operation During CPU Idle Mode............ 88
Output Compare Sleep Mode Operation............................. 88
P
Packaging Information ...................................................... 213
Marking ..................................................................... 213
Peripheral Module Disable (PMD) Registers .................... 159
Pinout Descriptions ............................................................. 14
POR. See Power-on Reset.
PORTA
Register Map for dsPIC30F6013A/6014A................... 63
PORTB
Register Map for dsPIC30F6011A/6012A/6013A/6014A
63
PORTC
Register Map for dsPIC30F6011A/6012A................... 63
Register Map for dsPIC30F6013A/6014A................... 63
PORTD
Register Map for dsPIC30F6011A/6012A................... 64
Register Map for dsPIC30F6013A/6014A................... 64
PORTF
Register Map for dsPIC30F6011A/6012A................... 64
Register Map for dsPIC30F6013A/6014A................... 64
PORTG
Register Map for dsPIC30F6011A/6012A/6013A/
6014A.................................................................. 65
Power Saving Modes
Idle ............................................................................ 158
Sleep......................................................................... 157
Power-Down Current (I
PD) ................................................ 178
Power-on Reset (POR) ..................................................... 143
Oscillator Start-up Timer (OST) ................................ 143
Power-up Timer (PWRT) .......................................... 143
Power-Saving Modes ........................................................ 157
Power-Saving Modes (Sleep and Idle).............................. 143
Power-up Timer
Timing Characteristics .............................................. 188
Timing Requirements................................................ 189
Program Address Space ..................................................... 25
Construction................................................................ 27
Data Access from Program Memory
Using Program Space Visibility........................... 29
Data Access from Program Memory
Using Table Instructions ..................................... 28
Data Access from, Address Generation...................... 27
Data Space Window into Operation............................ 30
Data Table Access (Least Significant Word) .............. 28
Data Table Access (MSB)........................................... 29
Memory Map for dsPIC30F6011A/6013A ................... 26
Memory Map for dsPIC30F6012A/6014A ................... 26
Table Instructions
TBLRDH.............................................................. 28
TBLRDL .............................................................. 28
TBLWTH ............................................................. 28
TBLWTL.............................................................. 28
Program and EEPROM Characteristics ............................ 182
Program Counter................................................................. 18
Programmable................................................................... 143
Programmer’s Model........................................................... 18
Diagram ...................................................................... 19
Programming Operations .................................................... 53
Algorithm for Program Flash ....................................... 53
Erasing a Row of Program Memory............................ 53
Initiating the Programming Sequence......................... 54
Loading Write Latches................................................ 54
Protection Against Accidental Writes to OSCCON ........... 149
R
Reader Response............................................................. 228
Reset ........................................................................ 143, 153
Reset Sequence ................................................................. 47
Reset Sources ............................................................ 47
Reset Sources
Brown-out Reset (BOR).............................................. 47
Illegal Instruction Trap ................................................ 47
Trap Lockout............................................................... 47
Uninitialized W Register Trap ..................................... 47
Watchdog Time-out .................................................... 47
Reset Timing Characteristics............................................ 188
Reset Timing Requirements ............................................. 189
Resets
Brown-out Rest (BOR), Programmable .................... 155
POR with Long Crystal Start-up Time....................... 155
POR, Operating without FSCM and PWRT .............. 155
Power-on Reset (POR)............................................. 153
RTSP Operation ................................................................. 52
Run-Time Self-Programming (RTSP) ................................. 51
S
Serial Peripheral Interface. See SPI
Simple Capture Event Mode............................................... 81
Buffer Operation ......................................................... 82
Hall Sensor Mode ....................................................... 82
Prescaler .................................................................... 81
Timer2 and Timer3 Selection Mode............................ 82
Simple OC/PWM Mode Timing Requirements ................. 194
Simple Output Compare Match Mode ................................ 86
Simple PWM Mode ............................................................. 86
Input Pin Fault Protection ........................................... 86
Period ......................................................................... 87
Software Simulator (MPLAB SIM) .................................... 171
Software Stack Pointer, Frame Pointer .............................. 18
CALL Stack Frame ..................................................... 35
SPI Module ......................................................................... 91
Framed SPI Support................................................... 92
Operating Function Description .................................. 91
Operation During CPU Idle Mode ............................... 93
Operation During CPU Sleep Mode............................ 93
SDOx Disable ............................................................. 91
Slave Select Synchronization ..................................... 93
SPI1 Register Map...................................................... 94
SPI2 Register Map...................................................... 94
Timing Characteristics
Master Mode (CKE = 0).................................... 198
Master Mode (CKE = 1).................................... 199
Slave Mode (CKE = 1).............................. 200, 201
Timing Requirements
Master Mode (CKE = 0).................................... 198
Master Mode (CKE = 1).................................... 199
Slave Mode (CKE = 0)...................................... 200
Slave Mode (CKE = 1)...................................... 202
Word and Byte Communication .................................. 91
STATUS Register ............................................................... 18
Symbols used in Opcode Descriptions ............................. 162
System Integration............................................................ 143
Register Map for dsPIC30F601xA ............................ 160