herunterladen
© 2009 Microchip Technology Inc. DS39643C-page 1
PIC18F872X FAMILY
1.0 DEVICE OVERVIEW
This document includes the programming specifications
for the following devices:
2.0 PROGRAMMING OVERVIEW
The PIC18F872X family of devices can be pro-
grammed 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 applica-
ble. This programming specification applies to the
PIC18F872X family of devices in all package types.
2.1 Hardware Requirements
In High-Voltage ICSP mode, the PIC18F872X family
requires two programmable power supplies; one for
V
DD and one for MCLR/VPP/RG5. Both supplies should
have a minimum resolution of 0.25V. Refer to
Section 6.0 “AC/DC Characteristics Timing
Requirements for Program/Verify Test Mode” for
additional hardware parameters.
2.1.1 LOW-VOLTAGE ICSP™
PROGRAMMING
In Low-Voltage ICSP mode, the PIC18F872X family
can be programmed using a V
DD source in the operat-
ing range. The MCLR
/VPP/RG5 does not have to be
brought to a different voltage, but can instead be left at
the normal operating voltage. Refer to Section 6.0
“AC/DC Characteristics Timing Requirements for
Program/Verify Test Mode” for additional hardware
parameters.
2.2 Pin Diagrams
The pin diagrams for the PIC18F872X family are
shown in Figure 2-1 and Figure 2-2.
TABLE 2-1: PIN DESCRIPTIONS (DURING PROGRAMMING): PIC18F872X FAMILY
• PIC18F6527 • PIC18F8527
• PIC18F6622 • PIC18F8622
• PIC18F6627 • PIC18F8627
• PIC18F6628 • PIC18F8628
• PIC18F6722 • PIC18F8722
• PIC18F6723 • PIC18F8723
Pin Name
During Programming
Pin Name Pin Type Pin Description
MCLR
/VPP/RG5 VPP P Programming Enable
VDD
(1)
VDD P Power Supply
V
SS
(1)
VSS P Ground
AV
DD AVDD P Analog Power Supply
AVSS AVSS P Analog Ground
RB5 PGM I Low-Voltage ICSP™ Input when LVP
Configuration bit equals ‘1’
(2)
RB6 PGC I Serial Clock
RB7 PGD I/O Serial Data
Legend: I = Input, O = Output, P = Power
Note 1: All power supply (V
DD) and ground (VSS) pins must be connected.
2: See Table 5-1 for more information.
Flash Microcontroller Programming Specification
Verzeichnis