Electronic Components Datasheet Search
  English  ▼

X  

PIC16C781 Datasheet(PDF) 75 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) 75 Page - Microchip Technology

Back Button 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 PIC16C781 Datasheet HTML 79Page - Microchip Technology Next Button
Zoom Inzoom in Zoom Outzoom out
 75 / 186 page
background image
 2001 Microchip Technology Inc.
Preliminary
DS41171A-page 73
PIC16C781/782
9.2.4
INITIATING A CONVERSION
The Analog-to-Digital conversion is initiated by setting
the GO/DONE bit in ADCON0 register. When the con-
version is complete, the ADC module:
• Clears the GO/DONE bit
• Sets the ADIF flag in the PIR1 register
• Generates an interrupt if the ADIE, PEIE, and GIE
bits are set.
If the conversion must be aborted, the GO/DONE bit
can be cleared in software. The ADRES register will not
be updated with the partially completed ADC conver-
sion sample. Instead, the ADRES will contain the value
from the last completed conversion. After an aborted
conversion, a 2TAD delay is required before another
acquisition/conversion can be initiated. Following the
delay, an input acquisition is automatically started on
the selected channel.
9.3
ADC Acquisition Requirements
For the ADC module to meet its specified accuracy, the
internal Sample-and-Hold capacitor (CHOLD) must be
allowed to charge to within ½ LSb of the voltage present
on the input channel (see analog input model in Figure
9-2). The analog source resistance (RS) and the internal
sampling switch resistance (RSS) will directly affect the
time required to charge CHOLD. In addition, RSS will vary
over the power supply voltage range (AVDD), and RS will
affect the input offset voltage at the analog input (due to
pin leakage current). Therefore:
1.
The maximum recommended impedance for
any analog sources is 10 kOhms.
2.
Following any change in the analog input chan-
nel selection, a minimum acquisition delay must
be observed before another conversion can
begin (see Equation 9-1).
To calculate the minimum acquisition time, Equation 9-1
may be used. This equation calculates the acquisition
time to within ½ LSb error, assuming an 8-bit conver-
sion (512 steps for the PIC16C781/782 ADC). The ½
LSb error is the maximum error allowed for the ADC to
meet its specified accuracy.
EQUATION 9-1:
ADC MINIMUM
CHARGING TIME
Example 9-1 shows the calculation of the minimum
required acquisition time TACQ. This calculation is
based on the following system assumptions.
CHOLD = 51.2 pF
RS = 10k
Ω
1/2 LSb error
RSS = 7k
Ω @ VDD = 5V
EXAMPLE 9-1:
CALCULATING THE
MINIMUM REQUIRED
ACQUISITION TIME
Note:
The GO/DONE bit should NOT be set in
the same instruction that turns on the ADC.
VHOLD = (ADCREF-(ADCREF/512))•(1-e
-TCAP/CHOLD(RIC+Rss+Rs))
Given: VHOLD = (ADCREF/512), for 1/2LSb resolution
The above equation reduces to:
TCAP = -(51.2 pF)(1 k
Ω + RSS + RS) Ln(1/511)
Note 1: The reference voltage (ADCREF) has no
effect on the equation, since it cancels
itself out.
2: The charge holding capacitor (CHOLD) is
not discharged after each conversion.
3: The maximum recommended impedance
for analog sources is 10
k
Ω. This is
required to meet the pin leakage specifi-
cation.
4: After a conversion has completed, a
1.0TAD delay must be completed before
acquisition can begin again. During this
time the holding capacitor is not connected
to the selected ADC input channel.
TACQ
= Amplifier Setting Time +
Holding Capacitor Charging Time +
Temperature Coefficient
TACQ
=5
µs + TCAP + [(Temp - 25°C)(0.05 µs/°C)]
TCAP
=-CHOLD (RIC + RSS + RS) In(1/511)
-51.2 pF (1
k
Ω + 7kΩ + 10kΩ) In(0.0020)
-51.2 pF (18
k
Ω) In(0.0020)
-0.921
µs (-6.2364)
5.747
µs
TACQ
=5
µs + 5.747 µs + [(50°C -25°C)(0.05µs/°C)]
10.747
µs + 1.25 µs
11.997
µs



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