PIC18LF2221-I/SP Microchip Technology, PIC18LF2221-I/SP Datasheet - Page 243
![IC PIC MCU FLASH 2KX16 28DIP](/photos/6/59/65908/150-28-dip_sml.jpg)
PIC18LF2221-I/SP
Manufacturer Part Number
PIC18LF2221-I/SP
Description
IC PIC MCU FLASH 2KX16 28DIP
Manufacturer
Microchip Technology
Series
PIC® 18Fr
Datasheets
1.PIC18F2221-ISO.pdf
(402 pages)
2.PIC18F2221-ISO.pdf
(8 pages)
3.PIC18F2221-ISO.pdf
(30 pages)
4.PIC18F2221-ISO.pdf
(46 pages)
5.PIC18LF2221-IML.pdf
(394 pages)
6.PIC18F2321-IML.pdf
(396 pages)
Specifications of PIC18LF2221-I/SP
Core Size
8-Bit
Program Memory Size
4KB (2K x 16)
Core Processor
PIC
Speed
40MHz
Connectivity
I²C, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, HLVD, POR, PWM, WDT
Number Of I /o
25
Program Memory Type
FLASH
Eeprom Size
256 x 8
Ram Size
512 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-DIP (0.300", 7.62mm)
Controller Family/series
PIC18
No. Of I/o's
25
Eeprom Memory Size
256Byte
Ram Memory Size
512Byte
Cpu Speed
40MHz
No. Of Timers
4
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
- PIC18F2221-ISO PDF datasheet
- PIC18F2221-ISO PDF datasheet #2
- PIC18F2221-ISO PDF datasheet #3
- PIC18F2221-ISO PDF datasheet #4
- PIC18LF2221-IML PDF datasheet #5
- PIC18F2321-IML PDF datasheet #6
- Current page: 243 of 394
- Download datasheet (7Mb)
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:
© 2005 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
—
—
—
Advance Information
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
PIC18F4321 FAMILY
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
DS39689A-page 241
RBIF
Bit 0
CM0
RA0
on page
Values
Reset
51
52
51
52
52
52
52
52
52
is
Related parts for PIC18LF2221-I/SP
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
![TC1014-2.7VCT](/images/manufacturer_photos/0/4/440/microchip_technology_inc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
![TC1014-5.0VCT](/images/manufacturer_photos/0/4/440/microchip_technology_inc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
![TC1055-2.5VCT](/images/manufacturer_photos/0/4/440/microchip_technology_inc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
![TC1055-2.7VCT](/images/manufacturer_photos/0/4/440/microchip_technology_inc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
![TC1055-2.8VCT](/images/manufacturer_photos/0/4/440/microchip_technology_inc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
![TC1055-4.0VCT](/images/manufacturer_photos/0/4/440/microchip_technology_inc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
![TC1186-2.5VCT](/images/manufacturer_photos/0/4/440/microchip_technology_inc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
![TC1186-2.85VCT](/images/manufacturer_photos/0/4/440/microchip_technology_inc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet: