PIC18LF2221-I/SP Microchip Technology, PIC18LF2221-I/SP Datasheet - Page 384
![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: 384 of 394
- Download datasheet (7Mb)
PIC18F4321 FAMILY
G
GOTO ............................................................................... 294
H
Hardware Multiplier ............................................................ 89
High/Low-Voltage Detect ................................................. 247
HLVD. See High/Low-Voltage Detect.
I
I/O Ports ........................................................................... 105
I
ID Locations ............................................................. 253, 271
INCF ................................................................................. 294
DS39689A-page 382
2
C Mode (MSSP)
Introduction ................................................................ 89
Operation ................................................................... 89
Performance Comparison .......................................... 89
Applications .............................................................. 250
Associated Registers ............................................... 251
Characteristics ......................................................... 344
Current Consumption ............................................... 249
Effects of a Reset ..................................................... 251
Operation ................................................................. 248
Setup ........................................................................ 249
Start-up Time ........................................................... 249
Typical Application ................................................... 250
Acknowledge Sequence Timing ............................... 198
Associated Registers ............................................... 204
Baud Rate Generator ............................................... 191
Bus Collision
Clock Arbitration ....................................................... 192
Clock Stretching ....................................................... 184
Clock Synchronization and the CKP Bit ................... 185
Effects of a Reset ..................................................... 199
General Call Address Support ................................. 188
I
Master Mode ............................................................ 189
Multi-Master Communication, Bus Collision
Multi-Master Mode ................................................... 199
Operation ................................................................. 175
Read/Write Bit Information (R/W Bit) ....................... 175
Read/Write Bit Information (R/W Bit) ....................... 177
Registers .................................................................. 170
Serial Clock (RC3/SCK/SCL) ................................... 177
Slave Mode .............................................................. 175
Sleep Operation ....................................................... 199
Stop Condition Timing .............................................. 198
2
C Clock Rate w/BRG ............................................. 191
During Sleep .................................................... 251
During a Repeated Start Condition .................. 202
During a Start Condition ................................... 200
During a Stop Condition ................................... 203
10-Bit Slave Receive Mode (SEN = 1) ............. 184
10-Bit Slave Transmit Mode ............................. 184
7-Bit Slave Receive Mode (SEN = 1) ............... 184
7-Bit Slave Transmit Mode ............................... 184
Operation ......................................................... 190
Reception ......................................................... 195
Repeated Start Condition Timing ..................... 194
Start Condition Timing ..................................... 193
Transmission .................................................... 195
and Arbitration .................................................. 199
Address Masking ............................................. 176
Addressing ....................................................... 175
Reception ......................................................... 177
Transmission .................................................... 177
Advance Information
INCFSZ ............................................................................ 295
In-Circuit Debugger .......................................................... 271
In-Circuit Serial Programming (ICSP) ...................... 253, 271
Indexed Literal Offset Addressing
Indexed Literal Offset Mode ............................................. 320
Indirect Addressing ............................................................ 68
INFSNZ ............................................................................ 295
Initialization Conditions for all Registers ...................... 49–52
Instruction Cycle ................................................................ 57
Instruction Flow/Pipelining ................................................. 57
Instruction Set .................................................................. 273
and Standard PIC18 Instructions ............................. 320
Clocking Scheme ....................................................... 57
ADDLW .................................................................... 279
ADDWF .................................................................... 279
ADDWF (Indexed Literal Offset Mode) .................... 321
ADDWFC ................................................................. 280
ANDLW .................................................................... 280
ANDWF .................................................................... 281
BC ............................................................................ 281
BCF ......................................................................... 282
BN ............................................................................ 282
BNC ......................................................................... 283
BNN ......................................................................... 283
BNOV ...................................................................... 284
BNZ ......................................................................... 284
BOV ......................................................................... 287
BRA ......................................................................... 285
BSF .......................................................................... 285
BSF (Indexed Literal Offset Mode) .......................... 321
BTFSC ..................................................................... 286
BTFSS ..................................................................... 286
BTG ......................................................................... 287
BZ ............................................................................ 288
CALL ........................................................................ 288
CLRF ....................................................................... 289
CLRWDT ................................................................. 289
COMF ...................................................................... 290
CPFSEQ .................................................................. 290
CPFSGT .................................................................. 291
CPFSLT ................................................................... 291
DAW ........................................................................ 292
DCFSNZ .................................................................. 293
DECF ....................................................................... 292
DECFSZ .................................................................. 293
Extended Instruction Set ......................................... 315
General Format ........................................................ 275
GOTO ...................................................................... 294
INCF ........................................................................ 294
INCFSZ .................................................................... 295
INFSNZ .................................................................... 295
IORLW ..................................................................... 296
IORWF ..................................................................... 296
LFSR ....................................................................... 297
MOVF ...................................................................... 297
MOVFF .................................................................... 298
MOVLB .................................................................... 298
MOVLW ................................................................... 299
MOVWF ................................................................... 299
MULLW .................................................................... 300
MULWF .................................................................... 300
NEGF ....................................................................... 301
NOP ......................................................................... 301
Opcode Field Descriptions ....................................... 274
POP ......................................................................... 302
© 2005 Microchip Technology Inc.
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: