PIC16F877-20/P Microchip Technology Inc., PIC16F877-20/P Datasheet - Page 32
![no-image](/images/manufacturer_photos/0/4/440/microchip_technology_inc__sml.jpg)
PIC16F877-20/P
Manufacturer Part Number
PIC16F877-20/P
Description
40 PIN, 7 KB FLASH, 368 RAM, 33 I/O
Manufacturer
Microchip Technology Inc.
Datasheet
1.PIC16F877-20P.pdf
(218 pages)
Specifications of PIC16F877-20/P
A/d Inputs
8-Channel, 10-Bit
Comparators
2
Cpu Speed
5 MIPS
Eeprom Memory
256 Bytes
Frequency
20 MHz
Input Output
33
Interface
I2C/SPI/USART
Memory Type
Flash
Number Of Bits
8
Package Type
40-pin PDIP
Programmable Memory
14K Bytes
Ram Size
368 Bytes
Serial Interface
MSSP, USART
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:
PIC16F877-20/P
Manufacturer:
MICROCHIP
Quantity:
510
Part Number:
PIC16F877-20/P
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Company:
Part Number:
PIC16F877-20/PQ
Manufacturer:
LT
Quantity:
1 944
Company:
Part Number:
PIC16F877-20/PQ
Manufacturer:
Microchip Technology
Quantity:
10 000
Company:
Part Number:
PIC16F877-20/PT
Manufacturer:
NUVOTON
Quantity:
5 600
Company:
Part Number:
PIC16F877-20/PT
Manufacturer:
Microchip Technology
Quantity:
1 820
Company:
Part Number:
PIC16F877-20/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
PIC16F877-20/PT
Manufacturer:
MIC
Quantity:
20 000
PIC16F87X
TABLE 3-1:
TABLE 3-2:
DS30292C-page 30
RA0/AN0
RA1/AN1
RA2/AN2
RA3/AN3/V
RA4/T0CKI
RA5/SS/AN4
Legend: TTL = TTL input, ST = Schmitt Trigger input
Address
Legend: x = unknown, u = unchanged, - = unimplemented locations read as '0'.
Note:
9Fh
05h
85h
Name
Shaded cells are not used by PORTA.
When using the SSP module in SPI Slave mode and SS enabled, the A/D converter must be set to one of
the following modes, where PCFG3:PCFG0 = 0100,0101, 011x, 1101, 1110, 1111.
PORTA
TRISA
ADCON1 ADFM
REF
Name
PORTA FUNCTIONS
SUMMARY OF REGISTERS ASSOCIATED WITH PORTA
Bit#
bit0
bit1
bit2
bit3
bit4
bit5
Bit 7
—
—
Buffer
TTL
TTL
TTL
TTL
TTL
Bit 6
ST
—
—
—
PORTA Data Direction Register
Input/output or analog input.
Input/output or analog input.
Input/output or analog input.
Input/output or analog input or V
Input/output or external clock input for Timer0. Output is open drain type.
Input/output or slave select input for synchronous serial port or analog input.
Bit 5
RA5
—
Bit 4
RA4
—
PCFG3 PCFG2 PCFG1 PCFG0
Bit 3
RA3
Bit 2
RA2
REF.
Function
Bit 1
RA1
Bit 0
RA0
2001 Microchip Technology Inc.
--0x 0000
--11 1111
--0- 0000
Value on:
POR,
BOR
Value on all
--0u 0000
--11 1111
--0- 0000
RESETS
other