PIC16F684-ISL

Manufacturer Part NumberPIC16F684-ISL
ManufacturerMicrochip Technology Inc.
PIC16F684-ISL datasheets
 


Specifications of PIC16F684-ISL

CaseN/ANotesNEW
Date_code11+  
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
Page 151
152
Page 152
153
Page 153
154
Page 154
155
Page 155
156
Page 156
157
Page 157
158
Page 158
159
Page 159
160
Page 160
161
162
163
164
Page 157/164

Download datasheet (3Mb)Embed
PrevNext
INDEX
A
A/D ...................................................................................... 63
Acquisition Requirements ........................................... 68
Analog Port Pins ......................................................... 63
Associated Registers .................................................. 70
Block Diagram............................................................. 63
Calculating Acquisition Time....................................... 68
Channel Selection....................................................... 63
Configuration and Operation....................................... 63
Configuring.................................................................. 67
Configuring Interrupt ................................................... 67
Conversion Clock........................................................ 64
Effects of a Reset........................................................ 69
Internal Sampling Switch (R
) Impedance................ 68
SS
Operation During Sleep .............................................. 69
Output Format............................................................. 65
Reference Voltage (V
)........................................... 63
REF
Source Impedance...................................................... 68
Special Event Trigger.................................................. 69
Specifications............................................ 144, 145, 146
Starting a Conversion ................................................. 64
Using the ECCP Trigger ............................................. 69
Absolute Maximum Ratings .............................................. 127
AC Characteristics
Industrial and Extended ............................................ 137
Load Conditions ........................................................ 136
ADCON0 Register............................................................... 66
ADCON1 Register............................................................... 66
Analog Front-end (AFE)
Power-On Reset ......................................................... 95
Analog Input Connection Considerations............................ 56
Analog-to-Digital Converter. See A/D
ANSEL Register .................................................................. 65
Assembler
MPASM Assembler................................................... 121
B
Block Diagrams
A/D .............................................................................. 63
Analog Input Model ............................................... 56, 68
Capture Mode Operation ............................................ 76
Comparator 1 .............................................................. 58
Comparator 2 .............................................................. 58
Comparator Modes ..................................................... 57
Comparator Voltage Reference (CV
REF
Compare ..................................................................... 77
Fail-Safe Clock Monitor (FSCM) ................................. 27
In-Circuit Serial Programming Connections.............. 109
Interrupt Logic ........................................................... 102
MCLR Circuit............................................................... 95
On-Chip Reset Circuit ................................................. 94
PIC16F684.................................................................... 5
PWM (Enhanced)........................................................ 78
RA0 Pins ..................................................................... 35
RA1 Pins ..................................................................... 36
RA2 Pin....................................................................... 37
RA3 Pin....................................................................... 37
RA4 Pin....................................................................... 38
RA5 Pin....................................................................... 38
RC0 and RC1 Pins...................................................... 40
RC2 and RC3 Pins...................................................... 41
RC4 Pin....................................................................... 41
RC5 Pin....................................................................... 42
Resonator Operation................................................... 21
 2004 Microchip Technology Inc.
System Clock.............................................................. 19
Timer1 ........................................................................ 49
Timer2 ........................................................................ 54
TMR0/WDT Prescaler ................................................ 45
Watchdog Timer (WDT)............................................ 105
Brown-out Detect (BOD)..................................................... 96
Associated .................................................................. 97
Calibration .................................................................. 96
Specifications ........................................................... 141
Timing and Characteristics ....................................... 140
C
C Compilers
MPLAB C17.............................................................. 122
MPLAB C18.............................................................. 122
MPLAB C30.............................................................. 122
CALIB Register ................................................................... 93
Calibration Bits.................................................................... 93
Capture Module. See Enhanced
Capture/Compare/PWM (ECCP)
CCP1CON Register............................................................ 75
CCPR1H Register............................................................... 75
CCPR1L Register ............................................................... 75
CMCON0 Register.............................................................. 55
CMCON1 Register.............................................................. 59
Code Examples
Assigning Prescaler to Timer0.................................... 47
Assigning Prescaler to WDT....................................... 47
Changing Between Capture Prescalers ..................... 76
Data EEPROM Read.................................................. 73
Data EEPROM Write .................................................. 73
Indirect Addressing..................................................... 17
Initializing A/D............................................................. 67
Initializing PORTA ...................................................... 31
Initializing PORTC ...................................................... 40
Saving Status and W Registers in RAM ................... 104
Ultra Low-Power Wake-up Initialization...................... 34
Write Verify ................................................................. 73
Code Protection ................................................................ 108
Comparator Voltage Reference (CV
Accuracy/Error............................................................ 60
Associated registers ................................................... 62
Configuring ................................................................. 60
Effects of a Reset ....................................................... 61
Response Time .......................................................... 61
) .................... 60
Specifications ........................................................... 144
Comparators ....................................................................... 55
Associated Registers.................................................. 62
C2OUT as T1 Gate............................................... 50, 59
Configurations ............................................................ 57
Effects of a Reset ....................................................... 61
Interrupts .................................................................... 59
Operation.................................................................... 56
Operation During Sleep .............................................. 61
Outputs ....................................................................... 59
Response Time .......................................................... 61
Specifications ........................................................... 143
Synchronizing C2OUT w/ Timer1 ............................... 59
Compare Module. See Enhanced
Capture/Compare/PWM (ECCP)
CONFIG Register ............................................................... 92
Configuration Bits ............................................................... 92
CPU Features ..................................................................... 91
Preliminary
PIC16F684
)............................ 60
REF
DS41202C-page 155