component
PIC18LF23K22-I
Public Made by Adomby adom
Microchip Tech Microcontroller Units (MCUs/MPUs/SOCs), QFN-28-EP(6x6). Pinout cross-checked by two models against the datasheet, KiCad symbol/footprint/3D.
main
PIC18LF23K22-I
Microchip Tech · Microcontroller Units (MCUs/MPUs/SOCs) · QFN-28-EP(6x6)
PIC18LF23K22-I from Microchip Tech, in a QFN-28-EP(6x6). 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 | RA2/C2IN+/AN2/DACOUT/VREF- | bidirectional | Digital I/O with TTL input that also serves as comparator C2 noninverting input, analog input 2, DAC reference output and A/D low reference voltage input. |
| 2 | RA3/C1IN+/AN3/VREF+ | bidirectional | Digital I/O with TTL input that also serves as comparator C1 noninverting input, analog input 3 and A/D high reference voltage input. |
| 3 | RA4/CCP5/C1OUT/SRQ/T0CKI | bidirectional | Digital I/O with Schmitt Trigger input that also serves as CCP5 capture/compare/PWM, comparator C1 output, SR latch Q output and Timer0 external clock input. |
| 4 | RA5/C2OUT/SRNQ/SS1/HLVDIN/AN4 | bidirectional | Digital I/O with TTL input that also serves as comparator C2 output, SR latch output, MSSP SPI client select input, High/Low-Voltage Detect input and analog input 4. |
| 5 | VSS | power_in | Ground reference for logic and I/O pins. |
| 6 | RA7/CLKI/OSC1 | bidirectional | Digital I/O that also serves as external clock source input or oscillator crystal input (ST buffer in RC mode, CMOS otherwise). |
| 7 | RA6/CLKO/OSC2 | bidirectional | Digital I/O that also serves as oscillator crystal output or, in RC mode, CLKOUT at 1/4 the OSC1 frequency denoting the instruction cycle rate. |
| 8 | RC0/P2B/T3CKI/T3G/T1CKI/SOSCO | bidirectional | Digital I/O with Schmitt Trigger input that also serves as Enhanced CCP2 PWM output P2B (alternate), Timer3 clock input, Timer3 gate input, Timer1 clock input and secondary oscillator output. |
| 9 | RC1/P2A/CCP2/SOSCI | bidirectional | Digital I/O with Schmitt Trigger input that also serves as Enhanced CCP2 PWM output P2A, CCP2 capture/compare/PWM and secondary oscillator input. |
| 10 | RC2/CTPLS/P1A/CCP1/T5CKI/AN14 | bidirectional | Digital I/O with Schmitt Trigger input that also serves as CTMU pulse generator output, Enhanced CCP1 PWM output P1A, CCP1 capture/compare/PWM, Timer5 clock input and analog input 14. |
| 11 | RC3/SCK1/SCL1/AN15 | bidirectional | Digital I/O with Schmitt Trigger input that also serves as MSSP1 SPI clock, I2C clock and analog input 15. |
| 12 | RC4/SDI1/SDA1/AN16 | bidirectional | Digital I/O with Schmitt Trigger input that also serves as MSSP1 SPI data in, I2C data I/O and analog input 16. |
| 13 | RC5/SDO1/AN17 | bidirectional | Digital I/O with Schmitt Trigger input that also serves as MSSP1 SPI data out and analog input 17. |
| 14 | RC6/P3A/CCP3/TX1/CK1/AN18 | bidirectional | Digital I/O with Schmitt Trigger input that also serves as alternate P3A/CCP3, EUSART1 asynchronous transmit, synchronous clock and analog input 18. |
| 15 | RC7/P3B/RX1/DT1/AN19 | bidirectional | Digital I/O with Schmitt Trigger input that also serves as Enhanced CCP3 PWM output P3B, EUSART1 asynchronous receive, synchronous data and analog input 19. |
| 16 | VSS | power_in | Ground reference for logic and I/O pins. |
| 17 | VDD | power_in | Positive supply for logic and I/O pins (1.8V to 3.6V operation for PIC18LF devices). |
| 18 | RB0/INT0/CCP4/FLT0/SRI/SS2/AN12 | bidirectional | Digital I/O with TTL input that also serves as external interrupt 0, CCP4, ECCP auto-shutdown fault input, SR latch input, MSSP SPI client select and analog input 12. |
| 19 | RB1/INT1/P1C/SCK2/SCL2/C12IN3-/AN10 | bidirectional | Digital I/O with TTL input that also serves as external interrupt 1, ECCP1 PWM output P1C, MSSP2 SPI/I2C clock, comparator C1/C2 inverting input and analog input 10. |
| 20 | RB2/INT2/CTED1/P1B/SDI2/SDA2/AN8 | bidirectional | Digital I/O with TTL input that also serves as external interrupt 2, CTMU edge 1 input, ECCP1 PWM output P1B, MSSP2 SPI data in/I2C data I/O and analog input 8. |
| 21 | RB3/CTED2/P2A/CCP2/SDO2/C12IN2-/AN9 | bidirectional | Digital I/O with TTL input that also serves as CTMU edge 2 input, ECCP2 PWM output P2A, CCP2 (alternate), MSSP2 SPI data out, comparator C1/C2 inverting input and analog input 9. |
| 22 | RB4/IOC0/P1D/T5G/AN11 | bidirectional | Digital I/O with TTL input that also serves as interrupt-on-change pin, ECCP1 PWM output P1D, Timer5 gate input and analog input 11. |
| 23 | RB5/IOC1/P2B/P3A/CCP3/T3CKI/T1G/AN13 | bidirectional | Digital I/O with TTL input that also serves as interrupt-on-change pin, default P2B, P3A and CCP3, alternate T3CKI, Timer1 gate input and analog input 13. |
| 24 | RB6/IOC2/TX2/CK2/PGC | bidirectional | Digital I/O with TTL input that also serves as interrupt-on-change pin, EUSART2 transmit/clock and In-Circuit Debugger/ICSP programming clock. |
| 25 | RB7/IOC3/RX2/DT2/PGD | bidirectional | Digital I/O with TTL input that also serves as interrupt-on-change pin, EUSART2 receive/data and In-Circuit Debugger/ICSP programming data. |
| 26 | RE3/VPP/MCLR | input | Digital input-only pin, programming voltage input (VPP) and active-low Master Clear (device Reset) input with Schmitt Trigger buffer. |
| 27 | RA0/C12IN0-/AN0 | bidirectional | Digital I/O with TTL input that also serves as comparators C1 and C2 inverting input and analog input 0. |
| 28 | RA1/C12IN1-/AN1 | bidirectional | Digital I/O with TTL input that also serves as comparators C1 and C2 inverting input and analog input 1. |
| 29 | EP | passive | Exposed pad (from the footprint; not named in the datasheet pin table). |
Key specifications
| Parameter | Value |
|---|---|
| Manufacturer | Microchip Tech |
| Package | QFN-28-EP(6x6) |
| Category | Single Chip Microcomputer/Microcontroller |
| Pins | 29 |
Electrical characteristics
Limits as printed in the datasheet (page.json metadata.characteristics carries them as data).
| Parameter | Symbol | Min | Typ | Max | Unit | Conditions | Page |
|---|---|---|---|---|---|---|---|
| Supply Voltage (PIC18LF2X/4XK22) | VDD | 1.8 | 3.6 | V | 417 | ||
| RAM Data Retention Voltage | VDR | 1.5 | V | 417 | |||
| VDD Start Voltage to ensure internal Power-on Reset | VPOR | 0.7 | V | See section on Power-on Reset for details | 417 | ||
| VDD Rise Rate to ensure internal Power-on Reset | SVDD | 0.05 | V/ms | See section on Power-on Reset for details | 417 | ||
| Brown-out Reset Voltage | VBOR | 1.75 | 1.9 | 2.05 | V | BORV<1:0> = 11 | 417 |
| Brown-out Reset Voltage | VBOR | 2.05 | 2.2 | 2.35 | V | BORV<1:0> = 10 | 417 |
| Brown-out Reset Voltage | VBOR | 2.35 | 2.5 | 2.65 | V | BORV<1:0> = 01 | 417 |
| Brown-out Reset Voltage | VBOR | 2.65 | 2.85 | 3.05 | V | BORV<1:0> = 00 | 417 |
| Operating temperature | TA | -40 | 125 | °C | Standard Operating Conditions | 417 | |
| Ambient temperature under bias | -40 | 125 | °C | 414 | |||
| Storage temperature | -65 | 150 | °C | 414 | |||
| Voltage on any pin with respect to VSS (except VDD and MCLR) | -0.3 | V | -0.3V to (VDD + 0.3V) | 414 | |||
| Voltage on MCLR with respect to VSS | 0 | 11 | V | Note 2 | 414 | ||
| Total power dissipation | 1 | W | Note 1 | 414 | |||
| Maximum current out of VSS pin | 300 | mA | -40°C to +85°C | 414 | |||
| Maximum current out of VSS pin | 125 | mA | +85°C to +125°C | 414 | |||
| Maximum current into VDD pin | 200 | mA | -40°C to +85°C | 414 | |||
| Maximum current into VDD pin | 85 | mA | +85°C to +125°C | 414 | |||
| Input clamp current | IIK | 20 | mA | VI < 0 or VI > VDD | 414 | ||
| Output clamp current | IOK | 20 | mA | VO < 0 or VO > VDD | 414 | ||
| Maximum current sunk by all ports | 200 | mA | -40°C to +85°C | 414 | |||
| Sleep mode power-down base current | IPD | 0.01 | 2 | µA | VDD = 1.8V, typ +25°C, max +85°C; WDT, BOR, FVR and SOSC disabled | 418 | |
| Sleep mode power-down base current | IPD | 0.01 | 10 | µA | VDD = 1.8V, typ +25°C, max +125°C; WDT, BOR, FVR and SOSC disabled | 418 | |
| RC_RUN supply current, LFINTOSC 31 kHz | IDD | 3.6 | 23 | µA | -40°C, VDD = 1.8V, FOSC = 31 kHz | 420 | |
| RC_RUN supply current, 16 MHz HFINTOSC | IDD | 1.3 | 2 | mA | -40°C to +125°C, VDD = 1.8V, FOSC = 16 MHz | 421 | |
| RC_RUN supply current, 16 MHz HFINTOSC | IDD | 2.2 | 3 | mA | -40°C to +125°C, VDD = 3.0V, FOSC = 16 MHz | 421 | |
| RC_RUN supply current, 64 MHz HFINTOSC + PLL | IDD | 6.2 | 8.5 | mA | -40°C to +125°C, VDD = 3.0V, FOSC = 64 MHz | 421 |
CAD (KiCad official)
- Symbol:
PIC18LF23K22-I - Footprint:
Package_DFN_QFN:QFN-28-1EP_6x6mm_P0.65mm_EP4.8x4.8mm - 3D model: QFN-28-EP(6x6) (KiCad packages3D, STEP)
- 3D model files:
pic18lf23k22-i-etched.step/pic18lf23k22-i-etched.glbcarry the MPN laser-etched on the die in a toggleableAdom.LaserEtchgroup (Fusion-ready);pic18lf23k22-i.step/pic18lf23k22-i.glbare the bare package body.
Provenance
Data extracted from the manufacturer datasheet, not a distributor listing:
- Datasheet: Microchip Tech datasheet (539 pp, sha256
d0ba745eb6a13bdb, retrieved 2026-10-26, tier: manufacturer) - Extractor: parts-factory
2.0.0/extract_pins 0.3, primaryclaude-sonnet-5-5(text), consensusclaude-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).
# PIC18LF23K22-I
**Microchip Tech** · Microcontroller Units (MCUs/MPUs/SOCs) · QFN-28-EP(6x6)
PIC18LF23K22-I from Microchip Tech, in a QFN-28-EP(6x6). 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 | RA2/C2IN+/AN2/DACOUT/VREF- | bidirectional | Digital I/O with TTL input that also serves as comparator C2 noninverting input, analog input 2, DAC reference output and A/D low reference voltage input. |
| 2 | RA3/C1IN+/AN3/VREF+ | bidirectional | Digital I/O with TTL input that also serves as comparator C1 noninverting input, analog input 3 and A/D high reference voltage input. |
| 3 | RA4/CCP5/C1OUT/SRQ/T0CKI | bidirectional | Digital I/O with Schmitt Trigger input that also serves as CCP5 capture/compare/PWM, comparator C1 output, SR latch Q output and Timer0 external clock input. |
| 4 | RA5/C2OUT/SRNQ/SS1/HLVDIN/AN4 | bidirectional | Digital I/O with TTL input that also serves as comparator C2 output, SR latch output, MSSP SPI client select input, High/Low-Voltage Detect input and analog input 4. |
| 5 | VSS | power_in | Ground reference for logic and I/O pins. |
| 6 | RA7/CLKI/OSC1 | bidirectional | Digital I/O that also serves as external clock source input or oscillator crystal input (ST buffer in RC mode, CMOS otherwise). |
| 7 | RA6/CLKO/OSC2 | bidirectional | Digital I/O that also serves as oscillator crystal output or, in RC mode, CLKOUT at 1/4 the OSC1 frequency denoting the instruction cycle rate. |
| 8 | RC0/P2B/T3CKI/T3G/T1CKI/SOSCO | bidirectional | Digital I/O with Schmitt Trigger input that also serves as Enhanced CCP2 PWM output P2B (alternate), Timer3 clock input, Timer3 gate input, Timer1 clock input and secondary oscillator output. |
| 9 | RC1/P2A/CCP2/SOSCI | bidirectional | Digital I/O with Schmitt Trigger input that also serves as Enhanced CCP2 PWM output P2A, CCP2 capture/compare/PWM and secondary oscillator input. |
| 10 | RC2/CTPLS/P1A/CCP1/T5CKI/AN14 | bidirectional | Digital I/O with Schmitt Trigger input that also serves as CTMU pulse generator output, Enhanced CCP1 PWM output P1A, CCP1 capture/compare/PWM, Timer5 clock input and analog input 14. |
| 11 | RC3/SCK1/SCL1/AN15 | bidirectional | Digital I/O with Schmitt Trigger input that also serves as MSSP1 SPI clock, I2C clock and analog input 15. |
| 12 | RC4/SDI1/SDA1/AN16 | bidirectional | Digital I/O with Schmitt Trigger input that also serves as MSSP1 SPI data in, I2C data I/O and analog input 16. |
| 13 | RC5/SDO1/AN17 | bidirectional | Digital I/O with Schmitt Trigger input that also serves as MSSP1 SPI data out and analog input 17. |
| 14 | RC6/P3A/CCP3/TX1/CK1/AN18 | bidirectional | Digital I/O with Schmitt Trigger input that also serves as alternate P3A/CCP3, EUSART1 asynchronous transmit, synchronous clock and analog input 18. |
| 15 | RC7/P3B/RX1/DT1/AN19 | bidirectional | Digital I/O with Schmitt Trigger input that also serves as Enhanced CCP3 PWM output P3B, EUSART1 asynchronous receive, synchronous data and analog input 19. |
| 16 | VSS | power_in | Ground reference for logic and I/O pins. |
| 17 | VDD | power_in | Positive supply for logic and I/O pins (1.8V to 3.6V operation for PIC18LF devices). |
| 18 | RB0/INT0/CCP4/FLT0/SRI/SS2/AN12 | bidirectional | Digital I/O with TTL input that also serves as external interrupt 0, CCP4, ECCP auto-shutdown fault input, SR latch input, MSSP SPI client select and analog input 12. |
| 19 | RB1/INT1/P1C/SCK2/SCL2/C12IN3-/AN10 | bidirectional | Digital I/O with TTL input that also serves as external interrupt 1, ECCP1 PWM output P1C, MSSP2 SPI/I2C clock, comparator C1/C2 inverting input and analog input 10. |
| 20 | RB2/INT2/CTED1/P1B/SDI2/SDA2/AN8 | bidirectional | Digital I/O with TTL input that also serves as external interrupt 2, CTMU edge 1 input, ECCP1 PWM output P1B, MSSP2 SPI data in/I2C data I/O and analog input 8. |
| 21 | RB3/CTED2/P2A/CCP2/SDO2/C12IN2-/AN9 | bidirectional | Digital I/O with TTL input that also serves as CTMU edge 2 input, ECCP2 PWM output P2A, CCP2 (alternate), MSSP2 SPI data out, comparator C1/C2 inverting input and analog input 9. |
| 22 | RB4/IOC0/P1D/T5G/AN11 | bidirectional | Digital I/O with TTL input that also serves as interrupt-on-change pin, ECCP1 PWM output P1D, Timer5 gate input and analog input 11. |
| 23 | RB5/IOC1/P2B/P3A/CCP3/T3CKI/T1G/AN13 | bidirectional | Digital I/O with TTL input that also serves as interrupt-on-change pin, default P2B, P3A and CCP3, alternate T3CKI, Timer1 gate input and analog input 13. |
| 24 | RB6/IOC2/TX2/CK2/PGC | bidirectional | Digital I/O with TTL input that also serves as interrupt-on-change pin, EUSART2 transmit/clock and In-Circuit Debugger/ICSP programming clock. |
| 25 | RB7/IOC3/RX2/DT2/PGD | bidirectional | Digital I/O with TTL input that also serves as interrupt-on-change pin, EUSART2 receive/data and In-Circuit Debugger/ICSP programming data. |
| 26 | RE3/VPP/MCLR | input | Digital input-only pin, programming voltage input (VPP) and active-low Master Clear (device Reset) input with Schmitt Trigger buffer. |
| 27 | RA0/C12IN0-/AN0 | bidirectional | Digital I/O with TTL input that also serves as comparators C1 and C2 inverting input and analog input 0. |
| 28 | RA1/C12IN1-/AN1 | bidirectional | Digital I/O with TTL input that also serves as comparators C1 and C2 inverting input and analog input 1. |
| 29 | EP | passive | Exposed pad (from the footprint; not named in the datasheet pin table). |
## Key specifications
| Parameter | Value |
|---|---|
| Manufacturer | Microchip Tech |
| Package | QFN-28-EP(6x6) |
| Category | Single Chip Microcomputer/Microcontroller |
| Pins | 29 |
## Electrical characteristics
Limits as printed in the datasheet (page.json `metadata.characteristics` carries them as data).
| Parameter | Symbol | Min | Typ | Max | Unit | Conditions | Page |
|---|---|---|---|---|---|---|---|
| Supply Voltage (PIC18LF2X/4XK22) | VDD | 1.8 | | 3.6 | V | | 417 |
| RAM Data Retention Voltage | VDR | 1.5 | | | V | | 417 |
| VDD Start Voltage to ensure internal Power-on Reset | VPOR | | | 0.7 | V | See section on Power-on Reset for details | 417 |
| VDD Rise Rate to ensure internal Power-on Reset | SVDD | 0.05 | | | V/ms | See section on Power-on Reset for details | 417 |
| Brown-out Reset Voltage | VBOR | 1.75 | 1.9 | 2.05 | V | BORV<1:0> = 11 | 417 |
| Brown-out Reset Voltage | VBOR | 2.05 | 2.2 | 2.35 | V | BORV<1:0> = 10 | 417 |
| Brown-out Reset Voltage | VBOR | 2.35 | 2.5 | 2.65 | V | BORV<1:0> = 01 | 417 |
| Brown-out Reset Voltage | VBOR | 2.65 | 2.85 | 3.05 | V | BORV<1:0> = 00 | 417 |
| Operating temperature | TA | -40 | | 125 | °C | Standard Operating Conditions | 417 |
| Ambient temperature under bias | | -40 | | 125 | °C | | 414 |
| Storage temperature | | -65 | | 150 | °C | | 414 |
| Voltage on any pin with respect to VSS (except VDD and MCLR) | | -0.3 | | | V | -0.3V to (VDD + 0.3V) | 414 |
| Voltage on MCLR with respect to VSS | | 0 | | 11 | V | Note 2 | 414 |
| Total power dissipation | | | | 1 | W | Note 1 | 414 |
| Maximum current out of VSS pin | | | | 300 | mA | -40°C to +85°C | 414 |
| Maximum current out of VSS pin | | | | 125 | mA | +85°C to +125°C | 414 |
| Maximum current into VDD pin | | | | 200 | mA | -40°C to +85°C | 414 |
| Maximum current into VDD pin | | | | 85 | mA | +85°C to +125°C | 414 |
| Input clamp current | IIK | | | 20 | mA | VI < 0 or VI > VDD | 414 |
| Output clamp current | IOK | | | 20 | mA | VO < 0 or VO > VDD | 414 |
| Maximum current sunk by all ports | | | | 200 | mA | -40°C to +85°C | 414 |
| Sleep mode power-down base current | IPD | | 0.01 | 2 | µA | VDD = 1.8V, typ +25°C, max +85°C; WDT, BOR, FVR and SOSC disabled | 418 |
| Sleep mode power-down base current | IPD | | 0.01 | 10 | µA | VDD = 1.8V, typ +25°C, max +125°C; WDT, BOR, FVR and SOSC disabled | 418 |
| RC_RUN supply current, LFINTOSC 31 kHz | IDD | | 3.6 | 23 | µA | -40°C, VDD = 1.8V, FOSC = 31 kHz | 420 |
| RC_RUN supply current, 16 MHz HFINTOSC | IDD | | 1.3 | 2 | mA | -40°C to +125°C, VDD = 1.8V, FOSC = 16 MHz | 421 |
| RC_RUN supply current, 16 MHz HFINTOSC | IDD | | 2.2 | 3 | mA | -40°C to +125°C, VDD = 3.0V, FOSC = 16 MHz | 421 |
| RC_RUN supply current, 64 MHz HFINTOSC + PLL | IDD | | 6.2 | 8.5 | mA | -40°C to +125°C, VDD = 3.0V, FOSC = 64 MHz | 421 |
## CAD (KiCad official)
- Symbol: `PIC18LF23K22-I`
- Footprint: `Package_DFN_QFN:QFN-28-1EP_6x6mm_P0.65mm_EP4.8x4.8mm`
- 3D model: QFN-28-EP(6x6) (KiCad packages3D, STEP)
- 3D model files: `pic18lf23k22-i-etched.step` / `pic18lf23k22-i-etched.glb` carry the MPN laser-etched on the die in a toggleable `Adom.LaserEtch` group (Fusion-ready); `pic18lf23k22-i.step` / `pic18lf23k22-i.glb` are the bare package body.
## Provenance
Data extracted from the manufacturer datasheet, not a distributor listing:
- **Datasheet:** [Microchip Tech datasheet](docs/pic18lf23k22-i-datasheet.pdf) (539 pp, sha256 `d0ba745eb6a13bdb`, retrieved 2026-10-26, tier: manufacturer)
- **Extractor:** parts-factory `2.0.0` / `extract_pins 0.3`, primary `claude-sonnet-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](docs/pic18lf23k22-i-datasheet.pdf)