PIC16C782 Microchip Technology Inc., PIC16C782 Datasheet - Page 74
![no-image](/images/manufacturer_photos/0/4/440/microchip_technology_inc__sml.jpg)
PIC16C782
Manufacturer Part Number
PIC16C782
Description
8-bit Cmos Microcontrollers With A/d, D/a, Opamp, Comparators And Psmc
Manufacturer
Microchip Technology Inc.
Datasheet
1.PIC16C782.pdf
(186 pages)
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
- Current page: 74 of 186
- Download datasheet (4Mb)
PIC16C781/782
9.2
9.2.1
The ANSEL and TRISB registers control the operation
of the ADC port pins. The port pins to be used as ana-
log inputs must have their corresponding TRISB bits
set (= 1). The proper ANSEL bits must also be set (ana-
log input) to disable the digital input buffer.
TABLE 9-1:
Legend: Shaded cells are outside of recommended range.
Note 1: The RC source has a typical T
DS41171A-page 72
2 T
8 T
32 T
RC
Note 1: The ADC operation is independent of the
OSC
OSC
Operation
OSC
2: These values violate the minimum required T
3: For faster conversion times, the selection of another clock source is recommended.
4: When device frequency is greater than 1 MHz, the RC ADC conversion clock source is recommended for
Configuring the ADC Module
ADC Clock Source (T
2: When reading the PORTA or PORTB reg-
3: Analog levels on any pin that is defined as
SLEEP operation only.
CONFIGURING ANALOG PORT
PINS
state of the TRISB or ANSEL bits. These
bits must be configured by the firmware
prior to initiation of an ADC conversion.
isters, all pins configured as analog input
channels will read as a ‘0’.
a digital input, including AN<7:0>, may
cause the input buffer to consume excess
supply current.
TAD vs. DEVICE OPERATING FREQUENCIES: PIC16C781/782
ADCS1:ADCS0
00
01
10
11
AD
)
AD
time of 4 s.
2 - 6 s
100 ns
20 MHz
400 ns
1.6 s
Preliminary
(1,4)
(2)
AD
time.
9.2.2
The VCFG<5:4> bits in the ADCON1 register configure
the ADC module reference voltage input, ADC
reference input can come from any of the following:
• Internal voltage reference (V
• External comparator C1 reference (V
• DAC output (V
• Analog positive supply (A
If an external reference is chosen for the ADC
the port pin that multiplexes with the incoming external
reference must also be configured as an analog input.
9.2.3
The ADC conversion cycle requires 9.5T
of the ADC conversion clock is software selectable.
The four possible options for ADC clock are:
• F
• F
• F
• ADRC (clock derived from a dedicated internal
For correct ADC conversion, the ADC conversion clock
(T
of 1.6 sec. Table 9-1 shows the resultant T
derived from the device operating frequencies and the
ADC clock source selected.
2 - 6 s
400 ns
AD
RC oscillator)
5 MHz
1.6 s
6.4 s
OSC
OSC
OSC
) must be selected to ensure a minimum T
/2
/8
/32
Device Frequency
(1,4)
(2)
CONFIGURING THE REFERENCE
VOLTAGES
SELECTING THE ADC
CONVERSION CLOCK
DAC
2 - 6 s
1.25 MHz
25.6 s
)
6.4 s
1.6 s
2001 Microchip Technology Inc.
(1,4)
(3)
VDD
R
)
)
333.33kHz
2 - 6 s
REF
24 s
96 s
AD
6 s
. The source
1)
REF
(3)
(3)
AD
REF
(1)
AD
input,
times
. The
time
Related parts for PIC16C782
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
![PIC-0903](/images/no-image3.png)
Part Number:
Description:
Photo IC(photodiode with signal processing)
Manufacturer:
KODENSHI KOREA CORP
Datasheet:
![PIC-1018SMB](/images/no-image3.png)
Part Number:
Description:
INFRARED RECEIVER MODULE
Manufacturer:
ETC
Datasheet:
![PIC-2058SMB](/images/no-image3.png)
Part Number:
Description:
INFRARED RECEIVER MODULE
Manufacturer:
ETC
Datasheet:
![PIC-2503](/images/no-image3.png)
Part Number:
Description:
Photo IC(photodiode with signal processing)
Manufacturer:
KODENSHI KOREA CORP
Datasheet:
![PIC12045S](/images/manufacturer_photos/0/3/374/kodenshi_tmb.jpg)
Part Number:
Description:
(PIC-1204x) OPTICAL-RECEIVER OUTPUT PHOTO IC
Manufacturer:
Kodenshi
Datasheet:
![TC1014-2.7VCT](/images/manufacturer_photos/0/4/440/microchip_technology_inc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
![TC1014-5.0VCT](/images/manufacturer_photos/0/4/440/microchip_technology_inc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
![TC1055-2.5VCT](/images/manufacturer_photos/0/4/440/microchip_technology_inc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
![TC1055-2.7VCT](/images/manufacturer_photos/0/4/440/microchip_technology_inc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
![TC1055-2.8VCT](/images/manufacturer_photos/0/4/440/microchip_technology_inc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
![TC1055-4.0VCT](/images/manufacturer_photos/0/4/440/microchip_technology_inc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet: