PIC18LF2321-I/SS Microchip Technology, PIC18LF2321-I/SS Datasheet - Page 392
![IC PIC MCU FLASH 4KX16 28SSOP](/photos/6/81/68119/150-28-ssop_sml.jpg)
PIC18LF2321-I/SS
Manufacturer Part Number
PIC18LF2321-I/SS
Description
IC PIC MCU FLASH 4KX16 28SSOP
Manufacturer
Microchip Technology
Series
PIC® 18Fr
Datasheets
1.PIC16F616T-ISL.pdf
(8 pages)
2.PIC18F2221-ISO.pdf
(402 pages)
3.PIC18F2221-ISO.pdf
(8 pages)
4.PIC18F2221-ISO.pdf
(30 pages)
5.PIC18F2221-ISO.pdf
(46 pages)
6.PIC18F2321-IML.pdf
(396 pages)
Specifications of PIC18LF2321-I/SS
Core Size
8-Bit
Program Memory Size
8KB (4K 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
PIC18F2221/2321/4221/4321 FAMILY
High/Low-Voltage Detect ................................................. 253
HLVD. See High/Low-Voltage Detect. ............................. 253
I
I/O Ports ........................................................................... 111
I
ID Locations ............................................................. 259, 277
INCF ................................................................................. 300
INCFSZ ............................................................................ 301
In-Circuit Debugger .......................................................... 277
In-Circuit Serial Programming (ICSP) ...................... 259, 277
Indexed Literal Offset Addressing
Indexed Literal Offset Mode ............................................. 326
Indirect Addressing ............................................................ 74
INFSNZ ............................................................................ 301
Initialization Conditions for all Registers ...................... 55–58
DS39689F-page 392
2
C Mode (MSSP)
Applications .............................................................. 256
Associated Registers ............................................... 257
Characteristics ......................................................... 351
Current Consumption ............................................... 255
Effects of a Reset ..................................................... 257
Operation ................................................................. 254
Setup ........................................................................ 255
Start-up Time ........................................................... 255
Typical Application ................................................... 256
Acknowledge Sequence Timing ............................... 204
Associated Registers ............................................... 210
Baud Rate Generator ............................................... 197
Bus Collision
Clock Arbitration ....................................................... 198
Clock Stretching ....................................................... 190
Clock Synchronization and the CKP Bit ................... 191
Effects of a Reset ..................................................... 205
General Call Address Support ................................. 194
I
Master Mode ............................................................ 195
Multi-Master Communication, Bus Collision
Multi-Master Mode ................................................... 205
Operation ................................................................. 181
Read/Write Bit Information (R/W Bit) ....................... 181
Read/Write Bit Information (R/W Bit) ....................... 183
Registers .................................................................. 176
Serial Clock (RC3/SCK/SCL) ................................... 183
Slave Mode .............................................................. 181
Sleep Operation ....................................................... 205
Stop Condition Timing .............................................. 204
Single-Supply ........................................................... 277
and Standard PIC18 Instructions ............................. 326
2
C Clock Rate w/BRG ............................................. 197
During Sleep .................................................... 257
During a Repeated Start Condition .................. 208
During a Start Condition ................................... 206
During a Stop Condition ................................... 209
10-Bit Slave Receive Mode (SEN = 1) ............. 190
10-Bit Slave Transmit Mode ............................. 190
7-Bit Slave Receive Mode (SEN = 1) ............... 190
7-Bit Slave Transmit Mode ............................... 190
Operation ......................................................... 196
Reception ......................................................... 201
Repeated Start Condition Timing ..................... 200
Start Condition Timing ..................................... 199
Transmission .................................................... 201
and Arbitration .................................................. 205
Address Masking ............................................. 182
Addressing ....................................................... 181
Reception ......................................................... 183
Transmission .................................................... 183
Instruction Cycle ................................................................ 63
Instruction Flow/Pipelining ................................................. 63
Instruction Set .................................................................. 279
Clocking Scheme ....................................................... 63
ADDLW .................................................................... 285
ADDWF .................................................................... 285
ADDWF (Indexed Literal Offset Mode) .................... 327
ADDWFC ................................................................. 286
ANDLW .................................................................... 286
ANDWF .................................................................... 287
BC ............................................................................ 287
BCF ......................................................................... 288
BN ............................................................................ 288
BNC ......................................................................... 289
BNN ......................................................................... 289
BNOV ...................................................................... 290
BNZ ......................................................................... 290
BOV ......................................................................... 293
BRA ......................................................................... 291
BSF .......................................................................... 291
BSF (Indexed Literal Offset Mode) .......................... 327
BTFSC ..................................................................... 292
BTFSS ..................................................................... 292
BTG ......................................................................... 293
BZ ............................................................................ 294
CALL ........................................................................ 294
CLRF ....................................................................... 295
CLRWDT ................................................................. 295
COMF ...................................................................... 296
CPFSEQ .................................................................. 296
CPFSGT .................................................................. 297
CPFSLT ................................................................... 297
DAW ........................................................................ 298
DCFSNZ .................................................................. 299
DECF ....................................................................... 298
DECFSZ .................................................................. 299
Extended Instruction Set ......................................... 321
General Format ........................................................ 281
GOTO ...................................................................... 300
INCF ........................................................................ 300
INCFSZ .................................................................... 301
INFSNZ .................................................................... 301
IORLW ..................................................................... 302
IORWF ..................................................................... 302
LFSR ....................................................................... 303
MOVF ...................................................................... 303
MOVFF .................................................................... 304
MOVLB .................................................................... 304
MOVLW ................................................................... 305
MOVWF ................................................................... 305
MULLW .................................................................... 306
MULWF .................................................................... 306
NEGF ....................................................................... 307
NOP ......................................................................... 307
Opcode Field Descriptions ....................................... 280
POP ......................................................................... 308
PUSH ....................................................................... 308
RCALL ..................................................................... 309
RESET ..................................................................... 309
RETFIE .................................................................... 310
RETLW .................................................................... 310
RETURN .................................................................. 311
RLCF ....................................................................... 311
RLNCF ..................................................................... 312
RRCF ....................................................................... 312
© 2009 Microchip Technology Inc.