PIC18F4520-I/P Microchip Technology Inc., PIC18F4520-I/P Datasheet - Page 239

no-image

PIC18F4520-I/P

Manufacturer Part Number
PIC18F4520-I/P
Description
40 Pin, 32 KB Flash, 1536 RAM, 36 I/O
Manufacturer
Microchip Technology Inc.
Datasheet

Specifications of PIC18F4520-I/P

A/d Inputs
13-Channel, 10-Bit
Comparators
2
Cpu Speed
10 MIPS
Eeprom Memory
256 Bytes
Input Output
36
Interface
I2C/SPI/USART
Memory Type
Flash
Number Of Bits
8
Package Type
40-pin PDIP
Programmable Memory
32K Bytes
Ram Size
1.5K Bytes
Speed
40 MHz
Timers
1-8-bit, 3-16-bit
Voltage, Range
2-5.5 V
Lead Free Status / Rohs Status
RoHS Compliant part Electrostatic Device

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC18F4520-I/P
Manufacturer:
ST
Quantity:
104
Part Number:
PIC18F4520-I/P
Manufacturer:
MICROCH
Quantity:
20 000
Part Number:
PIC18F4520-I/PT
Manufacturer:
TI
Quantity:
14 300
Part Number:
PIC18F4520-I/PT
Manufacturer:
Microchip Technology
Quantity:
33 055
Part Number:
PIC18F4520-I/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
PIC18F4520-I/PT
Manufacturer:
MICROCHIP
Quantity:
510
Part Number:
PIC18F4520-I/PT
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
PIC18F4520-I/PT
0
20.9
A simplified circuit for an analog input is shown in
Figure 20-4. Since the analog pins are connected to a
digital output, they have reverse biased diodes to V
and V
V
FIGURE 20-4:
TABLE 20-1:
 2004 Microchip Technology Inc.
CMCON
CVRCON
INTCON
PIR2
PIE2
IPR2
PORTA
LATA
TRISA
Legend: — = unimplemented, read as ‘0’. Shaded cells are unused by the comparator module.
Note 1:
SS
Name
and V
SS
. The analog input, therefore, must be between
Analog Input Connection
Considerations
DD
PORTA<7:6> and their direction and latch bits are individually configured as port pins based on various
primary oscillator modes. When disabled, these bits read as ‘0’.
. If the input voltage deviates from this
VA
TRISA7
GIE/GIEH PEIE/GIEL TMR0IE
LATA7
OSCFIF
OSCFIE
OSCFIP
CVREN
C2OUT
RA7
Bit 7
REGISTERS ASSOCIATED WITH COMPARATOR MODULE
R
S
Legend:
(1)
(1)
< 10k
(1)
COMPARATOR ANALOG INPUT MODEL
TRISA6
A
LATA6
CVROE
C1OUT
IN
RA6
CMIF
CMIE
CMIP
Bit 6
C
V
I
R
R
VA
LEAKAGE
C
5 pF
(1)
T
PIN
IC
S
(1)
PIN
(1)
PORTA Data Latch Register (Read and Write to Data Latch)
PORTA Data Direction Control Register
C2INV
CVRR
Bit 5
RA5
= Input Capacitance
= Threshold Voltage
= Leakage Current at the pin due to various junctions
= Interconnect Resistance
= Source Impedance
= Analog Voltage
PIC18F2420/2520/4420/4520
Preliminary
DD
V
CVRSS
INT0IE
C1INV
EEIF
EEIE
EEIP
DD
Bit 4
RA4
V
V
T
T
= 0.6V
= 0.6V
range by more than 0.6V in either direction, one of the
diodes is forward biased and a latch-up condition may
occur. A maximum source impedance of 10 k
recommended for the analog sources. Any external
component connected to an analog input pin, such as
a capacitor or a Zener diode, should have very little
leakage current.
BCLIF
BCLIE
BCLIP
CVR3
RBIE
Bit 3
RA3
CIS
I
±500 nA
V
LEAKAGE
TMR0IF
HLVDIE
HLVDIP
SS
HLVDIF
CVR2
Bit 2
CM2
RA2
R
IC
TMR3IF
TMR3IE
TMR3IP
INT0IF
CVR1
Bit 1
CM1
RA1
CCP2IF
CCP2IE
CCP2IP
Comparator
Input
CVR0
DS39631A-page 237
RBIF
Bit 0
CM0
RA0
on page
Values
Reset
51
52
51
52
52
52
52
52
52
is

Related parts for PIC18F4520-I/P