PIC18F23K20T-I/MV - 8-bit MCU, 64MHz, 8KB Flash, 28-UQFN | Microchip
MPN: PIC18F23K20T-I/MV ✓ Active| Qty | Unit Price | Extended |
|---|---|---|
| 1 | $3.1 | $3.10 |
| 10 | $2.78 | $27.80 |
| 100 | $2.41 | $241.00 |
| 500 | $2.13 | $1,065.00 |
| 1,000 | $1.92 | $1,920.00 |
PIC18F23K20T-I/MV Overview
An 8-bit microcontroller (MCU) is a single-chip computer that combines a CPU, non-volatile program memory (Flash), volatile data memory (RAM), and a rich set of peripherals (timers, ADC, communications, GPIO) on one die. PIC18 devices use an enhanced Harvard RISC architecture with 16-bit opcodes and a hardware multiplier, sitting between simple PIC10/12/16 mid-range parts and the 16-bit dsPIC/PIC24 families in Microchip's MCU portfolio. This product family is the 8-bit base of the power-managed, low-power 'XLP' (eXtreme Low Power) line aimed at battery-friendly designs.
Key features include 25 I/O pins, 10-bit ADC with up to 14 channels, two analog comparators, enhanced CCP modules, two USART, MSSP (SPI/I2C), and nanoWatt XLP power management with deep sleep currents typically below 100 nA. The device also offers a 1.2 V fixed voltage reference (FVR), programmable 16-level voltage references, and 25 mA sink/source capability per I/O for direct LED drive.
Architecturally, the PIC18F23K20 uses Microchip's enhanced mid-range core with a modified Harvard bus, 31-level hardware stack, and configurable oscillator options including 8 MHz internal RC, PLL up to 64 MHz, and external crystal/clock modes. The internal 8 MHz oscillator can be multiplied by the 4x PLL to reach 32 MIPS instruction throughput at 64 MHz, while nanoWatt XLP modes (Sleep, Deep Sleep, Idle, RTCC) keep quiescent current in the nanoamp range for IoT nodes.
Typical applications include low-power sensor nodes and IoT edge devices, USB-to-UART bridges, LED lighting controllers, consumer white goods, automotive body and HMI subsystems (with AEC-Q100 qualified siblings), and industrial control such as small PLCs, motor control BLDC drivers, and remote control transmitters. The wide voltage range allows direct connection to 4xAA battery stacks or 5 V rails.
When designing with this part, ensure the exposed thermal pad (EP) is soldered to a sufficient copper pour to meet thermal and electrical grounding requirements; also verify that your compiler/build target supports the K20 family (XC8 v1.30+ or MPLAB X). This page synthesizes distributor pricing, drop-in pin-compatible variants in the same 28-UQFN footprint, and practical design notes not found in the manufacturer datasheet.
Drop-in alternatives for PIC18F23K20T-I/MV — 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 PIC18F23K20T-I/MV (same form factor and footprint) — differing in Package, Timers, Core Architecture, ADC, Mounting Type.
Quick Comparison Tool — Select alternative parts for side-by-side comparison:
PIC18F23K20-I/MV
✅ Drop-In✓ In Stock
$1.72 / Unit
View Datasheet →PIC18F23K20T-I/SS
✅ Drop-In ⚠️ Specs Unverified✓ In Stock
$2.22 / Unit
View Datasheet →PIC18F23K20-E/MV
✅ Drop-In✓ In Stock
$2.18 / Unit
View Datasheet →PIC18F23K20T-I/MV
✅ Drop-In ⚠️ Specs Unverified✓ In Stock
$1.92 / Unit
View Datasheet →PIC18F24K20-I/MV
✅ Drop-In📋 Reference alternative (not in catalog)
PIC18F25K20-I/MV
✅ Drop-In📋 Reference alternative (not in catalog)
PIC18F23K20T-I/MV Maximum Ratings & Electrical Characteristics
| Core Architecture | PIC18 (8-bit RISC, enhanced Harvard) |
| Family | PIC18F2XK20/4XK20 |
| Program Memory (Flash) | 8 KB (4K x 16) |
| Data RAM | 768 bytes |
| Data EEPROM | 256 bytes |
| Maximum Clock Speed | 64 MHz (16 MIPS / 32 MIPS with PLL) |
| Supply Voltage Range | 1.8 V to 5.5 V (typical 2.5 V / 3.3 V / 5 V) |
| Operating Temperature | -40 C to +85 C (industrial, 'I') |
| I/O Pins | 25 |
| ADC | 10-bit, up to 14 channels |
| Analog Comparators | 2 |
| Fixed Voltage Reference (FVR) | 1.2 V |
| Communication | 2x USART (EUSART), 2x MSSP (SPI / I2C) |
| Timers | 4 (Timer0/1/2/3) |
| CCP/ECCP Modules | 3 (1x ECCP, 2x CCP) |
| I/O Sink/Source | 25 mA / 25 mA |
| Package | 28-pin UQFN (MV) 4x4 mm with exposed pad |
| Packaging | Tape & Reel ('T') |
| Mounting Type | Surface Mount |
| MSL Level | MSL3 (per JEDEC J-STD-020, reflow 260 C peak) |
| RoHS Status | Compliant |
| Low-Power Technology | nanoWatt XLP (Sleep, Deep Sleep, Idle, RTCC) |
| Programming/Debug | ICSP (In-Circuit Serial Programming), 2-wire ICD |
PIC18F23K20T-I/MV Pin Configuration
| Pin 1 | RA0/AN0/C1IN+/INT0 — Digital I/O / analog input / comparator input / external interrupt |
| Pin 2 | RA1/AN1/C1IN-/HLVDIN — Digital I/O / analog input / comparator input / HLVD input |
| Pin 3 | RA2/AN2/VREF-/CVREF — Digital I/O / analog input / DAC reference / comparator Vref output |
| Pin 4 | RA3/AN3/VREF+ — Digital I/O / analog input / positive reference voltage |
| Pin 5 | RA4/T0CKI/C1OUT — Digital I/O (open-drain) / Timer0 clock / comparator 1 output |
| Pin 6 | RA5/AN4/C2IN+/SS/HLVDIN — Digital I/O / analog input / comparator 2 input / SPI slave select / HLVD |
| Pin 7 | RA6/OSC2/CLKO — Digital I/O / oscillator output / clock output |
| Pin 8 | RA7/OSC1/CLKI — Digital I/O / oscillator input / clock input |
| Pin 9 | VSS — Ground reference |
| Pin 10 | VDD — Positive supply voltage (1.8 V to 5.5 V) |
| Pin 11 | RB0/AN12/INT0/FLT0 — Digital I/O / analog input / external interrupt / ECCP fault input |
| Pin 12 | RB1/AN10/C2IN-/P1C — Digital I/O / analog input / comparator 2 input / ECCP PWM output |
| Pin 13 | RB2/AN8/P1B — Digital I/O / analog input / ECCP enhanced PWM output |
| Pin 14 | RB3/AN9/CPP0/C2OUT — Digital I/O / analog input / CCP output / comparator 2 output |
| Pin 15 | RB4/AN11/CPP1/KBI0 — Digital I/O / analog input / CCP output / keyboard interrupt |
| Pin 16 | RB5/KBI1/P1A — Digital I/O / keyboard interrupt / ECCP PWM output |
| Pin 17 | RB6/KBI2/PGC — Digital I/O / keyboard interrupt / ICSP clock (programming) |
| Pin 18 | RB7/KBI3/PGD — Digital I/O / keyboard interrupt / ICSP data (programming) |
| Pin 19 | VSS — Ground reference |
| Pin 20 | VDD — Positive supply voltage |
| Pin 21 | RC0/T1OSO/T1CKI — Digital I/O / Timer1 oscillator output / Timer1 external clock |
| Pin 22 | RC1/T1OSI/CCP2 — Digital I/O / Timer1 oscillator input / CCP2 I/O |
| Pin 23 | RC2/CCP1/P1A — Digital I/O / CCP1 I/O / ECCP PWM output |
| Pin 24 | RC3/SCK/SCL — Digital I/O / SPI clock / I2C clock |
| Pin 25 | RC4/SDI/SDA — Digital I/O / SPI data in / I2C data |
| Pin 26 | RC5/SDO/C2OUT — Digital I/O / SPI data out / comparator 2 output |
| Pin 27 | RC6/TX/CK — Digital I/O / USART async transmit / USART sync clock |
| Pin 28 | RC7/RX/DT — Digital I/O / USART async receive / USART sync data |
| Pin EP | EP — Exposed thermal pad - must be soldered to PCB ground pour |
Typical Applications
PIC18F23K20T-I/MV is suitable for 6 applications: Battery-Powered IoT Sensor Node, USB-to-UART Bridge / CDC Device, LED Lighting Controller / Dimmer, Automotive Body Control / HMI Subsystem, Small Industrial Controller / Sensor Hub, Consumer White Goods / Home Appliance.
Battery-Powered IoT Sensor Node
The PIC18F23K20T-I/MV's nanoWatt XLP technology delivers deep-sleep currents typically below 100 nA with retention RAM and RTCC, ideal for coin-cell or 2xAA battery-powered IoT sensors. Its 1.8 V to 5.5 V supply range lets it run directly from a single lithium primary or 2-3 NiMH cells without a boost regulator. The 64 MHz core and 16 MIPS throughput handle periodic sensor reads, edge filtering, and short RF transmissions, while 8 KB Flash fits typical 802.15.4 or LoRa MAC stacks with application logic.
Recommended
USB-to-UART Bridge / CDC Device
The PIC18F23K20T-I/MV includes two enhanced USART modules and one MSSP (SPI/I2C), which can implement a USB-CDC virtual COM port via bit-banging or an external USB transceiver. Its 64 MHz clock gives sufficient MIPS to handle CDC interrupt endpoints at full-speed USB (12 Mbps), and 8 KB Flash accommodates USB stack, class drivers, and protocol glue. The 25 I/O pins leave plenty of GPIOs for flow-control handshaking (RTS/CTS), status LEDs, and boot-mode selection.
Recommended
LED Lighting Controller / Dimmer
With 25 mA sink/source capability on every I/O and three CCP/ECCP modules, the PIC18F23K20T-I/MV can directly drive low-power LEDs, RGB strings, or opto-isolated triac gates for AC dimming. The 16-bit ECCP module supports hardware PWM with complementary outputs and dead-band control, ideal for digital dimming and color-mixing lighting protocols (DMX, DALI via software). Its wide 1.8-5.5 V supply accepts 3.3 V logic or 5 V analog dimming signals without level translation.
Recommended
Automotive Body Control / HMI Subsystem
The PIC18F23K20T-I/MV industrial (-40 C to +85 C) variant supports non-safety in-cabin HMI subsystems such as HVAC panel controls, mirror adjusters, and ambient lighting. For AEC-Q100 qualified variants in the same 28-UQFN footprint, choose the PIC18F23K20-I/MV automotive part number. The 10-bit ADC, two analog comparators, and PWM modules handle motor direction sensing and backlight control via LIN or CAN software stacks, while XLP modes keep quiescent draw low during ignition-off standby.
Recommended
Small Industrial Controller / Sensor Hub
The PIC18F23K20T-I/MV is well suited to small PLC-like industrial controllers and Modbus RTU sensor hubs. Its two USART channels support RS-232 plus RS-485 simultaneously for Modbus master/slave topologies, while the MSSP provides I2C and SPI master capability for digital sensor and EEPROM arrays. The 25 I/O, 10-bit ADC, and dual comparators handle analog sensor signal conditioning and digital threshold detection at the edge, with 1.8-5.5 V tolerance matching 24 V industrial rails after external regulation.
Recommended
Consumer White Goods / Home Appliance
The PIC18F23K20T-I/MV's low cost, wide voltage range, and rich peripheral mix make it a strong fit for washing machine control boards, dishwasher HMI panels, microwave keypads, and air-conditioner remotes. The PIC18 core's deterministic interrupt latency simplifies mains-zero-cross detection and triac phase-angle control, while the 10-bit ADC reads NTC temperature sensors and user potentiometers. nanoWatt XLP modes are useful for battery-backed remotes that must last multi-year on a single coin cell.
Recommended
Recommended Products Summary
Engineering reference data for PIC18F23K20T-I/MV — comparison, design guidance, and compliance information.
Selection Guide
Comparison with Alternatives
| Parameter | This Product | PIC18F23K20-I/MV | PIC18F23K20-E/MV | PIC18F24K20-I/MV | PIC18F25K20-I/MV |
|---|---|---|---|---|---|
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Package | 28-UQFN (MV) 4x4 mm | 28-UQFN (MV) 4x4 mm - same | 28-UQFN (MV) 4x4 mm - same | 28-UQFN (MV) 4x4 mm - same | 28-UQFN (MV) 4x4 mm - same |
| Program Flash | 8 KB | 8 KB | 8 KB | 16 KB (+100%) | 32 KB (+300%) |
| Data RAM | 768 B | 768 B | 768 B | 1.5 KB (+96%) | 2 KB (+161%) |
| Data EEPROM | 256 B | 256 B | 256 B | 256 B | 256 B |
| Max Clock | 64 MHz | 64 MHz | 64 MHz | 64 MHz | 64 MHz |
| I/O Pins | 25 | 25 | 25 | 25 | 25 |
| Operating Temperature | -40 C to +85 C (I) | -40 C to +85 C (I) | -40 C to +125 C (E, extended) | -40 C to +85 C (I) | -40 C to +85 C (I) |
| Supply Voltage | 1.8 V to 5.5 V | 1.8 V to 5.5 V | 1.8 V to 5.5 V | 1.8 V to 5.5 V | 1.8 V to 5.5 V |
| Packaging | Tape & Reel | Tray | Tray / T&R | Tray | Tray |
Key Differentiators
- Identical silicon delivered in Tape & Reel format (vs PIC18F23K20-I/MV)
- Extended temperature variant in same footprint (vs PIC18F23K20-E/MV)
- Footroom for future firmware growth without PCB redesign (vs PIC18F24K20-I/MV / PIC18F25K20-I/MV)
Design Notes
The 28-UQFN package relies on the exposed pad (EP) as the primary thermal and electrical ground path. Per the datasheet, the EP MUST be soldered to a PCB ground copper pour of at least ~10x10 mm of 1 oz copper to meet the thermal resistance (theta_JA ~40 C/W) and to provide a low-inductance ground reference. Skip the EP solder connection and the part can latch up or run hotter than rated.
Place a 100 nF decoupling capacitor as close as possible to each VDD pin (pins 10 and 20) and a bulk 10 uF tantalum or ceramic on the supply rail. For nanoWatt XLP deep-sleep operation below 100 nA, ensure there are no floating I/O lines - configure unused pins as outputs low or inputs with the internal weak pull-up enabled. Floating CMOS inputs can leak microamps each.
Keep the ICSP pins (RB6/PGC, RB7/PGD, MCLR) accessible for in-circuit programming and debugging. Per Microchip guidance, add a 10 kohm pull-up to MCLR and route the PGC/PGD traces with a maximum stub length and avoid crossing high-current switching signals. Leave a 2.54 mm header footprint or test pads so a PICkit or ICD can attach after assembly.
Do not assume all PIC18 K20 variants share the same memory map - the F23K20, F24K20, and F25K20 differ in Flash and RAM size, and linker scripts must be regenerated for the target device. Also, the analog inputs AN8-AN12 share pins with port B; enable the corresponding ANSEL bit before reading ADC, otherwise the digital input buffer will distort the analog reading. Use the APFCON register to remap peripheral pins where alternate pin functions are required.
Route the crystal traces (OSC1/OSC2 if used) as short, symmetrical, and guard-traced to reduce EMI and stray capacitance. Keep the analog reference traces (VREF+/VREF-) and FVR traces away from switching nodes to preserve ADC accuracy; the 10-bit ADC is sufficient for many sensor readings but loses effective bits if reference noise exceeds a few hundred uV. Place the AVSS pin directly to the analog ground pour if available on the package variant.
Compliance Information
Industrial-grade ('I') temperature -40 C to +85 C. For AEC-Q100 qualified automotive applications use the automotive-suffixed -I/MV automotive variant. RoHS compliant per Microchip product page; Pb-free reflow up to 260 C peak per MSL3 classification.