PIC16C745/JW Microchip Technology, PIC16C745/JW Datasheet - Page 94

IC MCU EPROM8KX14 USB A/D 28CDIP

PIC16C745/JW

Manufacturer Part Number
PIC16C745/JW
Description
IC MCU EPROM8KX14 USB A/D 28CDIP
Manufacturer
Microchip Technology
Series
PIC® 16Cr

Specifications of PIC16C745/JW

Core Processor
PIC
Core Size
8-Bit
Speed
24MHz
Connectivity
SCI, UART/USART, USB
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
22
Program Memory Size
14KB (8K x 14)
Program Memory Type
EPROM, UV
Ram Size
256 x 8
Voltage - Supply (vcc/vdd)
4.35 V ~ 5.25 V
Data Converters
A/D 5x8b
Oscillator Type
External
Operating Temperature
0°C ~ 70°C
Package / Case
28-CDIP (0.300", 7.62mm) Window
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
Eeprom Size
-

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC16C745/JW
Manufacturer:
MICROCHIP
Quantity:
51
Part Number:
PIC16C745/JW
Manufacturer:
MICROCHIP
Quantity:
1 000
Part Number:
PIC16C745/JW
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
PIC16C745/765
The following steps should be followed for doing an A/D
conversion:
1.
2.
3.
FIGURE 12-1: A/D BLOCK DIAGRAM
DS41124C-page 94
Note 1: Not available on PIC16C745.
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)
Configure A/D interrupt (if desired):
• Clear ADIF bit
• Set ADIE bit
• Set GIE bit
Wait the required acquisition time.
and digital I/O (ADCON1)
Converter
A/D
(Reference
voltage)
V
REF
(Input voltage)
PCFG<2:0>
V
IN
Preliminary
V
DD
001 or
011 or
101
000 or
010 or
100 or
11x
4.
5.
6.
7.
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.
CHS<2:0>
111
110
101
100
011
010
001
000
AD
. A minimum wait of 2T
2000 Microchip Technology Inc.
RA1/AN1
RE2/AN7(1)
RA2/AN2
RA0/AN0
RE1/AN6(1)
RE0/AN5(1)
RA5/AN4
RA3/AN3/V
AD
REF
is

Related parts for PIC16C745/JW