PIC18LF2410T-I/SO Microchip Technology, PIC18LF2410T-I/SO Datasheet - Page 223

IC MCU FLASH 8KX16 28SOIC

PIC18LF2410T-I/SO

Manufacturer Part Number
PIC18LF2410T-I/SO
Description
IC MCU FLASH 8KX16 28SOIC
Manufacturer
Microchip Technology
Series
PIC® 18Fr

Specifications of PIC18LF2410T-I/SO

Core Processor
PIC
Core Size
8-Bit
Speed
40MHz
Connectivity
I²C, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, HLVD, POR, PWM, WDT
Number Of I /o
25
Program Memory Size
16KB (8K x 16)
Program Memory Type
FLASH
Ram Size
768 x 8
Voltage - Supply (vcc/vdd)
2 V ~ 5.5 V
Data Converters
A/D 10x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
28-SOIC (7.5mm Width)
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-
19.2
A single comparator is shown in Figure 19-2, along with
the relationship between the analog input levels and
the digital output. When the analog input at V
than the analog input V
is a digital low level. When the analog input at V
greater than the analog input V
comparator is a digital high level. The shaded areas of
the output of the comparator in Figure 19-2 represent
the uncertainty, due to input offsets and response time.
19.3
Depending on the comparator operating mode, either
an external or internal voltage reference may be used.
The analog signal present at V
signal at V
is adjusted accordingly (Figure 19-2).
FIGURE 19-2:
19.3.1
When external voltage references are used, the
comparator module can be configured to have the com-
parators operate from the same or different reference
sources. However, threshold detector applications may
require the same reference. The reference signal must
be between V
pin of the comparator(s).
© 2009 Microchip Technology Inc.
V
V
Output
IN
IN
-
+
V
V
IN
IN
Comparator Operation
Comparator Reference
+
-
IN
EXTERNAL REFERENCE SIGNAL
+ and the digital output of the comparator
SS
and V
+
IN
SINGLE COMPARATOR
DD
-, the output of the comparator
and can be applied to either
IN
IN
- is compared to the
-, the output of the
Output
IN
+ is less
IN
+ is
19.3.2
The comparator module also allows the selection of an
internally generated voltage reference from the
comparator voltage reference module. This module is
described in more detail in Section 20.0 “Comparator
Voltage Reference Module”.
The internal reference is only available in the mode
where four inputs are multiplexed to two comparators
(CM2:CM0 = 110). In this mode, the internal voltage
reference is applied to the V
comparators.
19.4
Response time is the minimum time, after selecting a
new reference voltage or input source, before the
comparator output has a valid level. If the internal
reference is changed, the maximum delay of the
internal voltage reference must be considered when
using
maximum delay of the comparators should be used
(see Section 25.0 “Electrical Characteristics”).
19.5
The comparator outputs are read through the CMCON
register. These bits are read-only. The comparator
outputs may also be directly output to the RA4 and RA5
I/O pins. When enabled, multiplexors in the output path
of the RA4 and RA5 pins will switch and the output of
each pin will be the unsynchronized output of the
comparator.
comparators is related to the input offset voltage and
the response time given in the specifications.
Figure 19-3 shows the comparator output block
diagram.
The TRISA bits will still function as an output enable/
disable for the RA4 and RA5 pins while in this mode.
The polarity of the comparator outputs can be changed
using the C2INV and C1INV bits (CMCON<4:5>).
Note 1: When reading the Port register, all pins
PIC18F2X1X/4X1X
the
2: Analog levels on any pin defined as a
Comparator Response Time
Comparator Outputs
INTERNAL REFERENCE SIGNAL
configured as analog inputs will read as a
‘0’. Pins configured as digital inputs will
convert an analog input according to the
Schmitt Trigger input specification.
digital input may cause the input buffer to
consume more current than is specified.
comparator
The
uncertainty
outputs.
of
DS39636D-page 225
IN
+ pin of both
Otherwise,
each
of
the
the

Related parts for PIC18LF2410T-I/SO