PIC18F24J11 MICROCHIP [Microchip Technology], PIC18F24J11 Datasheet - Page 351

no-image

PIC18F24J11

Manufacturer Part Number
PIC18F24J11
Description
28/44-Pin, Low-Power, High-Performance USB Microcontrollers with nanoWatt XLP Technology
Manufacturer
MICROCHIP [Microchip Technology]
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC18F24J11-I/ML
Manufacturer:
MICROCHIP
Quantity:
49 000
Part Number:
PIC18F24J11-I/SO
Manufacturer:
Microchip Technology
Quantity:
1 960
21.0
The Analog-to-Digital (A/D) Converter module has
10 inputs for the 28-pin devices and 13 for the 44-pin
devices. Additionally, two internal channels are
available for sampling the V
reference voltage. This module allows conversion of an
analog input signal to a corresponding 10-bit digital
number.
The module has six registers:
• A/D Control Register 0 (ADCON0)
REGISTER 21-1:
 2011 Microchip Technology Inc.
bit 7
Legend:
R = Readable bit
-n = Value at POR
bit 7
bit 6
bit 5-2
bit 1
bit 0
Note 1:
VCFG1
R/W-0
2:
3:
4:
10-BIT ANALOG-TO-DIGITAL
CONVERTER (A/D) MODULE
These channels are not implemented on 28-pin devices.
Performing a conversion on unimplemented channels will return random values.
For best accuracy, the band gap reference circuit should be enabled (ANCON1<7> = 1) at least 10 ms before performing a conversion
on this channel.
On 44-pin QFN devices, AV
package types tie AV
VCFG1: Voltage Reference Configuration bit (V
1 = V
0 = AV
VCFG0: Voltage Reference Configuration bit (V
1 = V
0 = AV
CHS<3:0>: Analog Channel Select bits
0000 = Channel 00 (AN0)
0001 = Channel 01 (AN1)
0010 = Channel 02 (AN2)
0011 = Channel 03 (AN3)
0100 = Channel 04 (AN4)
0101 = Channel 05 (AN5)
0110 = Channel 06 (AN6)
0111 = Channel 07 (AN7)
1000 = Channel 08 (AN8)
1001 = Channel 09 (AN9)
1010 = Channel 10 (AN10)
1011 = Channel 11 (AN11)
1100 = Channel 12 (AN12)
1101 = (Reserved)
1110 = V
1111 = V
GO/DONE: A/D Conversion Status bit
When ADON = 1:
1 = A/D conversion in progress
0 = A/D Idle
ADON: A/D On bit
1 = A/D Converter module is enabled
0 = A/D Converter module is disabled
VCFG0
R/W-0
REF
REF
SS
DD
ADCON0: A/D CONTROL REGISTER 0 (ACCESS FC2h)
- (AN2)
+ (AN3)
(4)
(4)
DDCORE
BG
DDCORE
Absolute Reference (~1.2V)
DD
W = Writable bit
‘1’ = Bit is set
and AV
CHS3
DD
R/W-0
and AV
and V
SS
(2)
to V
(1)
(1)
(1)
SS
DD
BG
reference sources are intended to be externally connected to V
and V
absolute
CHS2
R/W-0
SS
internally.
(2)
(2)
(3)
U = Unimplemented bit, read as ‘0’
‘0’ = Bit is cleared
PIC18F46J11 FAMILY
CHS1
REF
REF
R/W-0
• A/D Control Register 1 (ADCON1)
• A/D Port Configuration Register 2 (ANCON0)
• A/D Port Configuration Register 1 (ANCON1)
• A/D Result Registers (ADRESH and ADRESL)
The ADCON0 register, in
operation of the A/D module. The ADCON1 register, in
Register
programmed acquisition time and justification.
The ANCON0 and ANCON1 registers, in
and
pins.
- source)
+ source)
Register
(2)
21-2, configures the A/D clock source,
CHS0
21-4, configure the functions of the port
R/W-0
(2)
x = Bit is unknown
GO/DONE
Register
R/W-0
DD
and V
DS39932D-page 351
21-1, controls the
SS
levels. Other
Register 21-3
ADON
R/W-0
bit 0

Related parts for PIC18F24J11