ChipFind - Datasheet

Part Number PIC16C5x

Download:  PDF   ZIP

Document Outline

M
©
1998 Microchip Technology Inc.
Preliminary
DS30453B-page 1
PIC16C5X
Devices Included in this Data Sheet:
· PIC16C52
· PIC16C54s
· PIC16CR54s
· PIC16C55s
· PIC16C56s
· PIC16CR56s
· PIC16C57s
· PIC16CR57s
· PIC16C58s
· PIC16CR58s
High-Performance RISC CPU:
· Only 33 single word instructions to learn
· All instructions are single cycle (200 ns) except for
program branches which are two-cycle
· Operating speed: DC - 20 MHz clock input
DC - 200 ns instruction cycle
Note:
The letter "s" used following the part
numbers throughout this document
indicate plural, meaning there is more
than one part variety for the indicated
device.
Device
Pins
I/O
EPROM/
ROM
RAM
PIC16C52
18
12
384
25
PIC16C54
18
12
512
25
PIC16C54A
18
12
512
25
PIC16C54B
18
12
512
25
PIC16C54C
18
12
512
25
PIC16CR54A
18
12
512
25
PIC16CR54B
18
12
512
25
PIC16CR54C
18
12
512
25
PIC16C55
28
20
512
24
PIC16C55A
28
20
512
24
PIC16C56
18
12
1K
25
PIC16C56A
18
12
1K
25
PIC16CR56A
18
12
1K
25
PIC16C57
28
20
2K
72
PIC16C57C
28
20
2K
72
PIC16CR57B
28
20
2K
72
PIC16CR57C
28
20
2K
72
PIC16C58A
18
12
2K
73
PIC16C58B
18
12
2K
73
PIC16CR58A
18
12
2K
73
PIC16CR58B
18
12
2K
73
· 12-bit wide instructions
· 8-bit wide data path
· Seven or eight special function hardware registers
· Two-level deep hardware stack
· Direct, indirect and relative addressing modes for
data and instructions
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
- HS:
High-speed crystal/resonator
- LP:
Power saving, low-frequency crystal
CMOS Technology:
· Low-power, high-speed CMOS EPROM/ROM
technology
· Fully static design
· Wide-operating voltage and temperature range:
- EPROM Commercial/Industrial 2.0V to 6.25V
- ROM Commercial/Industrial 2.0V to 6.25V
- EPROM Extended 2.5V to 6.0V
- ROM Extended 2.5V to 6.0V
· Low-power consumption
- < 2 mA typical @ 5V, 4 MHz
- 15
µ
A typical @ 3V, 32 kHz
- < 0.6
µ
A typical standby current
(with WDT disabled) @ 3V, 0
°
C to 70
°
C
Note:
In this document, figure and table titles
refer to all varieties of the part number
indicated, (i.e., The title "Figure 14-1:
Load Conditions - PIC16C54A", also
refers to PIC16LC54A and PIC16LV54A
parts).
EPROM/ROM-Based 8-Bit CMOS Microcontroller Series
PIC16C5X
DS30453B-page 2
Preliminary
©
1998 Microchip Technology Inc.
Pin Diagrams
PDIP, SOIC, Windowed CERDIP
PIC16CR54s
PIC16C58s
PIC16CR58s
PIC16C54s
RA1
RA0
OSC1/CLKIN
OSC2/CLKOUT
V
DD
V
DD
RB7
RB6
RB5
RB4
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
SSOP
PIC16C56s
PIC16CR56s
PIC16CR54s
PIC16C58s
PIC16CR58s
PIC16C54s
PIC16C56s
PIC16CR56s
RA2
RA3
T0CKI
MCLR/V
PP
V
SS
RB0
RB1
RB2
RB3
·
1
2
3
4
5
6
7
8
9
10
18
17
16
15
14
13
12
11
RA1
RA0
OSC1/CLKIN
OSC2/CLKOUT
V
DD
RB7
RB6
RB5
RB4
PIC16C52s
28
27
26
25
24
23
22
21
20
19
18
17
16
15
·1
2
3
4
5
6
7
8
9
10
11
12
13
14
PDIP, SOIC, Windowed CERDIP
PIC16C57s
PIC16C55s
MCLR/V
PP
OSC1/CLKIN
OSC2/CLKOUT
RC7
RC6
RC5
RC4
RC3
RC2
RC1
RC0
RB7
RB6
RB5
T0CKI
V
DD
V
SS
RA0
RA1
RA2
RA3
RB0
RB1
RB2
RB3
RB4
·
1
2
3
4
5
6
7
8
9
10
11
12
13
14
28
27
26
25
24
23
22
21
20
19
18
17
16
15
PIC16C57s
SSOP
PIC16C55s
V
DD
V
SS
PIC16CR57s
PIC16CR57s
T0CKI
V
DD
N/C
V
SS
N/C
RA0
RA1
RA2
RA3
RB0
RB1
RB2
RB3
RB4
MCLR/V
PP
OSC1/CLKIN
OSC2/CLKOUT
RC7
RC6
RC5
RC4
RC3
RC2
RC1
RC0
RB7
RB6
RB5
©
1998 Microchip Technology Inc.
Preliminary
DS30453B-page 3
PIC16C5X
Device Differences
Note 1:
If you change from this device to another device, please verify oscillator characteristics in your application.
Note 2:
In PIC16LV58A, MCLR Filter = Yes
Device
Voltage
Range
Oscillator
Selection
(Program)
Oscillator
Process
Technology
(Microns)
ROM
Equivalent
MCLR
Filter
PIC16C52
3.0-6.25
User
See Note 1
0.9
--
No
PIC16C54
2.5-6.25
Factory
See Note 1
1.2
PIC16CR54A
No
PIC16C54A
2.0-6.25
User
See Note 1
0.9
--
No
PIC16C54B
2.5-5.5
User
See Note 1
0.7
PIC16CR54B
Yes
PIC16C54C
2.5-5.5
User
See Note 1
0.7
PIC16CR54C
Yes
PIC16C55
2.5-6.25
Factory
See Note 1
1.7
--
No
PIC16C55A
2.5-5.5
User
See Note 1
0.7
--
Yes
PIC16C56
2.5-6.25
Factory
See Note 1
1.7
--
No
PIC16C56A
2.5-5.5
User
See Note 1
0.7
PIC16CR56A
Yes
PIC16C57
2.5-6.25
Factory
See Note 1
1.2
--
No
PIC16C57C
2.5-5.5
User
See Note 1
0.7
PIC16CR57C
Yes
PIC16C58A
2.0-6.25
User
See Note 1
0.9
PIC16CR58A
No
(2)
PIC16C58B
2.5-5.5
User
See Note 1
0.7
PIC16CR58B
Yes
PIC16CR54A
2.5-6.25
Factory
See Note 1
1.2
N/A
Yes
PIC16CR54B
2.5-5.5
Factory
See Note 1
0.7
N/A
Yes
PIC16CR54C
2.5-5.5
Factory
See Note 1
0.7
N/A
Yes
PIC16CR56A
2.5-5.5
Factory
See Note 1
0.7
N/A
Yes
PIC16CR57B
2.5-6.25
Factory
See Note 1
0.9
N/A
Yes
PIC16CR57C
2.5-5.5
Factory
See Note 1
0.7
N/A
Yes
PIC16CR58A
2.5-6.25
Factory
See Note 1
0.9
N/A
Yes
PIC16CR58B
2.5-5.5
Factory
See Note 1
0.7
N/A
Yes
PIC16C5X
DS30453B-page 4
Preliminary
©
1998 Microchip Technology Inc.
Table of Contents
1.0
General Description ............................................................................................................................................. 5
2.0
PIC16C5X Device Varieties................................................................................................................................. 7
3.0
Architectural Overview......................................................................................................................................... 9
4.0
Memory Organization ........................................................................................................................................ 15
5.0
I/O Ports............................................................................................................................................................. 25
6.0
Timer0 Module and TMR0 Register................................................................................................................... 27
7.0
Special Features of the CPU ............................................................................................................................. 31
8.0
Instruction Set Summary ................................................................................................................................... 43
9.0
Development Support ........................................................................................................................................ 55
10.0
Electrical Characteristics - PIC16C52................................................................................................................ 59
11.0
Electrical Characteristics - PIC16C54/55/56/57................................................................................................. 67
12.0
DC and AC Characteristics - PIC16C54/55/56/57 ............................................................................................. 81
13.0
Electrical Characteristics - PIC16CR54A........................................................................................................... 89
14.0
Electrical Characteristics - PIC16C54A ........................................................................................................... 103
15.0
Electrical Characteristics - PIC16CR57B......................................................................................................... 117
16.0
Electrical Characteristics - PIC16C58A ........................................................................................................... 131
17.0
Electrical Characteristics - PIC16CR58A......................................................................................................... 145
18.0
DC and AC Characteristics - PIC16C54A/CR57B/C58A/CR58A .................................................................... 159
19.0
Electrical Characteristics -
PIC16C54B/C54C/CR54B/CR54C/C55A/C56A/CR56A/C57C/CR57C/C58B/CR58B .................................... 171
20.0
DC and AC Characteristics -
PIC16C54B/C54C/CR54B/CR54C/C55A/C56A/CR56A/C57C/CR57C/C58B/CR58B .................................... 183
21.0
Packaging Information ..................................................................................................................................... 195
Appendix A: Compatibility ........................................................................................................................................... 207
Index ......................................................................................................................................................................... 209
On-Line Support .......................................................................................................................................................... 211
PIC16C5X Product Identification System.................................................................................................................... 213
PIC16C54/55/56/57 Product Identification System ..................................................................................................... 214
To Our Valued Customers
Most Current Data Sheet
To obtain the most up-to-date version of this data sheet, please check our Worldwide Web site at:
http://www.microchip.com
You can determine the version of a data sheet by examining its literature number found on the bottom outside corner of any page.
The last character of the literature number is the version number. e.g., DS30000A is version A of document DS30000.
Errata
An errata sheet may exist for current devices, describing minor operational differences (from the data sheet) and recommended
workarounds. As device/documentation issues become known to us, we will publish an errata sheet. The errata will specify the revi-
sion of silicon and revision of document to which it applies.
To determine if an errata sheet exists for a particular device, please check with one of the following:
· Microchip's Worldwide Web site; http://www.microchip.com
· Your local Microchip sales office (see last page)
· The Microchip Corporate Literature Center; U.S. FAX: (602) 786-7277
When contacting a sales office or the literature center, please specify which device, revision of silicon and data sheet (include lit-
erature number) you are using.
Corrections to this Data Sheet
We constantly strive to improve the quality of all our products and documentation. We have spent a great deal of time to ensure
that this document is correct. However, we realize that we may have missed a few things. If you find any information that is missing
or appears in error, please:
· Fill out and mail in the reader response form in the back of this data sheet.
· E-mail us at webmaster@microchip.com.
We appreciate your assistance in making this a better document.
©
1998 Microchip Technology Inc.
Preliminary
DS30453B-page 5
PIC16C5X
1.0
GENERAL DESCRIPTION
The PIC16C5X from Microchip Technology is a family
of low-cost, high performance, 8-bit, fully static,
EPROM/ ROM-based CMOS microcontrollers. It
employs a RISC architecture with only 33 single
word/single cycle instructions. All instructions are sin-
gle cycle (200 ns) except for program branches which
take two cycles. The PIC16C5X delivers performance
an order of magnitude higher than its competitors in the
same price category. 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 PIC16C5X products are equipped with special fea-
tures 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 four 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 PIC16C5X products are supported by a
full-featured macro assembler, a software simulator, an
in-circuit emulator, a `C' compiler, fuzzy logic support
tools, a low-cost development programmer, and a full
featured programmer. All the tools are supported on
IBM
®
PC and compatible machines.
1.1
Applications
The PIC16C5X series fits perfectly in applications rang-
ing from high-speed automotive and appliance motor
control to low-power remote transmitters/receivers,
pointing devices and telecom processors. The EPROM
technology makes customizing application programs
(transmitter codes, motor speeds, receiver frequen-
cies, etc.) extremely fast and convenient. The small
footprint packages, for through hole or surface mount-
ing, make this microcontroller series perfect for applica-
tions with space limitations. Low-cost, low-power, high
performance, ease of use and I/O flexibility make the
PIC16C5X series very versatile even in areas where no
microcontroller use has been considered before (e.g.,
timer functions, replacement of "glue" logic in larger
systems, coprocessor applications).