Electronic Components Datasheet Search
  English  ▼

X  

PIC16C781 Datasheet(PDF) 74 Page - Microchip Technology

Part # PIC16C781
Description  8-Bit CMOS Microcontrollers with A/D, D/A, OPAMP, Comparators and PSMC
PDF  186 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  MICROCHIP [Microchip Technology]
Direct Link  http://www.microchip.com
Logo MICROCHIP - Microchip Technology

PIC16C781 Datasheet(HTML) 74 Page - Microchip Technology

Back Button PIC16C781 Datasheet HTML 70Page - Microchip Technology PIC16C781 Datasheet HTML 71Page - Microchip Technology PIC16C781 Datasheet HTML 72Page - Microchip Technology PIC16C781 Datasheet HTML 73Page - Microchip Technology PIC16C781 Datasheet HTML 74Page - Microchip Technology PIC16C781 Datasheet HTML 75Page - Microchip Technology PIC16C781 Datasheet HTML 76Page - Microchip Technology PIC16C781 Datasheet HTML 77Page - Microchip Technology PIC16C781 Datasheet HTML 78Page - Microchip Technology Next Button
Zoom Inzoom in Zoom Outzoom out
 74 / 186 page
background image
PIC16C781/782
DS41171A-page 72
Preliminary
 2001 Microchip Technology Inc.
9.2
Configuring the ADC Module
9.2.1
CONFIGURING ANALOG PORT
PINS
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.
9.2.2
CONFIGURING THE REFERENCE
VOLTAGES
The VCFG<5:4> bits in the ADCON1 register configure
the ADC module reference voltage input, ADCREF. The
reference input can come from any of the following:
• Internal voltage reference (VR)
• External comparator C1 reference (VREF1)
• DAC output (VDAC)
• Analog positive supply (AVDD)
If an external reference is chosen for the ADCREF input,
the port pin that multiplexes with the incoming external
reference must also be configured as an analog input.
9.2.3
SELECTING THE ADC
CONVERSION CLOCK
The ADC conversion cycle requires 9.5TAD. The source
of the ADC conversion clock is software selectable.
The four possible options for ADC clock are:
• FOSC/2
• FOSC/8
• FOSC/32
• ADRC (clock derived from a dedicated internal
RC oscillator)
For correct ADC conversion, the ADC conversion clock
(TAD) must be selected to ensure a minimum TAD time
of 1.6
µsec. Table 9-1 shows the resultant TAD times
derived from the device operating frequencies and the
ADC clock source selected.
TABLE 9-1:
TAD vs. DEVICE OPERATING FREQUENCIES: PIC16C781/782
Legend: Shaded cells are outside of recommended range.
Note 1: The RC source has a typical TAD time of 4
µs.
2: These values violate the minimum required TAD time.
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
SLEEP operation only.
Note 1: The ADC operation is independent of the
state of the TRISB or ANSEL bits. These
bits must be configured by the firmware
prior to initiation of an ADC conversion.
2: When reading the PORTA or PORTB reg-
isters, all pins configured as analog input
channels will read as a ‘0’.
3: Analog levels on any pin that is defined as
a digital input, including AN<7:0>, may
cause the input buffer to consume excess
supply current.
ADC Clock Source (TAD)
Device Frequency
Operation
ADCS1:ADCS0
20 MHz
5 MHz
1.25 MHz
333.33kHz
2 TOSC
00
100 ns(2)
400 ns(2)
1.6 s
6
µs
8 TOSC
01
400 ns
1.6
µs6.4 µs
24
µs(3)
32 TOSC
10
1.6
µs6.4 µs25.6 µs(3)
96
µs(3)
RC
11
2 - 6
µs(1,4)
2 - 6
µs(1,4)
2 - 6
µs(1,4)
2 - 6
µs(1)



Html Pages

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  ...More


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com