M
• PIC16CR54C
Device
Pins
PIC16CR54C
Pin Diagrams
PDIP and SOIC
RA2
RA3
T0CKI
MCLRV
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
ROM-Based 8-Bit CMOS Microcontroller Series
Devices Included in this Data Sheet:
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
I/O
ROM
RAM
PIC16CR54C
PIC16CR54C
18
12
512
25
• 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
SSOP
RA2
RA3
T0CKI
MCLRV
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
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
PIC16CR54C
CMOS Technology:
• Low-power, high-speed CMOS ROM technology
• Fully static design
• Wide-operating voltage and temperature range:
- ROM Commercial/Industrial 3.0V to 5.5V
• 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
©
1998 Microchip Technology Inc.
Preliminary
DS40191A-page 1
PIC16CR54C
Table of Contents
1.0
General Description............................................................................................................................................. 5
2.0
PIC16C5X Device Varieties................................................................................................................................. 7
3.0
Architectural Overview......................................................................................................................................... 9
4.0
Memory Organization ........................................................................................................................................ 13
5.0
I/O Ports ............................................................................................................................................................ 19
6.0
Timer0 Module and TMR0 Register .................................................................................................................. 21
7.0
Special Features of the CPU ............................................................................................................................. 25
8.0
Instruction Set Summary ................................................................................................................................... 37
9.0
Development Support........................................................................................................................................ 49
10.0 Electrical Characteristics - PIC16CR54C .......................................................................................................... 53
11.0 DC and AC Characteristics - PIC16CR54C....................................................................................................... 63
12.0 Packaging Information....................................................................................................................................... 73
Appendix A: Compatibility ............................................................................................................................................. 77
Index ............................................................................................................................................................................ 79
On-Line Support............................................................................................................................................................ 81
Reader Response ......................................................................................................................................................... 82
PIC16CR54C Product Identification System................................................................................................................. 83
©
1998 Microchip Technology Inc.
Preliminary
DS40191A-page 3
PIC16CR54C
1.0
GENERAL DESCRIPTION
1.1
Applications
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.
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).
©
1998 Microchip Technology Inc.
Preliminary
DS40191A-page 5