PIC16LC717-E/P Microchip Technology, PIC16LC717-E/P Datasheet - Page 111
![IC MCU OTP 2KX14 A/D PWM 18DIP](/photos/6/76/67657/18-dip_300mil__sml.jpg)
PIC16LC717-E/P
Manufacturer Part Number
PIC16LC717-E/P
Description
IC MCU OTP 2KX14 A/D PWM 18DIP
Manufacturer
Microchip Technology
Series
PIC® 16Cr
Specifications of PIC16LC717-E/P
Core Processor
PIC
Core Size
8-Bit
Speed
20MHz
Connectivity
I²C, SPI
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
15
Program Memory Size
3.5KB (2K x 14)
Program Memory Type
OTP
Ram Size
256 x 8
Voltage - Supply (vcc/vdd)
2.5 V ~ 5.5 V
Data Converters
A/D 6x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 125°C
Package / Case
18-DIP (0.300", 7.62mm)
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-
Other names
PIC16LC717E/P
- Current page: 111 of 220
- Download datasheet (4Mb)
After the A/D module has been configured as desired
and the analog input channels have their correspond-
ing TRIS bits selected for port inputs, the selected
channel must be acquired before conversion is
started. The A/D conversion cycle can be initiated by
setting the GO/DONE bit. The A/D conversion begins
and lasts for 13T
lowed for performing an A/D conversion:
1.
2.
3.
FIGURE 11-3:
2002 Microchip Technology Inc.
Configure port pins:
• Configure Analog Input mode (ANSEL)
• Configure pin as input (TRISA or TRISB)
Configure the A/D module
• Configure A/D Result Format / voltage refer-
• Select A/D input channel (ADCON0)
• Select A/D conversion clock (ADCON0)
• Turn on A/D module (ADCON0)
Configure A/D interrupt (if required)
• Clear ADIF bit
• Set ADIE bit
• Set PEIE bit
• Set GIE bit
C
ence (ADCON1)
ONVERTER
A/D
AD
. The following steps should be fol-
(R
(R
VOLTAGE
A/D BLOCK DIAGRAM
VOLTAGE
EFERENCE
EFERENCE
V
V
REF
REF
-
+
(I
-)
+)
NPUT VOLTAGE
VCFG<2:0>
VCFG<2:0>
V
AIN
)
AV
AV
DD
SS
VRH
VRL
VRL
4.
5.
6.
7.
8.
Clearing the GO/DONE bit during a conversion will
abort the current conversion. The ADRESH and
ADRESL registers will be updated with the partially
completed A/D conversion value. That is, the
ADRESH and ADRESL registers will contain the value
of the current incomplete conversion.
Note:
PIC16C717/770/771
Wait the required acquisition time.
START conversion
• Set GO/DONE bit (ADCON0)
Wait 13T
either:
• Polling for the GO/DONE bit to be cleared
OR
• Waiting for the A/D interrupt
Read A/D Result registers (ADRESH and
ADRESL), clear ADIF if required.
For next conversion, go to step 1, step 2 or step
3 as required.
Do not set the ADON bit and the GO/
DONE bit in the same instruction. Doing so
will cause the GO/DONE bit to be automat-
ically cleared.
CHS<3:0>
AD
until A/D conversion is complete, by
RA1/AN1
RA2/AN2/V
RA0/AN0
RB1/AN5/SS
RB0/AN4/INT
RA3/AN3/V
DS41120B-page 109
REF
REF
-/VRL
+/VRH
Related parts for PIC16LC717-E/P
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
![PIC16LC71-04I/P](/photos/6/76/67657/18-dip_300mil__tmb.jpg)
Part Number:
Description:
IC MCU OTP 1KX14 A/D 18DIP
Manufacturer:
Microchip Technology
Datasheet:
![PIC16LC71-04I/SO](/photos/6/76/67656/150-18-soic_tmb.jpg)
Part Number:
Description:
IC MCU OTP 1KX14 A/D 18SOIC
Manufacturer:
Microchip Technology
Datasheet:
![PIC16LC71-04/SO](/photos/6/76/67656/150-18-soic_tmb.jpg)
Part Number:
Description:
IC MCU OTP 1KX14 A/D 18SOIC
Manufacturer:
Microchip Technology
Datasheet:
![PIC16LC71-04/P](/photos/6/76/67657/18-dip_300mil__tmb.jpg)
Part Number:
Description:
IC MCU OTP 1KX14 A/D 18DIP
Manufacturer:
Microchip Technology
Datasheet:
![TC1014-2.7VCT](/images/manufacturer_photos/0/4/440/microchip_technology_inc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
![TC1014-5.0VCT](/images/manufacturer_photos/0/4/440/microchip_technology_inc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
![TC1055-2.5VCT](/images/manufacturer_photos/0/4/440/microchip_technology_inc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
![TC1055-2.7VCT](/images/manufacturer_photos/0/4/440/microchip_technology_inc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
![TC1055-2.8VCT](/images/manufacturer_photos/0/4/440/microchip_technology_inc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
![TC1055-4.0VCT](/images/manufacturer_photos/0/4/440/microchip_technology_inc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
![TC1186-2.5VCT](/images/manufacturer_photos/0/4/440/microchip_technology_inc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet: