PIC16C925/926
64/68-Pin CMOS Microcontrollers with LCD Driver
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 8K x 14-bit words of EPROM program memory,
336 bytes general purpose registers (SRAM),
60 special function registers
• Pinout compatible with PIC16C923/924
Analog Features:
• 10-bit 5-channel Analog-to-Digital Converter (A/D)
• Brown-out Reset (BOR)
Special Microcontroller Features:
• 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
• Selectable oscillator options
• In-Circuit Serial Programming™ (ICSP™) via
two pins
• Processor read access to program memory
Peripheral Features:
• 25 I/O pins with individual direction control and
25-27 input only pins
• Timer0 module: 8-bit timer/counter with program-
mable 8-bit prescaler
• Timer1 module: 16-bit timer/counter, can be incre-
mented during SLEEP via external crystal/clock
• Timer2 module: 8-bit timer/counter with 8-bit
period register, prescaler, and postscaler
• One Capture, Compare, PWM module
• Synchronous Serial Port (SSP) module with
two modes of operation:
- 3-wire SPI (supports all 4 SPI modes)
- I
2
C™ Slave mode
• Programmable LCD timing module:
- Multiple LCD timing sources available
- Can drive LCD panel while in SLEEP mode
- Static, 1/2, 1/3, 1/4 multiplex
- Static drive and 1/3 bias capability
- 16 bytes of dedicated LCD RAM
- Up to 32 segments, up to 4 commons
Common
1
2
3
4
Segment
32
31
30
29
Pixels
32
62
90
116
CMOS Technology:
• Low power, high speed CMOS/EPROM
technology
• Fully static design
• Wide operating voltage range: 2.5V to 5.5V
• Commercial and Industrial temperature ranges
• Low power consumption
2001-2013 Microchip Technology Inc.
Preliminary
DS39544B-page 1
PIC16C925/926
Pin Diagrams
PLCC, CLCC
RA4/T0CKI
RA5/AN4/SS
RB1
RB0/INT
RC3/SCK/SCL
RC4/SDI/SDA
RC5/SDO
C1
C2
V
LCD
2
V
LCD
3
A
VDD
V
DD
V
SS
OSC1/CLKIN
OSC2/CLKOUT
RC0/T1OSO/T1CKI
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
9
8
7
6
5
4
3
2
1
68
67
66
65
64
63
62
61
60
59
58
57
56
55
54
53
52
51
50
49
48
47
46
45
44
RA3/AN3/V
REF
+
RA2/AN2/V
REF
-
V
SS
RA1/AN1
RA0/AN0
RB2
RB3
MCLR/V
PP
N/C
RB4
RB5
RB7
RB6
V
DD
COM0
RD7/SEG31/COM1
RD6/SEG30/COM2
PIC16C92X
RD5/SEG29/COM3
RG6/SEG26
RG5/SEG25
RG4/SEG24
RG3/SEG23
RG2/SEG22
RG1/SEG21
RG0/SEG20
RG7/SEG28
RF7/SEG19
RF6/SEG18
RF5/SEG17
RF4/SEG16
RF3/SEG15
RF2/SEG14
RF1/SEG13
RF0/SEG12
LEGEND:
Input Pin
Output Pin
Input/Output Pin
Digital Input/LCD Output Pin
LCD Output Pin
RC1/T1OSI
RC2/CCP1
V
LCD
1
VLCDADJ
RD0/SEG00
RD1/SEG01
RD2/SEG02
RD3/SEG03
RD4/SEG04
RE7/SEG27
RE0/SEG05
RE1/SEG06
RE2/SEG07
RE3/SEG08
RE4/SEG09
RE5/SEG10
RE6/SEG11
DS39544B-page 2
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
Preliminary
2001-2013 Microchip Technology Inc.
PIC16C925/926
Pin Diagrams (Continued)
TQFP
RA4/T0CKI
RA5/AN4/SS
RB1
RB0/INT
RC3/SCK/SCL
RC4/SDI/SDA
RC5/SDO
C1
C2
V
LCD
2
V
LCD
3
V
DD
V
SS
OSC1/CLKIN
OSC2/CLKOUT
RC0/T1OSO/T1CKI
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
64
63
62
61
60
59
58
57
56
55
54
53
52
51
50
49
48
47
46
45
44
43
42
41
40
39
38
37
36
35
34
33
RA3/AN3/V
REF
+
RA2/AN2/V
REF
-
V
SS
RA1/AN1
RA0/AN0
RB2
RB3
MCLR/V
PP
RB4
RB5
RB7
RB6
V
DD
COM0
RD7/SEG31/COM1
RD6/SEG30/COM2
PIC16C92X
RD5/SEG29/COM3
RG6/SEG26
RG5/SEG25
RG4/SEG24
RG3/SEG23
RG2/SEG22
RG1/SEG21
RG0/SEG20
RF7/SEG19
RF6/SEG18
RF5/SEG17
RF4/SEG16
RF3/SEG15
RF2/SEG14
RF1/SEG13
RF0/SEG12
LEGEND:
Input Pin
Output Pin
Input/Output Pin
Digital Input/LCD Output Pin
LCD Output Pin
2001-2013 Microchip Technology Inc.
RC1/T1OSI
RC2/CCP1
V
LCD
1
VLCDADJ
RD0/SEG00
RD1/SEG01
RD2/SEG02
RD3/SEG03
RD4/SEG04
RE0/SEG05
RE1/SEG06
RE2/SEG07
RE3/SEG08
RE4/SEG09
RE5/SEG10
RE6/SEG11
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
Preliminary
DS39544B-page 3
PIC16C925/926
Table of Contents
1.0 Device Overview ................................................................................................................................................... 5
2.0 Memory Organization .......................................................................................................................................... 11
3.0 Reading Program Memory .................................................................................................................................. 27
4.0 I/O Ports .............................................................................................................................................................. 29
5.0 Timer0 Module .................................................................................................................................................... 41
6.0 Timer1 Module .................................................................................................................................................... 47
7.0 Timer2 Module .................................................................................................................................................... 51
8.0 Capture/Compare/PWM (CCP) Module .............................................................................................................. 53
9.0 Synchronous Serial Port (SSP) Module .............................................................................................................. 59
10.0 Analog-to-Digital Converter (A/D) Module ........................................................................................................... 75
11.0 LCD Module ........................................................................................................................................................ 83
12.0 Special Features of the CPU............................................................................................................................... 97
13.0 Instruction Set Summary ................................................................................................................................... 113
14.0 Development Support ....................................................................................................................................... 133
15.0 Electrical Characteristics ................................................................................................................................... 139
16.0 DC and AC Characteristics Graphs and Tables ................................................................................................ 159
17.0 Packaging Information ...................................................................................................................................... 161
Appendix A: Revision History.................................................................................................................................... 167
Appendix B: Device Differences ............................................................................................................................... 167
Appendix C: Conversion Considerations .................................................................................................................. 168
Index .......................................................................................................................................................................... 169
On-Line Support ......................................................................................................................................................... 175
Reader Response ...................................................................................................................................................... 176
PIC16C925/926 Product Identification System .......................................................................................................... 177
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.
DS39544B-page 4
Preliminary
2001-2013 Microchip Technology Inc.
PIC16C925/926
1.0
DEVICE OVERVIEW
This document contains device-specific information for
the following devices:
1.
2.
PIC16C925
PIC16C926
These devices come in 64-pin and 68-pin packages, as
well as die form. Both configurations offer identical
peripheral devices and other features. The only differ-
ence between the DSTEMP and DSTEMP is the addi-
tional EPROM and data memory offered in the latter.
An overview of features is presented in Table 1-1.
A UV-erasable, CERQUAD packaged version (compat-
ible with PLCC) is also available for both the
PIC16C925 and PIC16C926. This version is ideal for
cost effective code development.
A block diagram for the PIC16C925/926 family archi-
tecture is presented in Figure 1-1.
The PIC16C925/926 series is a family of low cost, high
performance, CMOS, fully static, 8-bit microcontrollers
with an integrated LCD Driver module, in the
PIC16CXXX mid-range family.
For the PIC16C925/926 family, there are two device
“types” as indicated in the device number:
1.
2.
C,
as in PIC16C926. These devices operate
over the standard voltage range.
LC,
as in PIC16LC926. These devices operate
over an extended voltage range.
TABLE 1-1:
PIC16C925/926 DEVICE FEATURES
Features
Operating Frequency
PIC16C925
DC-20 MHz
4K
176
TMR0,TMR1,TMR2
1
SPI/I
2
C
—
5
4 Com, 32 Seg
9
25
27
2.5-5.5
Yes
Yes
64-pin TQFP
68-pin PLCC
68-pin CLCC (CERQUAD)
Die
PIC16C926
DC-20 MHz
8K
336
TMR0,TMR1,TMR2
1
SPI/I
2
C
—
5
4 Com, 32 Seg
9
25
27
2.5-5.5
Yes
Yes
64-pin TQFP
68-pin PLCC
68-pin CLCC (CERQUAD)
Die
EPROM Program Memory (words)
Data Memory (bytes)
Timer Module(s)
Capture/Compare/PWM Module(s)
Serial Port(s)
(SPI/I
2
C, USART)
Parallel Slave Port
A/D Converter (10-bit) Channels
LCD Module
Interrupt Sources
I/O Pins
Input Pins
Voltage Range (V)
In-Circuit Serial Programming
Brown-out Reset
Packages
2001-2013 Microchip Technology Inc.
Preliminary
DS39544B-page 5