main
Ray pic18lf13k22-i-ss: renamed from pic18lf13k22-i, the part it was built from (PIC18LF13K22-I/SS); family listed cbd288a

PIC18LF13K22-I/SS

Microchip Tech · Microcontroller Units (MCUs/MPUs/SOCs) · SSOP-20-208mil

PIC18LF13K22-I from Microchip Tech, in a SSOP-20-208mil. Pinout and pin descriptions extracted from the manufacturer datasheet (extract_pins, cross-checked by a second model); symbol, footprint, and 3D from KiCad-official CAD.

Pinout

Pin Name Type Function
1 VDD power_in Positive supply for logic and I/O pins; Table 1-1 gives 1.8V-3.6V for the PIC18LF13K22 (2.3V-5.5V for PIC18F13K22).
2 RA5/OSC1/CLKIN/T13CKI bidirectional Digital I/O (TTL input, programmable weak pull-up) multiplexed with the oscillator crystal or external clock input OSC1/CLKIN and the Timer1/Timer3 external clock input T13CKI.
3 RA4/AN3/OSC2/CLKOUT bidirectional Digital I/O (TTL input, programmable weak pull-up) multiplexed with ADC channel 3, the crystal oscillator output OSC2 in crystal modes, or CLKOUT (FOSC/4) in RC mode.
4 RA3/MCLR/VPP input Input-only pin that serves as RA3 only when MCLR is disabled, or as the active-low Master Clear MCLR with internal pull-up, or as the high-voltage programming input VPP.
5 RC5/CCP1/P1A bidirectional Digital I/O (Schmitt Trigger input) multiplexed with ECCP1 capture input or compare/PWM output CCP1 and the enhanced PWM output P1A.
6 RC4/C2OUT/P1B/SRNQ bidirectional Digital I/O (Schmitt Trigger input) multiplexed with the Comparator C2 output C2OUT, the enhanced PWM output P1B and the SR latch inverted output SRNQ.
7 RC3/AN7/C12IN3-/P1C/PGM bidirectional Digital I/O (Schmitt Trigger input) multiplexed with ADC channel 7, Comparator C1/C2 inverting input channel 3, enhanced PWM output P1C and low-voltage ICSP programming enable PGM.
8 RC6/AN8/SS bidirectional Digital I/O (Schmitt Trigger input) multiplexed with ADC channel 8 and the SPI slave select input SS (TTL input).
9 RC7/AN9/SDO bidirectional Digital I/O (Schmitt Trigger input) multiplexed with ADC channel 9 and the SPI data output SDO.
10 RB7/TX/CK bidirectional Digital I/O (TTL input, programmable weak pull-up) multiplexed with the EUSART asynchronous transmit output TX and the synchronous clock CK.
11 RB6/SCK/SCL bidirectional Digital I/O (TTL input, programmable weak pull-up) multiplexed with the SPI clock SCK and the I2C clock SCL.
12 RB5/AN11/RX/DT bidirectional Digital I/O (TTL input, programmable weak pull-up) multiplexed with ADC channel 11, the EUSART asynchronous receive RX and the synchronous data DT.
13 RB4/AN10/SDI/SDA bidirectional Digital I/O (TTL input, programmable weak pull-up) multiplexed with ADC channel 10, the SPI data input SDI and the I2C data SDA.
14 RC2/AN6/C12IN2-/P1D bidirectional Digital I/O (Schmitt Trigger input) multiplexed with ADC channel 6, Comparator C1/C2 inverting input channel 2 and the enhanced PWM output P1D.
15 RC1/AN5/C12IN1- bidirectional Digital I/O (Schmitt Trigger input) multiplexed with ADC channel 5 and Comparator C1/C2 inverting input channel 1.
16 RC0/AN4/C2IN+ bidirectional Digital I/O (Schmitt Trigger input) multiplexed with ADC channel 4 and the Comparator C2 noninverting input C2IN+.
17 RA2/AN2/C1OUT/T0CKI/INT2/SRQ bidirectional Digital I/O (TTL input, programmable weak pull-up) multiplexed with ADC channel 2, Comparator C1 output C1OUT, Timer0 external clock T0CKI, external interrupt INT2 and the SR latch output SRQ.
18 RA1/AN1/C12IN0-/VREF+/INT1/PGC bidirectional Digital I/O (TTL input, programmable weak pull-up) multiplexed with ADC channel 1, Comparator C1/C2 inverting input channel 0, the ADC/DAC high reference input VREF+, external interrupt INT1 and the ICSP programming clock PGC.
19 RA0/AN0/CVREF/VREF-/C1IN+/INT0/PGD bidirectional Digital I/O (TTL input, programmable weak pull-up) multiplexed with ADC channel 0, the DAC reference voltage output CVREF/DAC1OUT, the ADC/DAC low reference input VREF-, Comparator C1 noninverting input C1IN+, external interrupt INT0 and the ICSP programming data PGD.
20 VSS power_in Ground reference for logic and I/O pins.

