PIC16F88

Manufacturer Part NumberPIC16F88
ManufacturerMicrochip Technology Inc.
PIC16F88 datasheet
 
1
Page 1
2
Page 2
3
Page 3
4
Page 4
5
Page 5
6
Page 6
7
Page 7
8
Page 8
9
Page 9
10
Page 10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
Page 7/228:

Section Power-Managed Modes for

Download datasheet (5Mb)Embed
PrevNext
1.0
DEVICE OVERVIEW
This document contains device specific information for
the operation of the PIC16F87/88 devices. Additional
information may be found in the “PICmicro
MCU Family Reference Manual” (DS33023) which may
be downloaded from the Microchip web site. This
Reference Manual should be considered a comple-
mentary document to this data sheet and is highly
recommended reading for a better understanding of the
device architecture and operation of the peripheral
modules.
The PIC16F87/88 belongs to the Mid-Range family of
®
the PICmicro
devices. Block diagrams of the devices
are shown in Figure 1-1 and Figure 1-2. These devices
contain features that are new to the PIC16 product line:
• Low-power modes: RC_RUN allows the core and
peripherals to be clocked from the INTRC, while
SEC_RUN allows the core and peripherals to be
clocked from the low-power Timer1. Refer to
Section 4.7 “Power-Managed Modes” for
further details.
• Internal RC oscillator with eight selectable
frequencies, including 31.25 kHz, 125 kHz,
250 kHz, 500 kHz, 1 MHz, 2 MHz, 4 MHz and
8 MHz. The INTRC can be configured as a
primary or secondary clock source. Refer to
Section 4.5 “Internal Oscillator Block” for
further details.
• The Timer1 module current consumption has
been greatly reduced from 20 A (previous PIC16
devices) to 1.8 A typical (32 kHz at 2V), which is
ideal for real-time clock applications. Refer to
Section 7.0 “Timer1 Module” for further details.
• Extended Watchdog Timer (WDT) that can have a
programmable period from 1 ms to 268s. The
WDT has its own 16-bit prescaler. Refer to
Section 15.12 “Watchdog Timer (WDT)” for
further details.
• Two-Speed Start-up: When the oscillator is
configured for LP, XT or HS Oscillator mode, this
feature will clock the device from the INTRC while
the oscillator is warming up. This, in turn, will
enable almost immediate code execution. Refer
to Section 15.12.3 “Two-Speed Clock Start-up
Mode” for further details.
• Fail-Safe Clock Monitor: This feature will allow the
device to continue operation if the primary or
secondary clock source fails by switching over to
the INTRC.
• The A/D module has a new register for PIC16
devices named ANSEL. This register allows
easier configuration of analog or digital I/O pins.
 2005 Microchip Technology Inc.
TABLE 1-1:
Device
®
Mid-Range
PIC16F87/88
There are 16 I/O pins that are user configurable on a
pin-to-pin basis. Some pins are multiplexed with other
device functions. These functions include:
• External Interrupt
• Change on PORTB Interrupt
• Timer0 Clock Input
• Low-Power Timer1 Clock/Oscillator
• Capture/Compare/PWM
• 10-bit, 7-channel A/D Converter (PIC16F88 only)
2
• SPI™/I
C™
• Two Analog Comparators
• AUSART
• MCLR (RA5) can be configured as an input
Table 1-2 details the pinout of the devices with
descriptions and details for each pin.
PIC16F87/88
AVAILABLE MEMORY IN
PIC16F87/88 DEVICES
Program
Data
Data
Flash
Memory
EEPROM
4K x 14
368 x 8
256 x 8
DS30487C-page 5