PIC16F873-20/SP Microchip Technology Inc., PIC16F873-20/SP Datasheet - Page 18
![no-image](/images/manufacturer_photos/0/4/440/microchip_technology_inc__sml.jpg)
PIC16F873-20/SP
Manufacturer Part Number
PIC16F873-20/SP
Description
28 PIN, 7 KB FLASH, 192 RAM, 22 I/O
Manufacturer
Microchip Technology Inc.
Datasheet
1.PIC16F873-20SP.pdf
(218 pages)
Specifications of PIC16F873-20/SP
A/d Inputs
5-Channel, 10-Bit
Comparators
2
Cpu Speed
5 MIPS
Eeprom Memory
128 Bytes
Input Output
22
Interface
I2C/SPI/USART
Memory Type
Flash
Number Of Bits
8
Package Type
28-pin SPDIP
Programmable Memory
7K Bytes
Ram Size
192 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
Part Number:
PIC16F873-20/SP
Manufacturer:
MIC
Quantity:
20 000
- Current page: 18 of 218
- Download datasheet (4Mb)
PIC16F87X
TABLE 2-1:
DS30292C-page 16
80h
81h
82h
83h
84h
85h
86h
87h
88h
89h
8Ah
8Bh
8Ch
8Dh
8Eh
8Fh
90h
91h
92h
93h
94h
95h
96h
97h
98h
99h
9Ah
9Bh
9Ch
9Dh
9Eh
9Fh
Legend:
Note 1: The upper byte of the program counter is not directly accessible. PCLATH is a holding register for the PC<12:8> whose
Address
Bank 1
(3)
(3)
(3)
(3)
(4)
(4)
(1,3)
(3)
2: Bits PSPIE and PSPIF are reserved on PIC16F873/876 devices; always maintain these bits clear.
3: These registers can be addressed from any bank.
4: PORTD, PORTE, TRISD, and TRISE are not physically implemented on PIC16F873/876 devices; read as ‘0’.
5: PIR2<6> and PIE2<6> are reserved on these devices; always maintain these bits clear.
contents are transferred to the upper byte of the program counter.
x = unknown, u = unchanged, q = value depends on condition, - = unimplemented, read as '0', r = reserved.
Shaded locations are unimplemented, read as ‘0’.
INDF
OPTION_REG
PCL
STATUS
FSR
TRISA
TRISB
TRISC
TRISD
TRISE
PCLATH
INTCON
PIE1
PIE2
PCON
—
—
SSPCON2
PR2
SSPADD
SSPSTAT
—
—
—
TXSTA
SPBRG
—
—
—
—
ADRESL
ADCON1
Name
SPECIAL FUNCTION REGISTER SUMMARY (CONTINUED)
Addressing this location uses contents of FSR to address data memory (not a physical register)
Program Counter (PC) Least Significant Byte
Indirect Data Memory Address Pointer
PORTB Data Direction Register
PORTC Data Direction Register
PORTD Data Direction Register
Unimplemented
Unimplemented
Timer2 Period Register
Synchronous Serial Port (I
Unimplemented
Unimplemented
Unimplemented
Baud Rate Generator Register
Unimplemented
Unimplemented
Unimplemented
Unimplemented
A/D Result Register Low Byte
PSPIE
GCEN
CSRC
ADFM
RBPU
Bit 7
SMP
IRP
GIE
IBF
—
—
—
—
(2)
ACKSTAT
INTEDG
ADIE
Bit 6
PEIE
RP1
OBF
CKE
TX9
(5)
—
—
—
—
PORTA Data Direction Register
ACKDT
TXEN
T0CS
2
IBOV
RCIE
Bit 5
T0IE
RP0
C mode) Address Register
D/A
—
—
—
—
Write Buffer for the upper 5 bits of the Program Counter
PSPMODE
ACKEN
SYNC
T0SE
Bit 4
INTE
TXIE
EEIE
TO
—
—
P
PCFG3
SSPIE
BCLIE
RCEN
RBIE
Bit 3
PSA
PD
—
—
—
S
PORTE Data Direction Bits
CCP1IE
PCFG2
BRGH
Bit 2
T0IF
PEN
PS2
R/W
—
—
Z
TMR2IE
PCFG1
RSEN
TRMT
Bit 1
INTF
POR
PS1
DC
UA
—
2001 Microchip Technology Inc.
TMR1IE
CCP2IE
PCFG0
TX9D
RBIF
Bit 0
BOR
SEN
PS0
BF
C
0000 0000
1111 1111
0000 0000
0001 1xxx
xxxx xxxx
--11 1111
1111 1111
1111 1111
1111 1111
0000 -111
---0 0000
0000 000x
0000 0000
-r-0 0--0
---- --qq
0000 0000
1111 1111
0000 0000
0000 0000
0000 -010
0000 0000
xxxx xxxx
0--- 0000
Value on:
POR,
BOR
—
—
—
—
—
—
—
—
—
Details
page:
73, 74
116
112
on
27
19
26
18
27
29
31
33
35
37
26
20
21
23
25
68
55
66
95
97
—
—
—
—
—
—
—
—
—
Related parts for PIC16F873-20/SP
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
![PIC16F873](/images/manufacturer_photos/0/4/440/microchip_technology_inc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
![PIC16F873-20/SO](/images/manufacturer_photos/0/4/440/microchip_technology_inc__tmb.jpg)
Part Number:
Description:
28 PIN, 7 KB FLASH, 192 RAM, 22 I/O
Manufacturer:
Microchip Technology Inc.
Datasheet:
![PIC16F873-04/SP](/images/manufacturer_photos/0/4/440/microchip_technology_inc__tmb.jpg)
Part Number:
Description:
28 PIN, 7 KB FLASH, 192 RAM, 22 I/O
Manufacturer:
Microchip Technology Inc.
Datasheet:
![PIC16F873-20I/SP](/images/manufacturer_photos/0/4/440/microchip_technology_inc__tmb.jpg)
Part Number:
Description:
28 PIN, 7 KB FLASH, 192 RAM, 22 I/O
Manufacturer:
Microchip Technology Inc.
Datasheet:
![PIC16F873-04I/SP](/images/manufacturer_photos/0/4/440/microchip_technology_inc__tmb.jpg)
Part Number:
Description:
28 PIN, 7 KB FLASH, 192 RAM, 22 I/O
Manufacturer:
Microchip Technology Inc.
Datasheet:
![PIC16F87-I/P](/images/manufacturer_photos/0/4/440/microchip_technology_inc__tmb.jpg)
Part Number:
Description:
MCU, 8-Bit, 4KW Flash, 368 RAM, 16 I/O, DIP-18
Manufacturer:
Microchip Technology Inc.
Datasheet:
![PIC16F1826-I/SO](/photos/6/76/67656/150-18-soic_tmb.jpg)
Part Number:
Description:
IC, 8BIT MCU, PIC16F, 32MHZ, SOIC-18
Manufacturer:
Microchip Technology
Datasheet:
![PIC16F1826-I/SS](/photos/6/81/68119/150-28-ssop_tmb.jpg)
Part Number:
Description:
IC, 8BIT MCU, PIC16F, 32MHZ, SSOP-20
Manufacturer:
Microchip Technology
Datasheet:
![PIC16F1826-I/P](/images/manufacturer_photos/0/4/439/microchip_technology_tmb.jpg)
Part Number:
Description:
IC, 8BIT MCU, PIC16F, 32MHZ, DIP-18
Manufacturer:
Microchip Technology
Datasheet:
![PIC16F1827-I/ML](/photos/6/81/68120/150-28-qfn_tmb.jpg)
Part Number:
Description:
IC, 8BIT MCU, PIC16F, 32MHZ, QFN-28
Manufacturer:
Microchip Technology
Datasheet:
![PIC16F1826-I/MV](/photos/12/13/121305/c04-152_mv_tmb.jpg)
Part Number:
Description:
IC, 8BIT MCU, PIC16F, 32MHZ, QFN-28
Manufacturer:
Microchip Technology
Datasheet:
![PIC16F1827-I/MV](/photos/12/13/121305/c04-152_mv_tmb.jpg)
Part Number:
Description:
IC, 8BIT MCU, PIC16F, 32MHZ, QFN-28
Manufacturer:
Microchip Technology
Datasheet:
![PIC16F1827-I/SS](/photos/6/81/68119/150-28-ssop_tmb.jpg)
Part Number:
Description:
IC, 8BIT MCU, PIC16F, 32MHZ, SSOP-20
Manufacturer:
Microchip Technology
Datasheet:
![PIC16F727-E/P](/photos/6/61/66192/150-40-dip_tmb.jpg)
Part Number:
Description:
IC, 8BIT MCU, PIC16F, 20MHZ, DIP-40
Manufacturer:
Microchip Technology
Datasheet:
![PIC16F1827-I/MQ](/photos/18/99/189937/4243194_tmb.jpg)
Part Number:
Description:
IC, 8BIT MCU, PIC16F, 32MHZ, QFN-28
Manufacturer:
Microchip Technology
Datasheet: