PIC16F87XA
DS39582A-page 212 Advance Information 2001 Microchip Technology Inc.
MSSP .................................................................................69
I2C Mode. See I2C.
SPI Mode ...................................................................69
SPI Mode. See SPI
MSSP Mode
SPI Slave Mode .........................................................75
MSSP Module
Clock Stretching .........................................................88
Clock Synchronization and the CKP Bit .....................89
Control Registers (General) .......................................69
Operation ...................................................................82
Overview ....................................................................69
SPI Master Mode .......................................................74
SSPBUF .....................................................................74
SSPSR .......................................................................74
Multi-Master Mode ...........................................................103
N
nternal Reference Signal ..................................................135
O
On-Line Support ...............................................................217
OPCODE Field Descriptions ............................................157
OPTION_REG Register .....................................................21
INTEDG Bit ................................................................21
PS2:PS0 Bits ..............................................................21
PSA Bit .......................................................................21
T0CS Bit .....................................................................21
T0SE Bit .....................................................................21
OSC1/CLKI Pin ..................................................................10
OSC1/CLKIN Pin ..................................................................8
OSC2/CLKOUT Pin ........................................................8, 10
Oscillator Configuration ....................................................141
HS ....................................................................143, 147
LP .....................................................................143, 147
RC ............................................................ 143, 144, 147
XT .....................................................................143, 147
Oscillator, WDT ................................................................153
Oscillators
Capacitor Selection ..................................................144
Ceramic Resonator Selection ..................................143
Crystal and Ceramic Resonators .............................143
RC ............................................................................144
P
Package Marking Information ..........................................197
Packaging Information .....................................................197
Paging, Program Memory ..................................................28
Parallel Slave Port (PSP) ....................................... 12, 46, 49
Associated Registers .................................................50
Block Diagram ............................................................49
RE0/RD/AN5 Pin ..................................................47, 49
RE1/WR/AN6 Pi n .................................................47, 49
RE2/CS/AN7 Pin ..................................................47, 49
Select (PSPMODE Bit) ..............................46, 47, 48, 49
Parallel Slave Port Requirements
(PIC16F874A/877A Only) ........................................185
PCL Register .......................................................... 17, 18, 28
PCLATH Register ..............................................17, 18, 19, 28
PCON Register .................................................... 18, 27, 147
BOR Bit ......................................................................27
POR Bit ......................................................................27
PIC16F87XA Product Identification System .....................219
PICDEM 1 Low Cost PICmicro
Demonstration Board ...............................................167
PICDEM 17 Demonstration Board ...................................168
PICDEM 2 Low Cost PIC16CXX
Demonstration Board ............................................... 167
PICDEM 3 Low Cost PIC16CXXX
Demonstration Board ............................................... 168
PICSTA RT Plus Ent ry Level
Development Programmer ....................................... 167
PIE1 Register ................................................................18, 23
PIE2 Register ................................................................18, 25
Pinout Descriptions
PIC16F873A/PIC16F876A ........................................... 8
PIR1 Register ...............................................................17, 24
PIR2 Register ...............................................................17, 26
POP ................................................................................... 28
POR. See Power-on Reset
PORTA .....................................................................8, 10, 19
Associated Registers ................................................. 41
Functions ................................................................... 41
PORTA Register ...................................................17, 39
TRISA Register .......................................................... 39
PORTB .....................................................................9, 11, 19
Associated Registers ................................................. 43
Block Diagrams
RB7:RB4 Port Pins ............................................ 42
Functions ................................................................... 43
PORTB Register ...................................................17, 42
RB0/INT Edge Select (INTEDG Bit) .......................... 21
RB0/INT Pin, External .....................................9, 11, 152
RB7:RB4 Interrupt-on-Change ................................ 152
RB7:RB4 Interrupt-on-Change Enable
(RBIE Bit) ............................................22, 152
RB7:RB4 Interrupt-on-Change Flag
(RBIF Bit) .....................................22, 42, 152
TRISB Register .....................................................19, 42
PORTB Register ................................................................ 19
PORTC .....................................................................9, 11, 19
Associated Registers ................................................. 45
Functions ................................................................... 45
PORTC Register ...................................................17, 44
RC3/SCK/SCL Pin ..................................................... 83
RC6/TX/CK Pin ........................................................ 110
RC7/RX/DT Pin .................................................110, 111
TRISC Register ...................................................44, 109
PORTD ...................................................................12, 19, 49
Associated Registers ................................................. 46
Functions ................................................................... 46
Parallel Slave Port (PSP) Function ............................ 46
PORTD Register ...................................................17, 46
TRISD Register .......................................................... 46
PORTE .........................................................................12, 19
Analog Port Pins ...................................................47, 49
Associated Registers ................................................. 48
Functions ................................................................... 47
Input Buffer Full Status (IBF Bit) ................................ 48
Input Buffer Overflow (IBOV Bit) ................................ 48
Output Buffer Full Status (OBF Bit) ........................... 48
PORTE Register ...................................................17, 47
PSP Mode Select (PSPMODE Bit) ...........46, 47, 48, 49
RE0/RD/AN5 Pin ..................................................47, 49
RE1/WR/AN6 Pin ..................................................47, 49
RE2/CS/AN7 Pin ...................................................47, 49
TRISE Register .......................................................... 47
Postscaler, WDT
Assignment (PSA Bit) ................................................ 21
Rate Select (PS2:PS0 Bits) ....................................... 21
Power-down Mode. See SLEEP.