PIC16F87-I/ML Microchip Technology, PIC16F87-I/ML Datasheet - Page 220
![IC MCU FLASH 4KX14 EEPROM 28QFN](/photos/6/81/68120/150-28-qfn_sml.jpg)
PIC16F87-I/ML
Manufacturer Part Number
PIC16F87-I/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-I/ML
Core Size
8-Bit
Program Memory Size
7KB (4K x 14)
Oscillator Type
Internal
Core Processor
PIC
Speed
20MHz
Connectivity
I²C, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
16
Program Memory Type
FLASH
Eeprom Size
256 x 8
Ram Size
368 x 8
Voltage - Supply (vcc/vdd)
4 V ~ 5.5 V
Operating Temperature
-40°C ~ 85°C
Package / Case
28-VQFN Exposed Pad, 28-HVQFN, 28-SQFN, 28-DHVQFN
Controller Family/series
PIC16F
No. Of I/o's
16
Eeprom Memory Size
256Byte
Ram Memory Size
368Byte
Cpu Speed
20MHz
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With
XLT28QFN3 - SOCKET TRAN ICE 18DIP/28QFNAC164322 - MODULE SOCKET MPLAB PM3 28/44QFNAC164033 - ADAPTER 28QFN TO 18DIPDV007003 - PROGRAMMER UNIVERSAL PROMATE II
Data Converters
-
Lead Free Status / RoHS Status
Lead free / RoHS Compliant, Lead free / RoHS Compliant
PIC16F87/88
Interrupts, Enable Bits
Interrupts, Flag Bits
INTRC Modes
L
Loading of PC .................................................................... 25
Low-Voltage ICSP Programming ..................................... 148
M
Master Clear (MCLR)
Memory Organization ......................................................... 11
Microchip Internet Web Site ............................................. 223
MPLAB ASM30 Assembler, Linker, Librarian .................. 158
MPLAB ICD 2 In-Circuit Debugger ................................... 159
MPLAB ICE 2000 High-Performance
MPLAB ICE 4000 High-Performance
MPLAB Integrated Development
MPLAB PM3 Device Programmer .................................... 159
MPLINK Object Linker/MPLIB Object Librarian ............... 158
DS30487C-page 218
A/D Converter Interrupt Enable (ADIE Bit) ................. 20
AUSART Receive Interrupt Enable (RCIE Bit) ........... 20
AUSART Transmit Interrupt Enable (TXIE Bit) .......... 20
CCP1 Interrupt Enable (CCP1IE Bit) ......................... 20
Comparator Interrupt Enable (CMIE Bit) .................... 22
EEPROM Write Operation Interrupt
Global Interrupt Enable (GIE Bit) ....................... 19, 138
Interrupt-on-Change (RB7:RB4)
Oscillator Fail Interrupt Enable (OSFIE Bit) ............... 22
Peripheral Interrupt Enable (PEIE Bit) ....................... 19
Port Change Interrupt Enable (RBIE Bit) ................... 19
RB0/INT Enable (INT0IE Bit) ..................................... 19
Synchronous Serial Port (SSP)
TMR0 Overflow Enable (TMR0IE Bit) ........................ 19
TMR1 Overflow Interrupt Enable
TMR2 to PR2 Match Interrupt Enable
A/D Converter Interrupt Flag (ADIF Bit) ..................... 21
AUSART Receive Interrupt Flag (RCIF Bit) ............... 21
AUSART Transmit Interrupt Flag (TXIF Bit) ............... 21
CCP1 Interrupt Flag (CCP1IF Bit) .............................. 21
Comparator Interrupt Flag (CMIF Bit) ........................ 23
EEPROM Write Operation Interrupt
Interrupt-on-Change (RB7:RB4)
Oscillator Fail Interrupt Flag (OSFIF Bit) .................... 23
RB0/INT Flag (INT0IF Bit) .......................................... 19
Synchronous Serial Port (SSP) Interrupt
TMR0 Overflow Flag (TMR0IF Bit) .......................... 140
TMR1 Overflow Interrupt Flag (TMR1IF Bit) .............. 21
TMR2 to PR2 Interrupt Flag (TMR2IF Bit) ................. 21
Adjustment ................................................................. 38
MCLR Reset, Normal Operation ...................... 132, 135
MCLR Reset, Sleep ......................................... 132, 135
Operation and ESD Protection ................................. 133
Data Memory ............................................................. 11
Program Memory ....................................................... 11
Universal In-Circuit Emulator ................................... 159
Universal In-Circuit Emulator ................................... 159
Environment Software .............................................. 157
Enable (EEIE Bit) ............................................... 22
Enable (RBIE Bit) ............................................. 140
Interrupt Enable (SSPIE Bit) .............................. 20
(TMR1IE Bit) ...................................................... 20
(TMR2IE Bit) ...................................................... 20
Flag (EEIF Bit) ................................................... 23
Flag (RBIF Bit) ........................................... 19, 140
Flag (SSPIF Bit) ................................................. 21
O
Opcode Field Descriptions ............................................... 149
OPTION_REG Register
OSCCON Register ............................................................. 15
Oscillator Configuration ..................................................... 35
Oscillator Control Register
Oscillator Delay upon Power-up, Wake-up
Oscillator Start-up Timer (OST) ............................... 129, 133
Oscillator Switching ........................................................... 39
OSCTUNE Register ........................................................... 15
P
Packaging Information ..................................................... 207
Paging, Program Memory .................................................. 25
PCL Register ......................................................... 14, 15, 25
PCLATH Register .................................................. 14, 15, 25
PCON Register .......................................................... 15, 134
PICkit 1 Flash Starter Kit ................................................. 161
PICSTART Plus Development Programmer .................... 160
PIE1 Register ..................................................................... 15
PIE2 Register ..................................................................... 15
Pinout Descriptions
PIR1 Register .................................................................... 14
INTEDG Bit ................................................................ 18
PS2:PS0 Bits ............................................................. 18
PSA Bit ...................................................................... 18
RBPU Bit ................................................................... 18
T0CS Bit .................................................................... 18
T0SE Bit .................................................................... 18
ECIO .......................................................................... 35
EXTRC .................................................................... 134
HS ...................................................................... 35, 134
INTIO1 ....................................................................... 35
INTIO2 ....................................................................... 35
INTRC ...................................................................... 134
LP ...................................................................... 35, 134
RC ....................................................................... 35, 37
RCIO .......................................................................... 35
XT ...................................................................... 35, 134
Modifying IRCF Bits ................................................... 41
and Clock Switching .................................................. 42
Marking .................................................................... 207
BOR Bit ...................................................................... 24
POR Bit ...................................................................... 24
ADIE Bit ..................................................................... 20
CCP1IE Bit ................................................................ 20
RCIE Bit ..................................................................... 20
SSPIE Bit ................................................................... 20
TMR1IE Bit ................................................................ 20
TMR2IE Bit ................................................................ 20
TXIE Bit ..................................................................... 20
CMIE Bit .................................................................... 22
EEIE Bit ..................................................................... 22
OSFIE Bit ................................................................... 22
PIC16F87/88 ............................................................... 8
ADIF Bit ..................................................................... 21
CCP1IF Bit ................................................................. 21
RCIF Bit ..................................................................... 21
SSPIF Bit ................................................................... 21
TMR1IF Bit ................................................................. 21
TMR2IF Bit ................................................................. 21
TXIF Bit ...................................................................... 21
2005 Microchip Technology Inc.