PIC16F87-E/ML Microchip Technology, PIC16F87-E/ML Datasheet - Page 219
![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
-
Development Support ...................................................... 157
Device Differences ........................................................... 213
Device Overview .................................................................. 5
Direct Addressing ............................................................... 26
E
EEADR Register .......................................................... 16, 27
EEADRH Register ........................................................ 16, 27
EECON1 Register ........................................................ 16, 27
EECON2 Register ........................................................ 16, 27
EEDATA Register ........................................................ 16, 27
EEDATH Register ........................................................ 16, 27
Electrical Characteristics .................................................. 163
Errata ................................................................................... 4
Evaluation and Programming Tools ................................. 161
Exiting Sleep with an Interrupt ........................................... 50
External Clock Input ........................................................... 36
External Clock Input (RA4/T0CKI). See Timer0.
External Interrupt Input (RB0/INT). See Interrupt Sources.
F
Fail-Safe Clock Monitor ............................................ 129, 144
Flash Program Memory ..................................................... 27
FSR Register ......................................................... 14, 15, 26
G
General Purpose Register File ........................................... 12
I
I/O Ports ............................................................................. 51
I
ID Locations ............................................................. 129, 147
In-Circuit Debugger .......................................................... 147
In-Circuit Serial Programming .......................................... 129
In-Circuit Serial Programming (ICSP) .............................. 147
INDF Register ........................................................ 14, 15, 26
Indirect Addressing ............................................................ 26
2005 Microchip Technology Inc.
2
C
Associated Registers ................................................. 34
EEADR Register ........................................................ 27
EEADRH Register ...................................................... 27
EECON1 Register ...................................................... 27
EECON2 Register ...................................................... 27
EEDATA Register ...................................................... 27
EEDATH Register ...................................................... 27
Erasing ....................................................................... 30
Reading ...................................................................... 30
Writing ........................................................................ 32
PORTA ....................................................................... 51
PORTB ....................................................................... 57
TRISB Register .......................................................... 57
Addressing ................................................................. 93
Associated Registers ................................................. 95
Master Mode .............................................................. 95
Mode .......................................................................... 92
Mode Selection .......................................................... 92
Multi-Master Mode ..................................................... 95
Reception ................................................................... 93
SCL and SDA Pins ..................................................... 93
Slave Mode ................................................................ 93
Transmission .............................................................. 93
Instruction Set .................................................................. 149
INT Interrupt (RB0/INT). See Interrupt Sources.
INTCON Register
Internal Oscillator Block ..................................................... 37
Internet Address .............................................................. 223
Interrupt Sources ..................................................... 129, 138
Interrupts
Interrupts, Context Saving During .................................... 140
ADDLW .................................................................... 151
ADDWF ................................................................... 151
ANDLW .................................................................... 151
ANDWF ................................................................... 151
BCF ......................................................................... 151
BSF .......................................................................... 151
BTFSC ..................................................................... 152
BTFSS ..................................................................... 152
CALL ........................................................................ 152
CLRF ....................................................................... 152
CLRW ...................................................................... 152
CLRWDT ................................................................. 152
COMF ...................................................................... 153
DECF ....................................................................... 153
DECFSZ .................................................................. 153
Descriptions ............................................................. 151
General Format ....................................................... 149
GOTO ...................................................................... 153
INCF ........................................................................ 153
INCFSZ .................................................................... 153
IORLW ..................................................................... 154
IORWF ..................................................................... 154
MOVF ...................................................................... 154
MOVLW ................................................................... 154
MOVWF ................................................................... 154
NOP ......................................................................... 154
Read-Modify-Write Operations ................................ 149
RETFIE .................................................................... 155
RETLW .................................................................... 155
RETURN .................................................................. 155
RLF .......................................................................... 155
RRF ......................................................................... 155
SLEEP ..................................................................... 155
SUBLW .................................................................... 156
SUBWF .................................................................... 156
Summary Table ....................................................... 150
SWAPF .................................................................... 156
XORLW ................................................................... 156
XORWF ................................................................... 156
GIE Bit ....................................................................... 19
INT0IE Bit .................................................................. 19
INT0IF Bit .................................................................. 19
PEIE Bit ..................................................................... 19
RBIE Bit ..................................................................... 19
RBIF Bit ..................................................................... 19
TMR0IE Bit ................................................................ 19
INTRC Modes ............................................................ 38
AUSART Receive/Transmit Complete ....................... 97
RB0/INT Pin, External ............................................. 140
TMR0 Overflow ........................................................ 140
RB7:RB4 Port Change .............................................. 57
PIC16F87/88
DS30487C-page 217