PIC16F877-20I/PQ Microchip Technology, PIC16F877-20I/PQ Datasheet - Page 203
![IC MCU FLASH 8KX14 EE 44-MQFP](/photos/6/59/65984/150-44-pqfp_sml.jpg)
PIC16F877-20I/PQ
Manufacturer Part Number
PIC16F877-20I/PQ
Description
IC MCU FLASH 8KX14 EE 44-MQFP
Manufacturer
Microchip Technology
Series
PIC® 16Fr
Datasheets
1.PIC16F616T-ISL.pdf
(8 pages)
2.PIC16F688T-ISL.pdf
(688 pages)
3.PIC16C770-ISO.pdf
(8 pages)
4.PIC16F873-04SO.pdf
(218 pages)
5.PIC16F873-04SO.pdf
(5 pages)
6.PIC16F873-04SO.pdf
(5 pages)
Specifications of PIC16F877-20I/PQ
Program Memory Type
FLASH
Program Memory Size
14KB (8K x 14)
Package / Case
44-MQFP, 44-PQFP
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
33
Eeprom Size
256 x 8
Ram Size
368 x 8
Voltage - Supply (vcc/vdd)
4 V ~ 5.5 V
Data Converters
A/D 8x10b
Oscillator Type
External
Operating Temperature
-40°C ~ 85°C
Processor Series
PIC16F
Core
PIC
Data Bus Width
8 bit
Data Ram Size
368 B
Interface Type
MSSP/PSP/USART
Maximum Clock Frequency
20 MHz
Number Of Programmable I/os
33
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, DM163022, DV164120
Minimum Operating Temperature
- 40 C
On-chip Adc
8-ch x 10-bit
Package
44MQFP
Device Core
PIC
Family Name
PIC16
Maximum Speed
20 MHz
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Lead Free Status / RoHS Status
Lead free / RoHS Compliant, Lead free / RoHS Compliant
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
PIC16F877-20I/PQ
Manufacturer:
MICROCHIP
Quantity:
1 000
Company:
Part Number:
PIC16F877-20I/PQ
Manufacturer:
QFP
Quantity:
5 510
Company:
Part Number:
PIC16F877-20I/PQ
Manufacturer:
Microchip Technology
Quantity:
10 000
I
I
ICEPIC In-Circuit Emulator .............................................. 144
ID Locations ............................................................. 119, 133
In-Circuit Serial Programming (ICSP) ...................... 119, 134
INDF ................................................................................... 17
INDF Register .........................................................15, 16, 27
Indirect Addressing ............................................................ 27
Instruction Format ............................................................ 135
Instruction Set .................................................................. 135
2
2
C Module Address Register, SSPADD ............................ 73
C Slave Mode .................................................................. 74
2001 Microchip Technology Inc.
Master Mode Operation ............................................. 79
Master Mode START Condition ................................. 80
Master Mode Transmission ........................................ 82
Master Mode Transmit Sequence .............................. 79
Multi-Master Communication ..................................... 89
Multi-master Mode ..................................................... 78
Operation ................................................................... 73
Repeat START Condition Timing ............................... 81
Slave Mode ................................................................ 74
Slave Reception ......................................................... 74
Slave Transmission .................................................... 75
SSPBUF ..................................................................... 73
STOP Condition Receive or Transmit Timing ............ 87
STOP Condition Timing ............................................. 87
Waveforms for 7-bit Reception .................................. 75
Waveforms for 7-bit Transmission ............................. 76
FSR Register ............................................................. 12
ADDLW .................................................................... 137
ADDWF .................................................................... 137
ANDLW .................................................................... 137
ANDWF .................................................................... 137
BCF .......................................................................... 137
BSF .......................................................................... 137
BTFSC ..................................................................... 137
BTFSS ..................................................................... 137
CALL ........................................................................ 138
CLRF ........................................................................ 138
CLRW ...................................................................... 138
CLRWDT .................................................................. 138
COMF ...................................................................... 138
DECF ....................................................................... 138
DECFSZ ................................................................... 139
GOTO ...................................................................... 139
INCF ......................................................................... 139
INCFSZ .................................................................... 139
IORLW ..................................................................... 139
IORWF ..................................................................... 139
MOVF ....................................................................... 140
MOVLW ................................................................... 140
MOVWF ................................................................... 140
NOP ......................................................................... 140
RETFIE .................................................................... 140
RETLW .................................................................... 140
RETURN .................................................................. 141
RLF .......................................................................... 141
RRF .......................................................................... 141
SLEEP ..................................................................... 141
SUBLW .................................................................... 141
SUBWF .................................................................... 141
SWAPF .................................................................... 142
XORLW .................................................................... 142
XORWF .................................................................... 142
Summary Table ........................................................ 136
Block Diagram .................................................... 73
INT Interrupt (RB0/INT). See Interrupt Sources
INTCON ............................................................................. 17
INTCON Register ............................................................... 20
Inter-Integrated Circuit (I
Internal Sampling Switch (Rss) Impedence ..................... 114
Interrupt Sources ......................................................119, 129
Interrupts
Interrupts, Context Saving During .................................... 130
Interrupts, Enable Bits
Interrupts, Flag Bits
K
K
L
Loading of PC .................................................................... 26
M
Master Clear (MCLR) ........................................................7, 8
Memory Organization
MPLAB C17 and MPLAB C18 C Compilers .................... 143
MPLAB ICD In-Circuit Debugger ..................................... 145
MPLAB ICE High Performance Universal In-Circuit
Emulator with MPLAB IDE ............................................... 144
MPLAB Integrated Development Environment Software . 143
MPLINK Object Linker/MPLIB Object Librarian ............... 144
Multi-Master Communication ............................................. 89
Multi-Master Mode ............................................................. 78
EE
L
GIE Bit ....................................................................... 20
INTE Bit ..................................................................... 20
INTF Bit ..................................................................... 20
PEIE Bit ..................................................................... 20
RBIE Bit ..................................................................... 20
RBIF Bit ................................................................20, 31
T0IE Bit ...................................................................... 20
T0IF Bit ...................................................................... 20
Block Diagram ......................................................... 129
Interrupt-on-Change (RB7:RB4 ) ............................... 31
RB0/INT Pin, External ....................................... 7, 8, 130
TMR0 Overflow ........................................................ 130
USART Receive/Transmit Complete ......................... 95
Bus Collision Interrupt ................................................ 24
Synchronous Serial Port Interrupt .............................. 22
Global Interrupt Enable (GIE Bit) ........................20, 129
Interrupt-on-Change (RB7:RB4) Enable
Interrupt-on-Change (RB7:RB4) Enable
Peripheral Interrupt Enable (PEIE Bit) ....................... 20
RB0/INT Enable (INTE Bit) ........................................ 20
TMR0 Overflow Enable (T0IE Bit) ............................. 20
Interrupt-on-Change (RB7:RB4) Flag
Interrupt-on-Change (RB7:RB4) Flag
RB0/INT Flag (INTF Bit) ............................................ 20
TMR0 Overflow Flag (T0IF Bit) ...........................20, 130
MCLR Reset, Normal Operation ............... 123, 125, 126
MCLR Reset, SLEEP ................................ 123, 125, 126
Data Memory ............................................................. 12
Program Memory ....................................................... 11
OQ
Evaluation and Programming Tools ................... 146
(RBIE Bit) ................................................. 130
(RBIE Bit) ................................................... 20
(RBIF Bit) ................................................. 130
(RBIF Bit) ..............................................20, 31
2
C) .............................................. 65
PIC16F87X
DS30292C-page 201