PIC16F87-E/ML Microchip Technology, PIC16F87-E/ML Datasheet - Page 221
![IC MCU FLASH 4KX14 EEPROM 28QFN](/photos/6/81/68120/150-28-qfn_sml.jpg)
PIC16F87-E/ML
Manufacturer Part Number
PIC16F87-E/ML
Description
IC MCU FLASH 4KX14 EEPROM 28QFN
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)
Specifications of PIC16F87-E/ML
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
Program Memory Size
7KB (4K x 14)
Program Memory Type
FLASH
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 ~ 125°C
Package / Case
28-VQFN Exposed Pad, 28-HVQFN, 28-SQFN, 28-DHVQFN
For Use With
XLT28QFN3 - SOCKET TRAN ICE 18DIP/28QFNAC164033 - ADAPTER 28QFN TO 18DIPDV007003 - PROGRAMMER UNIVERSAL PROMATE II
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Data Converters
-
PIR2 Register ..................................................................... 14
POP ................................................................................... 25
POR. See Power-on Reset.
PORTA ................................................................................. 8
PORTA Register ................................................................ 14
PORTB ................................................................................. 9
Postscaler, WDT
Power-Down Mode. See Sleep.
Power-Managed Modes ..................................................... 43
Power-on Reset (POR) ............................ 129, 132, 133, 135
Power-up Timer (PWRT) ......................................... 129, 133
PR2 Register ................................................................ 15, 79
Prescaler, Timer0
PRO MATE II Universal Device Programmer .................. 159
Program Counter
Program Memory
Program Verification ........................................................ 147
PUSH ................................................................................. 25
R
R/W Bit ............................................................................... 93
RA0/AN0 Pin ........................................................................ 8
RA1/AN1 Pin ........................................................................ 8
RA2/AN2/CV
RA3/AN3/V
RA4/AN4/T0CKI/C2OUT Pin ............................................... 8
RA5/MCLR/V
RA6/OSC2/CLKO Pin .......................................................... 8
RA7/OSC1/CLKI Pin ............................................................ 8
RB0/INT/CCP1 Pin .............................................................. 9
RB1/SDI/SDA Pin ................................................................ 9
RB2/SDO/RX/DT Pin ........................................................... 9
2005 Microchip Technology Inc.
CMIF Bit ..................................................................... 23
EEIF Bit ...................................................................... 23
OSFIF Bit ................................................................... 23
Associated Register Summary ................................... 52
Associated Register Summary ................................... 58
PORTB Register .................................................. 14, 16
Pull-up Enable (RBPU Bit) ......................................... 18
RB0/INT Edge Select (INTEDG Bit) ........................... 18
RB0/INT Pin, External .............................................. 140
RB2/SDO/RX/DT Pin ........................................... 98, 99
RB5/SS/TX/CK Pin .................................................... 98
RB7:RB4 Interrupt-on-Change ................................. 140
RB7:RB4 Interrupt-on-Change
RB7:RB4 Interrupt-on-Change
TRISB Register .......................................................... 97
Assignment (PSA Bit) ................................................ 18
Rate Select (PS2:PS0 Bits) ....................................... 18
RC_RUN .................................................................... 43
SEC_RUN .................................................................. 44
SEC_RUN/RC_RUN to Primary Clock Source .......... 45
POR Status (POR Bit) ................................................ 24
Power Control (PCON) Register .............................. 134
Power-Down (PD Bit) ............................................... 132
Time-out (TO Bit) ............................................... 17, 132
Assignment (PSA Bit) ................................................ 18
Rate Select (PS2:PS0 Bits) ....................................... 18
Reset Conditions ...................................................... 135
Interrupt Vector .......................................................... 11
Map and Stack
Paging ........................................................................ 25
Reset Vector .............................................................. 11
Enable (RBIE Bit) ............................................. 140
Flag (RBIF Bit) ........................................... 19, 140
PIC16F87/88 ...................................................... 11
REF
REF
PP
+/C1OUT Pin ............................................... 8
Pin ............................................................. 8
/V
REF
- Pin .................................................. 8
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
Reader Response ............................................................ 224
Receive Overflow Indicator Bit, SSPOV ............................ 89
Register File Map
Registers
Reset ....................................................................... 129, 132
Revision History ............................................................... 213
RP0 Bit .............................................................................. 11
RP1 Bit .............................................................................. 11
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 Control 1) ............ 28
FSR ........................................................................... 26
Initialization Conditions (table) ......................... 135–136
INTCON (Interrupt Control) ....................................... 19
OPTION_REG (Option Control) .......................... 18, 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 Request (Flag) 1) ............. 21
PIR2 (Peripheral Interrupt Request (Flag) 2) ............. 23
RCSTA (Receive Status and Control) ....................... 98
Special Function, Summary ....................................... 14
SSPCON (Synchronous Serial Port Control) ............. 89
SSPSTAT (Synchronous Serial Port Status) ............. 88
STATUS (Arithmetic Status) ...................................... 17
T1CON (Timer1 Control) ........................................... 72
T2CON (Timer2 Control) ........................................... 80
TXSTA (Transmit Status and Control) ....................... 97
WDTCON (Watchdog Timer Control) ...................... 142
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).
Control 1) ........................................................... 81
Reference Control) .......................................... 127
PIC16F87/88
DS30487C-page 219