PIC16F87-I/SO Microchip Technology, PIC16F87-I/SO Datasheet - Page 207
![IC MCU FLASH 4KX14 EEPROM 18SOIC](/photos/6/76/67656/150-18-soic_sml.jpg)
PIC16F87-I/SO
Manufacturer Part Number
PIC16F87-I/SO
Description
IC MCU FLASH 4KX14 EEPROM 18SOIC
Manufacturer
Microchip Technology
Series
PIC® 16Fr
Datasheets
1.PIC16F616T-ISL.pdf
(8 pages)
2.PIC16F688T-ISL.pdf
(688 pages)
3.PIC16F818-ISO.pdf
(6 pages)
4.PIC16F87-IP.pdf
(228 pages)
5.PIC16F87-IP.pdf
(8 pages)
6.PIC16F87-IP.pdf
(4 pages)
7.PIC16F87-IP.pdf
(8 pages)
8.PIC16F87-IP.pdf
(24 pages)
9.PIC16F88-ISO.pdf
(214 pages)
Specifications of PIC16F87-I/SO
Program Memory Type
FLASH
Program Memory Size
7KB (4K x 14)
Package / Case
18-SOIC (7.5mm Width)
Core Processor
PIC
Core Size
8-Bit
Speed
20MHz
Connectivity
I²C, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
16
Eeprom Size
256 x 8
Ram Size
368 x 8
Voltage - Supply (vcc/vdd)
4 V ~ 5.5 V
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Processor Series
PIC16F
Core
PIC
Data Bus Width
8 bit
Data Ram Size
368 B
Interface Type
SSP/USART
Maximum Clock Frequency
20 MHz
Number Of Programmable I/os
16
Number Of Timers
3
Operating Supply Voltage
2 V to 5.5 V
Maximum Operating Temperature
+ 85 C
Mounting Style
SMD/SMT
3rd Party Development Tools
52715-96, 52716-328, 52717-734
Development Tools By Supplier
PG164130, DV164035, DV244005, DV164005, PG164120, ICE2000, DM163014
Minimum Operating Temperature
- 40 C
On-chip Adc
10 bit
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With
DVA12XP080 - ADAPTER DEVICE FOR MPLAB-ICE
Data Converters
-
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC16F87-I/SO
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
RB0/INT/CCP1 Pin ............................................................... 9
RB1/SDI/SDA Pin ................................................................. 9
RB2/SDO/RX/DT Pin ........................................................... 9
RB3/PGM/CCP1 Pin ............................................................ 9
RB4/SCK/SCL Pin ................................................................ 9
RB5/SS/TX/CK Pin ............................................................... 9
RB6/AN5/PGC/T1OSO/T1CKI Pin ....................................... 9
RB7/AN6/PGD/T1OSI Pin .................................................... 9
RBIF Bit .............................................................................. 57
RCIO Oscillator .................................................................. 37
RCREG Register ................................................................ 14
RCSTA Register ................................................................. 14
Receive Overflow Indicator Bit, SSPOV ............................. 89
Register File ....................................................................... 12
Register File Map
Registers
2003 Microchip Technology Inc.
ADDEN Bit ................................................................. 98
CREN Bit .................................................................... 98
FERR Bit .................................................................... 98
RX9 Bit ....................................................................... 98
RX9D Bit .................................................................... 98
SPEN Bit .............................................................. 97, 98
SREN Bit .................................................................... 98
PIC16F87 ................................................................... 12
PIC16F88 ................................................................... 13
ADCON0 (A/D Control 0) ......................................... 114
ADCON1 (A/D Control 1) ......................................... 115
ANSEL (Analog Select) ............................................ 113
CCP1CON (Capture/Compare/PWM
CMCON (Comparator Control) ................................ 121
CONFIG1 (Configuration Word 1) ............................ 130
CONFIG2 (Configuration Word 2) ............................ 131
CVRCON (Comparator Voltage
EECON1 (Data EEPROM Access
FSR ............................................................................ 26
Initialization Conditions (table) ......................... 135–136
INTCON (Interrupt Control) ........................................ 19
OPTION ..................................................................... 18
OPTION_REG ........................................................... 68
OSCCON (Oscillator Control) .................................... 40
OSCTUNE (Oscillator Tuning) ................................... 38
PCON (Power Control) .............................................. 24
PIE1 (Peripheral Interrupt Enable 1) .......................... 20
PIE2 (Peripheral Interrupt Enable 2) .......................... 22
PIR1 (Peripheral Interrupt Status 1) ........................... 21
PIR2 (Peripheral Interrupt Status 2) ........................... 23
RCSTA (Receive Status and Control) ........................ 98
Special Function, Summary ....................................... 14
SSPCON (Synchronous
SSPSTAT (Synchronous
STATUS ..................................................................... 17
T1CON (Timer1 Control) ............................................ 72
T2CON (Timer2 Control) ............................................ 80
TXSTA (Transmit Status and Control) ....................... 97
WDTCON (Watchdog Timer Control) ....................... 142
Control 1) ........................................................... 81
Reference Control) ........................................... 127
Control 1) ........................................................... 28
Serial Port Control) ............................................ 89
Serial Port Status) .............................................. 88
Preliminary
RESET ......................................................................129, 132
Revision History ............................................................... 199
RP0 Bit ............................................................................... 11
RP1 Bit ............................................................................... 11
S
SCI. See USART.
SCL .................................................................................... 92
Serial Communication Interface. See USART.
Slave Mode
SLEEP .............................................................. 129, 132, 145
Software Simulator (MPLAB SIM) ................................... 158
Software Simulator (MPLAB SIM30) ............................... 158
SPBRG Register ................................................................ 15
Special Event Trigger ...................................................... 120
Special Features of the CPU ........................................... 129
Special Function Registers ................................................ 14
Special Function Registers (SFRs) .................................... 14
SPI
SSP
SSPADD Register .............................................................. 15
SSPBUF Register .............................................................. 14
SSPCON Register ............................................................. 14
SSPOV .............................................................................. 89
SSPOV Bit ......................................................................... 92
SSPSTAT Register ............................................................ 15
Stack .................................................................................. 25
STATUS Register
Synchronous Master Reception
Synchronous Master Transmission
Synchronous Serial Port (SSP) ......................................... 87
Synchronous Slave Reception
Synchronous Slave Transmission
Brown-out Reset (BOR). See Brown-out Reset (BOR).
MCLR RESET. See MCLR.
Power-on Reset (POR). See Power-on Reset (POR).
RESET Conditions for All Registers ........................ 135
RESET Conditions for PCON Register .................... 135
RESET Conditions for Program Counter ................. 135
RESET Conditions for STATUS Register ................ 135
WDT Reset. See Watchdog Timer (WDT).
SCL ............................................................................ 92
SDA ........................................................................... 92
Associated Registers ................................................. 90
Serial Clock ................................................................ 87
Serial Data In ............................................................. 87
Serial Data Out .......................................................... 87
Slave Select ............................................................... 87
ACK ........................................................................... 92
I
Overflows ................................................................... 25
Underflow .................................................................. 25
C Bit ........................................................................... 17
DC Bit ........................................................................ 17
IRP Bit ....................................................................... 17
PD Bit .................................................................17, 132
RP Bit ........................................................................ 17
TO Bit .................................................................17, 132
Z Bit ........................................................................... 17
Associated Registers ............................................... 110
Associated Registers ............................................... 109
Overview .................................................................... 87
SPI Mode ................................................................... 87
Associated Registers ............................................... 112
Associated Registers ............................................... 111
2
C
I
2
C Operation ..................................................... 92
PIC16F87/88
DS30487B-page 205