PIC16F887-E/P Microchip Technology, PIC16F887-E/P Datasheet - Page 11

IC PIC MCU FLASH 8KX14 40DIP

PIC16F887-E/P

Manufacturer Part Number
PIC16F887-E/P
Description
IC PIC MCU FLASH 8KX14 40DIP
Manufacturer
Microchip Technology
Series
PIC® 16Fr

Specifications of PIC16F887-E/P

Core Size
8-Bit
Program Memory Size
14KB (8K x 14)
Mfg Application Notes
Intro to Capacitive Sensing Appl Notes Layout and Physical Design Appl Note
Core Processor
PIC
Speed
20MHz
Connectivity
I²C, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
35
Program Memory Type
FLASH
Eeprom Size
256 x 8
Ram Size
368 x 8
Voltage - Supply (vcc/vdd)
2 V ~ 5.5 V
Data Converters
A/D 14x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 125°C
Package / Case
40-DIP (0.600", 15.24mm)
Controller Family/series
PIC16F
No. Of I/o's
35
Eeprom Memory Size
256Byte
Ram Memory Size
368Byte
Cpu Speed
20MHz
No. Of Timers
3
Package
40PDIP
Device Core
PIC
Family Name
PIC16
Maximum Speed
20 MHz
Operating Supply Voltage
2.5|3.3|5 V
Data Bus Width
8 Bit
Number Of Programmable I/os
35
Interface Type
I2C/SPI/USART
On-chip Adc
14-chx10-bit
Number Of Timers
3
Processor Series
PIC16F
Core
PIC
Data Ram Size
368 B
Maximum Clock Frequency
20 MHz
Maximum Operating Temperature
+ 125 C
Mounting Style
Through Hole
3rd Party Development Tools
52715-96, 52716-328, 52717-734, 53273-916
Development Tools By Supplier
PG164130, DV164035, DV244005, DV164005, PG164120, ICE2000, DM164123, DM164120-3, DV164122
Minimum Operating Temperature
- 40 C
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With
DVA18XP400 - DEVICE ADAPTER 18F4220 PDIP 40LD
Lead Free Status / Rohs Status
 Details

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC16F887-E/P
Manufacturer:
TI
Quantity:
12 000
Part Number:
PIC16F887-E/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
3.1
The Low-Voltage ICSP Programming mode allows the
PIC16F88X devices to be programmed using V
However,
Configuration bit (LVP), the PIC16F88X device
dedicates RB3 to control entry/exit into Programming
mode. When LVP bit is set to ‘1’, the low-voltage ICSP
programming entry is enabled. Since the LVP
Configuration
programming entry in its erased state, an erased
device will have the LVP bit enabled at the factory.
While LVP is ‘1’, RB3 is dedicated to low-voltage ICSP
programming. Bring RB3 and then MCLR to V
enter Programming mode. All other specifications for
high-voltage ICSP apply. To disable the Low-Voltage
ICSP mode, the LVP bit must be programmed to ‘0’.
This must be done while entered in the High-Voltage
Entry mode (LVP bit = ‘1’). RB3 is now a general
purpose I/O pin.
3.2
The PIC16F88X devices’ program memory may be
written in three ways. The PIC16F882/883/884 uses
one-word and four-word writes. The PIC16F886/887
uses one-word, four-word and eight-word writes. The
four-word or eight-word algorithm is used to program
the program memory only. The one-word algorithm can
write any available memory location (i.e., program
memory, configuration memory and data memory).
After writing the array, the PC may be reset and read
back to verify the write. It is not possible to verify
immediately following the write because the PC can
only increment, not decrement.
A device Reset will clear the PC and set the address to
‘0’. The Increment Address command will increment
the PC. The Load Configuration command will set the
PC to 0x2000. The available commands are shown in
Table 3-1.
3.2.1
Only the program memory on PIC16F886/887 can be
written using this algorithm. Data and configuration
memory
programming agorithm (Section 3.2.3 “One-Word
Programming”).
This algorithm writes eight sequential addresses in
program memory. The eight addresses must point to an
eight-word block with addresses modulo 8 of 0, 1, 2, 3,
4, 5, 6 and 7. For example, programming address 8
through
Programming addresses 2 through 9 will create an
unexpected result.
 2009 Microchip Technology Inc.
Low-Voltage ICSP™ Mode
Program/Erase Algorithms
15
(>0x2000)
when
EIGHT-WORD PROGRAMMING
can
bit
this
allows
be
must
mode
programmed
use
is
low-voltage
enabled
the
one-word
together.
DD
by
DD
ICSP
only.
to
a
The sequence for programming eight words of program
memory at a time is as follows:
1.
2.
3.
4.
5.
6.
7.
8.
9.
See Figure 3-18 for more information.
3.2.2
Four-word programming can be used on all devices in
the PIC16F88X family. Only the program memory can
be written using this algorithm. Data and configuration
memory
programming algorithm (Section 3.2.3 “One-Word
Programming”).
This algorithm writes four sequential addresses in
program memory. The four addresses must point to a
four-word block with addresses modulo 4 of 0, 1, 2 and
3. For example, programming address 4 through 7 can
be programmed together. Programming addresses 2
through 5 will create an unexpected result.
The sequence for programming four words of program
memory at a time is as follows:
1.
2.
3.
4.
5.
6.
7.
8.
9.
See Figure 3-17 for more information.
Load a word at the current program memory
address using Load Data for Program Memory
command.
Issue an Increment Address command.
Load a word at the current program memory
address using Load Data for Program Memory
command.
Repeat Step 2 and Step 3 six times.
Issue a Begin Programming command either
internally or externally timed.
Wait T
(externally timed).
Issue End Programming if externally timed.
Issue an Increment Address command.
Repeat this sequence as required to write
program memory.
Load a word at the current program memory
address using Load Data for Program Memory
command.
Issue an Increment Address command.
Load a word at the current program memory
address using Load Data for Program Memory
command.
Repeat Step 2 and Step 3 two times.
Issue a Begin Programming command either
internally or externally timed.
Wait T
(externally timed).
Issue End Programming if externally timed.
Issue an Increment Address command.
Repeat this sequence as required to write
program memory.
(>0x2000)
FOUR-WORD PROGRAMMING
PROG
PROG
1 (internally timed) or T
1 (internally timed) or T
must
PIC16F88X
use
DS41287D-page 11
the
one-word
PROG
PROG
2
2

Related parts for PIC16F887-E/P