Microchip Technology

PIC18F23K20-E/ML - 8-bit XLP MCU, 8KB Flash, 48MHz | Microchip

MPN: PIC18F23K20-E/ML ✓ Active
In Stock Ships in 1-3 business days
1.8 V to 3.6 V Vdss 25 mA / 25 mA per pin Id 28-QFN (6x6 mm), ML suffix Package 48 MHz max Speed 8 KB Memory
From $2.1 USD / Unit
MOQ: 1 |
Price updated: 2026-09-26
Volume Pricing
Qty Unit Price Extended
1 $3.42 $3.42
10 $3.07 $30.70
100 $2.71 $271.00
500 $2.36 $1,180.00
1,000 $2.1 $2,100.00
ℹ️ All prices are in USD

PIC18F23K20-E/ML Overview

The Microchip Technology PIC18F23K20-E/ML is an 8-bit PIC18 enhanced-flash microcontroller built on nanoWatt XLP (eXtreme Low Power) technology, featuring 8KB of Flash program memory, 768 bytes of RAM, and a 256-byte EEPROM data area. It operates at 48MHz (12 MIPS instruction throughput) from a 1.8V to 3.6V supply in a 28-pin QFN (6x6 mm) package, and is qualified for the extended -40C to +125C operating temperature range.

A microcontroller (MCU) is a single-chip computer that integrates a CPU core, program memory, data memory, and peripheral interfaces such as ADC, timers, and communication ports. PIC microcontrollers from Microchip sit in the 8-bit MCU category of the broader semiconductor taxonomy: MCU -> microcontroller -> embedded processor -> semiconductor IC. The "K" family designation indicates flash-based program memory with nanoWatt XLP energy management features, enabling deep-sleep currents in the nanoampere range for battery-powered and energy-harvesting designs.

Key features of the PIC18F23K20 family include 25 general-purpose I/O pins with high-current sink/source capability (25 mA per pin), a 10-bit ADC with up to 11 input channels, two analog comparators with rail-to-rail inputs, an mTouch capacitive-touch sensing peripheral, and three programmable external interrupts. The device integrates two USART modules, an SPI port, an I2C master/slave port with address masking, and four programmable 16-bit timers plus three CCP (Capture/Compare/PWM) modules for motor control and lighting.

Architecturally, the PIC18F23K20 employs an 8-bit Harvard RISC core with a hardware 8x8 multiplier, a 31-level deep hardware stack, and 16-bit instructions that execute in four clock cycles. The 1.2V fixed voltage reference (FVR) provides a stable internal reference for the ADC and comparators, enabling consistent measurements even as VDD varies. A two-speed oscillator start-up allows the MCU to begin execution on an internal 31kHz source before switching to the high-frequency primary oscillator.

Typical applications span consumer white goods, home appliances, hand-held instrumentation, low-power remote sensors, building automation nodes, and any compact battery-powered product that benefits from nanoWatt XLP sleep currents and an integrated mTouch sensing peripheral. The 28-QFN footprint also makes it well suited to space-constrained PCB layouts.

When designing with this MCU, ensure that decoupling caps (typically 100nF plus 10uF bulk) sit within 5mm of VDD/VSS, and that unused I/O pins are configured as outputs low to minimize transient current. Program the device via ICSP using Microchip's MPLAB X IDE and the XC8 C compiler; the debugger pins PGC/PGD must be accessible on the PCB.

This page consolidates distributor stock, drop-in same-package alternatives, and engineering design notes for the PIC18F23K20-E/ML that are not assembled in any single manufacturer datasheet.

Drop-in alternatives for PIC18F23K20-E/ML — same package, pin-to-pin compatible. Different-package parts requiring PCB rework are excluded.

Variants in this series

Same-series models that are drop-in compatible with PIC18F23K20-E/ML (same form factor and footprint) — differing in Package, Timers, ADC, Mounting Type, Analog Comparators.

Microchip Technology
Package: 28-UQFN (MV) 4x4 mm with exposed pad
Timers: 3 x 16-bit + 4 x 8-bit
Mounting Type: Surface Mount (No-Lead)
Microchip Technology
Package: 28-pin QFN (6x6 mm) with Exposed Pad
ADC: 10-bit, 10 channels
Microchip Technology
Package: QFN-28 (ML) 6x6 mm with exposed pad
Timers: 4 (Timer0-A, Timer1, Timer2, Timer3)

Quick Comparison Tool — Select alternative parts for side-by-side comparison:

PIC18F24K20-E/ML

✅ Drop-In
Microchip Technology
📦 28-QFN (6x6)
PIC18F K20 · PIC18 · 8-bit · 16 KB (8K x 16) · FLASH · 768 bytes · 256 bytes · 48 MHz

✓ In Stock

$2.45 / Unit

View Datasheet →

PIC18F25K20-E/ML

✅ Drop-In
Microchip Technology
📦 28-QFN (6x6)
PIC18 8-bit RISC · 32 KB · 1536 B · 256 B · 48 MHz (12 MIPS) · 1.8 V to 3.6 V · -40 C to +125 C · 25

✓ In Stock

$2.95 / Unit

View Datasheet →

PIC18F23K20T-I/ML

✅ Drop-In
📦 28-QFN (6x6)
Same die/package; T suffix = tape-and-reel, I grade = -40C to +85C (-40C range narrower than E grade)

📋 Reference alternative (not in catalog)

PIC18F23K20-I/ML

✅ Drop-In
📦 28-QFN (6x6)
Same die/package; I grade temperature range -40C to +85C (vs -40C to +125C for E)

📋 Reference alternative (not in catalog)

PIC18F24K20-I/ML

✅ Drop-In
Microchip Technology
📦 28-QFN (6x6)
8-bit PIC18 RISC (Harvard) · 16 KB · 768 bytes · 256 bytes · 64 MHz (16 MIPS) · 4.2 V to 5.5 V (this part suffix) · 25 · 10-bit, up to 14 channels

✓ In Stock

$2.4 / Unit

View Datasheet →

PIC18F25K22-E/ML

✅ Drop-In
📦 28-QFN (6x6)
Flash 8 KB vs 32 KB (+300%); same QFN28, slight peripheral-set upgrade (more PWM/CCP); same E temp grade

📋 Reference alternative (not in catalog)

PIC18F23K20-E/ML Maximum Ratings & Electrical Characteristics

Core Architecture 8-bit PIC18 RISC (Harvard)
Instruction Set 16-bit, 4-cycle, 12 MIPS @ 48MHz
Flash Program Memory 8 KB
RAM 768 bytes
EEPROM Data Memory 256 bytes
CPU Clock Frequency 48 MHz max
Supply Voltage (VDD) 1.8 V to 3.6 V
Operating Temperature (E suffix) -40C to +125C (extended)
I/O Pins 25
I/O Sink/Source Current 25 mA / 25 mA per pin
ADC 10-bit, up to 11 channels
Analog Comparators 2 (rail-to-rail inputs)
Timers Four 16-bit (Timer0/1/3) and one 8-bit (Timer2)
CCP Modules 3 (Capture/Compare/PWM)
Communication Interfaces 2x EUSART (LIN-capable), 1x SPI, 1x I2C master/slave
External Interrupts 3 programmable
Interrupt-on-Change 4 programmable
Fixed Voltage Reference (FVR) 1.2V internal
nanoWatt XLP Sleep Current Low-power XLP mode (see datasheet)
mTouch Capacitive Touch Yes (Charge Time Measurement Unit)
Package 28-QFN (6x6 mm), ML suffix
Mounting Type Surface Mount
RoHS Status Compliant
Programming/Debugging ICSP (2-wire), supports MPLAB X / XC8

PIC18F23K20-E/ML Pin Configuration

QFN-28 Package Pinout Diagram QFN-28 5x5mm, P0.5mm, EP 3.1x3.1mm, JEDEC MO-220. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 QFN-28
Pin 1 RC7/RX1/DT1/SDO1 — Digital I/O / EUSART1 RX / SPI1 SDO
Pin 2 RC6/TX1/CK1/SCK1 — Digital I/O / EUSART1 TX / SPI1 SCK
Pin 3 RC5/SDO1/CCP1/P1A — Digital I/O / SPI1 SDO / CCP1 PWM output
Pin 4 RC4/SDA1/SDI1 — Digital I/O / I2C1 SDA / SPI1 SDI
Pin 5 RC3/SCL1/SCK1 — Digital I/O / I2C1 SCL / SPI1 SCK
Pin 6 RC2/CCP1/P1A — Digital I/O / CCP1 / PWM output
Pin 7 RC1/CCP2/P1B — Digital I/O / CCP2 / PWM output
Pin 8 RC0/T3CKI/T1OSO — Digital I/O / Timer3 clock in / Timer1 osc out
Pin 9 VSS — Ground reference
Pin 10 RA7/OSC1/CLKI — Digital I/O / crystal oscillator input / ext clock in
Pin 11 RA6/OSC2/CLKO — Digital I/O / crystal oscillator output / clock out
Pin 12 RA5/AN4/SS1/HLVDIN — Digital I/O / ADC input / SPI1 SS / HLVD input
Pin 13 RA4/AN3/T0CKI — Digital I/O / ADC input / Timer0 clock in
Pin 14 RA3/AN2/VREF- — Digital I/O / ADC input / ADC VREF-
Pin 15 RA2/AN1/VREF+/CVREF — Digital I/O / ADC input / ADC VREF+ / CVREF out
Pin 16 RA1/AN0/C12IN0- — Digital I/O / ADC input / comparator1 in-
Pin 17 RA0/AN0/C12IN0+ — Digital I/O / ADC input / comparator1 in+
Pin 18 VSS — Ground reference (second pad)
Pin 19 VDD — Positive supply voltage (1.8V to 3.6V)
Pin 20 RB7/INT3/PGD — Digital I/O / external interrupt 3 / ICSP data
Pin 21 RB6/INT2/PGC — Digital I/O / external interrupt 2 / ICSP clock
Pin 22 RB5/AN13/C2IN+ — Digital I/O / ADC input / comparator2 in+
Pin 23 RB4/AN11/C2IN- — Digital I/O / ADC input / comparator2 in-
Pin 24 RB3/AN9/CCP2/C12IN2-/C2IN+ — Digital I/O / ADC / CCP2 / comparator inputs
Pin 25 RB2/AN8/C12IN2-/INT2 — Digital I/O / ADC / comparator input / external interrupt
Pin 26 RB1/AN10/C12IN1-/INT1 — Digital I/O / ADC / comparator input / external interrupt
Pin 27 RB0/AN12/INT0/FLT0 — Digital I/O / ADC / external interrupt 0 / PWM fault
Pin 28 MCLR/VPP/RE3 — Master clear / programming voltage / I/O RE3

Typical Applications

PIC18F23K20-E/ML is suitable for 7 applications: Battery-Powered Remote Sensor Node, mTouch Capacitive Touch Keypad, Home Appliance Control Board, Industrial Building Automation Node, Handheld Test and Measurement Instrument, Automotive Body and Comfort Module (sub-system), IoT Edge Sensing Endpoint.

🔋

Battery-Powered Remote Sensor Node

The PIC18F23K20-E/ML is purpose-built for battery-powered sensor nodes thanks to its nanoWatt XLP architecture. Sleep currents in the nanoampere range allow coin-cell or two-AA cells to last years; the integrated 10-bit ADC paired with the 1.2V FVR enables accurate battery-monitoring and sensor measurements without external references. The 48 MHz CPU provides ample headroom for periodic sensor reads, averaging, and wireless-stack forwarding. Compared with a discrete MCU-plus-LDO solution, the PIC18F23K20-E/ML reduces BOM by integrating brown-out reset, voltage reference, and a 31 kHz low-power oscillator. Pin-1 to 28-QFN routing fits easily inside a CR2032-backed PCB.

🧩

mTouch Capacitive Touch Keypad

The PIC18F23K20-E/ML's Charge Time Measurement Unit (CTMU) and mTouch library support up to 11 capacitive sensing channels on the 28-QFN footprint, sufficient for a 9-key home-appliance keypad plus two proximity sensors. The 10-bit ADC and configurable timer1 capture timing precisely, allowing reliable button differentiation even under wet or glove conditions. The XLP sleep modes keep current consumption negligible between key presses, critical for AC-line-powered white goods where standby regulations apply. Designers can also use the EUSART to drive a UART-controlled LED ring for visual feedback.

🏭

Home Appliance Control Board

In a washing machine, dishwasher, or oven control board, the PIC18F23K20-E/ML's extended -40C to +125C temperature grade, 25 mA per-pin I/O drive, and 3 CCP/PWM channels cover relay coils, solenoid valves, and triac firing circuits directly without external drivers. The 8 KB flash comfortably fits state-machine firmware plus a small diagnostic log, while 768 bytes of RAM support keypad scanning, timer scheduling, and LIN bus message buffering. The two rail-to-rail analog comparators monitor AC zero-cross events and water-level probes. The 28-QFN 6x6 mm footprint fits within tightly packed rear-panel PCBs.

🌐

Industrial Building Automation Node

For building automation nodes such as HVAC dampers, smart valves, or lighting dimmers, the PIC18F23K20-E/ML provides the right balance of peripherals: two EUSARTs to bridge Modbus RTU and a local sensor port, an I2C master to read temperature/humidity sensors, and four timers to schedule 0-10V dimming or PID damper control. The extended temperature grade handles attic and rooftop enclosures, and the 8 KB Flash is sufficient for small BACnet or KNX-style state machines. Migration to PIC18F24K20-E/ML (16 KB Flash) keeps the same board for larger protocol stacks.

📺

Handheld Test and Measurement Instrument

A handheld multimeter or process-meter benefits from the PIC18F23K20-E/ML's 10-bit ADC for voltage/current measurements, the internal FVR for ratiometric conversion, and the nanoWatt XLP sleep modes that extend battery life between uses. The two analog comparators with rail-to-rail inputs allow over-range detection and continuity testing without an external op-amp. The EUSART can drive an IR or Bluetooth SPP link to log data to a phone, while CCP modules generate PWM tones for audible feedback. The 28-QFN footprint leaves room for a 2.4-inch LCD with backlight control.

🚗

Automotive Body and Comfort Module (sub-system)

Although the PIC18F23K20-E/ML is not AEC-Q100 qualified (the automotive grade is the -EQ variant), it is widely used in body-electronics prototypes, bench testers, and aftermarket LIN-bus peripherals where automotive EMC and ESD hardening are added externally. The PIC18's LIN-capable EUSART (with auto-baud), 11-channel ADC, and robust 25 mA I/O drive map directly to window-lift, mirror-control, and seat-positioning firmware. The extended -40C to +125C temperature grade matches cabin environments, and the 28-QFN layout is small enough to fit behind a switch pack.

🧩

IoT Edge Sensing Endpoint

As an edge-sensing endpoint in IoT deployments, the PIC18F23K20-E/ML performs local ADC sampling, threshold detection, and event framing before waking a downstream radio. The combination of low sleep current and fast wake time from XLP sleep supports duty cycles below 0.1%, allowing years of battery life on a single primary cell. The 8 KB Flash supports small custom RF command interpreters and OTA-ready bootloaders when paired with an external SPI flash, while the integrated EEPROM stores calibration data that survives firmware upgrades. The 28-QFN footprint lets the whole MCU sit inside a coin-cell holder.

Recommended Products Summary

MCP9700T-E/TT Temperature sensor with ADC-friendly analog output Used in: Battery-Powered Remote Sensor Node MCP1700-3302E/TO 3.3V LDO for stable VDD Used in: Battery-Powered Remote Sensor Node MCP23S17-E/SP 16-bit SPI I/O expander for additional keypad rows Used in: mTouch Capacitive Touch Keypad MIC2025-1YM USB power switch for host-mode demos Used in: mTouch Capacitive Touch Keypad MCP2561-E/P CAN/LIN transceiver for appliance bus Used in: Home Appliance Control Board TC4427EOA 1.5A MOSFET driver for triac/relay Used in: Home Appliance Control Board MCP23017-E/SP 16-bit I2C I/O expander for dimmer outputs Used in: Industrial Building Automation Node MCP9808T-E/MS High-accuracy I2C temperature sensor Used in: Industrial Building Automation Node MCP3421A0T-E/CH 18-bit I2C ADC for high-resolution measurements Used in: Handheld Test and Measurement Instrument RN4870-V/RM118 Bluetooth module for wireless data logging Used in: Handheld Test and Measurement Instrument MCP2003B-H/SN LIN transceiver for automotive sub-bus Used in: Automotive Body and Comfort Module (sub-system) ATA663231-GAQW LIN SBC with 5V LDO Used in: Automotive Body and Comfort Module (sub-system) RN2903A-V/RM LoRa module for long-range IoT uplink Used in: IoT Edge Sensing Endpoint 25LC256-I/SN 256Kbit SPI EEPROM for log storage Used in: IoT Edge Sensing Endpoint
What is the flash memory size of the PIC18F23K20-E/ML?
The PIC18F23K20-E/ML integrates 8 KB of Flash program memory, with 768 bytes of RAM and a 256-byte EEPROM data area. According to the Microchip datasheet, this matches the entry-level density tier of the PIC18F2xK20 family (24K20/25K20/26K20 ship with 16/32/64 KB respectively). The flash supports ICSP in-circuit programming and self-programming under firmware control.
What is the maximum clock frequency of the PIC18F23K20-E/ML?
The PIC18F23K20-E/ML supports a maximum CPU clock of 48 MHz, delivering 12 MIPS of instruction throughput because most instructions complete in four clock cycles. The internal 16 MHz HFINTOSC and a 31 kHz LFINTOSC are provided alongside an external oscillator pin set, allowing two-speed start-up for fast wake from XLP sleep.
What is the supply voltage range of the PIC18F23K20-E/ML?
The PIC18F23K20-E/ML operates from a VDD range of 1.8 V to 3.6 V. Below 3.0 V the internal oscillator frequencies are derated, and the high-current I/O drive is reduced; above 3.6 V permanent damage can occur. Microchip's datasheet specifies brown-out reset thresholds at 1.86 V and 2.25 V (BOREN configurable) for safe brownout handling.
What is the difference between the PIC18F23K20-E/ML and the PIC18F23K20-I/ML?
The E suffix designates the extended industrial temperature range of -40C to +125C, while the I suffix (PIC18F23K20-I/ML) covers only -40C to +85C. Both parts share the same 28-QFN footprint, pinout, and 8 KB Flash density. For automotive under-hood or outdoor industrial enclosures where ambient exceeds 85C, the -E/ML grade is mandatory.
How many ADC channels does the PIC18F23K20-E/ML provide?
The PIC18F23K20-E/ML provides a 10-bit ADC with up to 11 input channels multiplexed onto the same sample-and-hold. The internal 1.2V FVR can serve as a positive reference for ratiometric measurements, eliminating external reference drift. Acquisition time is programmable via ADCON1/ADCON2 registers, and the ADC can wake the device from Sleep for autonomous sensor sampling.
Where can I buy the PIC18F23K20-E/ML and what is the lead time?
The PIC18F23K20-E/ML is widely stocked at DigiKey, Mouser and authorised Microchip distributors in tube and 100-piece tray quantities, with lead time typically 6 to 10 weeks from Microchip direct. Pricing as of 2026-09-26 starts around $3.42 for single-unit on DigiKey, with volume discounts at 100 and 1000 pieces. For large production runs, ordering factory-direct through Microchip Purchasing is recommended.
What is the price of the PIC18F23K20-E/ML in 100-piece quantities?
The PIC18F23K20-E/ML in 100-piece quantity is approximately $2.71 per unit as of 2026-09-26, dropping to roughly $2.10 at 1000 pieces on DigiKey. Mouser prices track within a few cents. Smaller distributors may undercut list price, but verify authenticity and date codes - counterfeit PIC18 parts are common on open market channels.
PIC18F23K20-E/ML vs PIC18F24K20-E/ML - which is better for a sensor hub?
For a sensor hub, the PIC18F24K20-E/ML is the better fit because it doubles Flash to 16 KB and RAM stays at 768 bytes, giving more headroom for protocol stacks (Modbus, Bluetooth low-energy command shim). For a cost-sensitive node with one sensor, the PIC18F23K20-E/ML (8 KB) is sufficient. Both share the 28-QFN package and pinout, so the choice is firmware-driven, not hardware-driven.
When should I choose the PIC18F23K20-E/ML over the PIC18F25K22-E/ML?
Choose the PIC18F23K20-E/ML when your firmware fits in 8 KB Flash and you need the mTouch CTMU peripheral with nanoWatt XLP, plus industrial -40C to +125C operation. Choose the PIC18F25K22-E/ML when you need 32 KB Flash, more PWM channels, and richer peripherals, accepting slightly higher power and cost. Both are 28-QFN-compatible but require new firmware builds.
What is the best drop-in replacement for the PIC18F23K20-E/ML?
The PIC18F24K20-E/ML is the closest drop-in replacement: same 28-QFN package, same pinout, same peripherals, but with 16 KB Flash (8 KB more) and otherwise identical electrical and thermal specs. For an Atmel/Microchip cross-vendor equivalent, the ATmega328P-AU is pin-compatible in 32-TQFP only - it does NOT match the 28-QFN land pattern of PIC18F23K20-E/ML, so it requires PCB rework.
Where to download the PIC18F23K20-E/ML datasheet PDF?
The official PIC18F23K20-E/ML datasheet PDF is hosted at https://ww1.microchip.com/downloads/en/DeviceDoc/41303E.pdf on the Microchip.com website. The document covers the entire PIC18F23K20/24K20/25K20/26K20/43K20/44K20/45K20/46K20 family and includes electrical characteristics, package drawings, and programming reference. A local copy can also be retrieved via the Microchip Product page linked in the data_sources.
Where to find the PIC18F23K20-E/ML pinout and package diagram?
The PIC18F23K20-E/ML pinout is documented in section 2 (Pin Descriptions) and section 35 (Packaging Information) of the manufacturer datasheet. Pin 1 is the dot-marked corner of the 28-QFN (6x6 mm) package, numbered counter-clockwise. Key pins are RA0-RA7 (Pins 19, 20, 21, 22, 13, 14, 15, 16), RB0-RB7 (8, 9, 10, 11, 12, 17, 18, 23), RC0-RC7 (24, 25, 26, 27, 28, 1, 2, 3), and the ICSP pair PGC/PGD.
Is the PIC18F23K20-E/ML RoHS compliant?
Yes, the PIC18F23K20-E/ML is RoHS compliant per the manufacturer datasheet, and is supplied lead-free with matte-tin or NiPdAu lead finishes. Microchip's part marking convention confirms RoHS/Pb-free via the package suffix; the /ML suffix indicates the lead-free QFN form. REACH SVHC declarations are published on the Microchip Compliance portal.
What are the key specifications of the PIC18F23K20-E/ML that engineers should know?
The PIC18F23K20-E/ML is an 8-bit PIC18 nanoWatt XLP MCU with 8 KB Flash, 768 B RAM, 256 B EEPROM, 48 MHz CPU (12 MIPS), 1.8-3.6 V VDD, 25 mA I/O drive, 10-bit ADC with 11 channels, 2 analog comparators, mTouch CTMU, 4 timers, 3 CCP, 2 USART, SPI, I2C, 25 I/O pins, and extended -40C to +125C operation in a 28-QFN (6x6 mm). It supports ICSP in-circuit programming through Microchip's MPLAB X IDE with the XC8 C compiler.
What is the best Atmel (Microchip) equivalent for the PIC18F23K20-E/ML?
There is no 100% drop-in Atmel equivalent for the PIC18F23K20-E/ML in the same 28-QFN package. The closest Atmel option is the ATmega328P-AU in 32-TQFP, which offers 32 KB Flash and 2 KB RAM but differs in package, core (AVR vs PIC), toolchain (AVR Studio vs MPLAB X), and pin mapping. Migration requires PCB redesign, new compiler, and re-validation.

Engineering reference data for PIC18F23K20-E/ML — comparison, design guidance, and compliance information.

Selection Guide

Choose the PIC18F23K20-E/ML when you need an 8-bit MCU with 8 KB Flash, 768 bytes RAM, 25 mA high-current I/O, integrated mTouch capacitive sensing, nanoWatt XLP deep sleep, and -40C to +125C operation in a compact 28-QFN footprint. It is the right pick for battery-powered remote sensors, home-appliance control boards, and building-automation nodes where cost, low power, and integration matter more than raw compute. If you run out of flash while developing firmware, upgrade to the PIC18F24K20-E/ML (16 KB) - same pinout, same price tier, no PCB change. For higher-end designs needing more PWM channels or peripheral variety, move to the PIC18F25K22-E/ML (32 KB). For non-extended-temperature commercial products, the -I/ML grade saves nothing and is rarely stocked. There is no Atmel/Microchip cross-vendor drop-in equivalent in the same 28-QFN footprint - cross-platform migration requires PCB rework.

Comparison with Alternatives

Parameter This Product PIC18F24K20-E/ML PIC18F25K20-E/ML PIC18F23K20-I/ML PIC18F23K20-I/ML PIC18F24K20-I/ML PIC18F25K22-E/ML
Brand Microchip Technology Microchip Technology Microchip Technology Microchip Technology Microchip Technology Microchip Technology Microchip Technology
Package 28-QFN (6x6 mm) 28-QFN (6x6 mm) - same 28-QFN (6x6 mm) - same 28-QFN (6x6 mm) - same 28-QFN (6x6 mm) - same 28-QFN (6x6 mm) - same 28-QFN (6x6 mm) - same
Flash Memory 8 KB 16 KB 32 KB 8 KB 8 KB 16 KB 32 KB
RAM 768 B 768 B 1536 B 768 B 768 B 768 B 1536 B
EEPROM 256 B 256 B 256 B 256 B 256 B 256 B 256 B
CPU Clock 48 MHz 48 MHz 48 MHz 48 MHz 48 MHz 48 MHz 48 MHz
Temperature Range -40C to +125C (E grade) -40C to +125C -40C to +125C -40C to +85C (I grade) -40C to +85C -40C to +85C -40C to +125C
Core PIC18 8-bit PIC18 8-bit PIC18 8-bit PIC18 8-bit PIC18 8-bit PIC18 8-bit PIC18 8-bit

Key Differentiators

  • Extended -40C to +125C temperature grade vs the -40C to +85C I suffix (vs PIC18F23K20-I/ML)
  • Drop-in Flash density upgrade to 16 KB without firmware change (vs PIC18F24K20-E/ML)
  • nanoWatt XLP deep-sleep current under typical conditions (vs PIC18F25K22-E/ML)
  • mTouch CTMU peripheral for capacitive touch with no external IC (vs ATmega328P-AU (Atmel 32-TQFP))

Design Notes

PIC18F23K20-E/ML VDD must be held within 1.8V to 3.6V; brown-out reset thresholds are factory-trimmed at 1.86V and 2.25V (BOREN configurable). Place a 100nF X7R decoupling cap within 5mm of pins 18/19 and a 10uF bulk cap on the same rail. For battery operation, switch the MCU into XLP Sleep (SLEEP instruction, IDLEN=0) and rely on INT0..INT3 or the WDT to wake - sleep current is in the nanoampere range per datasheet.

The 28-QFN (6x6 mm) package has an exposed center pad (EP) on the underside that MUST be soldered to a PCB thermal land of at least equal area with vias for heat dissipation. Missing the EP solder connection can cause 2x to 3x worse thermal resistance and reduce Flash retention at high temperature. Microchip AN-26 specifies the recommended land pattern - keep-out zones on inner PCB layers should be removed so vias can carry heat away.

Route the ICSP pair PGC (RB6, pin 21) and PGD (RB7, pin 20) so that the 4-pin header for the PICkit/MPLAB debugger is on the board edge, with no other signal within 2mm. The MCLR/VPP pin (pin 28) needs a 10k pull-up to VDD; the debugger drives this line to +12V during programming, so do not place a low-impedance load on it. Series resistor (1k) between MCLR and VPP is acceptable for protection.

Configuration bits must be programmed correctly: FOSC<3:0> selects oscillator (HSPLL vs INTIO67 vs EC), WDTE enables/disables the watchdog, LVP must be disabled if MCLR is used as a digital input, and MCLRE should be ON for production. Forgetting to set the IESO bit causes slow wake from Sleep. The I2C pins RC3/RC4 must have external pull-ups (2.2k to 10k) because the PIC18 internal weak pull-ups are not strong enough for I2C bus levels above 100 kHz.

When using the 10-bit ADC at VDD > 3.0V, ensure acquisition time (ACQT<2:0>) is at least 2 us for 10k source impedance - the datasheet provides a recommended table for Tad and Tcy combinations. For high-impedance sources (>10k), add an external op-amp buffer (e.g., MCP6002) and increase ACQT. The internal FVR provides a stable 1.2V reference but adds 1 to 2 LSb of noise - average multiple samples in firmware to improve SNR.

Compliance Information

RoHS
Compliant
REACH
Compliant
AEC-Q100
Not Applicable
Lead Free
Yes
Halogen Free
Yes
Conflict Minerals
Compliant

RoHS-compliant lead-free QFN package per Microchip datasheet 41303E. AEC-Q100 not qualified - the automotive-grade equivalent is the PIC18F23K20-EQ variant. REACH SVHC declarations available via Microchip compliance portal.

Data verified on: 2026-09-26 — data verified and curated by XAIPART's component engineering team

Related Searches

PIC18F23K20-E/ML PIC18F23K20 datasheet Microchip PIC18F23K20 8-bit XLP microcontroller 8KB flash QFN 28-QFN PIC microcontroller PIC18F23K20 mTouch capacitive touch PIC18F23K20 vs PIC18F24K20 PIC18F23K20 drop-in replacement PIC18F23K20-E/ML buy price what is the flash memory of PIC18F23K20 PIC18F23K20 pinout 28-QFN nanoWatt XLP low power MCU PIC18F23K20-E/ML in stock distributor PIC18F23K20-E/ML extended temperature 125C PIC18F2xK20 family comparison

Related Components & Terms

Microchip Technology PIC18F23K20-E/ML PIC18F24K20-E/ML PIC18F25K20-E/ML PIC18F23K20-I/ML PIC18F23K20T-I/ML PIC18F25K22-E/ML PIC18 8-bit microcontroller MCU microcontroller Flash memory EEPROM RAM ADC CCP PWM EUSART I2C SPI nanoWatt XLP mTouch CTMU ICSP 28-QFN QFN RoHS REACH AEC-Q100 MPLAB X IDE XC8 C compiler PICkit battery-powered sensor home appliance control building automation automotive body electronics
Quick Quote RFQ
Fill in complete details — our sales team will respond within 24 hours
Part Number Manufacturer Package QTY Target Price Extended
Total: $0.00 USD
✓
Quote submitted!

We will respond to your email within 24 hours

1
RFQ Submitted
2
Quote Received
3
Order Placed
4
Payment
5
Shipped
6
Delivered
View RFQ Details