PIC16F872-I/SS Microchip Technology, PIC16F872-I/SS Datasheet - Page 30

IC MCU FLASH 2KX14 EE 28SSOP

PIC16F872-I/SS

Manufacturer Part Number
PIC16F872-I/SS
Description
IC MCU FLASH 2KX14 EE 28SSOP
Manufacturer
Microchip Technology
Series
PIC® 16Fr

Specifications of PIC16F872-I/SS

Core Size
8-Bit
Program Memory Size
3.5KB (2K x 14)
Core Processor
PIC
Speed
20MHz
Connectivity
I²C, SPI
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
22
Program Memory Type
FLASH
Eeprom Size
64 x 8
Ram Size
128 x 8
Voltage - Supply (vcc/vdd)
4 V ~ 5.5 V
Data Converters
A/D 5x10b
Oscillator Type
External
Operating Temperature
-40°C ~ 85°C
Package / Case
28-SSOP
Controller Family/series
PIC16F
No. Of I/o's
22
Eeprom Memory Size
64Byte
Ram Memory Size
128Byte
Cpu Speed
20MHz
No. Of Timers
3
Processor Series
PIC16F
Core
PIC
Data Bus Width
8 bit
Data Ram Size
128 B
Interface Type
I2C, SPI, SSP
Maximum Clock Frequency
20 MHz
Number Of Programmable I/os
22
Number Of Timers
3 bit
Maximum Operating Temperature
+ 85 C
Mounting Style
SMD/SMT
3rd Party Development Tools
52715-96, 52716-328, 52717-734
Development Tools By Supplier
PG164130, DV164035, DV244005, DV164005, PG164120, ICE2000, DM163022
Minimum Operating Temperature
- 40 C
On-chip Adc
10 bit
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With
AC164307 - MODULE SKT FOR PM3 28SSOPAC164020 - MODULE SKT PROMATEII 44TQFPXLT28SS-1 - SOCKET TRANSITION ICE 28SSOP
Lead Free Status / Rohs Status
 Details

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC16F872-I/SS
Manufacturer:
MICROCHIP
Quantity:
1 400
Part Number:
PIC16F872-I/SS
Manufacturer:
Microchip Technology
Quantity:
1 867
Part Number:
PIC16F872-I/SS
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
PIC16F872
3.8
The PIC16F872 has two code protect mechanisms,
one bit for EEPROM Data memory and two bits for
FLASH Program memory. Data can be read and written
to the EEPROM Data memory regardless of the state
of the code protection bit, CPD. When code protection
is enabled, CPD cleared, external access via ICSP is
disabled regardless of the state of the program memory
code protect bits. This prevents the contents of
EEPROM Data memory from being read out of the
device.
The state of the program memory code protect bits,
CP0 and CP1, do not affect the execution of instruc-
tions out of program memory. The PIC16F872 can
always read the values in program memory, regardless
of the state of the code protect bits. However, the state
of the code protect bits and the WRT bit will have differ-
TABLE 3-1:
TABLE 3-2:
DS30221C-page 28
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
1
1
Configuration Bits
Operation While Code Protected
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
EECON2 EEPROM Control Register2 (not a physical register)
PIE2
PIR2
CP0
Name
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
EEPGD
Bit 7
WRT
GIE
0
1
0
1
PEIE
Bit 6
(1)
(1)
All program memory
All program memory
All program memory
All program memory
Memory Location
EEPROM Data Register, High Byte
TMR0IE
Bit 5
EEPROM Address, High Byte
INTE
EEIE
Bit 4
EEIF
WRERR
BCLIE
BCLIF
RBIE
Bit 3
ent effects on writing to program memory. Table 4-1
shows the effect of the code protect bits and the WRT
bit on program memory.
Once code protection has been enabled for either
EEPROM Data memory or FLASH Program memory,
only a full erase of the entire device will disable code
protection.
3.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 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 program
memory reads.
Internal
Read
TMR0IF
WREN
Yes
Yes
Yes
Yes
Bit 2
FLASH Program Memory Write
Protection
Bit 1
INTF
WR
Internal
Write
Yes
Yes
No
No
RBIF
Bit 0
RD
© 2006 Microchip Technology Inc.
(1)
(1)
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
-r-0 0--r -r-0 0--r
-r-0 0--r -r-0 0--r
Value on:
Yes
Yes
POR,
No
No
BOR
ICSP Write
Value on
RESETS
all other
Yes
Yes
No
No

Related parts for PIC16F872-I/SS