PIC16F870-I/SP Microchip Technology Inc., PIC16F870-I/SP Datasheet - Page 34

no-image

PIC16F870-I/SP

Manufacturer Part Number
PIC16F870-I/SP
Description
28 PIN, 7 KB FLASH, 128 RAM, 22 I/O
Manufacturer
Microchip Technology Inc.
Datasheet

Specifications of PIC16F870-I/SP

A/d Inputs
5-Channel, 10-Bit
Cpu Speed
5 MIPS
Eeprom Memory
64 Bytes
Input Output
22
Interface
USART
Memory Type
Flash
Number Of Bits
8
Package Type
28-pin SPDIP
Programmable Memory
3.5K Bytes
Ram Size
128 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:
PIC16F870-I/SP
Manufacturer:
MICROCHIP
Quantity:
5 600
Part Number:
PIC16F870-I/SP
Quantity:
2 871
PIC16F870/871
3.10
The configuration word contains a bit that write protects
the FLASH program memory, called WRT. This bit can
only
PIC16F870/871 devices via ICSP. Once write protec-
tion 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.
TABLE 3-1:
TABLE 3-2:
DS30569B-page 32
0Bh, 8Bh,
10Bh, 18Bh
10Dh
10Fh
10Ch
10Eh
18Ch
18Dh
Legend:
Note 1:
Address
CP1
0
0
0
0
0
1
1
1
1
1
1
Configuration Bits
be
FLASH Program Memory Write
Protection
Shaded cells are not used during FLASH/EEPROM access.
These bits are reserved; always maintain these bits clear.
x = unknown, u = unchanged, r = reserved, - = unimplemented, read as '0'.
INTCON
EEADR
EEADRH
EEDATA
EEDATH
EECON1
EECON2 EEPROM Control Register2 (not a physical register)
accessed
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
EEPGD
WRT
Bit 7
GIE
when
x
0
0
1
1
0
0
1
1
0
1
PEIE
Bit 6
programming
All program memory
All program memory
All program memory
Memory Location
Unprotected areas
Unprotected areas
Unprotected areas
Unprotected areas
Protected areas
Protected areas
Protected areas
Protected areas
EEPROM Data Register, High Byte
Bit 5
T0IE
EEPROM Address, High Byte
INTE
Bit 4
the
WRERR
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
RBIF
Bit 0
RD
 2003 Microchip Technology Inc.
ICSP Read ICSP Write
0000 000x 0000 000u
xxxx xxxx uuuu uuuu
xxxx xxxx uuuu uuuu
xxxx xxxx uuuu uuuu
xxxx xxxx uuuu uuuu
x--- x000 x--- u000
POR, BOR
Value on:
Yes
Yes
Yes
Yes
Yes
Yes
No
No
No
No
No
Value on
RESETS
all other
Yes
Yes
No
No
No
No
No
No
No
No
No

Related parts for PIC16F870-I/SP