PIC16F886-E/SS Microchip Technology, PIC16F886-E/SS Datasheet - Page 11
![no-image](/images/manufacturer_photos/0/4/439/microchip_technology_sml.jpg)
PIC16F886-E/SS
Manufacturer Part Number
PIC16F886-E/SS
Description
IC,MICROCONTROLLER,8-BIT,PIC CPU,CMOS,SSOP,28PIN,PLASTIC
Manufacturer
Microchip Technology
Series
PIC® 16Fr
Datasheets
1.PIC16F616T-ISL.pdf
(8 pages)
2.MCP1631RD-MCC2.pdf
(328 pages)
3.PIC16F882-ISS.pdf
(16 pages)
4.PIC16F882-ISS.pdf
(36 pages)
Specifications of PIC16F886-E/SS
Rohs Compliant
YES
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
24
Program Memory Size
14KB (8K x 14)
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 11x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 125°C
Package / Case
28-SSOP
Processor Series
PIC16F
Core
PIC
Data Bus Width
8 bit
Data Ram Size
368 B
Interface Type
MSSP, EUSART
Maximum Clock Frequency
20 MHz
Number Of Programmable I/os
24
Number Of Timers
3
Maximum Operating Temperature
+ 125 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, DM164123, DM164120-3, DV164122
Minimum Operating Temperature
- 40 C
On-chip Adc
10 bit, 11 Channel
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With
DM164123 - KIT MANAGEMENT SYSTEM PICDEM
Lead Free Status / Rohs Status
Details
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