PIC16F873-20/SP Microchip Technology, PIC16F873-20/SP Datasheet - Page 48
![IC MCU FLASH 4KX14 EE 28DIP](/photos/6/59/65908/150-28-dip_sml.jpg)
PIC16F873-20/SP
Manufacturer Part Number
PIC16F873-20/SP
Description
IC MCU FLASH 4KX14 EE 28DIP
Manufacturer
Microchip Technology
Series
PIC® 16Fr
Datasheets
1.PIC16F616T-ISL.pdf
(8 pages)
2.PIC16F688T-ISL.pdf
(688 pages)
3.PIC16F873-04SO.pdf
(218 pages)
4.PIC16F873-04SO.pdf
(5 pages)
5.PIC16F873-04SO.pdf
(5 pages)
6.PIC16F873-04SO.pdf
(4 pages)
Specifications of PIC16F873-20/SP
Program Memory Type
FLASH
Program Memory Size
7KB (4K x 14)
Package / Case
28-DIP (0.300", 7.62mm)
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
22
Eeprom Size
128 x 8
Ram Size
192 x 8
Voltage - Supply (vcc/vdd)
4 V ~ 5.5 V
Data Converters
A/D 5x10b
Oscillator Type
External
Operating Temperature
0°C ~ 70°C
Processor Series
PIC16F
Core
PIC
Data Bus Width
8 bit
Data Ram Size
192 B
Interface Type
MSSP/PSP/USART
Maximum Clock Frequency
20 MHz
Number Of Programmable I/os
22
Number Of Timers
3
Operating Supply Voltage
2 V to 5.5 V
Maximum Operating Temperature
+ 70 C
Mounting Style
Through Hole
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
0 C
On-chip Adc
5-ch x 10-bit
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
Part Number:
PIC16F873-20/SP
Manufacturer:
MIC
Quantity:
20 000
PIC16F87X
4.9
The configuration word contains a bit that write protects
the FLASH program memory, called WRT. This bit can
only be accessed when programming the PIC16F87X
device via ICSP. Once write protection is enabled, only
an erase of the entire device will disable it. When
enabled, write protection prevents any writes to FLASH
program memory. Write protection does not affect pro-
gram memory reads.
TABLE 4-1:
TABLE 4-2:
DS30292C-page 46
0Bh, 8Bh,
10Bh, 18Bh
10Dh
10Fh
10Ch
10Eh
18Ch
18Dh
8Dh
0Dh
Legend:
Note 1: These bits are reserved; always maintain these bits clear.
Address
CP1
0
0
0
0
0
1
1
1
1
1
1
Configuration Bits
FLASH Program Memory Write
Protection
Shaded cells are not used during FLASH/EEPROM access.
x = unknown, u = unchanged, r = reserved, - = unimplemented, read as '0'.
INTCON
EEADR
EEADRH
EEDATA
EEDATH
EECON1 EEPGD
EECON2 EEPROM Control Register2 (not a physical register)
PIE2
PIR2
CP0
Name
0
1
1
1
1
0
0
0
0
1
1
READ/WRITE STATE OF INTERNAL FLASH PROGRAM MEMORY
REGISTERS ASSOCIATED WITH DATA EEPROM/PROGRAM FLASH
EEPROM Address Register, Low Byte
EEPROM Data Register, Low Byte
WRT
Bit 7
GIE
—
—
—
—
x
0
0
1
1
0
0
1
1
0
1
PEIE
Bit 6
(1)
(1)
—
—
—
All program memory
All program memory
All program memory
Memory Location
Unprotected areas
Unprotected areas
Unprotected areas
Unprotected areas
EEPROM Data Register, High Byte
Protected areas
Protected areas
Protected areas
Protected areas
Bit 5
T0IE
—
—
—
—
EEPROM Address, High Byte
Bit 4
INTE
EEIE
EEIF
—
WRERR
BCLIE
BCLIF
RBIE
Bit 3
Internal
WREN
Read
Bit 2
T0IF
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
—
—
INTF
Bit 1
WR
—
—
Internal
Write
Yes
Yes
Yes
No
No
No
No
No
No
No
No
CCP2IE -r-0 0--0 -r-0 0--0
CCP2IF -r-0 0--0 -r-0 0--0
RBIF
Bit 0
RD
2001 Microchip Technology Inc.
ICSP Read
0000 000x 0000 000u
xxxx xxxx uuuu uuuu
xxxx xxxx uuuu uuuu
xxxx xxxx uuuu uuuu
xxxx xxxx uuuu uuuu
x--- x000 x--- u000
Value on:
Yes
Yes
Yes
Yes
Yes
Yes
POR,
BOR
No
No
No
No
No
—
ICSP Write
Value on
RESETS
all other
Yes
Yes
No
No
No
No
No
No
No
No
No
—