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
Using the LM3S69XX Development BoardI saw that the chip says LM3S6916, but there is no FlashFS routine in the routine.However, some data needs to be recorded during operation (such as intranet address...
I. Fault prediction technology for electronic systems Definition Fault is a state in which a product cannot complete the specified function or performance degradation leads to failure to meet the spec...
MQTT-SN (Sensor Networks) is the sensor version of the MQTT protocol. It was first used in zigBee wireless networks and is mainly used for battery-powered devices with limited processor power and stor...
Demystifying the Auto-Zero Amplifier - Part I d6.HTM][font=楷体_GB2312][size=3][color=#0000ff]offset[/color][/size][/font][/url][font=楷体_GB2312][size=3],[/size][/font][url=http://www.analog.eet-china.co...
[b][b]Exclusive for TI customers, up to 80% off three wireless development boards![/b][/b] [url=http://www.ti.com.cn/ww/eStore/index_p02.shtml?DCMP=estore_promotion&HQS=estore3-weibo]http://www.ti.com...
introduction
my country has a vast territory and a large population. The scale of housing construction is huge, and the amount of residential construction is large and wide. It is still on t...[Details]
As a wireless broadband metropolitan area network standard, WiMAX technology has greater advantages than previous 3.5GHz MMDS products in terms of non-line-of-sight transmission and spectrum utiliz...[Details]
Microcontrollers (MCUs), which are widely used in automotive electronics, are rapidly facing time and cost pressures. The main advantage of using MCUs has always been to create high-level system in...[Details]
With the continuous improvement of the requirements of intelligent building security systems and the continuous improvement of people's safety awareness, indoor anti-theft has gradually attracted peop...[Details]
With the rapid development of urban economy, elevators are increasingly used as a vertical transportation tool. However, elevator fault detection and maintenance, especially the role of elevator remot...[Details]
1 Introduction
PROFIBUS is an international, open, and manufacturer-independent fieldbus standard. It is widely used in manufacturing automation, process industry automation, and automatio...[Details]
LED is the abbreviation of light emitting diode, which is an electric light source made of semiconductor technology. The core part of LED is a chip composed of P-type semiconductor and N-type semi...[Details]
It is well known to automotive suppliers that automakers are demanding more from their supply base. For connector suppliers, this means stricter requirements for product performance, stability and ...[Details]
The era of mobile access to the Internet has arrived, and it will rapidly change the business and infrastructure needs of mobile operators under a whole new trend of requirements. We need 4G LTE to...[Details]
LED technology has made rapid progress, and improvements in chip design and materials have promoted the development of brighter and more durable light sources, and the scope of light source applica...[Details]
0 Introduction
Under normal circumstances, the three-phase power in the power system is symmetrical, and they meet certain amplitude and phase conditions; but when the load changes, the syst...[Details]
Distributed Wireless Communication System (DWCS) uses distributed antennas, distributed processing control, joint signal processing and other technologies to improve the system's spectrum efficie...[Details]
For battery-powered portable devices, in addition to breaking through the limitations of processing power, the performance of portable system power supplies also needs to be continuously improved. ...[Details]
introduction
Temperature and humidity are the main environmental parameters of industrial and agricultural production. It is of great significance to measure them accurately and timely. Using a s...[Details]
TMC428 is a stepper motor motion controller from TRINAMIC. It can reduce the workload of motor control software design and development costs. The 3-axis stepper motor drive control system based on ...[Details]