© 2009 Microchip Technology Inc. Advance Information DS41357B-page 1
1.0 DEVICE OVERVIEW
This document includes the programming
specifications for the following devices:
2.0 PROGRAMMING OVERVIEW
The PIC18F1XK22/LF1XK22 devices can be
programmed using either the high-voltage In-Circuit
Serial Programming™ (ICSP™) method or the low-
voltage ICSP method. Both methods can be done with
the device in the users’ system. The low-voltage ICSP
method is slightly different than the high-voltage
method and these differences are noted where
applicable. The PIC18F1XK22 devices operate from
1.8 to 5.5 volts and the PIC18LF1XK22 devices
operate from 1.8 to 3.6 volts. All other aspects of the
PIC18F1XK22 with regards to the PIC18LF1XK22
devices are identical.
2.1 Hardware Requirements
In High-Voltage ICSP mode, the PIC18F1XK22/
LF1XK22 devices require two programmable power
supplies: one for V
DD and one for MCLR/VPP/RA3.
Both supplies should have a minimum resolution of
0.25V. Refer to Section 8.0 “AC/DC Characteristics
Timing Requirements for Program/Verify Test
Mode” for additional hardware parameters.
2.1.1 LOW-VOLTAGE ICSP
In Low-Voltage ICSP mode, the PIC18F1XK22/
LF1XK22 devices can be programmed using a single
DD source in the operating range. The MCLR/VPP/
RA3 does not have to be brought to a different voltage,
but can instead be left at the normal operating voltage.
Refer to Section 8.0 “AC/DC Characteristics Timing
Requirements for Program/Verify Test Mode” for
additional hardware parameters.
126.96.36.199 Single-Supply ICSP Programming
The LVP bit in Configuration register, CONFIG4L,
enables single-supply (low-voltage) ICSP
programming. The LVP bit defaults to a ‘1’ (enabled)
from the factory.
If Single-Supply Programming mode is not used, the
LVP bit can be programmed to a ‘0’ and RC3/PGM
becomes a digital I/O pin. However, the LVP bit may
only be programmed by entering the High-Voltage
ICSP mode, where MCLR
/VPP/RA3 is raised to VIHH.
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
• PIC18F13K22 • PIC18LF13K22
• PIC18F14K22 • PIC18LF14K22
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/
2: While in Low-Voltage ICSP mode, the
RC3 pin can no longer be used as a
Flash Memory Programming Specification