ENHANCED PIC16LV5X
EPROM-Based 8-Bit CMOS Microcontroller Series
Devices Included in this Data Sheet:
• PIC16LV54A
• PIC16LV58A
Pin Configurations
PDIP, SOIC, Windowed CERDIP
RA2
RA3
T0CKI
MCLR/V
PP
V
SS
RB0
RB1
RB2
RB3
•1
2
3
4
5
6
7
8
9
18
17
16
15
14
13
12
11
10
RA1
RA0
OSC1/CLKIN
OSC2/CLKOUT
V
DD
RB7
RB6
RB5
RB4
High-Performance RISC CPU:
• Only 33 single word instructions to learn
• All instructions are single cycle (2
µ
s) except for
program branches which are two-cycle
• Operating speed: DC - 2 MHz clock input
DC - 2
µ
s instruction cycle
Device
Pins
I/O
EPROM
RAM
PIC16LV54A
PIC16LV58A
PIC16LV54A
18
12
512
25
PIC16LV58A
18
12
2K
73
• 12-bit wide instructions
• 8-bit wide data path
• Seven special function hardware registers
• Two-level deep hardware stack
• Direct, indirect and relative addressing modes for
data and instructions
SSOP
RA2
RA3
T0CKI
MCLR/V
PP
V
SS
V
SS
RB0
RB1
RB2
RB3
•1
2
3
4
5
6
7
8
9
10
20
19
18
17
16
15
14
13
12
11
RA1
RA0
OSC1/CLKIN
OSC2/CLKOUT
V
DD
V
DD
RB7
RB6
RB5
RB4
PIC16LV54A
PIC16LV58A
Peripheral Features:
• 8-bit real time clock/counter (TMR0) with 8-bit
programmable prescaler
• Power-On Reset (POR)
• Device Reset Timer (DRT)
• Watchdog Timer (WDT) with its own on-chip RC
oscillator for reliable operation
• Programmable code-protection
• Power saving SLEEP mode
• Selectable oscillator options:
- RC:
Low-cost RC oscillator
- XT:
Standard crystal/resonator
- LP:
Power saving, low frequency crystal
CMOS Technology:
• Low-power, high-speed CMOS EPROM
technology
• Fully static design
• Wide-operating voltage range:
- EPROM Commercial/Industrial 2.0V to 3.8V
• Low-power consumption
- < 1 mA typical @ 3V, 2 MHz
- 10
µ
A typical @ 2V, 32 kHz
- < 0.6
µ
A typical standby current (with WDT
disabled) @ 3V, 0
°
C to 70
°
C
©
1996 Microchip Technology Inc.
Advanced Information
This document was created with FrameMaker 4 0 4
DS40121A-page 1
Enhanced PIC16LV5X
1.0
GENERAL DESCRIPTION
1.1
Applications
The Enhanced PIC16LV5X from Microchip Technology
is a family of low-cost, high performance, 8-bit, fully
static, EPROM-based CMOS microcontrollers. This
family is pin and software compatible with the
PIC16LV5X family of devices in a new enhanced
process technology. It employs a RISC architecture
with only 33 single word/single cycle instructions. All
instructions are single cycle (2
µ
s) except for program
branches which take two cycles. The Enhanced
PIC16LV5X delivers performance an order of magni-
tude higher than its competitors in the same price cat-
egory. The 12-bit wide instructions are highly
symmetrical resulting in 2:1 code compression over
other 8-bit microcontrollers in its class. The easy to use
and easy to remember instruction set reduces
development time significantly.
The Enhanced PIC16LV5X products are equipped with
special features that reduce system cost and power
requirements. The Power-On Reset (POR) and Device
Reset Timer (DRT) eliminate the need for external
reset circuitry. There are three oscillator configurations
to choose from, including the power-saving LP (Low
Power) oscillator and cost saving RC oscillator. Power
saving SLEEP mode, Watchdog Timer and code
protection features improve system cost, power and
reliability.
The UV erasable CERDIP packaged versions are ideal
for code development, while the cost-effective
One-Time-Programmable (OTP) versions are suitable
for production in any volume. The customer can take
full advantage of Microchip’s price leadership in OTP
microcontrollers while benefiting from the OTP’s
flexibility.
The Enhanced PIC16LV5X products are supported by
a full-featured macro assembler, a software simulator,
an in-circuit emulator, a ‘C’ compiler, fuzzy logic sup-
port tools, a low-cost development programmer, and a
full featured programmer. All the tools are supported on
IBM
®
PC and compatible machines.
The Enhanced PIC16LV5X series fits perfectly in appli-
cations such as low-power remote transmitters/receiv-
ers and pointing devices. The EPROM technology
makes customizing application programs (transmitter
codes, receiver frequencies, etc.) extremely fast and
convenient. The small footprint packages, for through
hole or surface mounting, make this microcontroller
series perfect for applications with space limitations.
Low-cost, low-power, high performance, ease of use
and I/O flexibility make the Enhanced PIC16LV5X
series very versatile even in areas where no microcon-
troller use has been considered before (e.g., timer
functions, replacement of “glue” logic in larger systems,
coprocessor applications).
DS40121A-page 2
Advanced Information
This document was created with FrameMaker 4 0 4
©
1996 Microchip Technology Inc.
Enhanced PIC16LV5X
TABLE 1-1:
ENHANCED PIC16LV5X FAMILY OF DEVICES
Clock
Memory
Peripherals
Features
PIC16LV54A
PIC16LV58A
20
20
512
2K
Legend: All PIC16/17 Family devices have Power-On Reset, selectable Watchdog Timer, selectable code protect
and high I/O current capability.
©
1996 Microchip Technology Inc.
re
EP
qu
en
RO
cy
M
of
Pr
RA
O
og
pe
M
ra
ra
Da
tio
m
n
ta
M
(M
em
M
Hz
em
or
)
y
or
Ti
(w
y
m
or
(b
er
ds
yt
M
es
)
od
)
ul
e(
s)
I/O
Pi
ns
Vo
lta
ge
Ra
ng
Nu
e
m
(V
be
ol
ro
ts
)
fI
ns
tru
Pa
ct
io
ck
ns
ag
es
M
ax
im
um
F
25
73
TMR0
TMR0
12
12
2.0-3.8
2.0-3.8
33
33
18-pin DIP, SOIC; 20-pin SSOP
18-pin DIP, SOIC; 20-pin SSOP
Advanced Information
DS40121A-page 3
Enhanced PIC16LV5X
2.0
ENHANCED PIC16LV5X
DEVICE VARIETIES
2.3
Quick-Turnaround-Production (QTP)
Devices
A variety of frequency ranges and packaging options
are available. Depending on application and
production requirements, the proper device option can
be selected using the information in this section. When
placing orders, please use the Enhanced PIC16LV5X
Product Identification System at the back of this data
sheet to specify the correct part number.
For the Enhanced PIC16LV5X family of devices, there
is one device type, as indicated in the device number:
1.
LV
, as in PIC16LV54A. These devices have
EPROM program memory and operate over the
standard voltage range of 2.0 to 3.8 volts.
Microchip offers a QTP Programming Service for
factory production orders. This service is made
available for users who choose not to program a
medium to high quantity of units and whose code
patterns have stabilized. The devices are identical to
the OTP devices but with all EPROM locations and
configuration bit options already programmed by the
factory. Certain code and prototype verification
procedures apply before production shipments are
available. Please contact your Microchip Technology
sales office for more details.
2.4
2.1
UV Erasable Devices
Serialized
Quick-Turnaround-Production
(SQTP
SM
) Devices
The UV erasable versions, offered in CERDIP
packages, are optimal for prototype development and
pilot programs
UV erasable devices can be programmed for any of
the four oscillator configurations. Microchip's
PICSTART
®
and PRO MATE
™
programmers both
support programming of the Enhanced PIC16LV5X.
Third party programmers also are available; refer to
the Third Party Guide for a list of sources.
Microchip offers the unique programming service
where a few user-defined locations in each device are
programmed with different serial numbers. The serial
numbers may be random, pseudo-random or
sequential.
Serial programming allows each device to have a
unique number which can serve as an entry code,
password or ID number.
2.2
One-Time-Programmable (OTP)
Devices
The availability of OTP devices is especially useful for
customers expecting frequent code changes and
updates.
The OTP devices, packaged in plastic packages,
permit the user to program them once. In addition to
the program memory, the configuration bits must be
programmed.
DS40121A-page 4
Advanced Information
This document was created with FrameMaker 4 0 4
©
1996 Microchip Technology Inc.
Enhanced PIC16LV5X
3.0
ARCHITECTURAL OVERVIEW
This section provides information on the architecture
of the Enhanced PIC16LV5X. For information on
operation of the peripherals, electrical specifications,
etc., please refer to the Enhanced PIC16C5X data
sheet.
FIGURE 3-1:
ENHANCED PIC16LV5X SERIES BLOCK DIAGRAM
9-11
EPROM
512 X 12 TO
2048 X 12
12
INSTRUCTION
REGISTER
9
12
8
INSTRUCTION
DECODER
DIRECT ADDRESS
DIRECT RAM
ADDRESS
WDT TIME
OUT
9-11
PC
STACK 1
STACK 2
T0CKI
PIN
CONFIGURATION WORD
“DISABLE”
OSC1 OSC2 MCLR
“OSC
SELECT”
2
OSCILLATOR/
TIMING &
CONTROL
WATCHDOG
TIMER
“CODE
PROTECT”
CLKOUT
WDT/TMR0
PRESCALER
“SLEEP”
6
OPTION REG.
FROM W
5
“OPTION”
GENERAL
PURPOSE
REGISTER
FILE
(SRAM)
25 or
73 Bytes
8
LITERALS
STATUS
TMR0
DATA BUS
ALU
FROM W
4
“TRIS 5”
TRISA
PORTA
4
RA3:RA0
4
“TRIS 6”
8
FROM W
8
TRISB
8
PORTB
5-7
FSR
8
W
8
RB7:RB0
©
1996 Microchip Technology Inc.
Advanced Information
This document was created with FrameMaker 4 0 4
DS40121A-page 5