PIC16F88

Manufacturer Part NumberPIC16F88
ManufacturerMicrochip Technology Inc.
PIC16F88 datasheet
 
1
2
3
4
5
6
7
8
9
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
Page 211
212
Page 212
213
Page 213
214
Page 214
215
Page 215
216
Page 216
217
Page 217
218
Page 218
219
Page 219
220
Page 220
221
222
223
224
225
226
227
228
Page 217/228

Download datasheet (5Mb)Embed
PrevNext
INDEX
A
A/D
Acquisition Requirements ........................................ 117
ADIF Bit .................................................................... 116
Analog-to-Digital Converter ...................................... 113
Associated Registers ............................................... 120
Calculating Acquisition Time .................................... 117
Configuring Analog Port Pins ................................... 119
Configuring the Interrupt .......................................... 116
Configuring the Module ............................................ 116
Conversion Clock ..................................................... 118
Conversions ............................................................. 119
Converter Characteristics ........................................ 190
Delays ...................................................................... 117
Effects of a Reset ..................................................... 120
GO/DONE Bit ........................................................... 116
Internal Sampling Switch (Rss) Impedance ............. 117
Operation During Sleep ........................................... 120
Operation in Power-Managed Modes ...................... 118
Result Registers ....................................................... 119
Source Impedance ................................................... 117
Time Delays ............................................................. 117
Using the CCP Trigger ............................................. 120
Absolute Maximum Ratings ............................................. 163
ACK .................................................................................... 93
ADCON0 Register ...................................................... 14, 113
ADCON1 Register ...................................................... 15, 113
Addressable Universal Synchronous Asynchronous
Receiver Transmitter. See AUSART.
ADRESH Register ...................................................... 14, 113
ADRESH, ADRESL Register Pair .................................... 116
ADRESL Register ...................................................... 15, 113
ANSEL Register ............................................. 15, 52, 58, 113
Application Notes
AN556 (Implementing a Table Read) ........................ 25
AN578 (Use of the SSP Module in the I
Multi-Master Environment) ................................. 87
AN607 (Power-up Trouble Shooting) ....................... 133
Assembler
MPASM Assembler .................................................. 157
Asynchronous Reception
Associated Registers ....................................... 105, 107
Asynchronous Transmission
Associated Registers ............................................... 103
AUSART ............................................................................ 97
Address Detect Enable (ADDEN Bit) ......................... 98
Asynchronous Mode ................................................ 102
Asynchronous Receive (9-bit Mode) ........................ 106
Asynchronous Receive with Address Detect.
See Asynchronous Receive (9-Bit Mode).
Asynchronous Receiver ........................................... 104
Asynchronous Reception ......................................... 105
Asynchronous Transmitter ....................................... 102
Baud Rate Generator (BRG) ...................................... 99
Baud Rate Formula ............................................ 99
Baud Rates, Asynchronous Mode
(BRGH = 0) .............................................. 100
Baud Rates, Asynchronous Mode
(BRGH = 1) .............................................. 100
High Baud Rate Select (BRGH Bit) ................... 97
 2005 Microchip Technology Inc.
INTRC Baud Rates, Asynchronous Mode
(BRGH = 0) .............................................. 101
INTRC Baud Rates, Asynchronous Mode
(BRGH = 1) .............................................. 101
INTRC Operation ............................................... 99
Low-Power Mode Operation .............................. 99
Sampling ........................................................... 99
Clock Source Select (CSRC Bit) ............................... 97
Continuous Receive Enable (CREN Bit) ................... 98
Framing Error (FERR Bit) .......................................... 98
Mode Select (SYNC Bit) ............................................ 97
Receive Data, 9th bit (RX9D Bit) ............................... 98
Receive Enable, 9-bit (RX9 Bit) ................................. 98
Serial Port Enable (SPEN Bit) ............................. 97, 98
Single Receive Enable (SREN Bit) ............................ 98
Synchronous Master Mode ...................................... 108
Synchronous Master Reception .............................. 110
Synchronous Master Transmission ......................... 108
Synchronous Slave Mode ........................................ 111
Synchronous Slave Reception ................................ 112
Synchronous Slave Transmit ................................... 111
Transmit Data, 9th Bit (TX9D) ................................... 97
Transmit Enable (TXEN Bit) ...................................... 97
Transmit Enable, Nine-bit (TX9 Bit) ........................... 97
Transmit Shift Register Status
(TRMT Bit) ......................................................... 97
B
Baud Rate Generator
Associated Registers ................................................. 99
BF Bit ................................................................................. 93
Block Diagrams
A/D ........................................................................... 116
Analog Input Model .......................................... 117, 125
AUSART Receive ............................................ 104, 106
AUSART Transmit ................................................... 102
2
C
Capture Mode Operation ........................................... 82
Comparator I/O Operating Modes ........................... 122
Comparator Output .................................................. 124
Comparator Voltage Reference ............................... 128
Compare Mode Operation ......................................... 83
Fail-Safe Clock Monitor ........................................... 144
In-Circuit Serial Programming
Connections .................................................... 147
Interrupt Logic .......................................................... 139
On-Chip Reset Circuit .............................................. 132
PIC16F87 .................................................................... 6
PIC16F88 .................................................................... 7
RA0/AN0:RA1/AN1 Pins ............................................ 52
RA2/AN2/CV
RA3/AN3/V
RA4/AN4/T0CKI/C2OUT Pin ..................................... 54
RA5/MCLR/V
RA6/OSC2/CLKO Pin ................................................ 55
RA7/OSC1/CLKI Pin .................................................. 56
RB0/INT/CCP1 Pin .................................................... 59
RB1/SDI/SDA Pin ...................................................... 60
RB2/SDO/RX/DT Pin ................................................. 61
RB3/PGM/CCP1 Pin .................................................. 62
RB4/SCK/SCL Pin ..................................................... 63
RB5/SS/TX/CK Pin .................................................... 64
PIC16F87/88
/V
- Pin ....................................... 53
REF
REF
+/C1OUT Pin ..................................... 53
REF
Pin ................................................... 54
PP
DS30487C-page 215