PIC16LF628-04I/SS Microchip Technology, PIC16LF628-04I/SS Datasheet - Page 56

IC MCU FLASH 2KX14 COMP 20SSOP

PIC16LF628-04I/SS

Manufacturer Part Number
PIC16LF628-04I/SS
Description
IC MCU FLASH 2KX14 COMP 20SSOP
Manufacturer
Microchip Technology
Series
PIC® 16Fr
Datasheet

Specifications of PIC16LF628-04I/SS

Core Size
8-Bit
Program Memory Size
3.5KB (2K x 14)
Oscillator Type
Internal
Core Processor
PIC
Speed
4MHz
Connectivity
UART/USART
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
16
Program Memory Type
FLASH
Eeprom Size
128 x 8
Ram Size
224 x 8
Voltage - Supply (vcc/vdd)
2 V ~ 5.5 V
Operating Temperature
-40°C ~ 85°C
Package / Case
20-SSOP
Controller Family/series
PIC16LF
No. Of I/o's
16
Eeprom Memory Size
128Byte
Ram Memory Size
224Byte
Cpu Speed
20MHz
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Data Converters
-
Lead Free Status / RoHS Status
Lead free / RoHS Compliant, Lead free / RoHS Compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC16LF628-04I/SS
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
PIC16F62X
9.1
There are eight modes of operation for the
comparators. The CMCON register is used to select
the mode. Figure 9-1 shows the eight possible modes.
The TRISA register controls the data direction of the
comparator pins for each mode. If the Comparator
FIGURE 9-1:
DS40300C-page 54
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
RA0/AN0
RA3/AN3/CMP1
RA1/AN1
RA2/AN2
RA0/AN0
RA3/AN3/CMP1
RA1/AN1
RA2/AN2
RA0/AN0
RA3/AN3/CMP1
RA1/AN1
RA2/AN2
RA0/AN0
RA3/AN3/CMP1
RA1/AN1
RA2/AN2
A = Analog Input, port reads zeros always.
D = Digital Input.
CIS (CMCON<3>) is the Comparator Input Switch.
Comparator Configuration
D
D
A
A
A
A
A
A
A
D
A
A
A
A
A
A
V
COMPARATOR I/O OPERATING MODES
SS
V
V
V
V
V
V
V
V
V
V
V
V
IN
IN
IN
IN
IN
IN
IN
IN
V
V
V
V
IN
IN
IN
IN
-
+
-
+
-
+
-
+
IN
IN
IN
IN
-
+
-
+
-
+
-
+
C1
C2
C1
C2
C1
C2
C1
C2
C2V
Off (Read as '0')
Off (Read as '0')
Off (Read as '0')
C1V
C2V
C1V
C2V
OUT
OUT
OUT
OUT
OUT
Preliminary
Comparators Off
CM2:CM0 = 111
RA0/AN0
RA3/AN3/CMP1
RA1/AN1
RA2/AN2
Four Inputs Multiplexed to Two Comparators
CM2:CM0 = 010
RA0/AN0
RA3/AN3/CMP1
RA1/AN1
RA2/AN2
Three Inputs Multiplexed to Two Comparators
CM2:CM0 = 001
This mode is disfunctional and has been corrected in the ‘A’
Revision Devices.
RA0/AN0
RA3/AN3/CMP1
RA1/AN1
RA2/AN2
RA0/AN0
RA3/AN3/CMP1
RA1/AN1
RA2/AN2/CMP2
RA4/T0CKI/C20
Two Common Reference Comparators with Outputs
CM2:CM0 = 110
mode is changed, the comparator output level may not
be valid for the specified mode change delay shown
in Table 17-1.
Note:
Comparator interrupts should be disabled
during a Comparator mode change other-
wise a false interrupt may occur.
A
A
A
A
A
A
A
A
D
D
D
D
Open Drain
A
D
A
A
V
SS
CIS = 0
CIS = 1
CIS = 0
CIS = 1
CIS = 0
CIS = 1
V
V
V
V
IN
IN
IN
IN
V
V
V
V
-
+
-
+
IN
IN
IN
IN
 2003 Microchip Technology Inc.
-
+
-
+
C1
C2
V
V
V
V
V
V
V
V
C1
C2
IN
IN
IN
IN
IN
IN
IN
IN
-
+
-
+
-
+
-
+
+
+
C1
C2
C1
C2
Off (Read as '0')
Off (Read as '0')
From V
Module
C1V
C2V
OUT
OUT
REF
C1V
C2V
C1V
C2V
OUT
OUT
OUT
OUT

Related parts for PIC16LF628-04I/SS