Key specifications

Parameter Value
Manufacturer Microchip Tech
Package SSOP-20-208mil
Category Single Chip Microcomputer/Microcontroller
Pins 20

Electrical characteristics

Limits as printed in the datasheet (page.json metadata.characteristics carries them as data).

Parameter Symbol Min Typ Max Unit Conditions Page
Ambient temperature under bias -40 125 °C 319
Storage temperature -65 150 °C 319
Voltage on VDD pin with respect to VSS (PIC18LF1XK22) VDD -0.3 4 V PIC18LF1XK22 319
Voltage on MCLR pin with respect to VSS -0.3 9 V 319
Voltage on all other pins with respect to VSS -0.3 V maximum printed as (VDD + 0.3V) 319
Maximum current on VSS pin 250 mA -40°C ≤ TA ≤ +85°C, Industrial 319
Maximum current on VDD pin 250 mA -40°C ≤ TA ≤ +85°C, Industrial 319
Maximum current sunk by all ports 250 mA 319
Maximum current sourced by all ports 250 mA 319
Maximum output current sunk by any I/O pin 50 mA 319
Maximum output current sourced by any I/O pin 50 mA 319
Clamp current IK 20 mA VPIN < 0 or VPIN > VDD 319
VDD operating supply voltage (PIC18LF1XK22) VDDMIN 1.8 V Fosc ≤ 16 MHz 320
VDD operating supply voltage (PIC18LF1XK22) VDDMIN 2 V Fosc ≤ 20 MHz 320
VDD operating supply voltage (PIC18LF1XK22) VDDMIN 3 V Fosc ≤ 64 MHz 320
VDD operating supply voltage maximum (PIC18LF1XK22) VDDMAX 3.6 V PIC18LF1XK22 320
Operating ambient temperature range, industrial TA -40 85 °C Industrial temperature 320
Supply voltage VDD (PIC18LF1XK22) VDD 1.8 3.6 V FOSC ≤ 16 MHz 324
Supply voltage VDD (PIC18LF1XK22) VDD 2 3.6 V FOSC ≤ 20 MHz 324
Supply voltage VDD (PIC18LF1XK22) VDD 3 3.6 V FOSC ≤ 64 MHz, +85°C 324
RAM Data Retention Voltage VDR 1.5 V PIC18LF1XK22; device in Sleep mode 324
Power-on Reset Release Voltage VPOR 1.6 V 324
Power-on Reset Rearm Voltage VPORR 0.8 V 324
VDD Rise Rate to ensure internal Power-on Reset signal SVDD 0.05 V/ms 324
Supply current IDD, RC_RUN, HFINTOSC 1 MHz IDD 0.4 0.5 mA -40°C to +125°C; VDD = 1.8V; FOSC = 1 MHz 326
Supply current IDD, RC_RUN, HF-INTOSC 16 MHz IDD 3.5 4.4 mA -40°C to +125°C; VDD = 3.0V 326
Supply current IDD, RC_IDLE, HF-INTOSC 16 MHz IDD 0.89 1.2 mA -40°C to +125°C; VDD = 1.8V; FOSC = 16 MHz 327
Primary run supply current IDD, EC High Osc 64 MHz IDD 11.5 14 mA -40°C to +125°C; VDD = 3.0V; FOSC = 64 MHz 328
Primary idle supply current IDD, EC Med Osc 1 MHz IDD 70 105 µA -40°C to +125°C; VDD = 1.8V; FOSC = 1 MHz 329
Primary idle supply current IDD, EC High Osc 64 MHz IDD 5 7 mA -40°C to +125°C; VDD = 3.0V; FOSC = 64 MHz 329
Power-down Base Current IPD (max +85°C) IPD 0.034 1 µA WDT, BOR, FVR, T1OSC disabled, all peripherals inactive; VDD = 1.8V 332
Power-down Base Current IPD (max +85°C) IPD 0.071 2 µA WDT, BOR, FVR, T1OSC disabled, all peripherals inactive; VDD = 3.0V 332
Input Low Voltage, I/O with Schmitt Trigger buffer VIL 0.2 VDD 1.8V ≤ VDD ≤ 5.5V; limit printed as 0.2 VDD 334
Input Low Voltage, I/O with TTL buffer VIL 0.15 VDD 1.8V ≤ VDD ≤ 4.5V; limit printed as 0.15 VDD 334
Input Low Voltage, I/O ports VIL 0.2 VDD 2.0V ≤ VDD ≤ 5.5V; limit printed as 0.2 VDD 334
Input High Voltage, I/O with Schmitt Trigger buffer VIH 0.8 VDD 1.8V ≤ VDD ≤ 5.5V; limit printed as 0.8 VDD 334
Input Low Voltage, MCLR VIL 0.2 VDD limit printed as 0.2 VDD 334
Input High Voltage, MCLR VIH 0.8 VDD limit printed as 0.8 VDD 334
Input High Voltage, OSC1 in XT, LP modes VIH 1.6 V XT, LP modes 334
Output Low Voltage, I/O ports VOL 0.6 V IOL = 3 mA, VDD = VDDMIN 335
Pin capacitance, all I/O pins CIO 50 pF 336
Byte Endurance, Data EEPROM ED 100 K E/W -40°C to +85°C 337
Cell Endurance, Program Flash EP 10 k E/W Temperature during programming: 10°C ≤ TA ≤ 40°C 337
Characteristic Retention TRETD 40 Year Provided no other specifications are violated 337
Oscillator frequency range, PLL input FOSC 4 5 MHz VDD = 1.8-3.0V 342
On-Chip VCO System Frequency FSYS 16 20 MHz VDD = 1.8-3.0V 342
PLL Start-up Time (Lock Time) trc 2 ms 342
CLKOUT Stability (Jitter) CLK -0.25 0.25 % 342
Brown-out Reset Voltage, BORV = 1.9V VBOR 1.75 1.9 2.05 V BORV = 1.9V (PIC18LF1XK22 only) 345
Brown-out Reset Voltage, BORV = 2.2V VBOR 2.05 2.2 2.35 V BORV = 2.2V (PIC18LF1XK22 only) 345
Brown-out Reset Voltage, BORV = 2.7V VBOR 2.35 2.5 2.65 V BORV = 2.7V 345
Brown-out Reset Voltage, BORV = 2.85V VBOR 2.65 2.85 3.05 V BORV = 2.85V 345
Thermal Resistance Junction to Ambient, 20-pin SSOP JA 89.3 °C/W 20-pin SSOP package 338
Thermal Resistance Junction to Case, 20-pin SSOP JC 31.1 °C/W 20-pin SSOP package 338
Maximum Junction Temperature TJMAX 150 °C 338

