PIC16C711-04/P Microchip Technology Inc., PIC16C711-04/P Datasheet - Page 39

no-image

PIC16C711-04/P

Manufacturer Part Number
PIC16C711-04/P
Description
18 PIN, 1.75 KB OTP, 68 RAM, 13 I/O
Manufacturer
Microchip Technology Inc.
Datasheet

Specifications of PIC16C711-04/P

A/d Inputs
4-Channel, 8-Bit
Cpu Speed
5 MIPS
Eeprom Memory
0 Bytes
Input Output
13
Memory Type
OTP
Number Of Bits
8
Package Type
18-pin PDIP
Programmable Memory
1.75K Bytes
Ram Size
68 Bytes
Speed
20 MHz
Timers
1-8-bit
Voltage, Range
2.5-5.5 V
Lead Free Status / Rohs Status
RoHS Compliant part Electrostatic Device

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC16C711-04/P
Manufacturer:
TI
Quantity:
9
Part Number:
PIC16C711-04/P
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
The ADRES register contains the result of the A/D con-
version. When the A/D conversion is complete, the
result is loaded into the ADRES register, the GO/DONE
bit (ADCON0<2>) is cleared, and A/D interrupt flag bit
ADIF is set. The block diagram of the A/D module is
shown in Figure 7-4.
After the A/D module has been configured as desired,
the selected channel must be acquired before the con-
version is started. The analog input channels must
have their corresponding TRIS bits selected as an
input. To determine acquisition time, see Section 7.1.
After this acquisition time has elapsed the A/D conver-
sion can be started. The following steps should be fol-
lowed for doing an A/D conversion:
1.
FIGURE 7-4:
1997 Microchip Technology Inc.
Configure the A/D module:
• Configure analog pins / voltage reference /
• Select A/D input channel (ADCON0)
• Select A/D conversion clock (ADCON0)
• Turn on A/D module (ADCON0)
and digital I/O (ADCON1)
Converter
A/D
A/D BLOCK DIAGRAM
(Reference
voltage)
V
REF
(Input voltage)
PCFG1:PCFG0
V
IN
V
DD
00 or
10 or
11
01
2.
3.
4.
5.
6.
7.
Configure A/D interrupt (if desired):
• Clear ADIF bit
• Set ADIE bit
• Set GIE bit
Wait the required acquisition time.
Start conversion:
• Set GO/DONE bit (ADCON0)
Wait for A/D conversion to complete, by either:
• Polling for the GO/DONE bit to be cleared
OR
• Waiting for the A/D interrupt
Read A/D Result register (ADRES), clear bit
ADIF if required.
For next conversion, go to step 1 or step 2 as
required. The A/D conversion time per bit is
defined as T
required before next acquisition starts.
CHS1:CHS0
AD
11
10
01
00
. A minimum wait of 2T
PIC16C71X
DS30272A-page 39
RA1/AN1
RA2/AN2
RA0/AN0
RA3/AN3/V
AD
REF
is

Related parts for PIC16C711-04/P