PIC16C71X
8-Bit CMOS Microcontrollers with A/D Converter
Devices included in this data sheet:
•
•
•
•
PIC16C710
PIC16C71
PIC16C711
PIC16C715
PIC16C71X Peripheral Features:
• Timer0: 8-bit timer/counter with 8-bit prescaler
• 8-bit multichannel analog-to-digital converter
• Brown-out detection circuitry for
Brown-out Reset (BOR)
• 13 I/O Pins with Individual Direction Control
PIC16C7X Features
Program Memory (EPROM)
x 14
Data Memory (Bytes) x 8
I/O Pins
Timer Modules
A/D Channels
In-Circuit Serial Programming
Brown-out Reset
Interrupt Sources
710
71
711 715
1K
68
13
1
4
2K
128
13
1
4
PIC16C71X Microcontroller Core Features:
• High-performance RISC CPU
• Only 35 single word instructions to learn
• All single cycle instructions except for program
branches which are two cycle
• Operating speed: DC - 20 MHz clock input
DC - 200 ns instruction cycle
• Up to 2K x 14 words of Program Memory,
up to 128 x 8 bytes of Data Memory (RAM)
• Interrupt capability
• Eight level deep hardware stack
• Direct, indirect, and relative addressing modes
• Power-on Reset (POR)
• Power-up Timer (PWRT) and
Oscillator Start-up Timer (OST)
• Watchdog Timer (WDT) with its own on-chip RC
oscillator for reliable operation
• Programmable code-protection
• Power saving SLEEP mode
• Selectable oscillator options
• Low-power, high-speed CMOS EPROM
technology
• Fully static design
• Wide operating voltage range: 2.5V to 6.0V
• High Sink/Source Current 25/25 mA
• Commercial, Industrial and Extended temperature
ranges
• Program Memory Parity Error Checking Circuitry
with Parity Error Reset (PER) (PIC16C715)
• Low-power consumption:
- < 2 mA @ 5V, 4 MHz
- 15
µ
A typical @ 3V, 32 kHz
- < 1
µ
A typical standby current
512 1K
36
13
1
4
Yes
4
36
13
1
4
—
4
Yes Yes Yes Yes
Yes Yes
4
4
Pin Diagrams
PDIP, SOIC, Windowed CERDIP
RA2/AN2
RA3/AN3/V
REF
RA4/T0CKI
MCLR/V
PP
V
SS
RB0/INT
RB1
RB2
RB3
•1
2
3
4
5
6
7
8
9
18
17
16
15
14
13
12
11
10
RA1/AN1
RA0/AN0
OSC1/CLKIN
OSC2/CLKOUT
V
DD
RB7
RB6
RB5
RB4
PIC16C710
PIC16C71
PIC16C711
PIC16C715
SSOP
RA2/AN2
RA3/AN3/V
REF
RA4/T0CKI
MCLR/V
PP
V
SS
V
SS
RB0/INT
RB1
RB2
RB3
•1
2
3
4
5
6
7
8
9
10
20
19
18
17
16
15
14
13
12
11
RA1/AN1
RA0/AN0
OSC1/CLKIN
OSC2/CLKOUT
V
DD
V
DD
RB7
RB6
RB5
RB4
PIC16C710
PIC16C711
PIC16C715
©
1997 Microchip Technology Inc.
DS30272A-page 1
PIC16C71X
Table of Contents
1.0 General Description .................................................................................................................................................................... 3
2.0 PIC16C71X Device Varieties...................................................................................................................................................... 5
3.0 Architectural Overview................................................................................................................................................................ 7
4.0 Memory Organization ............................................................................................................................................................... 11
5.0 I/O Ports.................................................................................................................................................................................... 25
6.0 Timer0 Module.......................................................................................................................................................................... 31
7.0 Analog-to-Digital Converter (A/D) Module ................................................................................................................................ 37
8.0 Special Features of the CPU .................................................................................................................................................... 47
9.0 Instruction Set Summary .......................................................................................................................................................... 69
10.0 Development Support ............................................................................................................................................................... 85
11.0 Electrical Characteristics for PIC16C710 and PIC16C711 ....................................................................................................... 89
12.0 DC and AC Characteristics Graphs and Tables for PIC16C710 and PIC16C711.................................................................. 101
13.0 Electrical Characteristics for PIC16C715................................................................................................................................ 111
14.0 DC and AC Characteristics Graphs and Tables for PIC16C715 ............................................................................................ 125
15.0 Electrical Characteristics for PIC16C71.................................................................................................................................. 135
16.0 DC and AC Characteristics Graphs and Tables for PIC16C71 .............................................................................................. 147
17.0 Packaging Information ............................................................................................................................................................ 155
Appendix A: ...................................................................................................................................................................................... 161
Appendix B: Compatibility................................................................................................................................................................. 161
Appendix C: What’s New .................................................................................................................................................................. 162
Appendix D: What’s Changed .......................................................................................................................................................... 162
Index .................................................................................................................................................................................................. 163
PIC16C71X Product Identification System......................................................................................................................................... 173
To Our Valued Customers
We constantly strive to improve the quality of all our products and documentation. We have spent an exceptional
amount of time to ensure that these documents are 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 use the reader response form in the
back of this data sheet to inform us. We appreciate your assistance in making this a better document.
DS30272A-page 2
©
1997 Microchip Technology Inc.
PIC16C71X
1.0
GENERAL DESCRIPTION
The PIC16C71X is a family of low-cost, high-perfor-
mance, CMOS, fully-static, 8-bit microcontrollers with
integrated analog-to-digital (A/D) converters, in the
PIC16CXX mid-range family.
All PIC16/17 microcontrollers employ an advanced
RISC architecture. The PIC16CXX microcontroller fam-
ily has enhanced core features, eight-level deep stack,
and multiple internal and external interrupt sources.
The separate instruction and data buses of the Harvard
architecture allow a 14-bit wide instruction word with
the separate 8-bit wide data. The two stage instruction
pipeline allows all instructions to execute in a single
cycle, except for program branches which require two
cycles. A total of 35 instructions (reduced instruction
set) are available. Additionally, a large register set gives
some of the architectural innovations used to achieve a
very high performance.
PIC16CXX microcontrollers typically achieve a 2:1
code compression and a 4:1 speed improvement over
other 8-bit microcontrollers in their class.
The
PIC16C710/71
devices have 36 bytes of RAM, the
PIC16C711
has 68 bytes of RAM and the
PIC16C715
has 128 bytes of RAM. Each device has 13 I/O pins. In
addition a timer/counter is available. Also a 4-channel
high-speed 8-bit A/D is provided. The 8-bit resolution is
ideally suited for applications requiring low-cost analog
interface, e.g. thermostat control, pressure sensing,
etc.
The PIC16C71X family has special features to reduce
external components, thus reducing cost, enhancing
system reliability and reducing power consumption.
There are four oscillator options, of which the single pin
RC oscillator provides a low-cost solution, the LP oscil-
lator minimizes power consumption, XT is a standard
crystal, and the HS is for High Speed crystals. The
SLEEP (power-down) feature provides a power saving
mode. The user can wake up the chip from SLEEP
through several external and internal interrupts and
resets.
A highly reliable Watchdog Timer with its own on-chip
RC oscillator provides protection against software lock-
up.
A UV erasable CERDIP packaged version is ideal for
code development while the cost-effective One-Time-
Programmable (OTP) version is suitable for production
in any volume.
The PIC16C71X family fits perfectly in applications
ranging from security and remote sensors to appliance
control and automotive. The EPROM technology
makes customization of application programs (trans-
mitter codes, motor speeds, receiver frequencies, etc.)
extremely fast and convenient. The small footprint
packages make this microcontroller series perfect for
all applications with space limitations. Low cost, low
power, high performance, ease of use and I/O flexibility
make the PIC16C71X very versatile even in areas
where no microcontroller use has been considered
before (e.g. timer functions, serial communication, cap-
ture and compare, PWM functions and coprocessor
applications).
1.1
Family and Upward Compatibility
Users familiar with the PIC16C5X microcontroller fam-
ily will realize that this is an enhanced version of the
PIC16C5X architecture. Please refer to Appendix A for
a detailed list of enhancements. Code written for the
PIC16C5X can be easily ported to the PIC16CXX fam-
ily of devices (Appendix B).
1.2
Development Support
PIC16C71X devices are supported by the complete
line of Microchip Development tools.
Please refer to Section 10.0 for more details about
Microchip’s development tools.
©
1997 Microchip Technology Inc.
DS30272A-page 3
PIC16C71X
TABLE 1-1:
PIC16C71X FAMILY OF DEVICES
PIC16C710
Clock
Maximum Frequency
of Operation (MHz)
EPROM Program Memory
(x14 words)
Memory
ROM Program Memory
(14K words)
Data Memory (bytes)
Timer Module(s)
20
512
—
36
TMR0
PIC16C71
20
1K
—
36
TMR0
PIC16C711
20
1K
—
68
TMR0
PIC16C715
20
2K
—
128
TMR0
PIC16C72
20
2K
—
128
TMR0,
TMR1,
TMR2
1
SPI/I
2
C
—
5
8
22
2.5-6.0
Yes
Yes
PIC16CR72
(1)
20
—
2K
128
TMR0,
TMR1,
TMR2
1
SPI/I
2
C
—
5
8
22
3.0-5.5
Yes
Yes
Capture/Compare/PWM
Peripherals
Module(s)
Serial Port(s)
(SPI/I
2
C, USART)
Parallel Slave Port
Interrupt Sources
I/O Pins
Voltage Range (Volts)
Features
In-Circuit Serial Programming
Brown-out Reset
Packages
—
—
—
4
13
2.5-6.0
Yes
Yes
—
—
—
4
4
13
3.0-6.0
Yes
—
—
—
—
4
4
13
2.5-6.0
Yes
Yes
—
—
—
4
4
13
2.5-5.5
Yes
Yes
A/D Converter (8-bit) Channels 4
18-pin DIP, 18-pin DIP, 18-pin DIP, 18-pin DIP, 28-pin SDIP, 28-pin SDIP,
SOIC;
SOIC
SOIC;
SOIC;
SOIC, SSOP SOIC, SSOP
20-pin SSOP
20-pin SSOP 20-pin SSOP
PIC16C73A
PIC16C74A
20
4K
192
TMR0,
TMR1,
TMR2
2
SPI/I
2
C, USART
Yes
8
12
33
2.5-6.0
Yes
Yes
40-pin DIP;
44-pin PLCC,
MQFP, TQFP
20
8K
376
TMR0,
TMR1,
TMR2
2
SPI/I
2
C, USART
—
5
11
22
2.5-6.0
Yes
Yes
28-pin SDIP,
SOIC
PIC16C76
20
8K
376
TMR0,
TMR1,
TMR2
2
SPI/I
2
C, USART
Yes
8
12
33
2.5-6.0
Yes
Yes
40-pin DIP;
44-pin PLCC,
MQFP, TQFP
PIC16C77
Clock
Maximum Frequency
of Operation (MHz)
EPROM Program Memory
(x14 words)
Data Memory (bytes)
Timer Module(s)
20
4K
192
TMR0,
TMR1,
TMR2
2
SPI/I
2
C, USART
—
11
22
2.5-6.0
Yes
Yes
28-pin SDIP,
SOIC
Memory
Capture/Compare/PWM
Peripherals
Module(s)
Serial Port(s)
(SPI/I
2
C, USART)
Parallel Slave Port
Interrupt Sources
I/O Pins
Voltage Range (Volts)
Features
In-Circuit Serial Programming
Brown-out Reset
Packages
A/D Converter (8-bit) Channels 5
All PIC16/17 Family devices have Power-on Reset, selectable Watchdog Timer, selectable code protect and high I/O current capabil-
ity. All PIC16C7XX Family devices use serial programming with clock pin RB6 and data pin RB7.
Note 1: Please contact your local Microchip sales office for availability of these devices.
DS30272A-page 4
©
1997 Microchip Technology Inc.
PIC16C71X
2.0
PIC16C71X DEVICE VARIETIES
2.3
A variety of frequency ranges and packaging options
are available. Depending on application and production
requirements, the proper device option can be selected
using the information in the PIC16C71X Product Iden-
tification System section at the end of this data sheet.
When placing orders, please use that page of the data
sheet to specify the correct part number.
For the PIC16C71X family, there are two device “types”
as indicated in the device number:
1.
C
, as in PIC16
C
71. These devices have
EPROM type memory and operate over the
standard voltage range.
LC
, as in PIC16
LC
71. These devices have
EPROM type memory and operate over an
extended voltage range.
Quick-Turnaround-Production (QTP)
Devices
Microchip offers a QTP Programming Service for fac-
tory production orders. This service is made available
for users who choose not to program a medium to high
quantity of units and whose code patterns have stabi-
lized. The devices are identical to the OTP devices but
with all EPROM locations and configuration options
already programmed by the factory. Certain code and
prototype verification procedures apply before produc-
tion shipments are available. Please contact your local
Microchip Technology sales office for more details.
2.4
2.
Serialized Quick-Turnaround
Production (SQTP
SM
) Devices
2.1
UV Erasable Devices
The UV erasable version, offered in CERDIP package
is optimal for prototype development and pilot
programs. This version can be erased and
reprogrammed to any of the oscillator modes.
Microchip's PICSTART
®
Plus and PRO MATE
®
II
programmers both support programming of the
PIC16C71X.
Microchip offers a unique programming service where
a few user-defined locations in each device are pro-
grammed with different serial numbers. The serial num-
bers may be random, pseudo-random, or sequential.
Serial programming allows each device to have a
unique number which can serve as an entry-code,
password, or ID number.
2.2
One-Time-Programmable (OTP)
Devices
The availability of OTP devices is especially useful for
customers who need the flexibility for frequent code
updates and small volume applications.
The OTP devices, packaged in plastic packages, per-
mit the user to program them once. In addition to the
program memory, the configuration bits must also be
programmed.
©
1997 Microchip Technology Inc.
DS30272A-page 5