PIC16LC74B-04/L Microchip Technology, PIC16LC74B-04/L Datasheet - Page 81

IC MCU OTP 4KX14 A/D PWM 44PLCC

PIC16LC74B-04/L

Manufacturer Part Number
PIC16LC74B-04/L
Description
IC MCU OTP 4KX14 A/D PWM 44PLCC
Manufacturer
Microchip Technology
Series
PIC® 16Cr
Datasheets

Specifications of PIC16LC74B-04/L

Core Processor
PIC
Core Size
8-Bit
Speed
4MHz
Connectivity
I²C, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
33
Program Memory Size
7KB (4K x 14)
Program Memory Type
OTP
Ram Size
192 x 8
Voltage - Supply (vcc/vdd)
2.5 V ~ 5.5 V
Data Converters
A/D 5x8b
Oscillator Type
External
Operating Temperature
0°C ~ 70°C
Package / Case
44-PLCC
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC16LC74B-04/L
Manufacturer:
MICROCHIP
Quantity:
6 237
Part Number:
PIC16LC74B-04/L
Manufacturer:
Microchip Technology
Quantity:
10 000
The following steps should be followed for doing an A/D
conversion:
1.
2.
FIGURE 12-1:
2000 Microchip Technology Inc.
Note 1: Not available on PIC16C73B.
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 (PIR1<6>)
• Set ADIE bit (PIE1<6>)
• Set PEIE bit (INTCON<6>)
• Set GIE bit (INTCON<7>)
and digital I/O (ADCON1)
Converter
A/D
A/D BLOCK DIAGRAM
(Reference
Voltage)
V
REF
(Input Voltage)
PCFG2:PCFG0
V
IN
PIC16C63A/65B/73B/74B
V
DD
001 or
011 or
101
000 or
010 or
100 or
11x
3.
4.
5.
6.
7.
Wait the required acquisition time.
Set GO/DONE bit (ADCON0) to start conversion.
Wait for A/D conversion to complete, by either:
Polling for the GO/DONE bit to be cleared (if
interrupts are disabled);
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.
CHS2:CHS0
111
110
101
100
011
010
001
000
AD
. A minimum wait of 2 T
RA1/AN1
RE2/AN7
RA2/AN2
RA0/AN0
RE1/AN6
RE0/AN5
RA5/AN4
RA3/AN3/V
DS30605C-page 81
(1)
(1)
(1)
REF
AD
is

Related parts for PIC16LC74B-04/L