PIC18F67K22-I/MR - 8-bit 64MHz 128KB Flash MCU | Microchip
MPN: PIC18F67K22-I/MR ✓ Active| Qty | Unit Price | Extended |
|---|---|---|
| 1 | $7.85 | $7.85 |
| 10 | $7.1 | $71.00 |
| 100 | $6.4 | $640.00 |
| 500 | $5.85 | $2,925.00 |
| 1,000 | $5.4 | $5,400.00 |
PIC18F67K22-I/MR Overview
What is a microcontroller? A microcontroller (MCU) is a single-chip computer that integrates a CPU core, non-volatile program memory (Flash), working RAM, and a rich set of peripherals (ADC, timers, communication ports, I/O). The PIC18F family uses Microchip's enhanced 8-bit Harvard RISC architecture with 16-bit opcodes, offering 200 ns instruction execution at 40 MHz. MCUs sit at the core of embedded systems, taking sensor inputs, running application firmware, and driving actuators or displays.
Key features of the PIC18F67K22 include 54 digital I/O pins, an integrated 12-bit A/D converter with up to 16 channels, a Charge Time Measurement Unit (CTMU) that simplifies capacitive-touch and capacitive sensing designs, multiple EUSART, I2C, and SPI ports, and the nanoWatt XLP technology suite that delivers sleep currents in the nanoampere range. The 1.4 KB of data EEPROM provides non-volatile storage for calibration, configuration, and user data separate from the main program Flash.
The device uses a modified Harvard architecture with separate code and data buses, executed through a C-optimizing compiler ecosystem. Up to 16 MIPS peak performance at 64 MHz supports real-time control loops. The CTMU peripheral allows time-based current integration for measuring capacitance, supporting mTouch touch sensing without external analog front ends.
Typical applications include capacitive-touch user interfaces, industrial sensor conditioning, low-power wireless sensor nodes, smart meters, home appliances, automotive body controllers, and USB peripherals (with the on-chip full-speed USB 2.0 device transceiver). The wide operating voltage range from 1.8V to 5.5V supports both 3.3V and 5V designs.
When designing with this part, note that the VQFN-9x9 footprint demands careful PCB layout with a properly sized thermal/exposed pad. The device is available in industrial (-40C to +85C) and extended (-40C to +125C) temperature grades.
This page synthesizes distributor pricing, drop-in alternatives within the PIC18F K2x family, and practical design notes not found in the manufacturer datasheet.
Drop-in alternatives for PIC18F67K22-I/MR — 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 PIC18F67K22-I/MR (same form factor and footprint) — differing in Communication, Core Architecture, Maximum CPU Speed, Package, Program Memory (Flash).
Quick Comparison Tool — Select alternative parts for side-by-side comparison:
PIC18F67K22-I/MRRSL
✅ Drop-In📋 Reference alternative (not in catalog)
PIC18F67K22T-I/MR
✅ Drop-In📋 Reference alternative (not in catalog)
PIC18F66K22-I/MRRSL
✅ Drop-In✓ In Stock
$3.55 / Unit
View Datasheet →PIC18F65K22-I/MR
✅ Drop-In📋 Reference alternative (not in catalog)
PIC18F67K22-E/MR
✅ Drop-In📋 Reference alternative (not in catalog)
PIC18F67K22-I/MR Maximum Ratings & Electrical Characteristics
| Core Architecture | PIC18 (8-bit Harvard RISC) |
| Program Memory (Flash) | 128 KB (64K x 16) |
| RAM | 4 KB |
| Data EEPROM | 1 KB |
| Maximum CPU Speed | 64 MHz |
| Nominal Instruction Clock | 40 MHz (per distributor datasheet summary) |
| Supply Voltage | 1.8 V to 5.5 V (4.2 V to 5.5 V cited on some summaries) |
| I/O Pins | 54 |
| Package | 64-pin VQFN (9x9 mm) |
| Mounting Type | Surface Mount |
| Operating Temperature (Industrial) | -40C to +85C |
| Operating Temperature (Extended) | -40C to +125C |
| ADC | 12-bit, up to 16 channels |
| Communication | EUSART, I2C, SPI, USB 2.0 FS |
| Special Features | nanoWatt XLP, CTMU capacitive touch |
| RoHS Status | Compliant |
PIC18F67K22-I/MR Pin Configuration
| Pin 1 | RA0/AN0 — Digital I/O / analog input 0 |
| Pin 2 | RA1/AN1 — Digital I/O / analog input 1 |
| Pin 3 | RA2/AN2 — Digital I/O / analog input 2 |
| Pin 4 | RA3/AN3 — Digital I/O / analog input 3 |
| Pin 5 | RA4/AN4 — Digital I/O / analog input 4 |
| Pin 6 | RA5/AN5 — Digital I/O / analog input 5 |
| Pin 7 | RA6/OSC2 — Digital I/O / oscillator output |
| Pin 8 | RA7/OSC1 — Digital I/O / oscillator input |
| Pin 9 | VSS — Ground |
| Pin 10 | VDD — Positive supply voltage |
| Pin 11 | RB0/INT0 — Digital I/O / external interrupt 0 |
| Pin 12 | RB1/INT1 — Digital I/O / external interrupt 1 |
| Pin 13 | RB2/INT2 — Digital I/O / external interrupt 2 |
| Pin 14 | RB3/INT3 — Digital I/O / external interrupt 3 |
| Pin 15 | RB4/KBI0 — Digital I/O / keyboard interrupt |
| Pin 16 | RB5/KBI1 — Digital I/O / keyboard interrupt |
| Pin 17 | RB6/KBI2/PGC — Digital I/O / ICDSP clock |
| Pin 18 | RB7/KBI3/PGD — Digital I/O / ICDSP data |
| Pin 19 | VSS — Ground |
| Pin 20 | VDD — Positive supply voltage |
| Pin 21 | RC0/SOSCO — Digital I/O / secondary oscillator output |
| Pin 22 | RC1/SOSCI — Digital I/O / secondary oscillator input |
| Pin 23 | RC2/CCP1 — Digital I/O / capture/compare/PWM |
| Pin 24 | RC3/CCP2 — Digital I/O / capture/compare/PWM |
| Pin 25 | RC4 — Digital I/O |
| Pin 26 | RC5 — Digital I/O |
| Pin 27 | RC6/TX1/CK1 — Digital I/O / EUSART1 transmit |
| Pin 28 | RC7/RX1/DT1 — Digital I/O / EUSART1 receive |
| Pin 29 | VSS — Ground |
| Pin 30 | VDD — Positive supply voltage |
| Pin 31 | RD0 — Digital I/O |
| Pin 32 | RD1 — Digital I/O |
| Pin 33 | RD2 — Digital I/O |
| Pin 34 | RD3 — Digital I/O |
| Pin 35 | RD4 — Digital I/O |
| Pin 36 | RD5 — Digital I/O |
| Pin 37 | RD6 — Digital I/O |
| Pin 38 | RD7 — Digital I/O |
| Pin 39 | VSS — Ground |
| Pin 40 | VDD — Positive supply voltage |
| Pin 41 | RE0 — Digital I/O |
| Pin 42 | RE1 — Digital I/O |
| Pin 43 | RE2 — Digital I/O |
| Pin 44 | RE3 — Digital I/O |
| Pin 45 | VSS — Ground |
| Pin 46 | VDD — Positive supply voltage |
| Pin 47 | RF0 — Digital I/O |
| Pin 48 | RF1 — Digital I/O |
| Pin 49 | RF2 — Digital I/O |
| Pin 50 | RF3 — Digital I/O |
| Pin 51 | RF4 — Digital I/O |
| Pin 52 | RF5 — Digital I/O |
| Pin 53 | RF6 — Digital I/O |
| Pin 54 | RF7 — Digital I/O |
| Pin 55 | RG0 — Digital I/O |
| Pin 56 | RG1 — Digital I/O |
| Pin 57 | RG2 — Digital I/O |
| Pin 58 | RG3 — Digital I/O |
| Pin 59 | RG4 — Digital I/O |
| Pin 60 | VSS — Ground |
| Pin 61 | VDD — Positive supply voltage |
| Pin 62 | MCLR — Master clear reset input |
| Pin 63 | NC — Not connected (per datasheet) |
| Pin 64 | EP — Exposed thermal pad - tie to VSS |
Typical Applications
PIC18F67K22-I/MR is suitable for 6 applications: Capacitive Touch User Interface, Battery-Powered Wireless Sensor Node, Industrial Process Sensor Conditioning, Smart Meter / Energy Measurement, USB HID Peripheral / Consumer Device, Home Appliance Control Board.
Capacitive Touch User Interface
The PIC18F67K22-I/MR is ideal for capacitive-touch user interfaces thanks to its integrated Charge Time Measurement Unit (CTMU), which delivers constant-current sourcing and timing measurement for mTouch capacitive sensing. The 54 I/O pins support 20+ touch electrodes including sliders and proximity zones without an external analog front-end IC. With 128 KB Flash and 4 KB RAM, firmware can include Microchip's mTouch library, GUI state machines, and noise-immunity algorithms.
Recommended
Battery-Powered Wireless Sensor Node
The nanoWatt XLP technology in the PIC18F67K22-I/MR delivers sleep currents in the nanoampere range, making the device well-suited for battery-powered wireless sensor nodes. The CTMU can periodically wake the core for sensor sampling while the on-chip 12-bit ADC conditions transducer signals. The 1.8 V minimum supply voltage supports single-cell lithium or 2x AA operation with wide derating margin. EUSART, I2C, and SPI ports connect directly to radios like the MRF24J40 or RN2483 LoRa modules.
Recommended
Industrial Process Sensor Conditioning
The PIC18F67K22-I/MR's 12-bit ADC with up to 16 input channels can directly digitize industrial sensor outputs including 4-20 mA loops, RTD bridges, and thermocouples. The 64 MHz CPU executes digital filters (FIR/IIR) and PID control loops at sub-millisecond period. The 1 KB EEPROM stores calibration coefficients per channel. Multiple EUSART ports enable simultaneous Modbus RTU master and HMI link operation. Industrial -40C to +85C rating supports factory-floor deployment.
Recommended
Smart Meter / Energy Measurement
The CTMU and 12-bit ADC combination in the PIC18F67K22-I/MR supports metrology-grade measurement of voltage and current for single-phase smart meters. The 16 MIPS throughput executes IEC 62053-22 class-1 energy calculations in real time, while the 1 KB EEPROM logs tamper events and tariffs. The wide 1.8 V to 5.5 V supply supports battery-backed RTC operation during power outages. nanoWatt XLP idle modes extend coin-cell backup life to 10+ years.
Recommended
USB HID Peripheral / Consumer Device
The PIC18F67K22-I/MR integrates a full-speed USB 2.0 device transceiver, eliminating an external USB PHY and supporting HID, CDC, and vendor-class device stacks. With 128 KB Flash and 4 KB RAM, Microchip's MLA USB library fits comfortably alongside application code. The 54 I/O pins drive LEDs, key switches, and actuators in HID peripherals such as keyboards, custom input devices, and audio controllers. VQFN-64 9x9 mm footprint suits compact consumer enclosures.
Recommended
Home Appliance Control Board
The PIC18F67K22-I/MR is a strong fit for home-appliance controllers (washing machines, dishwashers, induction cooktops) thanks to its 54 I/O pins driving triac interfaces, motor PWM, and segmented LCDs. The 12-bit ADC reads thermistor inputs and motor current sensing for closed-loop control. The 1 KB EEPROM stores user cycle selections across power cycles. nanoWatt XLP modes minimize standby power to <0.5 W to meet global energy regulations. Operating temperature range -40C to +85C covers appliance kitchens and laundry rooms.
Recommended
Recommended Products Summary
Engineering reference data for PIC18F67K22-I/MR — comparison, design guidance, and compliance information.
Selection Guide
Comparison with Alternatives
| Parameter | This Product | PIC18F67K22-I/MRRSL | PIC18F67K22T-I/MR | PIC18F66K22-I/MR | PIC18F65K22-I/MR | PIC18F67K22-E/MR |
|---|---|---|---|---|---|---|
| Package | 64-pin VQFN (9x9 mm) | 64-pin VQFN (9x9 mm) - same | 64-pin VQFN (9x9 mm) - same | 64-pin VQFN (9x9 mm) - same | 64-pin VQFN (9x9 mm) - same | 64-pin VQFN (9x9 mm) - same |
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Flash Program Memory | 128 KB | 128 KB | 128 KB | 64 KB (-50%) | 32 KB (-75%) | 128 KB |
| RAM | 4 KB | 4 KB | 4 KB | 4 KB | 2 KB | 4 KB |
| Maximum CPU Speed | 64 MHz | 64 MHz | 64 MHz | 64 MHz | 64 MHz | 64 MHz |
| Operating Temperature | -40C to +85C (Industrial) | -40C to +85C | -40C to +85C | -40C to +85C | -40C to +85C | -40C to +125C (Extended) |
| Data EEPROM | 1 KB | 1 KB | 1 KB | 1 KB | 1 KB | 1 KB |
| USB 2.0 FS | Yes (on-chip transceiver) | Yes | Yes | Yes | Yes | Yes |
| CTMU Capacitive Touch | Yes | Yes | Yes | Yes | Yes | Yes |
Key Differentiators
- On-chip USB 2.0 full-speed transceiver with 128 KB Flash in 64-pin VQFN (vs PIC18F46K22-I/PT)
- CTMU capacitive touch hardware peripheral (vs PIC18F4620-I/PT)
- nanoWatt XLP technology for sub-uA sleep current (vs PIC18F66K90-I/MR)
Design Notes
The VQFN-64 9x9 mm package has an exposed thermal pad (EP, pin 64) that must be soldered to a copper pour on the PCB. Soldering the EP improves thermal dissipation (helping the part meet industrial -40C to +85C specs) and provides a low-impedance ground reference. Star-ground multiple VSS pins to the EP pour with short, wide traces. Use a 0.1 uF ceramic bypass capacitor within 3 mm of each VDD pin cluster.
Place the 32.768 kHz crystal on SOSCO/SOSCI (RC1/RC0) as close to the MCU as possible with short traces and a guard ring tied to ground. The USB D+/D- pins (located on the K2x family on dedicated pins) require 90-ohm differential routing, matching length within 150 mil, and a common-mode choke for EMI compliance. Use Microchip's ANSEL/HID/CDC firmware stack guidelines for USB layout reference.
Do not exceed 5.5 V on any VDD pin or 5.5 V on any I/O pin - the K2x family is NOT 5V-tolerant on all pins when VDD is at 3.3 V. Verify the ICDSP programming pins (RB6/PGC, RB7/PGD) are not loaded down by external circuitry during programming. Do not leave MCLR floating; pull MCLR up through a 10 kohm resistor to VDD or use Microchip's internal MCLR configuration.
The PIC18F67K22-I/MR supports nanoWatt XLP modes. Use Sleep mode aggressively for battery-powered sensor applications - wake on RTCC alarm, CTMU threshold, or external interrupt. For high-throughput USB applications, switch to HS-PLL mode before USB enumeration to ensure full-speed USB timing. Place a 10 uF tantalum or ceramic bulk capacitor near the VDD pins to handle USB inrush current.
Compliance Information
RoHS and REACH compliant per Microchip product page. Not AEC-Q100 qualified; the -E (extended) temperature grade variant supports -40C to +125C operation but is not formally automotive-qualified.