CAD (KiCad official)

  • Symbol: PIC18LF13K22-I
  • Footprint: Package_SO:SSOP-20_5.3x7.2mm_P0.65mm
  • 3D model: SSOP-20-208mil (KiCad packages3D, STEP)
  • 3D model files: pic18lf13k22-i-etched.step / pic18lf13k22-i-etched.glb carry the MPN laser-etched on the die in a toggleable Adom.LaserEtch group (Fusion-ready); pic18lf13k22-i.step / pic18lf13k22-i.glb are the bare package body.

Provenance

Data extracted from the manufacturer datasheet, not a distributor listing:

  • Datasheet: Microchip Tech datasheet (387 pp, sha256 21f69d409798287f, retrieved 2026-10-30, tier: manufacturer)
  • Extractor: parts-factory 2.0.0 / extract_pins 0.3, primary claude-haiku-5-5 (text), consensus claude-sonnet-5-5 (agreed), guards: pin_guards 0.1: passed. Pins are checked against the footprint pad set and their cited datasheet pages before publish.
  • CAD: KiCad official libraries (CC-BY-SA 4.0).

Datasheet PDF

Other parts in this family

This page is PIC18LF13K22-I/SS. These part numbers share its family name but are different parts (another package, rating or grade), each with its own page:

  • PIC18LF13K22-I/SO