PIC18F46K22-I/MV Microchip Technology, PIC18F46K22-I/MV Datasheet - Page 313

64KB, Flash, 3968bytes-RAM,8-bit Family,nanoWatt XLP 40 UQFN 5x5x0.5mm TUBE

PIC18F46K22-I/MV

Manufacturer Part Number
PIC18F46K22-I/MV
Description
64KB, Flash, 3968bytes-RAM,8-bit Family,nanoWatt XLP 40 UQFN 5x5x0.5mm TUBE
Manufacturer
Microchip Technology
Series
PIC® XLP™ 18Fr
Datasheet

Specifications of PIC18F46K22-I/MV

Core Processor
PIC
Core Size
8-Bit
Speed
64MHz
Connectivity
I²C, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, HLVD, POR, PWM, WDT
Number Of I /o
35
Program Memory Size
64KB (32K x 16)
Program Memory Type
FLASH
Eeprom Size
1K x 8
Ram Size
3.8K x 8
Voltage - Supply (vcc/vdd)
1.8 V ~ 5.5 V
Data Converters
A/D 30x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
40-UFQFN Exposed Pad
Processor Series
PIC18F
Core
PIC
Data Bus Width
8 bit
Data Ram Size
4 KB
Number Of Programmable I/os
36
Number Of Timers
3 x 8-bit. 4 x 16-bit
Operating Supply Voltage
1.8 V to 5.5 V
Mounting Style
SMD/SMT
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
18.8
There are four additional comparator features:
• Simultaneous read of comparator outputs
• Internal reference selection
• Hysteresis selection
• Output Synchronization
18.8.1
The MC1OUT and MC2OUT bits of the CM2CON1
register are mirror copies of both comparator outputs.
The ability to read both outputs simultaneously from a
single register eliminates the timing skew of reading
separate registers.
18.8.2
There are two internal voltage references available to
the non-inverting input of each comparator. One of
these is the Fixed Voltage Reference (FVR) and the
other is the variable Digital-to-Analog Converter (DAC).
The CxRSEL bit of the CM2CON1 register determines
which of these references is routed to the Comparator
Voltage reference output (C
the comparator is accomplished by the CxR bit of the
CMxCON0 register. See
Reference (FVR)”
 2010 Microchip Technology Inc.
Note 1: Obtaining the status of C1OUT or
Additional Comparator Features
SIMULTANEOUS COMPARATOR
OUTPUT READ
INTERNAL REFERENCE
SELECTION
C2OUT by reading CM2CON1 does not
affect the comparator interrupt mismatch
registers.
and
Figure 18-2
Section 21.0 “Fixed Voltage
X
V
REF
). Further routing to
for more detail.
Preliminary
18.8.3
Each Comparator has a selectable hysteresis feature.
The hysteresis can be enabled by setting the CxHYS
bit of the CM2CON1 register. See
trical Characteristics”
18.8.4
The Comparator Cx output can be synchronized with
Timer1 by setting the CxSYNC bit of the CM2CON1
register. When enabled, the Cx output is latched on
the falling edge of the Timer1 source clock. To prevent
a race condition when gating Timer1 clock with the
comparator output, Timer1 increments on the rising
edge of its clock source, and the falling edge latches
the comparator output. See the Comparator Block
Diagram
(Figure
Note 1: The comparator synchronized output
PIC18(L)F2X/4XK22
12-1) for more information.
2: The Timer1 prescale should be set to 1:1
(Figure
COMPARATOR HYSTERESIS
SYNCHRONIZING COMPARATOR
OUTPUT TO TIMER1
should not be used to gate the external
Timer1
synchronizer is enabled.
when synchronizing the comparator
output as unexpected results may occur
with other prescale values.
18-2) and the Timer1 Block Diagram
clock
for more details.
when
Section 27.0 “Elec-
DS41412D-page 313
the
Timer1

Related parts for PIC18F46K22-I/MV