PIC18LF8520-I/PT Microchip Technology, PIC18LF8520-I/PT Datasheet - Page 226

no-image

PIC18LF8520-I/PT

Manufacturer Part Number
PIC18LF8520-I/PT
Description
IC MCU FLASH 16KX16 EEPROM80TQFP
Manufacturer
Microchip Technology
Series
PIC® 18Fr

Specifications of PIC18LF8520-I/PT

Core Size
8-Bit
Program Memory Size
32KB (16K x 16)
Core Processor
PIC
Speed
40MHz
Connectivity
EBI/EMI, I²C, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, LVD, POR, PWM, WDT
Number Of I /o
68
Program Memory Type
FLASH
Eeprom Size
1K x 8
Ram Size
2K x 8
Voltage - Supply (vcc/vdd)
2 V ~ 5.5 V
Data Converters
A/D 16x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
80-TFQFP
Controller Family/series
PIC18
No. Of I/o's
68
Eeprom Memory Size
1024Byte
Ram Memory Size
2KB
Cpu Speed
40MHz
No. Of Timers
5
Lead Free Status / RoHS Status
Lead free / RoHS Compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC18LF8520-I/PT
Manufacturer:
Microchip Technology
Quantity:
135
Part Number:
PIC18LF8520-I/PT
Manufacturer:
MICROCHIP
Quantity:
12 000
Part Number:
PIC18LF8520-I/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
PIC18F6520/8520/6620/8620/6720/8720
20.1
There are eight modes of operation for the compara-
tors. The CMCON register is used to select these
modes. Figure 20-1 shows the eight possible modes.
The TRISF register controls the data direction of the
comparator pins for each mode. If the Comparator
mode is changed, the comparator output level may not
FIGURE 20-1:
DS39609B-page 224
Comparators Reset (POR Default Value)
CM2:CM0 = 000
Two Independent Comparators
CM2:CM0 = 010
Two Common Reference Comparators
CM2:CM0 = 100
One Independent Comparator with Output
CM2:CM0 = 001
A = Analog Input, port reads zeros always
RF6/AN11
RF5/AN10
RF4/AN9
RF3/AN8
RF6/AN11
RF5/AN10
RF4/AN9
RF3/AN8
RF6/AN11
RF5/AN10
RF4/AN9
RF3/AN8
RF6/AN11
RF5/AN10
RF2/AN7/C1OUT
RF4/AN9
RF3/AN8
Comparator Configuration
A
A
A
A
A
A
A
A
A
A
A
D
A
A
D
D
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
COMPARATOR I/O OPERATING MODES
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
C1
C2
C1
C2
C1
C2
C1
C2
Off
Off
C1OUT
C2OUT
C1OUT
C2OUT
C1OUT
Off
(Read as
(Read as
(Read as
D = Digital Input
‘0’
‘0’
‘0’
)
)
)
Two Common Reference Comparators with Outputs
CM2:CM0 = 101
Two Independent Comparators with Outputs
CM2:CM0 = 011
Comparators Off
CM2:CM0 = 111
Four Inputs Multiplexed to Two Comparators
CM2:CM0 = 110
RF2/AN7/C1OUT
RF6/AN11
RF5/AN10
RF2/AN7/C1OUT
RF4/AN9
RF3/AN8
RF1/AN6/C2OUT
RF6/AN11
RF5/AN10
RF4/AN9
RF3/AN8
RF1/AN6/C2OUT
RF6/AN11
RF5/AN10
RF4/AN9
RF3/AN8
RF6/AN11
RF5/AN10
RF4/AN9
RF3/AN8
be valid for the specified mode change delay shown in
the Electrical Specifications (Section 26.0 “Electrical
Characteristics”).
CIS (CMCON<3>) is the Comparator Input Switch
Note:
A
A
A
D
A
A
A
A
D
D
D
D
A
A
A
A
Comparator interrupts should be disabled
during a Comparator mode change.
Otherwise, a false interrupt may occur.
V
V
V
V
V
V
V
V
V
V
V
V
CIS = 0
CIS = 1
CIS = 0
CIS = 1
IN
IN
IN
IN
IN
IN
IN
IN
IN
IN
IN
IN
-
+
-
+
-
+
-
+
-
+
-
+
C1
C2
 2004 Microchip Technology Inc.
C1
C2
C1
C2
V
V
V
V
IN
IN
IN
IN
CV
-
+
-
+
REF
C1OUT
C2OUT
C1OUT
C2OUT
Off
Off
C1
C2
From V
(Read as
(Read as
REF
C1OUT
C2OUT
‘0’
‘0’
Module
)
)

Related parts for PIC18LF8520-I/PT