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
[font=微软雅黑][size=4]In this video, you will follow Loren Shure as he quickly gets started with machine learning algorithms and learn about the three types of machine learning (clustering, classificatio...
I am very happy to get the opportunity to review the "NXP Rapid IoT Prototyping Kit". It is said that the kit will not be shipped until next Monday. Here are some preparations: First, confirm the offi...
[color=sienna]Excuse me, how to use the serial port 5 of EK140p? I tried UART 2, 3, 4, all of them are good, but UART5 can neither receive nor send. What is the reason? I am using the official firmwar...
[i=s]This post was last edited by ddllxxrr on 2019-4-28 08:06[/i] The transplantation has been very annoying these days. I read the transplantation method in the book. I think it is very troublesome. ...
Domestic chips are getting more and more attention now, and more and more products are starting to replace them with domestic chips. We must strongly support this. Recently, we are looking for a suita...
The requirement of this topic is to use msp430f149 to simulate a signal generator. The frequency of the signal generator is between 100-1000hz. By pressing the button, you can increase or decrease 100...
Transformers are widely used in a variety of electronic products. Their main functions include: voltage conversion; impedance conversion; isolation; voltage stabilization (magnetic saturation trans...[Details]
Anti-jerk function is used in both new energy vehicles and traditional engine vehicles. However, the anti-jerk function of traditional vehicles is implemented in VCU or ECU, while that of new energ...[Details]
At the beginning of 2021, I actually communicated with Master Liu Gang Liu about why he chose to start a business in the energy storage field. One of the important reasons is that vehicle chargers an...[Details]
On December 3, the State Grid Gansu Electric Power Company took advantage of the data advantage of the "Control Cloud Platform" in the context of ubiquitous power Internet of Things and coordinated...[Details]
The main purpose The Medical Protective Clothing Electrostatic Decay Performance Tester is used to test textile clothing, medical protective clothing materials, non-woven fabrics, composite materials...[Details]
By using "Synchronized Windows", Apple's future car design is expected to provide additional privacy protection for people in the car. In addition, the rearview mirrors on both sides of the vehicle c...[Details]
Before learning about 3U and 5U communication, let's first take a look at what N:N communication is (5U PLC calls this "simple PLC connection"). N:N communication is a very basic communication prot...[Details]
Solid-state batteries are being developed around the world as an alternative to conventional lithium-ion batteries. This new generation of batteries uses stable and non-flammable solid electrolyte ...[Details]
When used as a single amplifier, its DC gain accuracy is 0.002%, and the accuracy can reach 0.01% when the sampling time is less than 6us; the input bias voltage can be adjusted only at the bias en...[Details]
Introduction
TCP/IP is the most widely used Internet communication protocol. Various communication media are used to transmit IP data. Since satellite communication has the advantages of w...[Details]
1. Classification of keys
Keys can be divided into two categories according to the structural principle. One is contact switch keys, such as mechanical switches, conductive rubber switches, etc....[Details]
Jiwei.com reported on November 13 that Yu Xin, the product director of Black Shark, released a summary of the "Black Shark Product Manager Online" column today, answering questions that users are con...[Details]
1. Introduction Figure 1 is a schematic diagram of a smart home structure. It can be clearly seen from the figure that a smart home consists of the following aspects: lighting and socket control sys...[Details]
UPS is not only an uninterruptible power supply device, but also has the function of power purification. This article will focus on the selection and configuration of UPS, the selection and configu...[Details]
A junction temperature calibration method for Si IGBT and SiC MOSFET power devices is proposed, which realizes low natural anti-interference junction temperature calibration.
A circuit f...[Details]