PIC18F13K22-I/SO Microchip Technology, PIC18F13K22-I/SO Datasheet - Page 372
![IC MCU 8BIT 8KB FLASH 20SOIC](/photos/6/64/66480/150-20-soic_sml.jpg)
PIC18F13K22-I/SO
Manufacturer Part Number
PIC18F13K22-I/SO
Description
IC MCU 8BIT 8KB FLASH 20SOIC
Manufacturer
Microchip Technology
Series
PIC® XLP™ 18Fr
Datasheets
1.PIC18LF13K22-ISS.pdf
(388 pages)
2.PIC18LF13K22-ISS.pdf
(12 pages)
3.PIC18F13K22-ISS.pdf
(382 pages)
Specifications of PIC18F13K22-I/SO
Program Memory Type
FLASH
Program Memory Size
8KB (4K x 16)
Package / Case
20-SOIC (7.5mm Width)
Core Processor
PIC
Core Size
8-Bit
Speed
64MHz
Connectivity
I²C, LIN, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
17
Eeprom Size
256 x 8
Ram Size
256 x 8
Voltage - Supply (vcc/vdd)
1.8 V ~ 5.5 V
Data Converters
A/D 12x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Processor Series
PIC18F
Core
PIC
Data Bus Width
8 bit
Data Ram Size
256 B
Interface Type
I2C, MSSP, SPI, USART
Maximum Clock Frequency
64 MHz
Number Of Programmable I/os
17
Number Of Timers
4
Operating Supply Voltage
1.8 V to 5.5 V
Maximum Operating Temperature
+ 125 C
Mounting Style
SMD/SMT
3rd Party Development Tools
52715-96, 52716-328, 52717-734, 52712-325, EWPIC18
Development Tools By Supplier
PG164130, DV164035, DV244005, DV164005
Minimum Operating Temperature
- 40 C
On-chip Adc
10 bit, 12 Channel
Package
20SOIC W
Device Core
PIC
Family Name
PIC18
Maximum Speed
64 MHz
A/d Bit Size
10 bit
A/d Channels Available
12
Height
2.05 mm
Length
12.8 mm
Supply Voltage (max)
5.5 V
Supply Voltage (min)
1.8 V, 2.7 V
Width
7.5 mm
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Lead Free Status / RoHS Status
Lead free / RoHS Compliant, Lead free / RoHS Compliant
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
PIC18F13K22-I/SO
Manufacturer:
Microchip Technology
Quantity:
1 865
PIC18F1XK22/LF1XK22
I
I/O Ports ............................................................................. 77
I
I
ID Locations ............................................................. 253, 268
INCF ................................................................................. 290
INCFSZ ............................................................................ 291
In-Circuit Debugger .......................................................... 268
In-Circuit Serial Programming (ICSP) ...................... 253, 268
Indexed Literal Offset Addressing
Indexed Literal Offset Mode ............................................. 316
Indirect Addressing ............................................................ 42
INFSNZ ............................................................................ 291
Initialization Conditions for all Registers .......................... 249
Instruction Cycle ................................................................. 29
Instruction Flow/Pipelining ................................................. 29
Instruction Set .................................................................. 269
DS41365B-page 370
2
2
C
C Mode (MSSP)
Associated Registers ............................................... 172
Acknowledge Sequence Timing ............................... 166
Baud Rate Generator ............................................... 159
Bus Collision
Clock Arbitration ....................................................... 160
Clock Stretching ....................................................... 152
Clock Synchronization and the CKP bit (SEN = 1) .. 153
Effects of a Reset ..................................................... 167
General Call Address Support ................................. 156
I
Master Mode ............................................................ 157
Multi-Master Communication, Bus Collision and
Multi-Master Mode ................................................... 167
Operation ................................................................. 144
Read/Write Bit Information (R/W Bit) ............... 144, 145
Registers .................................................................. 140
Serial Clock (RC3/SCK/SCL) ................................... 145
Slave Mode .............................................................. 144
Sleep Operation ....................................................... 167
Stop Condition Timing .............................................. 166
and Standard PIC18 Instructions ............................. 316
Clocking Scheme ....................................................... 29
ADDLW .................................................................... 275
ADDWF .................................................................... 275
ADDWF (Indexed Literal Offset Mode) .................... 317
ADDWFC ................................................................. 276
ANDLW .................................................................... 276
ANDWF .................................................................... 277
BC ............................................................................ 277
BCF .......................................................................... 278
BN ............................................................................ 278
BNC ......................................................................... 279
BNN ......................................................................... 279
2
C Clock Rate w/BRG ............................................. 159
During a Repeated Start Condition .................. 170
During a Stop Condition ................................... 171
10-Bit Slave Receive Mode (SEN = 1) ............. 152
10-Bit Slave Transmit Mode ............................. 152
7-Bit Slave Receive Mode (SEN = 1) ............... 152
7-Bit Slave Transmit Mode ............................... 152
Operation ......................................................... 158
Reception ......................................................... 163
Repeated Start Condition Timing ..................... 162
Start Condition Timing ..................................... 161
Transmission .................................................... 163
Arbitration ......................................................... 167
Addressing ....................................................... 144
Reception ......................................................... 145
Transmission .................................................... 145
Preliminary
INTCON Register ............................................................... 65
BNOV ...................................................................... 280
BNZ ......................................................................... 280
BOV ......................................................................... 283
BRA ......................................................................... 281
BSF .......................................................................... 281
BSF (Indexed Literal Offset Mode) .......................... 317
BTFSC ..................................................................... 282
BTFSS ..................................................................... 282
BTG ......................................................................... 283
BZ ............................................................................ 284
CALL ........................................................................ 284
CLRF ....................................................................... 285
CLRWDT ................................................................. 285
COMF ...................................................................... 286
CPFSEQ .................................................................. 286
CPFSGT .................................................................. 287
CPFSLT ................................................................... 287
DAW ........................................................................ 288
DCFSNZ .................................................................. 289
DECF ....................................................................... 288
DECFSZ .................................................................. 289
Extended Instruction Set ......................................... 311
General Format ........................................................ 271
GOTO ...................................................................... 290
INCF ........................................................................ 290
INCFSZ .................................................................... 291
INFSNZ .................................................................... 291
IORLW ..................................................................... 292
IORWF ..................................................................... 292
LFSR ....................................................................... 293
MOVF ...................................................................... 293
MOVFF .................................................................... 294
MOVLB .................................................................... 294
MOVLW ................................................................... 295
MOVWF ................................................................... 295
MULLW .................................................................... 296
MULWF .................................................................... 296
NEGF ....................................................................... 297
NOP ......................................................................... 297
Opcode Field Descriptions ....................................... 270
POP ......................................................................... 298
PUSH ....................................................................... 298
RCALL ..................................................................... 299
RESET ..................................................................... 299
RETFIE .................................................................... 300
RETLW .................................................................... 300
RETURN .................................................................. 301
RLCF ....................................................................... 301
RLNCF ..................................................................... 302
RRCF ....................................................................... 302
RRNCF .................................................................... 303
SETF ....................................................................... 303
SETF (Indexed Literal Offset Mode) ........................ 317
SLEEP ..................................................................... 304
SUBFWB ................................................................. 304
SUBLW .................................................................... 305
SUBWF .................................................................... 305
SUBWFB ................................................................. 306
SWAPF .................................................................... 306
TBLRD ..................................................................... 307
TBLWT .................................................................... 308
TSTFSZ ................................................................... 309
XORLW ................................................................... 309
XORWF ................................................................... 310
© 2009 Microchip Technology Inc.