下载
© 2007 Microchip Technology Inc. Preliminary DS41196G-page 1
PIC16F627A/628A/648A
This document includes the
programming specifications for the
following devices:
• PIC16F627A
• PIC16F628A
• PIC16F648A
• PIC16LF627A
• PIC16LF628A
• PIC16LF648A
1.0 PROGRAMMING THE
PIC16F627A/628A/648A
The PIC16F627A/628A/648A is programmed using a
serial method. The Serial mode will allow the
PIC16F627A/628A/648A to be programmed while in
the user’s system. This allows for increased design
flexibility. This programming specification applies to
PIC16F627A/628A/648A devices in all packages.
1.1 Hardware Requirements
The PIC16F627A/628A/648A requires one program-
mable power supply for V
DD (2.0V to 5.5V) and a VPP
of 12V to 14V, or VPP of 4.5V to 5.5V, when using low
voltage. Both supplies should have a minimum
resolution of 0.25V.
1.2 Programming Mode
The Programming mode for the
PIC16F627A/628A/648A allows programming of user
program memory, data memory, special locations used
for ID, and the Configuration Word.
FIGURE 1-1: PIN DIAGRAM
Note: All references to PIC16F627A/628A/648A
also apply to PIC16LF62XA devices.
PDIP, SOIC
RA2/AN2/VREF
RA3/AN3/CMP1
RA4/T0CKI/CMP2
RA5/MCLR
/VPP
VSS
RB0/INT
RB1/RX/DT
RB2/TX/CK
RB3/CCP1
RA1/AN1
RA0/AN0
RA7/OSC1/CLKIN
RA6/OSC2/CLKOUT
V
DD
RB7/DATA/T1OSI
RB6/CLOCK/T1OSO/T1CKI
RB5
RB4/PGM
• 1
2
3
4
5
7
8
9
18
17
16
15
14
12
11
10
613
PIC16F627A/628A/648A
RA2/AN2/VREF
RA3/AN3/CMP1
RA4/T0CKI/CMP2
RA5/MCLR
/VPP
VSS
RB0/INT
RB1/RX/DT
RB2/TX/CK
RB3/CCP1
RA1/AN1
RA0/AN0
RA7/OSC1/CLKIN
RA6/OSC2/CLKOUT
V
DD
RB7/DATA/T1OSI
RB6/CLOCK/T1OSO/T1CKI
RB5
RB4/PGM
• 1
2
3
4
5
7
8
9
18
17
16
15
14
12
11
10
6
13
VDD
VSS
19
20
SSOP
PIC16F627A/628A/648A
PIC16F627A/628A/648A EEPROM Memory
Programming Specification