Datasheet

Table Of Contents
2002 Microchip Technology Inc. Preliminary DS40044A-page 5
PIC16F627A/628A/648A
1.0 GENERAL DESCRIPTION
The PIC16F627A/628A/648A are 18-Pin FLASH-
based members of the versatile PIC16CXX family of
low cost, high performance, CMOS, fully-static, 8-bit
microcontrollers.
All PICmicro
®
microcontrollers employ an advanced
RISC architecture. The PIC16F627A/628A/648A have
enhanced core features, eight-level deep stack, and
multiple internal and external interrupt sources. The
separate instruction and data buses of the Harvard
architecture allow a 14-bit wide instruction word with
the separate 8-bit wide data. The two-stage instruction
pipeline allows all instructions to execute in a single-
cycle, except for program branches (which require two
cycles). A total of 35 instructions (reduced instruction
set) are available, complemented by a large register
set.
PIC16F627A/628A/648A microcontrollers typically
achieve a 2:1 code compression and a 4:1 speed
improvement over other 8-bit microcontrollers in their
class.
PIC16F627A/628A/648A devices have integrated fea-
tures to reduce external components, thus reducing
system cost, enhancing system reliability and reducing
power consumption.
The PIC16F627A/628A/648A has 8 oscillator configu-
rations. The single-pin RC oscillator provides a low cost
solution. The LP oscillator minimizes power consump-
tion, XT is a standard crystal, and INTOSC is a self-
contained precision two-speed internal oscillator. The
HS is for High-Speed crystals. The EC mode is for an
external clock source.
The SLEEP (Power-down) mode offers power savings.
Users can wake-up the chip from SLEEP through sev-
eral external interrupts, internal interrupts and
RESETS.
A highly reliable Watchdog Timer with its own on-chip
RC oscillator provides protection against software lock-
up.
Table 1-1 shows the features of the PIC16F627A/
628A/648A mid-range microcontroller families.
A simplified block diagram of the PIC16F627A/628A/
648A is shown in Figure 3-1.
The PIC16F627A/628A/648A series fits in applications
ranging from battery chargers to low power remote
sensors. The FLASH technology makes customizing
application programs (detection levels, pulse genera-
tion, timers, etc.) extremely fast and convenient. The
small footprint packages makes this microcontroller
series ideal for all applications with space limitations.
Low cost, low power, high performance, ease of use
and I/O flexibility make the PIC16F627A/628A/648A
very versatile.
1.1 Development Support
The PIC16F627A/628A/648A family is supported by a
full-featured macro assembler, a software simulator, an
in-circuit emulator, a low cost in-circuit debugger, a low
cost development programmer and a full-featured pro-
grammer. A Third Party “C” compiler support tool is
also available.
TABLE 1-1: PIC16F627A/628A/648A FAMILY OF DEVICES
PIC16F627A PIC16F628A PIC16F648A PIC16LF627A PIC16LF628A PIC16LF648A
Clock Maximum Frequency
of Operation (MHz)
20 20 20 4 4 4
FLASH Program Mem-
ory (words)
1024 2048 4096 1024 2048 4096
Memory RAM Data Memory
(bytes)
224 224 256 224 224 256
EEPROM Data Mem-
ory (bytes)
128 128 256 128 128 256
Timer module(s) TMR0, TMR1,
TMR2
TMR0, TMR1,
TMR2
TMR0, TMR1,
TMR2
TMR0, TMR1,
TMR2
TMR0, TMR1,
TMR2
TMR0, TMR1,
TMR2
Comparator(s) 222222
Peripherals Capture/Compare/
PWM modules
111111
Serial Communications USART USART USART USART USART USART
Internal Voltage
Reference
Yes Yes Yes Yes Yes Yes
Interrupt Sources 10 10 10 10 10 10
I/O Pins 16 16 16 16 16 16
Features Voltage Range (Volts) 3.0-5.5 3.0-5.5 3.0-5.5 2.0-5.5 2.0-5.5 2.0-5.5
Brown-out Reset Yes Yes Yes Yes Yes Yes
Packages 18-pin DIP,
SOIC, 20-pin
SSOP,
28-pin QFN
18-pin DIP,
SOIC, 20-pin
SSOP,
28-pin QFN
18-pin DIP,
SOIC, 20-pin
SSOP,
28-pin QFN
18-pin DIP,
SOIC, 20-pin
SSOP,
28-pin QFN
18-pin DIP,
SOIC, 20-pin
SSOP,
28-pin QFN
18-pin DIP,
SOIC, 20-pin
SSOP,
28-pin QFN
All PICmicro® Family devices have Power-on Reset, selectable Watchdog Timer, selectable Code Protect and high I/O current capability.
All PIC16F627A/628A/648A Family devices use serial programming with clock pin RB6 and data pin RB7.