herunterladen
2010 Microchip Technology Inc. DS41397B-page 1
PIC16F193X/LF193X/
PIC16F194X/LF194X/
PIC16LF190X
This document includes the
programming specifications for the
following devices:
1.0 OVERVIEW
The device can be programmed using either the high-
voltage In-Circuit Serial Programming™ (ICSP™)
method or the low-voltage ICSP method.
1.1 Hardware Requirements
1.1.1 HIGH-VOLTAGE ICSP
PROGRAMMING
In High-Voltage ICSP mode, the device requires two
programmable power supplies: one for V
DD and one for
the MCLR
/VPP pin.
1.1.2 LOW-VOLTAGE ICSP
PROGRAMMING
In Low-Voltage ICSP mode, the PIC16F193X/194X
and PIC16LF193X/194X/190X devices can be
programmed using a single V
DD source in the
operating range. The MCLR
/VPP pin does not have to
be brought to a different voltage, but can instead be left
at the normal operating voltage.
1.1.2.1 Single-Supply ICSP Programming
The LVP bit in Configuration Word 2 enables single-
supply (low-voltage) ICSP programming. The LVP bit
defaults to a ‘1’ (enabled) from the factory. The LVP bit
may only be programmed to ‘0’ by entering the High-
Voltage ICSP mode, where MCLR/VPP pin is raised to
V
IHH. Once the LVP bit is programmed to a ‘0’, only the
High-Voltage ICSP mode is available and only the
High-Voltage ICSP mode can be used to program the
device.
1.2 Pin Utilization
Five pins are needed for ICSP programming. The pins
are listed in Tabl e 1 - 1 and Tab le 1 -2.
TABLE 1-1: PIN DESCRIPTIONS DURING PROGRAMMING FOR PIC16F193X/LF193X/LF190X
• PIC16F1933 • PIC16F1934 • PIC16F1936
• PIC16F1937 • PIC16F1938 • PIC16F1939
• PIC16F1946 • PIC16F1947 • PIC16LF1902
• PIC16LF1903 • PIC16LF1904 • PIC16LF1906
• PIC16LF1907 • PIC16LF1933 • PIC16LF1934
• PIC16LF1936 • PIC16LF1937 • PIC16LF1938
• PIC16LF1939 • PIC16LF1946 • PIC16LF1947
Note 1: The High-Voltage ICSP mode is always
available, regardless of the state of the
LVP bit, by applying V
IHH to the MCLR/
V
PP pin.
2: While in Low-Voltage ICSP mode, MCLR
is always enabled, regardless of the
MCLRE bit, and the port pin can no lon-
ger be used as a general purpose input.
Pin Name
During Programming
Function Pin Type Pin Description
RB6 ICSPCLK I Clock Input – Schmitt Trigger Input
RB7 ICSPDAT I/O Data Input/Output – Schmitt Trigger Input
RE3/MCLR
/VPP Program/Verify mode P
(1)
Program Mode Select/Programming Power Supply
VDD VDD P Power Supply
V
SS VSS P Ground
Legend: I = Input, O = Output, P = Power
Note 1: The programming high voltage is internally generated. To activate the Program/Verify mode, high voltage
needs to be applied to MCLR input. Since the MCLR is used for a level source, MCLR does not draw any
significant current.
PIC16F193X/LF193X/PIC16F194X/LF194X/PIC16LF190X
Memory Programming Specification
Verzeichnis