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
Page 131
132
Page 132
133
Page 133
134
Page 134
135
Page 135
136
Page 136
137
Page 137
138
Page 138
139
Page 139
140
Page 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 137/228

Download datasheet (5Mb)Embed
PrevNext
TABLE 15-3:
RESET CONDITION FOR SPECIAL REGISTERS
Condition
Power-on Reset
MCLR Reset during normal operation
MCLR Reset during Sleep
WDT Reset
WDT Wake-up
Brown-out Reset
Interrupt Wake-up from Sleep
Legend: u = unchanged, x = unknown, - = unimplemented bit, read as ‘0’
Note 1:
When the wake-up is due to an interrupt and the GIE bit is set, the PC is loaded with the interrupt vector
(0004h).
TABLE 15-4:
INITIALIZATION CONDITIONS FOR ALL REGISTERS
Power-on Reset,
Register
Brown-out Reset
W
xxxx xxxx
INDF
TMR0
xxxx xxxx
PCL
0000h
STATUS
0001 1xxx
FSR
xxxx xxxx
PORTA (PIC16F87)
xxxx 0000
PORTA (PIC16F88)
xxx0 0000
PORTB (PIC16F87)
xxxx xxxx
PORTB (PIC16F87)
00xx xxxx
PCLATH
---0 0000
INTCON
0000 000x
PIR1
-000 0000
PIR2
00-0 ----
TMR1L
xxxx xxxx
TMR1H
xxxx xxxx
T1CON
-000 0000
TMR2
0000 0000
T2CON
-000 0000
SSPBUF
xxxx xxxx
SSPCON
0000 0000
CCPR1L
xxxx xxxx
CCPR1H
xxxx xxxx
CCP1CON
--00 0000
RCSTA
0000 000x
Legend: u = unchanged, x = unknown, - = unimplemented bit, read as ‘0’, q = value depends on condition
Note 1:
One or more bits in INTCON, PIR1 and PR2 will be affected (to cause wake-up).
2:
When the wake-up is due to an interrupt and the GIE bit is set, the PC is loaded with the interrupt vector
(0004h).
3:
See Table 15-3 for Reset value for specific condition.
 2005 Microchip Technology Inc.
Program
STATUS
Counter
Register
000h
0001 1xxx
000h
000u uuuu
000h
0001 0uuu
000h
0000 1uuu
PC + 1
uuu0 0uuu
000h
0001 1uuu
(1)
PC + 1
uuu1 0uuu
MCLR Reset,
WDT Reset
uuuu uuuu
N/A
N/A
uuuu uuuu
0000h
000q quuu
uuuu uuuu
uuuu 0000
uuu0 0000
uuuu uuuu
00uu uuuu
---0 0000
0000 000u
-000 0000
00-0 ----
uuuu uuuu
uuuu uuuu
-uuu uuuu
0000 0000
-000 0000
uuuu uuuu
0000 0000
uuuu uuuu
uuuu uuuu
--00 0000
0000 000x
PIC16F87/88
PCON
Register
---- --0x
---- --uu
---- --uu
---- --uu
---- --uu
---- --u0
---- --uu
Wake-up via WDT or
Interrupt
uuuu uuuu
N/A
uuuu uuuu
(2)
PC + 1
(3)
(3)
uuuq quuu
uuuu uuuu
uuuu uuuu
uuuu uuuu
uuuu uuuu
uuuu uuuu
---u uuuu
(1)
uuuu uuuu
(1)
-uuu uuuu
(1)
uu-u ----
uuuu uuuu
uuuu uuuu
-uuu uuuu
uuuu uuuu
-uuu uuuu
uuuu uuuu
uuuu uuuu
uuuu uuuu
uuuu uuuu
--uu uuuu
uuuu uuuu
DS30487C-page 135