PIC16F877-04I/P Microchip Technology Inc., PIC16F877-04I/P Datasheet - Page 106
![no-image](/images/manufacturer_photos/0/4/440/microchip_technology_inc__sml.jpg)
PIC16F877-04I/P
Manufacturer Part Number
PIC16F877-04I/P
Description
40 PIN, 7 KB FLASH, 368 RAM, 33 I/O, PDIP
Manufacturer
Microchip Technology Inc.
Datasheet
1.PIC16F877-04IP.pdf
(218 pages)
Specifications of PIC16F877-04I/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-04I/P
Manufacturer:
MICROCHIP
Quantity:
3 000
Company:
Part Number:
PIC16F877-04I/PQ
Manufacturer:
MICROCHIP
Quantity:
1 000
Company:
Part Number:
PIC16F877-04I/PQ
Manufacturer:
Microchip Technology
Quantity:
10 000
Company:
Part Number:
PIC16F877-04I/PT
Manufacturer:
BROADCOM
Quantity:
50
Company:
Part Number:
PIC16F877-04I/PT
Manufacturer:
MIC
Quantity:
36
Company:
Part Number:
PIC16F877-04I/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
PIC16F87X
FIGURE 10-7:
FIGURE 10-8:
TABLE 10-7:
DS30292C-page 104
0Bh, 8Bh,
10Bh,18Bh
0Ch
18h
1Ah
8Ch
98h
99h
Legend: x = unknown, - = unimplemented locations read as '0'. Shaded cells are not used for asynchronous reception.
Note 1: Bits PSPIE and PSPIF are reserved on PIC16F873/876 devices; always maintain these bits clear.
Address
RC7/RX/DT (pin)
RC7/RX/DT (pin)
Load RSR
Read
RCIF
Note:
Load RSR
Read
RCIF
Note:
INTCON
PIR1
RCSTA
RCREG
PIE1
TXSTA
SPBRG
Name
This timing diagram shows a data byte followed by an address byte. The data byte is not read into the RCREG (receive buffer)
because ADDEN was not updated and still = 0.
This timing diagram shows a data byte followed by an address byte. The data byte is not read into the RCREG (receive buffer)
because ADDEN = 1.
REGISTERS ASSOCIATED WITH ASYNCHRONOUS RECEPTION
START
START
USART Receive Register
Baud Rate Generator Register
PSPIF
PSPIE
ASYNCHRONOUS RECEPTION WITH ADDRESS DETECT
ASYNCHRONOUS RECEPTION WITH ADDRESS BYTE FIRST
bit
bit
CSRC
SPEN
Bit 7
GIE
bit0
bit0
(1)
(1)
Bit8 = 1, Address Byte
Bit8 = 0, Data Byte
PEIE
ADIF
ADIE
Bit 6
bit1
bit1
RX9
TX9
SREN
TXEN
RCIE
RCIF
Bit 5
T0IE
bit8
bit8
CREN ADDEN
SYNC
INTE
Bit 4
TXIF
TXIE
STOP
STOP
bit
bit
START
START
SSPIE
SSPIF
bit
bit
RBIE
Bit 3
—
Bit8 = 1, Address Byte
Bit8 = 0, Data Byte
bit0
bit0
CCP1IE TMR2IE TMR1IE 0000 0000
CCP1IF TMR2IF TMR1IF 0000 0000
BRGH
FERR
Bit 2
T0IF
bit8
bit8
OERR
TRMT
Bit 1
INTF
STOP
STOP
bit
bit
Word 1
RCREG
Word 1
RCREG
RX9D
TX9D
R0IF
Bit 0
2001 Microchip Technology Inc.
0000 000x
0000 0000
0000 -010
0000 0000
0000 000x
Value on:
POR,
BOR
0000 0000
0000 000x
0000 0000
0000 0000
0000 -010
0000 0000
0000 000u
Value on
RESETS
all other