下载

© 2007 Microchip Technology Inc. Preliminary DS41208C-page 1
PIC16F57
This document includes the
programming specifications for the
following devices:
•PIC16F57
1.0 PROGRAMMING THE PIC16F57
The PIC16F57 is programmed using a serial method.
The Serial mode will allow the PIC16F57 to be
programmed while in the user’s system. This allows for
increased design flexibility. This programming
specification applies to PIC16F57 devices in all
packages.
1.1 Hardware Requirements
The PIC16F57 requires one power supply for VDD
(5.0V) and one for VPP (12V).
1.2 Program/Verify Mode
The Program/Verify mode for the PIC16F57 allows
programming of user program memory, special
locations used for ID, and the Configuration Word.
Pin Diagrams
TABLE 1-1: PIN DESCRIPTIONS (DURING PROGRAMMING): PIC16F57
28
27
26
25
24
23
22
21
20
19
18
17
16
15
•1
2
3
4
5
6
7
8
9
10
11
12
13
14
PDIP, SOIC
MCLR/VPP
OSC1/CLKIN
OSC2/CLKOUT
RC7
RC6
RC5
RC4
RC3
RC2
RC1
RC0
RB7/ICSPDAT
RB6/ICSPCLK
RB5
T0CKI
V
DD
VSS
RA0
RA1
RA2
RA3
RB0
RB1
RB2
RB3
RB4
•1
2
3
4
5
6
7
8
9
10
11
12
13
14
28
27
26
25
24
23
22
21
20
19
18
17
16
15
SSOP
VDD
VSS
T0CKI
V
DD
N/C
V
SS
N/C
RA0
RA1
RA2
RA3
RB0
RB1
RB2
RB3
RB4
MCLR
/VPP
OSC1/CLKIN
OSC2/CLKOUT
RC7
RC6
RC5
RC4
RC3
RC2
RC1
RC0
RB7/ICSPDAT
RB6/ICSPCLK
RB5
PIC16F57
PIC16F57
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
MCLR
/VPP Program/Verify mode P
(1)
Program Mode Select
VDD VDD P Power Supply
VSS VSS P Ground
Legend: I = Input, O = Output, P = Power
Note 1: In the PIC16F57, the programming high voltage is internally generated. To activate the Program/Verify
mode, high voltage of I
IHH current capability (see Table 5-1) needs to be applied to MCLR input.
Memory Programming Specification