PIC16LC642-04/SO Microchip Technology, PIC16LC642-04/SO Datasheet - Page 48

IC MCU OTP 4KX14 COMP 28SOIC

PIC16LC642-04/SO

Manufacturer Part Number
PIC16LC642-04/SO
Description
IC MCU OTP 4KX14 COMP 28SOIC
Manufacturer
Microchip Technology
Series
PIC® 16Cr
Datasheet

Specifications of PIC16LC642-04/SO

Core Processor
PIC
Core Size
8-Bit
Speed
4MHz
Peripherals
Brown-out Detect/Reset, LED, POR, WDT
Number Of I /o
22
Program Memory Size
7KB (4K x 14)
Program Memory Type
OTP
Ram Size
176 x 8
Voltage - Supply (vcc/vdd)
3 V ~ 6 V
Oscillator Type
External
Operating Temperature
0°C ~ 70°C
Package / Case
28-SOIC (7.5mm Width)
Processor Series
PIC16LC
Core
PIC
Data Bus Width
8 bit
Data Ram Size
176 B
Interface Type
RS- 232
Maximum Clock Frequency
4 MHz
Number Of Programmable I/os
22
Number Of Timers
8
Operating Supply Voltage
3 V to 6 V
Maximum Operating Temperature
+ 70 C
Mounting Style
SMD/SMT
3rd Party Development Tools
52715-96, 52716-328, 52717-734
Development Tools By Supplier
ICE2000, DM163022
Minimum Operating Temperature
0 C
On-chip Adc
10 bit
Data Rom Size
176 B
Height
2.31 mm
Length
17.87 mm
Supply Voltage (max)
6 V
Supply Voltage (min)
3 V
Width
7.49 mm
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-
Data Converters
-
Connectivity
-
Lead Free Status / Rohs Status
 Details
PIC16C64X & PIC16C66X
7.1
There are eight modes of operation for the
comparators. The CMCON register is used to select
the mode. Figure 7-2 shows the eight possible modes.
The TRISA register controls the data direction of the
comparator pins for each mode. If the comparator
FIGURE 7-2:
DS30559A-page 48
Comparators Reset (POR Default Value)
CM2:CM0 = 000
Two Independent Comparators
CM2:CM0 = 100
Two Common Reference Comparators
CM2:CM0 = 011
One Independent Comparator
CM2:CM0 = 101
A = Analog Input, port reads zeros always.
D = Digital Input.
CIS (CMCON<3>) is the Comparator Input Switch.
RA0/AN0
RA3/AN3
RA1/AN1
RA2/AN2
RA0/AN0
RA3/AN3
RA1/AN1
RA2/AN2
RA0/AN0
RA3/AN3
RA1/AN1
RA2/AN2
RA0/AN0
RA3/AN3
RA1/AN1
RA2/AN2
Comparator Configuration
A
A
A
A
A
A
A
A
A
D
A
A
D
D
A
A
COMPARATOR I/O OPERATING MODES
V
V
V
V
V
V
V
V
V
V
V
V
V
V
V
V
IN
IN
IN
IN
IN
IN
IN
IN
IN
IN
IN
IN
IN
IN
IN
IN
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
C1
C2
C1
C2
C1
C2
C1
C2
Off
Off
C1OUT
C2OUT
C1OUT
C2OUT
Off
C2OUT
(Read as '0')
(Read as '0')
(Read as '0')
Preliminary
Two Common Reference Comparators with Outputs
CM2:CM0 = 110
Comparators Off
CM2:CM0 = 111
Four Inputs Multiplexed to Two Comparators
CM2:CM0 = 010
Three Inputs Multiplexed to Two Comparators
CM2:CM0 = 001
RA0/AN0
RA3/AN3
RA1/AN1
RA2/AN2
RA0/AN0
RA3/AN3
RA1/AN1
RA2/AN2
RA0/AN0
RA3/AN3
RA1/AN1
RA2/AN2
RA0/AN0
RA3/AN3
RA1/AN1
RA2/AN2
mode is changed, the comparator output level may not
be valid for the specified mode change delay shown
in Table 12-2.
Note:
RA4
A
D
A
A
D
D
D
D
A
A
A
A
A
A
A
A
Comparator interrupts should be disabled
during a comparator mode change other-
wise a false interrupt may occur.
Open Drain
V
V
V
V
V
V
V
V
CIS = 0
CIS = 1
CIS = 0
CIS = 1
CIS = 0
CIS = 1
IN
IN
IN
IN
IN
IN
IN
IN
-
+
-
+
-
+
-
+
C1
C2
C1
C2
1996 Microchip Technology Inc.
V
V
V
V
V
V
V
V
IN
IN
IN
IN
IN
IN
IN
IN
-
+
-
+
-
+
-
+
C1OUT
C2OUT
Off
Off
C1
C2
C1
C2
From V
(Read as '0')
(Read as '0')
REF
C1OUT
C2OUT
C1OUT
C2OUT
Module

Related parts for PIC16LC642-04/SO