PIC16F887-I/PT Microchip Technology Inc., PIC16F887-I/PT Datasheet - Page 225

no-image

PIC16F887-I/PT

Manufacturer Part Number
PIC16F887-I/PT
Description
MCU, 8-Bit, 8KW Flash, 368 RAM, 36 I/O, TQFP-44
Manufacturer
Microchip Technology Inc.
Datasheet

Specifications of PIC16F887-I/PT

A/d Inputs
14-Channel, 10-Bit
Comparators
2
Cpu Speed
5 MIPS
Eeprom Memory
256 Bytes
Frequency
20 MHz
Input Output
35
Interface
I2C/SPI/USART
Memory Type
Flash
Number Of Bits
8
Package Type
44-pin TFQP
Programmable Memory
14K Bytes
Ram Size
368 Bytes
Resistance, Drain To Source On
Bytes
Serial Interface
MSSP or EUSART
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:
PIC16F887-I/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
PIC16F887-I/PT
Manufacturer:
Microchip
Quantity:
600
Part Number:
PIC16F887-I/PT
0
Company:
Part Number:
PIC16F887-I/PT
Quantity:
1 600
Company:
Part Number:
PIC16F887-I/PT
Quantity:
6 400
Company:
Part Number:
PIC16F887-I/PT
Quantity:
3 200
FIGURE 14-10:
14.7
If
programmed, the on-chip program memory can be
read out using ICSP
14.8
Four memory locations (2000h-2003h) are designated
as ID locations where the user can store checksum or
other code identification numbers. These locations are
not accessible during normal execution but are readable
and writable during Program/Verify mode. Only the
Least Significant 7 bits of the ID locations are used.
14.9
The PIC16F882/883/884/886/887 microcontrollers can
be serially programmed while in the end application cir-
cuit. This is simply done with two lines for clock and
data and three other lines for:
• power
• ground
• programming voltage
This allows customers to manufacture boards with
unprogrammed devices and then program the micro-
controller just before shipping the product. This also
allows the most recent firmware or a custom firmware
to be programmed.
© 2007 Microchip Technology Inc.
Instruction Flow
(INTCON<1>)
(INTCON<7>)
Note:
INTF flag
GIE bit
Instruction
Fetched
Instruction
Executed
the
CLKOUT
Note 1:
INT pin
OSC1
Code Protection
ID Locations
In-Circuit Serial Programming™
code
PC
2:
3:
4:
(4)
The entire data EEPROM and Flash
program memory will be erased when the
code protection is switched from on to off.
See the “PIC16F88X Memory Programming
Specification”
information.
XT, HS or LP Oscillator mode assumed.
T
GIE = 1 assumed. In this case after wake-up, the processor jumps to 0004h. If GIE = 0, execution will continue in-line.
CLKOUT is not available in XT, HS, LP or EC Oscillator modes, but shown here for timing reference.
Q1 Q2 Q3 Q4 Q1 Q2 Q3 Q4 Q1
Inst(PC) = Sleep
OST
protection
Inst(PC – 1)
= 1024 T
PC
WAKE-UP FROM SLEEP THROUGH INTERRUPT
for verification purposes.
OSC
(DS41287)
(drawing not to scale). This delay does not apply to EC and RC Oscillator modes.
bit(s)
Inst(PC + 1)
Sleep
PC + 1
have
for
Processor in
not
Sleep
PIC16F882/883/884/886/887
more
PC + 2
been
Preliminary
T
OST (2)
Q1 Q2 Q3 Q4 Q1 Q2 Q3 Q4 Q1 Q2 Q3 Q4 Q1 Q2 Q3 Q4
Interrupt Latency
Inst(PC + 2)
Inst(PC + 1)
The device is placed into a Program/Verify mode by
holding the RB6/ICSPCLK and RB7/ICSPDAT pins low,
while raising the MCLR (V
the “PIC16F88X Memory Programming Specification”
(DS41287) for more information. RB7 becomes the
programming data and RB0 becomes the programming
clock. Both RB7 and RB0 are Schmitt Trigger inputs in
this mode.
After Reset, to place the device into Program/Verify
mode, the Program Counter (PC) is at location 00h. A
6-bit command is then supplied to the device.
Depending on the command, 14 bits of program data
are then supplied to or from the device, depending on
whether the command was a Load or a Read. For
complete details of serial programming, please refer to
the “PIC16F88X Memory Programming Specification”
(DS41287).
A typical In-Circuit Serial Programming connection is
shown in Figure 14-11.
PC + 2
(3)
Dummy Cycle
PC + 2
Dummy Cycle
PP
Inst(0004h)
0004h
) pin from V
DS41291D-page 223
IL
Inst(0005h)
Inst(0004h)
0005h
to V
IHH
. See

Related parts for PIC16F887-I/PT