• All single cycle instructions (200 ns), except for
program branches which are two-cycle
• Operating speed:
- DC - 20 MHz clock input
- DC - 200 ns instruction cycle
Memory
Device
FLASH
Program
1024 x 14
2048 x 14
RAM
Data
224 x 8
224 x 8
EEPROM
Data
128 x 8
128 x 8
PIC16F627
PIC16F628
•
•
•
•
Interrupt capability
16 special function hardware registers
8-level deep hardware stack
Direct, Indirect and Relative addressing modes
Peripheral Features:
• 16 I/O pins with individual direction control
• High current sink/source for direct LED drive
• Analog comparator module with:
- Two analog comparators
- Programmable on-chip voltage reference
(V
REF
) module
- Programmable input multiplexing from device
inputs and internal voltage reference
- Comparator outputs are externally accessible
• Timer0: 8-bit timer/counter with 8-bit
programmable prescaler
• Timer1: 16-bit timer/counter with external crystal/
clock capability
• Timer2: 8-bit timer/counter with 8-bit period
register, prescaler and postscaler
• Capture, Compare, PWM (CCP) module
- Capture is 16-bit, max. resolution is 12.5 ns
- Compare is 16-bit, max. resolution is 200 ns
- PWM max. resolution is 10-bit
CMOS Technology:
• Low power, high speed CMOS FLASH technology
• Fully static design
• Wide operating voltage range
- PIC16F627 - 3.0V to 5.5V
- PIC16F628 - 3.0V to 5.5V
- PIC16LF627 - 2.0V to 5.5V
- PIC16LF628 - 2.0V to 5.5V
• Commercial, industrial and extended temperature
range
• Low power consumption
- < 2.0 mA @ 5.0V, 4.0 MHz
- 15
µA
typical @ 3.0V, 32 kHz
- < 1.0
µA
typical standby current @ 3.0V
2003 Microchip Technology Inc.
Preliminary
DS40300C-page 1
PIC16F62X
Pin Diagrams
PDIP, SOIC
RA2/AN2/V
REF
RA3/AN3/CMP1
RA4/TOCKI/CMP2
RA5/MCLR/V
PP
V
SS
RB0/INT
RB1/RX/DT
RB2/TX/CK
RB3/CCP1
•1
2
3
4
5
6
7
8
9
18
17
16
15
14
13
12
11
10
RA1/AN1
RA0/AN0
RA7/OSC1/CLKIN
RA6/OSC2/CLKOUT
V
DD
RB7/T1OSI/PGD
RB6/T1OSO/T1CKI/PGC
RB5
RB4/PGM
PIC16F62X
SSOP
RA2/AN2/V
REF
RA3/AN3/CMP1
RA4/TOCKI/CMP2
RA5/MCLR/V
PP
V
SS
V
SS
RB0/INT
RB1/RX/DT
RB2/TX/CK
RB3/CCP1
•1
2
3
4
5
6
7
8
9
10
20
19
18
17
16
15
14
13
12
11
RA1/AN1
RA0/AN0
RA7/OSC1/CLKIN
RA6/OSC2/CLKOUT
V
DD
V
DD
RB7/T1OSI/PGD
RB6/T1OSO/T1CKI/PGC
RB5
RB4/PGM
PIC16F62X
Device Differences
Device
Voltage
Range
Oscillator
Process
Technology
(Microns)
PIC16F627
3.0 - 5.5
(Note 1)
0.7
PIC16F628
3.0 - 5.5
(Note 1)
0.7
PIC16LF627
2.0 - 5.5
(Note 1)
0.7
PIC16LF628
2.0 - 5.5
(Note 1)
0.7
Note 1:
If you change from this device to another device, please verify oscillator characteristics in your
application.
DS40300C-page 2
Preliminary
2003 Microchip Technology Inc.
PIC16F62X
Table of Contents
1.0
2.0
3.0
4.0
5.0
6.0
7.0
8.0
9.0
10.0
11.0
12.0
13.0
14.0
15.0
16.0
17.0
18.0
19.0
General Description...................................................................................................................................................................... 5
Voltage Reference Module......................................................................................................................................................... 59
Data EEPROM Memory ............................................................................................................................................................. 87
Special Features of the CPU...................................................................................................................................................... 91
Instruction Set Summary .......................................................................................................................................................... 107
Development Support............................................................................................................................................................... 121
DC and AC Characteristics Graphs and Tables....................................................................................................................... 143