PIC16F883 Microchip Technology Inc., PIC16F883 Datasheet - Page 225

no-image

PIC16F883

Manufacturer Part Number
PIC16F883
Description
28/40/44-pin Flash-based, 8-bit Cmos Microcontrollers With Nanowatt Technology
Manufacturer
Microchip Technology Inc.
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC16F883
Manufacturer:
台湾明智类比
Quantity:
20 000
Part Number:
PIC16F883-I/ML
Manufacturer:
MICROCHIP
Quantity:
1 200
Part Number:
PIC16F883-I/SO
Manufacturer:
MICROCHIP
Quantity:
8 820
Part Number:
PIC16F883-I/SO
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
PIC16F883-I/SO
0
Company:
Part Number:
PIC16F883-I/SO
Quantity:
27
Part Number:
PIC16F883-I/SP
Manufacturer:
MICROCHIP
Quantity:
3 000
Part Number:
PIC16F883-I/SP
Manufacturer:
MICROCHIP
Quantity:
18
Part Number:
PIC16F883-I/SP
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
PIC16F883-I/SP
0
Part Number:
PIC16F883-I/SS
Manufacturer:
ALPS
Quantity:
12 000
Part Number:
PIC16F883-I/SS
Manufacturer:
MICRPCHIP/PBF
Quantity:
197
Part Number:
PIC16F883-I/SS
Manufacturer:
MICROCHIP
Quantity:
8 000
Part Number:
PIC16F883-I/SS
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
PIC16F883-I/SS
0
Company:
Part Number:
PIC16F883-I/SS
Quantity:
15 000
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 PIC16F883