PIC16F688

Manufacturer Part NumberPIC16F688
ManufacturerMicrochip Technology Inc.
PIC16F688 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
Page 191
192
Page 192
193
Page 193
194
Page 194
195
Page 195
196
Page 196
197
Page 197
198
Page 198
199
Page 199
200
Page 200
201
202
Page 196/202

Download datasheet (4Mb)Embed
PrevNext
PIC16F688
Effects of a Reset........................................................ 60
Specifications ............................................................ 159
CONFIG Register.............................................................. 111
Configuration Bits.............................................................. 110
CPU Features ................................................................... 109
Customer Change Notification Service ............................. 197
Customer Notification Service........................................... 197
Customer Support ............................................................. 197
D
Data EEPROM Memory ...................................................... 77
Associated Registers .................................................. 82
Reading....................................................................... 80
Writing ......................................................................... 80
Data Memory......................................................................... 7
DC and AC Characteristics
Graphs and Tables ................................................... 163
DC Characteristics
Extended and Industrial ............................................ 149
Industrial and Extended ............................................ 145
Development Support ....................................................... 139
Device Overview ................................................................... 5
E
EEADR Register ................................................................. 78
EEADR Registers................................................................ 77
EEADRH Registers ............................................................. 77
EECON1 Register ......................................................... 77, 79
EECON2 Register ............................................................... 77
EEDAT Register.................................................................. 78
EEDATH Register ............................................................... 78
Electrical Specifications .................................................... 143
Enhanced Universal Synchronous Asynchronous Receiver
Transmitter (EUSART) ................................................ 83
Errata .................................................................................... 4
EUSART.............................................................................. 83
Associated Registers
Baud Rate Generator.......................................... 95
Asynchronous Mode ................................................... 85
12-bit Break Transmit and Receive................... 101
Associated Registers
Receive ....................................................... 91
Transmit ...................................................... 87
Auto-Wake-up on Break.................................... 100
Baud Rate Generator (BRG)............................... 95
Clock Accuracy ................................................... 92
Receiver.............................................................. 88
Setting up 9-bit Mode with Address Detect......... 90
Transmitter.......................................................... 85
Baud Rate Generator (BRG)
Auto Baud Rate Detect ....................................... 99
Baud Rate Error, Calculating .............................. 95
Baud Rates, Asynchronous Modes..................... 96
Formulas ............................................................. 95
High Baud Rate Select (BRGH Bit)..................... 95
Synchronous Master Mode ............................... 103, 107
Associated Registers
Receive ..................................................... 106
Transmit .................................................... 104
Reception.......................................................... 105
Transmission..................................................... 103
Synchronous Slave Mode
Associated Registers
Receive ..................................................... 108
Transmit .................................................... 107
Reception.......................................................... 108
DS41203D-page 194
Transmission .................................................... 107
F
Fail-Safe Clock Monitor ...................................................... 31
Fail-Safe Condition Clearing....................................... 31
Fail-Safe Detection ..................................................... 31
Fail-Safe Operation..................................................... 31
Reset or Wake-up from Sleep .................................... 31
Firmware Instructions ....................................................... 129
Flash Program Memory ...................................................... 77
Fuses. See Configuration Bits
G
General Purpose Register File ............................................. 7
I
I/O Ports.............................................................................. 33
ID Locations...................................................................... 126
In-Circuit Debugger........................................................... 127
In-Circuit Serial Programming (ICSP)............................... 127
Indirect Addressing, INDF and FSR Registers ................... 20
Instruction Format............................................................. 129
Instruction Set................................................................... 129
ADDLW..................................................................... 131
ADDWF..................................................................... 131
ANDLW..................................................................... 131
ANDWF..................................................................... 131
BCF .......................................................................... 131
BSF........................................................................... 131
BTFSC ...................................................................... 131
BTFSS ...................................................................... 132
CALL......................................................................... 132
CLRF ........................................................................ 132
CLRW ....................................................................... 132
CLRWDT .................................................................. 132
COMF ....................................................................... 132
DECF ........................................................................ 132
DECFSZ ................................................................... 133
GOTO ....................................................................... 133
INCF ......................................................................... 133
INCFSZ..................................................................... 133
IORLW ...................................................................... 133
IORWF...................................................................... 133
MOVF ....................................................................... 134
MOVLW .................................................................... 134
MOVWF .................................................................... 134
NOP .......................................................................... 134
RETFIE ..................................................................... 135
RETLW ..................................................................... 135
RETURN................................................................... 135
RLF ........................................................................... 136
RRF .......................................................................... 136
SLEEP ...................................................................... 136
SUBLW ..................................................................... 136
SUBWF..................................................................... 137
SWAPF ..................................................................... 137
XORLW .................................................................... 137
XORWF .................................................................... 137
Summary Table ........................................................ 130
INTCON Register................................................................ 15
Internal Oscillator Block
INTOSC
Specifications ........................................... 154, 155
Internal Sampling Switch (R
) Impedance........................ 73
SS
Internet Address ............................................................... 197
Interrupts........................................................................... 119
© 2007 Microchip Technology Inc.