Electronic Components Datasheet Search
  English  ▼

X  

16F630 Datasheet(PDF) 45 Page - Microchip Technology

Part # 16F630
Description  14-Pin FLASH-Based 8-Bit CMOS Microcontrollers
PDF  132 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  MICROCHIP [Microchip Technology]
Direct Link  http://www.microchip.com
Logo MICROCHIP - Microchip Technology

16F630 Datasheet(HTML) 45 Page - Microchip Technology

Back Button 16F630 Datasheet HTML 41Page - Microchip Technology 16F630 Datasheet HTML 42Page - Microchip Technology 16F630 Datasheet HTML 43Page - Microchip Technology 16F630 Datasheet HTML 44Page - Microchip Technology 16F630 Datasheet HTML 45Page - Microchip Technology 16F630 Datasheet HTML 46Page - Microchip Technology 16F630 Datasheet HTML 47Page - Microchip Technology 16F630 Datasheet HTML 48Page - Microchip Technology 16F630 Datasheet HTML 49Page - Microchip Technology Next Button
Zoom Inzoom in Zoom Outzoom out
 45 / 132 page
background image
 2003 Microchip Technology Inc.
DS40039C-page 43
PIC16F630/676
7.0
ANALOG-TO-DIGITAL
CONVERTER (A/D) MODULE
(PIC16F676 ONLY)
The analog-to-digital converter (A/D) allows conversion
of an analog input signal to a 10-bit binary representa-
tion of that signal. The PIC16F676 has eight analog
inputs, multiplexed into one sample and hold circuit.
The output of the sample and hold is connected to the
input of the converter. The converter generates a
binary result via successive approximation and stores
the result in a 10-bit register. The voltage reference
used in the conversion is software selectable to either
V
DD or a voltage applied by the VREF pin. Figure 7-1
shows the block diagram of the A/D on the PIC16F676.
FIGURE 7-1:
A/D BLOCK DIAGRAM
7.1
A/D Configuration and Operation
There are three registers available to control the
functionality of the A/D module:
1.
ADCON0 (Register 7-1)
2.
ADCON1 (Register 7-2)
3.
ANSEL (Register 7-3)
7.1.1
ANALOG PORT PINS
The ANS7:ANS0 bits (ANSEL<7:0>) and the TRISA
bits control the operation of the A/D port pins. Set the
corresponding TRISA bits to set the pin output driver to
its high impedance state. Likewise, set the correspond-
ing ANS bit to disable the digital input buffer.
7.1.2
CHANNEL SELECTION
There are eight analog channels on the PIC16F676,
AN0
through
AN7.
The
CHS2:CHS0
bits
(ADCON0<4:2>) control which channel is connected to
the sample and hold circuit.
7.1.3
VOLTAGE REFERENCE
There are two options for the voltage reference to the
A/D converter: either V
DD is used, or an analog voltage
applied to V
REF is used. The VCFG bit (ADCON0<6>)
controls the voltage reference selection. If VCFG is set,
then the voltage on the V
REF pin is the reference;
otherwise, V
DD is the reference.
7.1.4
CONVERSION CLOCK
The A/D conversion cycle requires 11 T
AD. The source
of the conversion clock is software selectable via the
ADCS bits (ADCON1<6:4>). There are seven possible
clock options:
•F
OSC/2
•F
OSC/4
•F
OSC/8
•F
OSC/16
•F
OSC/32
•F
OSC/64
•F
RC (dedicated internal oscillator)
For correct conversion, the A/D conversion clock
(1/T
AD) must be selected to ensure a minimum TAD of
1.6
µs. Table 7-1 shows a few TAD calculations for
selected frequencies.
RA0/AN0
ADC
RA1/AN1/VREF
RA2/AN2
RC0/AN4
VDD
VREF
ADON
GO/DONE
VCFG = 1
VCFG = 0
CHS2:CHS0
ADRESH
ADRESL
10
10
ADFM
VSS
RC1/AN5
RC2/AN6
RC3/AN7
RA4/AN3
Note:
Analog voltages on any pin that is defined
as a digital input may cause the input
buffer to conduct excess current.



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