PIC18F25K80 MICROCHIP [Microchip Technology], PIC18F25K80 Datasheet - Page 363

no-image

PIC18F25K80

Manufacturer Part Number
PIC18F25K80
Description
Manufacturer
MICROCHIP [Microchip Technology]
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC18F25K80-E/MM
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Company:
Part Number:
PIC18F25K80-E/SO
Quantity:
149
Part Number:
PIC18F25K80-E/SS
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
PIC18F25K80-H/MM
Manufacturer:
MITSUBISHI
Quantity:
56
Company:
Part Number:
PIC18F25K80-H/MM
Quantity:
12 600
Part Number:
PIC18F25K80-I/MM
Manufacturer:
MICROCHIP
Quantity:
2 400
Part Number:
PIC18F25K80-I/MM
0
Part Number:
PIC18F25K80-I/SO
Manufacturer:
MICROCHIP
Quantity:
3 000
Part Number:
PIC18F25K80-I/SP
Manufacturer:
MICROCHIP
Quantity:
147
Part Number:
PIC18F25K80-I/SP
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
PIC18F25K80-I/SS
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
PIC18F25K80-I/SS
0
Company:
Part Number:
PIC18F25K80-I/SS
Quantity:
5
Company:
Part Number:
PIC18F25K80T-H/MM
Quantity:
12 600
Part Number:
PIC18F25K80T-I/MM
Manufacturer:
MICROCHIP
Quantity:
3 000
Part Number:
PIC18F25K80T-I/SS
Manufacturer:
MICROCHIT
Quantity:
20 000
Part Number:
PIC18F25K80T-I/SS
0
Company:
Part Number:
PIC18F25K80T-I/SS
Quantity:
4 200
23.0
The Analog-to-Digital (A/D) Converter module in the
PIC18F66K80 family of devices has eight inputs for the
28-pin devices, 11 inputs for the 40/44-pin and 64-pin
devices. This module allows conversion of an analog
input signal to a corresponding 12-bit digital number.
The module has these registers:
• A/D Control Register 0 (ADCON0)
• A/D Control Register 1 (ADCON1)
• A/D Control Register 2 (ADCON2)
• A/D Port Configuration Register 1 (ANCON0)
• A/D Port Configuration Register 2 (ANCON1)
• ADRESH (the upper, A/D Results register)
• ADRESL (the lower, A/D Results register)
The ADCON0 register, shown in
trols the operation of the A/D module. The ADCON1
register, shown in
reference and special trigger selection. The ADCON2
register, shown in
clock source and programmed acquisition time and
justification.
 2011 Microchip Technology Inc.
12-BIT ANALOG-TO-DIGITAL
CONVERTER (A/D) MODULE
Register
Register
23-2, configures the voltage
23-3, configures the A/D
Register
23-1, con-
Preliminary
PIC18F66K80 FAMILY
23.1
The converter in PIC18F66K80 family devices is
implemented as a differential A/D where the differential
voltage between two channels is measured and
converted to digital values (see
The converter also can be configured to measure a
voltage from a single input by clearing the CHSN bits
(ADCON1<2:0>). With this configuration, the negative
channel input is connected internally to AV
Figure
FIGURE 23-1:
Differential conversion feeds the two input channels to
a unity gain differential amplifier. The positive channel
input is selected using the CHS bits (ADCON0<6:2>)
and the negative channel input is selected using the
CHSN bits (ADCON1<2:0>).
The output from the amplifier is fed to the A/D Con-
verter, as shown in
available on the ADRESH and ADRESL registers. An
additional bit indicates if the 12-bit result is a positive or
negative value.
FIGURE 23-2:
In the Single Channel Measurement mode, the
negative input is connected to A
CHSN bits (ADCON1<2:0>).
Positive Input
CHS<4:0>
CHSN<2:0> = 000
Positive input
CHS<4:0>
Negative input
CHSN<2:0>
23-2).
Differential A/D Converter
AV
SS
+
Figure
DIFFERENTIAL CHANNEL
MEASUREMENT
SINGLE CHANNEL
MEASUREMENT
+
23-1. The 12-bit result is
Figure
VSS
DS39977C-page 363
23-1).
by clearing the
ADC
ADC
SS
(see

Related parts for PIC18F25K80