herunterladen
© 2007 Microchip Technology Inc. Preliminary DS41227E-page 1
PIC12F508/509
This document includes the
programming specifications for the
following devices:
•PIC12F508
•PIC12F509
1.0 PROGRAMMING THE
PIC12F508/509
The PIC12F508/509 is programmed using a serial
method. The Serial mode will allow the PIC12F508/509
to be programmed while in the user’s system. This
allows for increased design flexibility. This
programming specification applies to PIC12F508/509
devices in all packages.
1.1 Hardware Requirements
The PIC12F508/509 requires one power supply for
V
DD (5.0V) and one for VPP (12V).
1.2 Program/Verify Mode
The Program/Verify mode for the PIC12F508/509
allows programming of user program memory, user ID
locations, backup OSCCAL location and the Configura-
tion Word.
Pin Diagrams
TABLE 1-1: PIN DESCRIPTIONS (DURING PROGRAMMING): PIC12F508/509
PDIP, SOIC, MSOP
VDD
GP5/OSC1/CLKIN
GP4/OSC2
GP3/MCLR
/VPP
1
2
3
4
VSS
GP0/ICSPDAT
8
7
6
5
PIC12F508/509
GP1/ICSPCLK
GP2/T0CKI
Pin Name
During Programming
Function Pin Type Pin Description
GP1 ICSPCLK I Clock input – Schmitt Trigger input
GP0 ICSPDAT I/O Data input/output – Schmitt Trigger input
MCLR
/VPP Program/Verify mode P
(1)
Programming Power
V
DD VDD P Power Supply
VSS VSS P Ground
Legend: I = Input, O = Output, P = Power
Note 1: In the PIC12F508/509, the programming high voltage is internally generated. To activate the Program/
Verify mode, high voltage of I
IHH current capability (see Table 6-1) needs to be applied to the MCLR input.
Memory Programming Specification
Verzeichnis