PIC16F627-04/SO Microchip Technology Inc., PIC16F627-04/SO Datasheet - Page 108

no-image

PIC16F627-04/SO

Manufacturer Part Number
PIC16F627-04/SO
Description
18 PIN, 1.75 KB FLASH, 224 RAM, 16 I/O
Manufacturer
Microchip Technology Inc.
Datasheet

Specifications of PIC16F627-04/SO

Comparators
2
Cpu Speed
5 MIPS
Eeprom Memory
128 Bytes
Input Output
16
Interface
SCI/USART
Memory Type
Flash
Number Of Bits
8
Package Type
18-pin SOIC
Programmable Memory
1.75K Bytes
Ram Size
224 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:
PIC16F627-04/SO
Manufacturer:
MIC
Quantity:
933
Part Number:
PIC16F627-04/SO
Manufacturer:
MICROCHI
Quantity:
20 000
PIC16F62X
14.12 In-Circuit Serial Programming
The PIC16F62X microcontrollers can be serially
programmed while in the end application circuit. This is
simply done with two lines for clock and data, and three
other lines for power, ground, and the programming
voltage. This allows customers to manufacture boards
with unprogrammed devices, and then program the
microcontroller just before shipping the product. This
also allows the most recent firmware, or a custom
firmware to be programmed.
The device is placed into a Program/Verify mode by
holding the RB6 and RB7 pins low while raising the
MCLR (V
specification). RB6 becomes the programming clock
and RB7 becomes the programming data. Both RB6
and RB7 are Schmitt Trigger inputs in this mode.
After RESET, to place the device into Programming/
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 if
the command was a load or a read. For complete
details of serial programming, please refer to the
Programming Specifications.
A typical in-circuit serial programming connection is
shown in Figure 14-18.
FIGURE 14-18:
DS40300C-page 106
External
Connector
Signals
Data I/O
CLK
+5V
V
0V
PP
PP
) pin from V
To Normal
Connections
To Normal
Connections
TYPICAL IN-CIRCUIT
SERIAL PROGRAMMING
CONNECTION
IL
to V
IHH
(see programming
V
V
RA5/MCLR/V
RB6/PGC
RB7/PGD
V
PIC16F62X
DD
DD
SS
PP
Preliminary
14.13 Low Voltage Programming
The LVP bit of the configuration word, enables the low
voltage programming. This mode allows the microcon-
troller to be programmed via ICSP using only a 5V
source. This mode removes the requirement of V
be placed on the MCLR pin. The LVP bit is normally
erased to '1', which enables the low voltage program-
ming. In this mode, the RB4/PGM pin is dedicated to
the programming function and ceases to be a general
purpose I/O pin. The device will enter Programming
mode when a '1' is placed on the RB4/PGM pin. The
HV Programming mode is still available by placing V
on the MCLR pin.
If Low voltage Programming mode is not used, the LVP
bit can be programmed to a '0', and RB4/PGM
becomes a digital I/O pin. To program the device, V
must be placed onto MCLR during programming. The
LVP bit may only be programmed when programming
is entered with V
programmed when programming is entered with RB4/
PGM.
It should be noted, that once the LVP bit is programmed
to 0, High voltage Programming mode can be used to
program the device.
Note 1: While in this mode, the RB4 pin can no
2: V
longer be used as a general purpose I/O
pin.
program operations while in low voltage
Programming mode.
DD
IHH
must be 5.0V +10% during erase/
on MCLR. The LVP bit cannot be
 2003 Microchip Technology Inc.
IHH
IHH
IHH
to

Related parts for PIC16F627-04/SO