Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

PIC16LC773-04/SP Datasheet(PDF) 117 Page - Microchip Technology

Part # PIC16LC773-04/SP
Description  28/40-Pin, 8-Bit CMOS Microcontrollers w/ 12-Bit A/D
PDF  200 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  MICROCHIP [Microchip Technology]
Direct Link  http://www.microchip.com
Logo MICROCHIP - Microchip Technology

PIC16LC773-04/SP Datasheet(HTML) 117 Page - Microchip Technology

Back Button PIC16LC773-04/SP Datasheet HTML 113Page - Microchip Technology PIC16LC773-04/SP Datasheet HTML 114Page - Microchip Technology PIC16LC773-04/SP Datasheet HTML 115Page - Microchip Technology PIC16LC773-04/SP Datasheet HTML 116Page - Microchip Technology PIC16LC773-04/SP Datasheet HTML 117Page - Microchip Technology PIC16LC773-04/SP Datasheet HTML 118Page - Microchip Technology PIC16LC773-04/SP Datasheet HTML 119Page - Microchip Technology PIC16LC773-04/SP Datasheet HTML 120Page - Microchip Technology PIC16LC773-04/SP Datasheet HTML 121Page - Microchip Technology Next Button
Zoom Inzoom in Zoom Outzoom out
 117 / 200 page
background image
PIC16C77X
© 1999 Microchip Technology Inc.
Advance Information
DS30275A-page 117
11.0
ANALOG-TO-DIGITAL
CONVERTER (A/D) MODULE
The analog-to-digital (A/D) converter module has six
inputs for the PIC16C773 and ten for the PIC16C774.
The analog-to-digital converter (A/D) allows conver-
sion of an analog input signal to a corresponding
12-bit digital number. The A/D module has up to 10
analog inputs, which are multiplexed into one sample
and hold. The output of the sample and hold is the
input into the converter, which generates the result via
successive approximation. The analog reference volt-
ages are software selectable to either the device’s
analog
positive
and
negative
supply
voltages
(AVDD/AVSS), the voltage level on the VREF+
and
VREF- pins, or internal voltage references if available
(VRH, VRL).
The A/D converter has a unique feature of being able to
operate while the device is in SLEEP mode. To operate
in sleep, the A/D conversion clock must be derived from
the A/D’s internal RC oscillator.
The A/D module has four registers. These registers
are:
• A/D Result Register Low ADRESL
• A/D Result Register High ADRESH
• A/D Control Register 0 (ADCON0)
• A/D Control Register 1 (ADCON1)
A device reset forces all registers to their reset state.
This forces the A/D module to be turned off and any
conversion is aborted.
11.1
Control Registers
The ADCON0 register, shown in Figure 11-1, controls
the operation of the A/D module. The ADCON1 regis-
ter, shown in Figure 11-2, configures the functions of
the port pins, the voltage reference configuration and
the result format. The port pins can be configured as
analog inputs or as digital I/O.
The combination of the ADRESH and ADRESL regis-
ters contain the result of the A/D conversion. The reg-
ister pair is referred to as the ADRES register. When
the A/D conversion is complete, the result is loaded
into
ADRES, the GO/DONE bit
(ADCON0<2>) is
cleared, and the A/D interrupt flag ADIF is set. The
block diagram of the A/D module is shown in
Figure 11-3.
FIGURE 11-1: ADCON0 REGISTER (ADDRESS 1Fh).
R/W-0
R/W-0
R/W-0
R/W-0
R/W-0
R/W-0
R/W-0
R/W-0
ADCS1
ADCS0
CHS2
CHS1
CHS0
GO/DONE
CHS3
ADON
R =
Readable bit
W =
Writable bit
- n =
Value at POR reset
bit7
bit 0
bit 7:6
ADCS1:ADCS0: A/D Conversion Clock Select bits
00 = Fosc/2
01 = Fosc/8
10 = Fosc/32
11 = FRC (clock derived from an RC oscillator = 1 MHz max)
bit 5:3,1
CHS3:CHS0: Analog Channel Select bits
0000 = channel 00 (AN0)
0001 = channel 01 (AN1)
0010 = channel 02 (AN2)
0011 = channel 03 (AN3)
0100 = channel 04 (AN4) (Reserved on 28-pin devices, do not use)
0101 = channel 05 (AN5) (Reserved on 28-pin devices, do not use)
0110 = channel 06 (AN6) (Reserved on 28-pin devices, do not use)
0111 = channel 07 (AN7) (Reserved on 28-pin devices, do not use)
1000 = channel 08 (AN8)
1001 = channel 09 (AN9)
1010, 1011, 1100, 1101, 1110,1111 are reserved, do not select.
bit 2:
GO/DONE: A/D Conversion Status bit
1 = A/D conversion cycle in progress. Setting this bit starts an A/D conversion cycle.
This bit is automatically cleared by hardware when the A/D conversion has completed.
0 = A/D conversion completed/not in progress
bit 0:
ADON: A/D On bit
1 = A/D converter module is operating
0 = A/D converter is shutoff and consumes no operating 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