English
Language : 

PIC16F628-20P Datasheet, PDF (29/170 Pages) Microchip Technology – FLASH-Based 8-Bit CMOS Microcontroller
PIC16F62X
4.0 GENERAL DESCRIPTION
The PIC16F62X are 18-Pin FLASH-based members of
the versatile PIC16CXX family of low cost, high perfor-
mance, CMOS, fully static, 8-bit microcontrollers.
All PICmicro® microcontrollers employ an advanced
RISC architecture. The PIC16F62X 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.
Additionally, a large register set gives some of the
architectural innovations used to achieve a very high
performance.
PIC16F62X microcontrollers typically achieve a 2:1
code compression and a 4:1 speed improvement over
other 8-bit microcontrollers in their class.
PIC16F62X devices have special features to reduce
external components, thus reducing system cost,
enhancing system reliability and reducing power con-
sumption.
The PIC16F62X has eight oscillator configurations.
The single pin ER oscillator provides a low cost solu-
tion. The LP oscillator minimizes power consumption,
XT is a standard crystal, INTRC is a self-contained
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.
The user can wake-up the chip from SLEEP through
several 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 4-1 shows the features of the PIC16F62X mid-
range microcontroller families.
A simplified block diagram of the PIC16F62X is shown
in Figure 2.1.
The PIC16F62X series fits in applications ranging from
battery chargers to low power remote sensors. The
FLASH technology makes customization of application
programs (detection levels, pulse generation, timers,
etc.) extremely fast and convenient. The small footprint
packages make 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 PIC16F62X very versatile.
4.1 Development Support
The PIC16F62X family is supported by a full featured
macro assembler, a software simulator, an in-circuit
emulator, a low cost development programmer and a
full-featured programmer. A Third Party “C” compiler
support tool is also available.
TABLE 4-1: PIC16F62X FAMILY OF DEVICES
PIC16F627
PIC16F628
PIC16LF627
PIC16LF628
Clock
Maximum Frequency of Operation
20
20
4
4
(MHz)
FLASH Program Memory (words)
1024
2048
1024
2048
Memory
RAM Data Memory (bytes)
224
224
224
224
EEPROM Data Memory (bytes)
128
128
128
128
Timer Module(s)
TMR0, TMR1, TMR2 TMR0, TMR1, TMR2 TMR0, TMR1, TMR2 TMR0, TMR1, TMR2
Comparator(s)
2
2
2
2
Peripherals
Capture/Compare/PWM modules
1
1
1
1
Serial Communications
USART
USART
USART
USART
Internal Voltage Reference
Yes
Yes
Yes
Yes
Interrupt Sources
10
10
10
10
I/O Pins
16
16
16
16
Features
Voltage Range (Volts)
3.0-5.5
3.0-5.5
2.0-5.5
2.0-5.5
Brown-out Detect
Yes
Yes
Yes
Yes
Packages
18-pin DIP, SOIC,
20-pin SSOP
18-pin DIP, SOIC,
20-pin SSOP
18-pin DIP, SOIC,
20-pin SSOP
18-pin DIP, SOIC,
20-pin SSOP
All PICmicro® Family devices have Power-on Reset, selectable Watchdog Timer, selectable code protect and high I/O current capability. All
PIC16F62X Family devices use serial programming with clock pin RB6 and data pin RB7.
 2003 Microchip Technology Inc.
Preliminary
DS40300C-page 27