PIC16F684-I/SL Microchip Technology Inc., PIC16F684-I/SL Datasheet - Page 68

no-image

PIC16F684-I/SL

Manufacturer Part Number
PIC16F684-I/SL
Description
14 PIN, 3.5 KB FLASH, 128 RAM, 12 I/O
Manufacturer
Microchip Technology Inc.
Datasheet

Specifications of PIC16F684-I/SL

A/d Inputs
8-Channel, 10-Bit
Comparators
2
Cpu Speed
5 MIPS
Eeprom Memory
256 Bytes
Input Output
12
Memory Type
Flash
Number Of Bits
8
Package Type
14-pin SOIC-N
Programmable Memory
3.5K Bytes
Ram Size
128 Bytes
Speed
20 MHz
Timers
2-8-bit, 1-16-bit
Voltage, Range
2-5.5 V
Lead Free Status / Rohs Status
RoHS Compliant part Electrostatic Device

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC16F684-I/SL
Manufacturer:
MXIC
Quantity:
1 500
Part Number:
PIC16F684-I/SL
Manufacturer:
Microchip Technology
Quantity:
32 570
Part Number:
PIC16F684-I/SL
Manufacturer:
MICROCHIP
Quantity:
1 000
Part Number:
PIC16F684-I/SL
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
PIC16F684-I/SL
0
PIC16F684
9.1
When configuring and using the ADC the following
functions must be considered:
• Port configuration
• Channel selection
• ADC voltage reference selection
• ADC conversion clock source
• Interrupt control
• Results formatting
9.1.1
The ADC can be used to convert both analog and digital
signals. When converting analog signals, the I/O pin
should be configured for analog by setting the associated
TRIS and ANSEL bits. See the corresponding port
section for more information.
9.1.2
The CHS bits of the ADCON0 register determine which
channel is connected to the sample and hold circuit.
When changing channels, a delay is required before
starting the next conversion. Refer to Section 9.2
“ADC Operation” for more information.
9.1.3
The VCFG bit of the ADCON0 register provides control
of the positive voltage reference. The positive voltage
reference can be either V
source. The negative voltage reference is always
connected to the ground reference.
TABLE 9-1:
DS41202D-page 66
Legend: Shaded cells are outside of recommended range.
Note 1:
ADC Clock Source
Note:
F
F
F
2:
3:
4:
F
F
F
OSC
OSC
OSC
ADC Configuration
OSC
OSC
OSC
F
ADC Clock Period (T
RC
The F
These values violate the minimum required T
For faster conversion times, the selection of another clock source is recommended.
When the device frequency is greater than 1 MHz, the F
conversion will be performed during Sleep.
PORT CONFIGURATION
Analog voltages on any pin that is defined
as a digital input may cause the input
buffer to conduct excess current.
CHANNEL SELECTION
ADC V
/16
/32
/64
/2
/4
/8
RC
ADC CLOCK PERIOD (T
OLTAGE REFERENCE
source has a typical T
DD
ADCS<2:0>
or an external voltage
AD
000
100
001
101
010
110
x11
)
AD
time of 4 s for V
AD
) V
2-6 s
100 ns
200 ns
400 ns
800 ns
20 MHz
1.6 s
3.2 s
S
. DEVICE OPERATING FREQUENCIES (V
(1,4)
AD
(2)
(2)
(2)
(2)
time.
DD
9.1.4
The source of the conversion clock is software select-
able via the ADCS bits of the ADCON1 register. There
are seven possible clock options:
• F
• F
• F
• F
• F
• F
• F
The time to complete one bit conversion is defined as
T
as shown in Figure 9-3.
For correct conversion, the appropriate T
must be met. See A/D conversion requirements in
Section 15.0 “Electrical Specifications” for more
information. Table 9-1 gives examples of appropriate
ADC clock selections.
AD
Note:
> 3.0V.
OSC
OSC
OSC
OSC
OSC
OSC
RC
. One full 10-bit conversion requires 11 T
2-6 s
RC
Device Frequency (F
250 ns
500 ns
1.0 s
8.0 s
8 MHz
2.0 s
4.0 s
(dedicated internal oscillator)
/2
/4
/8
/16
/32
/64
clock source is only recommended if the
(1,4)
(2)
(3)
(2)
(2)
Unless using the F
system clock frequency will change the
ADC
adversely affect the ADC result.
CONVERSION CLOCK
clock
2-6 s
16.0 s
500 ns
1.0 s
8.0 s
© 2006 Microchip Technology Inc.
4 MHz
2.0 s
4.0 s
OSC
frequency,
(1,4)
(2)
(3)
(2)
(3)
RC
)
, any changes in the
DD
AD
2-6 s
16.0 s
32.0 s
64.0 s
which
8.0 s
1 MHz
2.0 s
4.0 s
specification
> 3.0V)
AD
(1,4)
periods
(3)
(3)
(3)
(3)
may

Related parts for PIC16F684-I/SL