PIC18LF2221-I/SP Microchip Technology, PIC18LF2221-I/SP Datasheet - Page 385
![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: 385 of 394
- Download datasheet (7Mb)
INTCON Registers ....................................................... 93–95
Inter-Integrated Circuit. See I
Internal Oscillator Block ..................................................... 26
Internal RC Oscillator
Internet Address ............................................................... 389
Interrupt Sources ............................................................. 253
Interrupts ............................................................................ 91
Interrupts, Flag Bits
INTOSC, INTRC. See Internal Oscillator Block.
IORLW ............................................................................. 296
IORWF ............................................................................. 296
IPR Registers ................................................................... 100
L
LFSR ................................................................................ 297
Low-Voltage ICSP Programming. See Single-Supply
© 2005 Microchip Technology Inc.
PUSH ....................................................................... 302
RCALL ..................................................................... 303
RESET ..................................................................... 303
RETFIE .................................................................... 304
RETLW .................................................................... 304
RETURN .................................................................. 305
RLCF ........................................................................ 305
RLNCF ..................................................................... 306
RRCF ....................................................................... 306
RRNCF .................................................................... 307
SETF ........................................................................ 307
SETF (Indexed Literal Offset Mode) ........................ 321
SLEEP ..................................................................... 308
Standard Instructions ............................................... 273
SUBFWB .................................................................. 308
SUBLW .................................................................... 309
SUBWF .................................................................... 309
SUBWFB .................................................................. 310
SWAPF .................................................................... 310
TBLRD ..................................................................... 311
TBLWT ..................................................................... 312
TSTFSZ ................................................................... 313
XORLW .................................................................... 313
XORWF .................................................................... 314
Adjustment ................................................................. 26
INTIO Modes .............................................................. 26
INTOSC Frequency Drift ............................................ 27
INTOSC Output Frequency ........................................ 26
OSCTUNE Register ................................................... 26
PLL in INTOSC Modes .............................................. 27
Use with WDT .......................................................... 263
A/D Conversion Complete ....................................... 231
Capture Complete (CCP) ......................................... 141
Compare Complete (CCP) ....................................... 142
Interrupt-on-Change (RB7:RB4) .............................. 108
INTn Pin ................................................................... 103
PORTB, Interrupt-on-Change .................................. 103
TMR0 ....................................................................... 103
TMR0 Overflow ........................................................ 125
TMR1 Overflow ........................................................ 127
TMR2-to-PR2 Match (PWM) ............................ 144, 149
TMR3 Overflow ................................................ 135, 137
Interrupt-on-Change (RB7:RB4) Flag
ICSP Programming.
(RBIF Bit) ......................................................... 108
2
C.
Advance Information
M
Master Clear (MCLR) ......................................................... 43
Master Synchronous Serial Port (MSSP). See MSSP.
Memory Organization ........................................................ 53
Memory Programming Requirements .............................. 342
Microchip Internet Web Site ............................................. 389
Migration from Baseline to Enhanced Devices ................ 376
Migration from High-End to Enhanced Devices ............... 377
Migration from Mid-Range to Enhanced Devices ............ 377
MOVF .............................................................................. 297
MOVFF ............................................................................ 298
MOVLB ............................................................................ 298
MOVLW ........................................................................... 299
MOVSF ............................................................................ 317
MOVSS ............................................................................ 318
MOVWF ........................................................................... 299
MPLAB ASM30 Assembler, Linker, Librarian .................. 324
MPLAB ICD 2 In-Circuit Debugger .................................. 325
MPLAB ICE 2000 High-Performance Universal
MPLAB ICE 4000 High-Performance Universal
MPLAB Integrated Development
MPLAB PM3 Device Programmer ................................... 325
MPLINK Object Linker/MPLIB Object Librarian ............... 324
MSSP
MULLW ............................................................................ 300
MULWF ............................................................................ 300
N
NEGF ............................................................................... 301
NOP ................................................................................. 301
O
Oscillator Configuration ..................................................... 23
Oscillator Selection .......................................................... 253
Oscillator Start-up Timer (OST) ................................... 32, 45
Oscillator Switching ........................................................... 29
Oscillator Transitions ......................................................... 30
Oscillator, Timer1 ..................................................... 127, 137
Oscillator, Timer3 ............................................................. 135
PIC18F4321 FAMILY
Data Memory ............................................................. 59
Program Memory ....................................................... 53
In-Circuit Emulator ................................................... 325
In-Circuit Emulator ................................................... 325
Environment Software ............................................. 323
ACK Pulse ....................................................... 175, 177
Control Registers (general) ..................................... 161
I
Module Overview ..................................................... 161
SPI Master/Slave Connection .................................. 165
SPI Mode. See SPI Mode.
SSPBUF Register .................................................... 166
SSPSR Register ...................................................... 166
EC .............................................................................. 23
ECIO .......................................................................... 23
HS .............................................................................. 23
HSPLL ....................................................................... 23
Internal Oscillator Block ............................................. 26
INTIO1 ....................................................................... 23
INTIO2 ....................................................................... 23
LP .............................................................................. 23
RC ............................................................................. 23
RCIO .......................................................................... 23
XT .............................................................................. 23
2
C Mode. See I
2
C Mode.
DS39689A-page 383
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: