Generated by kicad-footprint-generator · KiCad file format 20260206
PIC18F24K20-I
Microchip Tech · Microcontroller Units (MCUs/MPUs/SOCs) · QFN-28-EP(6x6)
PIC18F24K20-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/AN2/VREF-/CVREF/C2IN+ | bidirectional | Digital I/O (TTL) that also serves as analog input 2 for ADC channel 2, A/D reference voltage (low) input VREF-, comparator reference voltage output CVREF, and comparator C2 non-inverting input C2IN+. |
| 2 | RA3/AN3/VREF+/C1IN+ | bidirectional | Digital I/O (TTL) that also serves as analog input 3 for ADC channel 3, A/D reference voltage (high) input VREF+, and comparator C1 non-inverting input C1IN+. |
| 3 | RA4/T0CKI/C1OUT | bidirectional | Digital I/O with Schmitt Trigger input that also serves as Timer0 external clock input T0CKI and comparator C1 output C1OUT, which takes priority over port data. |
| 4 | RA5/AN4/SS/HLVDIN/C2OUT | bidirectional | Digital I/O (TTL) that also serves as analog input 4 for ADC channel 4, SPI slave select input SS, high/low-voltage detect input HLVDIN, and comparator C2 output C2OUT. |
| 5 | VSS | power_in | Ground reference for logic and I/O pins. |
| 6 | OSC1/CLKIN/RA7 | input | Oscillator crystal or external clock input (OSC1/CLKIN) in external oscillator modes, and general purpose I/O RA7 when the oscillator pins are not used as oscillator. |
| 7 | OSC2/CLKOUT/RA6 | output | Oscillator crystal output (OSC2) in crystal modes, or CLKOUT at 1/4 of the OSC1 frequency in RC mode, and general purpose I/O RA6 in RCIO, INTIO2 and ECIO modes. |
| 8 | RC0/T1OSO/T13CKI | bidirectional | Digital I/O (Schmitt Trigger input) that also serves as Timer1 oscillator output T1OSO and Timer1/Timer3 counter input T13CKI. |
| 9 | RC1/T1OSI/CCP2 | bidirectional | Digital I/O (Schmitt Trigger input) that also serves as Timer1 oscillator input T1OSI and CCP2 capture input or compare/PWM output (default CCP2 location when CCP2MX is set). |
| 10 | RC2/CCP1/P1A | bidirectional | Digital I/O (Schmitt Trigger input) that also serves as CCP1 capture input or compare output and Enhanced CCP1 PWM output P1A, which may be tri-stated during Enhanced PWM shutdown. |
| 11 | RC3/SCK/SCL | bidirectional | Digital I/O (Schmitt Trigger input) that also serves as MSSP synchronous serial clock SCK in SPI mode and serial clock SCL in I2C mode. |
| 12 | RC4/SDI/SDA | bidirectional | Digital I/O (Schmitt Trigger input) that also serves as MSSP SPI data input SDI and I2C data I/O SDA. |
| 13 | RC5/SDO | bidirectional | Digital I/O (Schmitt Trigger input) that also serves as MSSP SPI data output SDO, which takes priority over port data. |
| 14 | RC6/TX/CK | bidirectional | Digital I/O (Schmitt Trigger input) that also serves as EUSART asynchronous transmit TX and EUSART synchronous clock CK. |
| 15 | RC7/RX/DT | bidirectional | Digital I/O (Schmitt Trigger input) that also serves as EUSART asynchronous receive RX and EUSART synchronous data DT. |
| 16 | VSS | power_in | Ground reference for logic and I/O pins. |
| 17 | VDD | power_in | Positive supply for logic and I/O pins. |
| 18 | RB0/INT0/FLT0/AN12 | bidirectional | Digital I/O with programmable weak pull-up that also serves as external interrupt 0 INT0, PWM Fault input FLT0 for CCP1, and analog input 12 for ADC channel 12. |
| 19 | RB1/INT1/AN10/C12IN3-/P1C | bidirectional | Digital I/O with programmable weak pull-up that also serves as external interrupt 1 INT1, analog input 10 for ADC channel 10, comparator C1/C2 inverting input channel 3, and ECCP1 PWM output P1C. |
| 20 | RB2/INT2/AN8/P1B | bidirectional | Digital I/O with programmable weak pull-up that also serves as external interrupt 2 INT2, analog input 8 for ADC channel 8, and ECCP1 PWM output P1B. |
| 21 | RB3/AN9/C12IN2-/CCP2 | bidirectional | Digital I/O with programmable weak pull-up that also serves as analog input 9 for ADC channel 9, comparator C1/C2 inverting input channel 2, and alternate CCP2 capture input or compare/PWM output when the CCP2MX Configuration bit is cleared. |
| 22 | RB4/KBI0/AN11/P1D | bidirectional | Digital I/O with programmable weak pull-up that also serves as interrupt-on-pin-change KBI0, analog input 11 for ADC channel 11, and ECCP1 PWM output P1D. |
| 23 | RB5/KBI1/PGM | bidirectional | Digital I/O with programmable weak pull-up that also serves as interrupt-on-pin-change KBI1 and low-voltage ICSP programming mode entry pin PGM, enabled by the LVP Configuration bit. |
| 24 | RB6/KBI2/PGC | bidirectional | Digital I/O with programmable weak pull-up that also serves as interrupt-on-pin-change KBI2 and the in-circuit debugger and ICSP programming clock pin PGC. |
| 25 | RB7/KBI3/PGD | bidirectional | Digital I/O with programmable weak pull-up that also serves as interrupt-on-pin-change KBI3 and the in-circuit debugger and ICSP programming data pin PGD. |
| 26 | MCLR/VPP/RE3 | input | Active-low Master Clear (device Reset) input when MCLRE is enabled, programming voltage input VPP for ICSP mode entry detection, or digital input RE3 when MCLR functionality is disabled. |
| 27 | RA0/AN0/C12IN0- | bidirectional | Digital I/O (TTL) that also serves as analog input 0 for ADC channel 0 and comparator C1/C2 inverting input channel 0. |
| 28 | RA1/AN1/C12IN1- | bidirectional | Digital I/O (TTL) that also serves as analog input 1 for ADC channel 1 and comparator C1/C2 inverting input channel 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 |
|---|---|---|---|---|---|---|---|
| Ambient temperature under bias | -40 | 125 | °C | 350 | |||
| Storage temperature | -65 | 150 | °C | 350 | |||
| Voltage on pins with respect to VSS (except VDD and MCLR) | -0.3 | V | max printed as VDD + 0.3V | 350 | |||
| Voltage on VDD pin with respect to VSS | -0.3 | 4.5 | V | 350 | |||
| Voltage on MCLR with respect to VSS | 0 | 11 | V | 350 | |||
| Total power dissipation | 1 | W | 350 | ||||
| Maximum current out of VSS pin | 350 | mA | -40°C to +85°C, industrial | 350 | |||
| Maximum current into VDD pin (PIC18F2XK20) | 250 | mA | -40°C to +85°C, industrial | 350 | |||
| Input clamp current | IIK | 20 | mA | VI < 0 or VI > VDD | 350 | ||
| Maximum output current sunk by any I/O pin | 50 | mA | 350 | ||||
| Maximum output current sourced by any I/O pin | 50 | mA | 350 | ||||
| VDDMIN operating supply voltage | VDD | 1.8 | V | Fosc <= 16 MHz | 351 | ||
| VDDMIN operating supply voltage | VDD | 2 | V | Fosc <= 20 MHz | 351 | ||
| VDDMIN operating supply voltage | VDD | 3 | V | Fosc <= 64 MHz, industrial temperature | 351 | ||
| VDDMAX operating supply voltage | VDD | 3.6 | V | 351 | |||
| Operating ambient temperature TA_MIN (industrial) | TA_MIN | -40 | °C | Industrial temperature | 351 | ||
| Operating ambient temperature TA_MAX (industrial) | TA_MAX | 85 | °C | Industrial temperature | 351 | ||
| Supply voltage | VDD | 1.8 | 3.6 | V | 353 | ||
| RAM data retention voltage | VDR | 1.5 | V | Sleep mode or device Reset, RAM data retained (note 1) | 353 | ||
| VDD start voltage to ensure internal Power-on Reset signal | VPOR | 0.7 | V | See section on Power-on Reset for details | 353 | ||
| VDD rise rate to ensure internal Power-on Reset signal | SVDD | 0.05 | V/ms | See section on Power-on Reset for details | 353 | ||
| Brown-out Reset voltage | VBOR | 1.72 | 1.82 | 1.95 | V | BORV<1:0> = 11 | 353 |
| Brown-out Reset voltage | VBOR | 2.15 | 2.27 | 2.4 | V | BORV<1:0> = 10 | 353 |
| Brown-out Reset voltage | VBOR | 2.65 | 2.75 | 2.9 | V | BORV<1:0> = 01 | 353 |
| Brown-out Reset voltage | VBOR | 2.98 | 3.08 | 3.25 | V | BORV<1:0> = 00 | 353 |
| Power-down current (Sleep mode) | IPD | 0.05 | 1 | uA | -40°C, VDD = 1.8V, Sleep mode | 353 | |
| Power-down current (Sleep mode) | IPD | 0.6 | 3 | uA | +85°C, VDD = 1.8V, Sleep mode | 353 | |
| Power-down current (Sleep mode) | IPD | 0.1 | 1 | uA | -40°C, VDD = 3.0V, Sleep mode | 353 | |
| Power-down current (Sleep mode) | IPD | 0.7 | 3 | uA | +85°C, VDD = 3.0V, Sleep mode | 353 | |
| Supply current RC_RUN, LFINTOSC | IDD | 6.5 | 14 | uA | +85°C, VDD = 1.8V, FOSC = 31 kHz (RC_RUN mode, LFINTOSC source) | 354 | |
| Supply current RC_RUN, LFINTOSC | IDD | 11 | 20 | uA | +85°C, VDD = 3.0V, FOSC = 31 kHz (RC_RUN mode, LFINTOSC source) | 354 | |
| Supply current RC_RUN, HF-INTOSC | IDD | 0.4 | 0.5 | mA | -40°C to +125°C, VDD = 1.8V, FOSC = 1 MHz (RC_RUN mode, HF-INTOSC source) | 354 | |
| Supply current RC_RUN, HF-INTOSC | IDD | 0.6 | 0.8 | mA | -40°C to +125°C, VDD = 3.0V (RC_RUN mode, HF-INTOSC source) | 354 | |
| Supply current RC_RUN, HF-INTOSC | IDD | 2.2 | 3 | mA | -40°C to +125°C, VDD = 1.8V, FOSC = 16 MHz (RC_RUN mode, HF-INTOSC source) | 354 | |
| Supply current RC_RUN, HF-INTOSC | IDD | 3.8 | 4.4 | mA | -40°C to +125°C, VDD = 3.0V (RC_RUN mode, HF-INTOSC source) | 354 | |
| Supply current RC_IDLE, LFINTOSC | IDD | 2.5 | 9 | uA | +85°C, VDD = 1.8V, FOSC = 31 kHz (RC_IDLE mode, LFINTOSC source) | 355 | |
| Supply current RC_IDLE, LFINTOSC | IDD | 4 | 12 | uA | +85°C, VDD = 3.0V (RC_IDLE mode, LFINTOSC source) | 355 | |
| Supply current RC_IDLE, HF-INTOSC | IDD | 0.3 | 0.4 | mA | -40°C to +125°C, VDD = 1.8V, FOSC = 1 MHz (RC_IDLE mode, HF-INTOSC source) | 355 | |
| Supply current RC_IDLE, HF-INTOSC | IDD | 0.4 | 0.6 | mA | -40°C to +125°C, VDD = 3.0V (RC_IDLE mode, HF-INTOSC source) | 355 | |
| Supply current RC_IDLE, HF-INTOSC | IDD | 1 | 1.2 | mA | -40°C to +125°C, VDD = 1.8V, FOSC = 16 MHz (RC_IDLE mode, HF-INTOSC source) | 355 | |
| Supply current RC_IDLE, HF-INTOSC | IDD | 1.6 | 2 | mA | -40°C to +125°C, VDD = 3.0V (RC_IDLE mode, HF-INTOSC source) | 355 | |
| Supply current PRI_RUN, EC oscillator | IDD | 0.5 | 0.75 | mA | -40°C to +125°C, VDD = 3.0V | 356 | |
| Supply current PRI_RUN, EC oscillator | IDD | 4.3 | 5 | mA | -40°C to +125°C, VDD = 3.0V | 356 | |
| Supply current PRI_RUN, EC oscillator | IDD | 12.2 | 14 | mA | -40°C to +85°C, VDD = 3.0V, FOSC = 64 MHz (PRI_RUN, EC oscillator) | 356 | |
| Supply current PRI_RUN, 16 MHz internal HS+PLL | IDD | 4.2 | 5 | mA | -40°C to +125°C, VDD = 3.0V | 356 | |
| Supply current PRI_RUN, 64 MHz internal HS+PLL | IDD | 12.2 | 15 | mA | -40°C to +85°C, VDD = 3.0V, FOSC = 16 MHz, 64 MHz internal (PRI_RUN HS+PLL) | 356 | |
| Watchdog Timer differential current (IWDT) | IWDT | 0.7 | 2 | uA | -40°C to +125°C, VDD = 1.8V | 358 | |
| Watchdog Timer differential current (IWDT) | IWDT | 1.1 | 3 | uA | -40°C to +125°C, VDD = 3.0V | 358 | |
| High/Low-Voltage Detect differential current (IHLVD) | IHLVD | 13 | 30 | uA | -40°C to +125°C, VDD = 1.8-3.0V | 358 | |
| Timer1 oscillator differential current (LP mode) | IOSCB | 0.9 | 3 | uA | +85°C, VDD = 3.0V, 32 kHz on Timer1 (note 1, low-power mode) | 358 | |
| Input high voltage, OSC1 (XT, LP modes) | VIH | 1.6 | V | XT, LP modes | 359 | ||
| Input high voltage, T13CKI | VIH | 1.6 | V | 359 | |||
| PORTB weak pull-up current | IPURB | 50 | 90 | 400 | uA | VDD = 3.0V, VPIN = VSS | 360 |
| Output low voltage, I/O ports | VOL | 0.6 | V | IOL = 8.5 mA, VDD = 3.0V, -40°C to +85°C | 361 | ||
| Output low voltage, OSC2/CLKOUT | VOL | 0.6 | V | IOL = 1.6 mA, VDD = 3.0V, -40°C to +85°C (RC, RCIO, EC, ECIO modes) | 361 | ||
| OSC2 pin capacitive loading | COSC2 | 15 | pF | In XT, HS and LP modes when external clock is used to drive OSC1 | 361 | ||
| All I/O pins and OSC2 capacitive loading | CIO | 50 | pF | All I/O pins and OSC2 (in RC mode); to meet the AC timing specifications | 361 | ||
| SCL, SDA capacitive loading | CB | 400 | pF | I2C specification | 361 |
CAD (KiCad official)
- Symbol:
PIC18F24K20-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:
pic18f24k20-i-etched.step/pic18f24k20-i-etched.glbcarry the MPN laser-etched on the die in a toggleableAdom.LaserEtchgroup (Fusion-ready);pic18f24k20-i.step/pic18f24k20-i.glbare the bare package body.
Provenance
Data extracted from the manufacturer datasheet, not a distributor listing:
- Datasheet: Microchip Tech datasheet (440 pp, sha256
4e7e234c713a2325, retrieved 2026-10-30, tier: manufacturer) - Extractor: parts-factory
2.0.0/extract_pins 0.3, primaryclaude-haiku-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).