PIC16F877A-I/L Microchip Technology Inc., PIC16F877A-I/L Datasheet - Page 204
![no-image](/images/manufacturer_photos/0/4/440/microchip_technology_inc__sml.jpg)
PIC16F877A-I/L
Manufacturer Part Number
PIC16F877A-I/L
Description
44 PIN, 7 KB FLASH, 368 RAM, 33 I/O
Manufacturer
Microchip Technology Inc.
Datasheet
1.PIC16F877A-IL.pdf
(218 pages)
Specifications of PIC16F877A-I/L
A/d Inputs
8-Channel, 10-Bit
Comparators
2
Cpu Speed
5 MIPS
Eeprom Memory
256 Bytes
Input Output
33
Interface
I2C/SPI/USART
Memory Type
Flash
Number Of Bits
8
Package Type
44-pin PLCC
Programmable Memory
14K Bytes
Ram Size
368 Bytes
Speed
20 MHz
Timers
2-8-bit, 1-16-bit
Voltage, Range
2-5.5 V
Lead Free Status / Rohs Status
RoHS Compliant part
Electrostatic Device
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
PIC16F877A-I/L
Manufacturer:
NEC
Quantity:
1 600
Company:
Part Number:
PIC16F877A-I/L
Manufacturer:
Microchip Technology
Quantity:
10 000
Company:
Part Number:
PIC16F877A-I/LG
Manufacturer:
Microchip Technology
Quantity:
10 000
PIC16F87X
O
On-Line Support ............................................................... 207
OPCODE Field Descriptions ............................................ 135
OPTION_REG Register ............................................... 19, 48
OSC1/CLKIN Pin .............................................................. 7, 8
OSC2/CLKOUT Pin .......................................................... 7, 8
Oscillator Configuration .................................................... 119
Oscillator, WDT ................................................................ 131
Oscillators
P
P (STOP bit) ....................................................................... 66
Package Marking Information .......................................... 189
Packaging Information ..................................................... 189
Paging, Program Memory ............................................ 11, 26
Parallel Slave Port (PSP) ......................................... 9, 35, 38
PCL Register .......................................................... 15, 16, 26
PCLATH Register ..............................................15, 16, 17, 26
PCON Register .......................................................... 25, 124
PIC16F876 Pinout Description ............................................. 7
PIC16F87X Product Identification System ....................... 209
PICDEM 1 Low Cost PICmicro
PICDEM 17 Demonstration Board ................................... 146
PICDEM 2 Low Cost PIC16CXX
PICDEM 3 Low Cost PIC16CXXX
PICSTART Plus Entry Level
PIE1 Register ..................................................................... 21
PIE2 Register ..................................................................... 23
Pinout Descriptions
PIR1 Register ..................................................................... 22
PIR2 Register ..................................................................... 24
POP .................................................................................... 26
POR. See Power-on Reset
DS30292C-page 202
Demonstration Board ................................................... 145
Demonstration Board ................................................... 145
Demonstration Board ................................................... 146
Development Programmer ........................................... 145
INTEDG Bit ................................................................ 19
PS2:PS0 Bits .............................................................. 19
PSA Bit ....................................................................... 19
T0CS Bit ..................................................................... 19
T0SE Bit ..................................................................... 19
HS .................................................................... 121, 124
LP ..................................................................... 121, 124
RC ............................................................ 121, 122, 124
XT ..................................................................... 121, 124
Capacitor Selection .................................................. 122
Crystal and Ceramic Resonators ............................. 121
RC ............................................................................ 122
Associated Registers ................................................. 39
Block Diagram ............................................................ 38
RE0/RD/AN5 Pin .............................................. 9, 36, 38
RE1/WR/AN6 Pin ............................................. 9, 36, 38
RE2/CS/AN7 Pin .............................................. 9, 36, 38
Read Waveforms ....................................................... 39
Select (PSPMODE Bit) ..............................35, 36, 37, 38
Write Waveforms ........................................................ 39
BOR Bit ...................................................................... 25
POR Bit ...................................................................... 25
PIC16F873/PIC16F876 ................................................ 7
PIC16F874/PIC16F877 ................................................ 8
PORTA .......................................................................7, 8, 17
PORTB .......................................................................7, 8, 17
PORTC .......................................................................7, 9, 17
PORTD .....................................................................9, 17, 38
Analog Port Pins .......................................................7, 8
Associated Registers ................................................. 30
Block Diagram
Initialization ................................................................ 29
PORTA Register ...................................................15, 29
RA3
RA4/T0CKI Pin .........................................................7, 8
RA5/SS/AN4 Pin .......................................................7, 8
TRISA Register .......................................................... 29
Associated Registers ................................................. 32
Block Diagram
PORTB Register ...................................................15, 31
RB0/INT Edge Select (INTEDG Bit) .......................... 19
RB0/INT Pin, External .......................................7, 8, 130
RB7:RB4 Interrupt on Change ................................. 130
RB7:RB4 Interrupt on Change Enable
RB7:RB4 Interrupt on Change Flag
RB7:RB4 Interrupt-on-Change Enable
RB7:RB4 Interrupt-on-Change Flag
TRISB Register .....................................................17, 31
Associated Registers ................................................. 34
Block Diagrams
PORTC Register ...................................................15, 33
RC0/T1OSO/T1CKI Pin ............................................7, 9
RC1/T1OSI/CCP2 Pin ..............................................7, 9
RC2/CCP1 Pin ..........................................................7, 9
RC3/SCK/SCL Pin ....................................................7, 9
RC4/SDI/SDA Pin .....................................................7, 9
RC5/SDO Pin ............................................................7, 9
RC6/TX/CK Pin ...................................................7, 9, 96
RC7/RX/DT Pin ............................................. 7, 9, 96, 97
TRISC Register .....................................................33, 95
Associated Registers ................................................. 35
Block Diagram ........................................................... 35
Parallel Slave Port (PSP) Function ............................ 35
PORTD Register ...................................................15, 35
TRISD Register .......................................................... 35
RA3:RA0 and RA5 Pins ..................................... 29
RA4/T0CKI Pin .................................................. 29
RA0 and RA5 Port Pins ..................................... 29
RB3:RB0 Port Pins ............................................ 31
RB7:RB4 Port Pins ............................................ 31
Peripheral Output Override
Peripheral Output Override
(RBIE Bit) ................................................. 130
(RBIF Bit) ................................................. 130
(RBIE Bit) ................................................... 20
(RBIF Bit) ..............................................20, 31
(RC 0:2, 5:7) ...................................... 33
(RC 3:4) ............................................. 33
2001 Microchip Technology Inc.