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
High-Performance RISC CPU:
• Only 33 single word instructions to learn
• All instructions are single cycle except for pro-
gram branches which are two-cycle
• Operating speed: DC - 40 MHz clock input
DC - 100 ns instruction cycle
Device
PIC16C54
PIC16C54A
PIC16C54C
PIC16CR54A
PIC16CR54C
PIC16C55
PIC16C55A
PIC16C56
PIC16C56A
PIC16CR56A
PIC16C57
PIC16C57C
PIC16CR57C
PIC16C58B
PIC16CR58B
Pins
18
18
18
18
18
28
28
18
18
18
28
28
28
18
18
I/O
12
12
12
12
12
20
20
12
12
12
20
20
20
12
12
EPROM/
RAM
ROM
512
512
512
512
512
512
512
1K
1K
1K
2K
2K
2K
2K
2K
25
25
25
25
25
24
24
25
25
25
72
72
72
73
73
CMOS Technology:
• Low power, high speed CMOS EPROM/ROM tech-
nology
• 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, 0C to 70C
Note:
In this document, figure and table titles
refer to all varieties of the part number indi-
cated, (i.e., The title “Figure 15-1: Load
Conditions For Device Timing Specifica-
tions - PIC16C54A”, also refers to
PIC16LC54A and PIC16LV54A parts),
unless specifically called out otherwise.
1997-2013 Microchip Technology Inc.
Preliminary
DS30453E-page 1
PIC16C5X
Pin Diagrams
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
PDIP, SOIC, Windowed CERDIP
T0CKI
V
DD
N/C
V
SS
N/C
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
MCLR/V
PP
OSC1/CLKIN
OSC2/CLKOUT
RC7
RC6
RC5
RC4
RC3
RC2
RC1
RC0
RB7
RB6
RB5
PIC16C54
PIC16CR54
PIC16C56
PIC16CR56
PIC16C58
PIC16CR58
PIC16C55
PIC16C57
PIC16CR57
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
SSOP
V
SS
T0CKI
V
DD
V
DD
RA0
RA1
RA2
RA3
RB0
RB1
RB2
RB3
RB4
V
SS
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
MCLR/V
PP
OSC1/CLKIN
OSC2/CLKOUT
RC7
RC6
RC5
RC4
RC3
RC2
RC1
RC0
RB7
RB6
RB5
Device Differences
Device
PIC16C54
PIC16C54A
PIC16C54C
PIC16C55
PIC16C55A
PIC16C56
PIC16C56A
PIC16C57
PIC16C57C
PIC16C58B
PIC16CR54A
PIC16CR54C
PIC16CR56A
PIC16CR57C
PIC16CR58B
Voltage
Range
2.5-6.25
2.0-6.25
2.5-5.5
2.5-6.25
2.5-5.5
2.5-6.25
2.5-5.5
2.5-6.25
2.5-5.5
2.5-5.5
2.5-6.25
2.5-5.5
2.5-5.5
2.5-5.5
2.5-5.5
Oscillator
Selection
(Program)
Factory
User
User
Factory
User
Factory
User
Factory
User
User
Factory
Factory
Factory
Factory
Factory
Oscillator
See
Note 1
See
Note 1
See
Note 1
See
Note 1
See
Note 1
See
Note 1
See
Note 1
See
Note 1
See
Note 1
See
Note 1
See
Note 1
See
Note 1
See
Note 1
See
Note 1
See
Note 1
Process
Technology
(Microns)
1.2
0.9
0.7
1.7
0.7
1.7
0.7
1.2
0.7
0.7
1.2
0.7
0.7
0.7
0.7
ROM
Equivalent
PIC16CR54A
—
PIC16CR54C
—
—
—
PIC16CR56A
—
PIC16CR57C
PIC16CR58B
N/A
N/A
N/A
N/A
N/A
MCLR
Filter
No
No
Yes
No
Yes
No
Yes
No
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Note 1:
If you change from this device to another device, please verify oscillator characteristics in your application.
Note:
The table shown above shows the generic names of the PIC16C5X devices. For device varieties, please
refer to Section 2.0.
PIC16C54
PIC16CR54
PIC16C56
PIC16CR56
PIC16C58
PIC16CR58
PIC16C55
PIC16C57
PIC16CR57
DS30453E-page 2
Preliminary
1997-2013 Microchip Technology Inc.
PIC16C5X
Table of Contents
1.0 General Description...................................................................................................................................................................... 5
8.0 Timer0 Module and TMR0 Register ........................................................................................................................................... 37
9.0 Special Features of the CPU...................................................................................................................................................... 43
10.0 Instruction Set Summary ............................................................................................................................................................ 49
11.0 Development Support................................................................................................................................................................. 61
Product Identification System ............................................................................................................................................................ 189
TO OUR VALUED CUSTOMERS
It is our intention to provide our valued customers with the best documentation possible to ensure successful use of your Microchip
products. To this end, we will continue to improve our publications to better suit your needs. Our publications will be refined and
enhanced as new volumes and updates are introduced.
If you have any questions or comments regarding this publication, please contact the Marketing Communications Department via
E-mail at
docerrors@mail.microchip.com
or fax the
Reader Response Form
in the back of this data sheet to (480) 792-4150.
We welcome your feedback.
Most Current Data Sheet
To obtain the most up-to-date version of this data sheet, please register at 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, describing minor operational differences from the data sheet and recommended workarounds, may exist for current
devices. As device/documentation issues become known to us, we will publish an errata sheet. The errata will specify the revision
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: (480) 792-7277
When contacting a sales office or the literature center, please specify which device, revision of silicon and data sheet (include liter-
ature number) you are using.
Customer Notification System
Register on our web site at
www.microchip.com/cn
to receive the most current information on all of our products.
1997-2013 Microchip Technology Inc.
Preliminary
DS30453E-page 3
PIC16C5X
NOTES:
DS30453E-page 4
Preliminary
1997-2013 Microchip Technology Inc.
PIC16C5X
8-Bit EPROM/ROM-Based CMOS Microcontrollers
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 single
cycle except for program branches which take two
cycles. The PIC16C5X delivers performance in 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 fea-
tured macro assembler, a software simulator, an in-cir-
cuit emulator, 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
root@arago:/# mount /dev/mtdblock4 /mnt/aaa/
mtdblock_open
ok
mtdblock: read on "filesystem" at 0x0, size 0x200
end_request: I/O error, dev mtdblock4, sector 0
FAT: unable to read boot sector
mtdblock...
Texas Instruments (TI) has introduced two new USB Type-C and USB Power Delivery (PD) controllers with fully integrated power paths that simplify design, minimize solution size and accelerate time to m...
Abstract The design method of a monolithic mixer for S-band receiving front end is reported. The harmonic . The results show that this software is a very effective tool for nonlinear circuit design....
I have a development board hyper255B based on Xscale processor pxa255. By looking at the schematic diagram, I found the following: 1. There is a 38 decoder (74LCX138), and the three input terminals of...
Engineer – ClockRequirement: high, system level.This candidate is the first application engineer focusing on clock product in the team, who we hope to have communication background.Application Enginee...
1. What is temperature?
Heat is a type of molecular motion. The hotter an object is, the faster its molecules move. Absolute zero is defined as the temperature at which all molecular motion ...[Details]
Aromatic gases are widely present in food, medicine, cosmetics and various daily chemical products, such as snacks, liquor, spices, Chinese herbal medicines, plasters, perfumes, soaps, shampoos, et...[Details]
introduction
MEMS is a high-tech that has flourished on the basis of integrated circuit production technology and dedicated micro-electromechanical processing methods. Pressure sensors develop...[Details]
Abstract: Aiming at the needs of coal-rock acoustic emission signal monitoring system, a data acquisition circuit with 24-bit resolution and 16-channel synchronous data acquisition function is desi...[Details]
introduction
At present, measuring instruments are developing towards networking, and each individual embedded instrument will become a node on the Internet. This system realizes the network...[Details]
At present, a large number of cooling tower fans, speed fans and special fans are in use in petroleum, chemical, pharmaceutical, metallurgical and other enterprises. Some fans have no monitoring in...[Details]
Temperature compensated quartz crystal oscillator (TCXO) is widely used as a high-precision frequency source in communication systems, radar navigation systems, precision measurement and control sy...[Details]
Measurement compatibility
It is very important to ensure the compatibility between the pressure sensor and its actual application. Before making a pressure sensor selection, the fo...[Details]
Stepper motors have been widely used in automatic or semi-automatic equipment such as CNC machine tools, medical equipment, and instruments. The usual way to control stepper motors with computers i...[Details]
For a long time, my country has implemented "community-style collective heating" for hot water heating, and settled accounts based on the heating area, regardless of whether the user uses heat. Thi...[Details]
Current sensing in automotive applications includes controlling the current through solenoids and injectors. For example, during diesel injection, we rapidly increase the current to the induction i...[Details]
In the past 20 years, although the inverters that use power transistors (GTR) as inverter power devices, 8-bit microprocessors as control cores, and realize asynchronous motor speed regulation acco...[Details]
(1) Open circuit voltage of the battery
(2) Internal resistance of the battery
(3) Battery operating voltage
(4) Charging voltage
Charging voltage refers to the voltage applied ...[Details]
Since the implementation of the self-weight toll collection system, the highway administration has not only high requirements for the vehicle axle recognition rate, but also requires a long service li...[Details]
Many industrial fields such as industrial automation, logistics, and smart grids require that machinery and products be safe and have passed functional safety certification. When developing machine...[Details]