PIC18LF2221-I/SS Microchip Technology, PIC18LF2221-I/SS Datasheet - Page 384
![IC PIC MCU FLASH 2KX16 28SSOP](/photos/6/81/68119/150-28-ssop_sml.jpg)
PIC18LF2221-I/SS
Manufacturer Part Number
PIC18LF2221-I/SS
Description
IC PIC MCU FLASH 2KX16 28SSOP
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)
Specifications of PIC18LF2221-I/SS
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-SSOP
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
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC18LF2221-I/SS
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
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.