Electronic Components Datasheet Search
  English  ▼

X  

PIC16F785-E/ML Datasheet(PDF) 82 Page - Microchip Technology

Part # PIC16F785-E/ML
Description  20-Pin Flash-Based, 8-Bit CMOS Microcontroller with Two-Phase Asynchronous Feedback PWM Dual High-Speed Comparators and Dual Operational Amplifiers
PDF  206 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  MICROCHIP [Microchip Technology]
Direct Link  http://www.microchip.com
Logo MICROCHIP - Microchip Technology

PIC16F785-E/ML Datasheet(HTML) 82 Page - Microchip Technology

Back Button PIC16F785-E/ML Datasheet HTML 78Page - Microchip Technology PIC16F785-E/ML Datasheet HTML 79Page - Microchip Technology PIC16F785-E/ML Datasheet HTML 80Page - Microchip Technology PIC16F785-E/ML Datasheet HTML 81Page - Microchip Technology PIC16F785-E/ML Datasheet HTML 82Page - Microchip Technology PIC16F785-E/ML Datasheet HTML 83Page - Microchip Technology PIC16F785-E/ML Datasheet HTML 84Page - Microchip Technology PIC16F785-E/ML Datasheet HTML 85Page - Microchip Technology PIC16F785-E/ML Datasheet HTML 86Page - Microchip Technology Next Button
Zoom Inzoom in Zoom Outzoom out
 82 / 206 page
background image
PIC16F785/HV785
DS41249E-page 80
© 2008 Microchip Technology Inc.
12.1
A/D Configuration and Operation
There are four registers available to control the
functionality of the A/D module:
1.
ANSEL0 (Register 12-1)
2.
ANSEL1 (Register 12-2)
3.
ADCON0 (Register 12-3)
4.
ADCON1 (Register 12-4)
12.1.1
ANALOG PORT PINS
The ANS<11:0> bits, of the ANSEL1 and ANSEL0
Registers, and the TRISA<4,2:0>, TRISB<5:4> and
TRISC<7:6,3:0>> bits control the operation of the A/D
port pins. Set the corresponding TRISx bits to ‘1’ to set
the pin output driver to its high-impedance state. Like-
wise, set the corresponding ANSx bit to disable the dig-
ital input buffer.
12.1.2
CHANNEL SELECTION
There are fourteen analog channels on the PIC16F785/
HV785. The CHS<3:0> bits of the ADCON0 Register
control which channel is connected to the sample and
hold circuit.
12.1.3
VOLTAGE REFERENCE
There are two options for the voltage reference to the
A/D converter: either VDD is used or an analog voltage
applied to VREF is used. The VCFG bit of the ADCON0
Register controls the voltage reference selection. If
VCFG is set, then the voltage on the VREF pin is the ref-
erence; otherwise, VDD is the reference.
12.1.4
CONVERSION CLOCK
The A/D conversion cycle requires 11 TAD. The source
of the conversion clock is software selectable via the
ADCS bits of the ADCON1 Register. There are seven
possible clock options:
•FOSC/2
•FOSC/4
•FOSC/8
•FOSC/16
•FOSC/32
•FOSC/64
•FRC (dedicated internal oscillator)
For correct conversion, the A/D conversion clock
(1/TAD) must be selected to ensure a minimum TAD of
1.6
μs. Table 12-1 shows a few TAD calculations for
selected frequencies.
TABLE 12-1:
TAD VS. DEVICE OPERATING FREQUENCIES
Note:
Analog voltages on any pin that is defined
as a digital input may cause the input
buffer to conduct excess current.
A/D Clock Source (TAD)
Device Frequency
Operation
ADCS2:ADCS0
20 MHz
5 MHz
4 MHz
1.25 MHz
2 TOSC
000
100 ns(2)
400 ns(2)
500 ns(2)
1.6
μs
4 TOSC
100
200 ns(2)
800 ns(2)
1.0
μs(2)
3.2
μs
8 TOSC
001
400 ns(2)
1.6
μs2.0 μs6.4 μs
16 TOSC
101
800 ns(2)
3.2
μs4.0 μs
12.8
μs(3)
32 TOSC
010
1.6
μs6.4 μs
8.0
μs(3)
25.6
μs(3)
64 TOSC
110
3.2
μs
12.8
μs(3)
16.0
μs(3)
51.2
μs(3)
A/D RC
x11
2-6
μs(1), (4)
2-6
μs(1), (4)
2-6
μs(1), (4)
2-6
μs(1), (4)
Legend: Shaded cells are outside of recommended range.
Note 1:
The A/D RC source has a typical TAD time of 4
μs for VDD > 3.0V.
2:
These values violate the minimum required TAD time.
3:
For faster conversion times, the selection of another clock source is recommended.
4:
When the device frequency is greater than 1 MHz, the A/D RC clock source is only recommended if the
conversion will be performed during Sleep.



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