PIC18F85K22T-I/PTRSL - 8-bit 32KB Flash MCU, 80-pin TQFP | Microchip
MPN: PIC18F85K22T-I/PTRSL ✓ Active| Qty | Unit Price | Extended |
|---|---|---|
| 1 | $6.18 | $6.18 |
| 10 | $5.72 | $57.20 |
| 100 | $5.04 | $504.00 |
| 500 | $4.62 | $2,310.00 |
| 1,000 | $4.2 | $4,200.00 |
PIC18F85K22T-I/PTRSL Overview
An 8-bit microcontroller (MCU) is a compact, single-chip computer that combines a CPU, non-volatile program memory, volatile data memory, peripherals, and I/O in a single IC. PIC18 microcontrollers extend Microchip's baseline 8-bit PIC16 architecture with a 16-bit instruction word, 31-level hardware stack, linear memory addressing, and C-optimized instruction set, making them well suited for embedded control, sensor interfacing, and low-power IoT applications.
Key features include 70 general-purpose I/O pins, three 16-bit timers, four 8-bit timers, two CCP modules, three enhanced CCP (ECCP) modules for motor-control PWM, two MSSP ports for SPI/I2C, two EUSART modules for LIN/IrDA/RS-232, a 12-bit ADC with auto-acquisition, a 5-bit DAC, hardware multiplier, and CTMU for capacitive touch. With XLP, quiescent current drops to roughly 20 nA in sleep mode, supporting battery-powered products with multi-year lifetimes.
The PIC18F85K22 is implemented on Microchip's enhanced FLASH process and uses a Harvard bus with separate program and data paths. The 12-bit ADC includes auto-conversion and self-calibration, simplifying firmware. The CTMU converts a capacitance into a timing measurement, allowing capacitive buttons, sliders, and proximity sensors without external components.
Typical applications include industrial control panels, capacitive touch keypads, battery-powered sensor nodes, HVAC thermostats, and automotive body modules. The wide 1.8V-5.5V supply range and XLP low-power modes make it appropriate for portable instrumentation and remote monitoring. The part is also widely used in white goods and consumer appliances that need USB-free, robust, multi-channel analog and PWM I/O.
When designing with the PIC18F85K22T-I/PTRSL, ensure the Vcap pin has a 1uF-10uF decoupling capacitor, leave the 80-pin TQFP thermal pad floating or connected to ground per application note AN1079, and use MPLAB X IDE with the XC8 compiler for C development. Programming/debugging is performed through ICSP (2-wire or 4-wire) or via the ICD/PICkit tool family.
This page consolidates pricing, drop-in alternatives, and engineering notes beyond the manufacturer datasheet, helping procurement and design teams make faster, more informed decisions.
Drop-in alternatives for PIC18F85K22T-I/PTRSL — 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 PIC18F85K22T-I/PTRSL (same form factor and footprint) — differing in Package, ADC, MSL Level, Timers, I/O Pins.
Quick Comparison Tool — Select alternative parts for side-by-side comparison:
PIC18F85K22T-I/PT
✅ Drop-In✓ In Stock
$4.4 / Unit
View Datasheet →PIC18F85K22-I/PTRSL
✅ Drop-In📋 Reference alternative (not in catalog)
PIC18F85K22-E/PT
✅ Drop-In✓ In Stock
$4.55 / Unit
View Datasheet →PIC18F86K22T-I/PTRSL
✅ Drop-In📋 Reference alternative (not in catalog)
PIC18F85J94-I/PT
✅ Drop-In✓ In Stock
$4.85 / Unit
View Datasheet →PIC18F85K22T-I/PTRSL Maximum Ratings & Electrical Characteristics
| Core | PIC18 8-bit RISC |
| Program Memory | 32 KB Flash |
| Data RAM | 2 KB |
| Data EEPROM | 1 KB |
| Data Bus Width | 8 bit |
| Maximum Clock Speed | 64 MHz |
| Instruction Throughput | 16 MIPS |
| Supply Voltage | 1.8 V to 5.5 V (operating) |
| I/O Pins | 70 |
| Package | 80-pin TQFP (12x12 mm, 1 mm height) |
| ADC | 12-bit, up to 24 channels |
| DAC | 5-bit (internal) |
| Timers | 3 x 16-bit + 4 x 8-bit |
| PWM Modules | 3 x ECCP + 2 x CCP |
| Communication | 2 x MSSP (SPI/I2C), 2 x EUSART |
| Special Features | nanoWatt XLP, CTMU capacitive touch, ICSP |
| Operating Temperature | -40 C to +85 C (industrial) |
| Mounting Type | Surface Mount |
| MSL Level | 3 |
| RoHS Status | Compliant |
PIC18F85K22T-I/PTRSL Pin Configuration
| Pin 1 | RE0 — Port E bit 0 / digital I/O |
| Pin 2 | RE1 — Port E bit 1 / digital I/O |
| Pin 3 | RE2 — Port E bit 2 / digital I/O |
| Pin 4 | RE3 — Port E bit 3 / digital I/O |
| Pin 5 | RE4 — Port E bit 4 / digital I/O |
| Pin 6 | RE5 — Port E bit 5 / digital I/O |
| Pin 7 | RE6 — Port E bit 6 / digital I/O |
| Pin 8 | RE7 — Port E bit 7 / digital I/O |
| Pin 9 | OSC1 — Oscillator input / CLKIN |
| Pin 10 | OSC2 — Oscillator output / CLKOUT |
| Pin 11 | VDD — Digital supply voltage (1.8-5.5 V) |
| Pin 12 | VSS — Digital ground |
| Pin 13 | RA0 — Port A bit 0 / AN0 |
| Pin 14 | RA1 — Port A bit 1 / AN1 |
| Pin 15 | RA2 — Port A bit 2 / AN2 |
| Pin 16 | RA3 — Port A bit 3 / AN3 / VREF+ |
| Pin 17 | RA4 — Port A bit 4 / AN4 |
| Pin 18 | RA5 — Port A bit 5 / AN5 / VREF- |
| Pin 19 | RA6 — Port A bit 6 / AN6 / OSC2 |
| Pin 20 | RA7 — Port A bit 7 / AN7 / OSC1 |
| Pin 21 | VSS — Digital ground |
| Pin 22 | VDD — Digital supply voltage |
| Pin 23 | RB0 — Port B bit 0 / INT0 / AN8 |
| Pin 24 | RB1 — Port B bit 1 / INT1 / AN9 |
| Pin 25 | RB2 — Port B bit 2 / INT2 / AN10 |
| Pin 26 | RB3 — Port B bit 3 / INT3 / AN11 |
| Pin 27 | RB4 — Port B bit 4 / KBI0 / AN12 |
| Pin 28 | RB5 — Port B bit 5 / KBI1 / AN13 |
| Pin 29 | RB6 — Port B bit 6 / KBI2 / PGC |
| Pin 30 | RB7 — Port B bit 7 / KBI3 / PGD |
| Pin 31 | VSS — Digital ground |
| Pin 32 | VDD — Digital supply voltage |
| Pin 33 | RC0 — Port C bit 0 / T1OSO |
| Pin 34 | RC1 — Port C bit 1 / T1OSI |
| Pin 35 | RC2 — Port C bit 2 / CCP1 |
| Pin 36 | RC3 — Port C bit 3 / SCL1 |
| Pin 37 | RC4 — Port C bit 4 / SDA1 |
| Pin 38 | RC5 — Port C bit 5 / SDO1 |
| Pin 39 | RC6 — Port C bit 6 / TX1 |
| Pin 40 | RC7 — Port C bit 7 / RX1 |
| Pin 41 | VSS — Digital ground |
| Pin 42 | VDD — Digital supply voltage |
| Pin 43 | RD0 — Port D bit 0 |
| Pin 44 | RD1 — Port D bit 1 |
| Pin 45 | RD2 — Port D bit 2 |
| Pin 46 | RD3 — Port D bit 3 |
| Pin 47 | RD4 — Port D bit 4 / ECCP2 |
| Pin 48 | RD5 — Port D bit 5 / CCP3 |
| Pin 49 | RD6 — Port D bit 6 / CCP4 |
| Pin 50 | RD7 — Port D bit 7 / CCP5 |
| Pin 51 | VSS — Digital ground |
| Pin 52 | VDD — Digital supply voltage |
| Pin 53 | RF0 — Port F bit 0 / AN16 |
| Pin 54 | RF1 — Port F bit 1 / AN17 |
| Pin 55 | RF2 — Port F bit 2 / AN18 |
| Pin 56 | RF3 — Port F bit 3 / AN19 |
| Pin 57 | RF4 — Port F bit 4 / AN20 |
| Pin 58 | RF5 — Port F bit 5 / AN21 |
| Pin 59 | RF6 — Port F bit 6 / AN22 |
| Pin 60 | RF7 — Port F bit 7 / AN23 |
| Pin 61 | AVDD — Analog supply voltage |
| Pin 62 | AVSS — Analog ground |
| Pin 63 | RH0 — Port H bit 0 / AN23 |
| Pin 64 | RH1 — Port H bit 1 / AN22 |
| Pin 65 | RH2 — Port H bit 2 / AN21 |
| Pin 66 | RH3 — Port H bit 3 / AN20 |
| Pin 67 | RH4 — Port H bit 4 |
| Pin 68 | RH5 — Port H bit 5 |
| Pin 69 | RH6 — Port H bit 6 |
| Pin 70 | RH7 — Port H bit 7 |
| Pin 71 | RJ0 — Port J bit 0 |
| Pin 72 | RJ1 — Port J bit 1 |
| Pin 73 | RJ2 — Port J bit 2 |
| Pin 74 | RJ3 — Port J bit 3 |
| Pin 75 | RJ4 — Port J bit 4 |
| Pin 76 | RJ5 — Port J bit 5 |
| Pin 77 | RJ6 — Port J bit 6 |
| Pin 78 | RJ7 — Port J bit 7 |
| Pin 79 | MCLR — Master Clear / Reset input (active low) |
| Pin 80 | VCAP — Voltage regulator bypass capacitor |
Typical Applications
PIC18F85K22T-I/PTRSL is suitable for 6 applications: Industrial Control Panels, Capacitive Touch Keypads, Battery-Powered Sensor Nodes, HVAC Thermostats, White Goods and Consumer Appliances, Automotive Body Modules.
Industrial Control Panels
The PIC18F85K22T-I/PTRSL is well suited to industrial control panels thanks to its 70 general-purpose I/O pins, 12-bit ADC with up to 24 channels, and three enhanced CCP modules for PWM control of relays, solenoids, and motor drivers. Running at 64 MHz (16 MIPS) it can scan a 4x5 keypad, drive a character LCD, and refresh indicator LEDs while still handling serial communication. The wide 1.8-5.5 V supply simplifies integration with 24 V industrial bus systems via a step-down converter, and the CTMU enables sealed capacitive touch keys for the panel surface. Its PIC18F87K22 family pin compatibility allows designers to scale up to 128 KB Flash for more complex HMI projects.
Recommended
Capacitive Touch Keypads
The PIC18F85K22T-I/PTRSL integrates a Charge Time Measurement Unit (CTMU) that converts capacitance differences into precise time measurements, enabling capacitive buttons, sliders, and proximity sensors without dedicated touch ICs. The 70 I/O pins can drive up to 30 touch electrodes with proper PCB layout, while the 12-bit ADC measures baseline capacitance for environmental compensation. Combined with nanoWatt XLP technology (~20 nA sleep), the part supports battery-powered remote controls and wireless keypads with multi-year coin-cell life. The CTMU and configurable timer system reduce BOM cost compared to dedicated touch controllers.
Recommended
Battery-Powered Sensor Nodes
With nanoWatt XLP technology delivering sleep currents down to roughly 20 nA, the PIC18F85K22T-I/PTRSL is ideal for wireless sensor nodes running on coin cells or 2x AA batteries. The 12-bit ADC and 24-channel input allow multi-sensor reading (temperature, humidity, light, voltage) with minimal external signal conditioning. EUSART peripherals support low-power UART-based radios and LIN-bus sub-networks, while the MSSP ports handle SPI/I2C sensors such as accelerometers or environmental sensors. The 1.8 V minimum supply lets the device run directly from a single lithium primary cell down to end-of-life.
Recommended
HVAC Thermostats
The PIC18F85K22T-I/PTRSL is a strong choice for HVAC thermostats that require multiple analog inputs (temperature, humidity, setpoint dial) and PWM outputs to drive triac-controlled fans and dampers. The ECCP modules generate the zero-cross PWM needed for quiet AC phase control, while the 12-bit ADC reads NTC thermistors with hardware averaging. The CTMU supports capacitive setpoint wheels and glass-front touch keys. With XLP sleep, the thermostat can keep the display alive while drawing less than 100 uA idle, meeting Energy Star standby targets.
Recommended
White Goods and Consumer Appliances
Washing machines, dishwashers, ovens, and coffee makers use the PIC18F85K22T-I/PTRSL to coordinate motors, heaters, valves, and user interfaces in a single MCU. The three ECCP modules drive brushless DC and stepper motors for inverter compressors, the 12-bit ADC monitors temperature and water level sensors, and the EUSART modules provide LIN-bus connectivity to module sub-assemblies. Wide 1.8-5.5 V operation allows direct connection to rectified mains-derived rails. AEC-Q100 qualified variants (PIC18F85K22-E/PTRSL) simplify automotive body module designs.
Recommended
Automotive Body Modules
The automotive-qualified PIC18F85K22-E/PTRSL variant (AEC-Q100, -40 C to +125 C) supports body control modules driving lighting, mirror adjust, wiper control, and door lock actuators. LIN bus via EUSART connects door and seat modules, while the 12-bit ADC reads battery voltage, current sensing, and ambient light sensors. PWM outputs drive LED lighting drivers directly. The wide supply range tolerates load-dump and cranking transients on the 12 V automotive bus. Pin compatibility with the PIC18F87K22 family provides a path to add CAN-FD or Ethernet modules later.
Recommended
Recommended Products Summary
Engineering reference data for PIC18F85K22T-I/PTRSL — comparison, design guidance, and compliance information.
Selection Guide
Comparison with Alternatives
| Parameter | This Product | PIC18F85K22T-I/PT | PIC18F85K22-I/PTRSL | PIC18F85K22-E/PT | PIC18F86K22T-I/PTRSL | PIC18F85J94-I/PT |
|---|---|---|---|---|---|---|
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Package | 80-pin TQFP (12x12 mm, tape & reel) | 80-pin TQFP (tray) | 80-pin TQFP (tape & reel) | 80-pin TQFP (tray, AEC-Q100) | 80-pin TQFP (tape & reel) | 80-pin TQFP (tray) |
| Flash Memory | 32 KB | 32 KB | 32 KB | 32 KB | 64 KB | 32 KB |
| RAM | 2 KB | 2 KB | 2 KB | 2 KB | 3 KB | 2 KB |
| EEPROM | 1 KB | 1 KB | 1 KB | 1 KB | 2 KB | 1 KB |
| Operating 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 | 2.0 V to 3.6 V |
| Max Clock Speed | 64 MHz | 64 MHz | 64 MHz | 64 MHz | 64 MHz | 64 MHz |
| AEC-Q100 Qualified | No (industrial grade) | No | No | Yes | No | No |
| nanoWatt XLP | Yes (~20 nA sleep) | Yes | Yes | Yes | Yes | No |
Key Differentiators
- Lowest cost entry to the PIC18F87K22 family with 80-pin TQFP compatibility (vs PIC18F86K22T-I/PTRSL)
- nanoWatt XLP technology delivers 20 nA sleep current (vs PIC18F85J94-I/PT)
- 1.8 V-5.5 V wide supply range simplifies single-cell designs (vs PIC18F85J94-I/PT)
Design Notes
The PIC18F85K22T-I/PTRSL requires a decoupling capacitor of 100 nF placed within 5 mm of each VDD/VSS pair, plus a bulk 10 uF tantalum on the VDD rail. The VCAP pin (pin 80) MUST have a 1 uF to 10 uF low-ESR ceramic capacitor to ground for the internal voltage regulator. For XLP sleep-mode designs below 1 uA total system draw, isolate the ADC supply (AVDD/AVSS) and switch off unused peripherals via firmware to avoid quiescent leakage.
For CTMU capacitive touch designs, the touch electrode traces should be 0.2-0.5 mm wide, surrounded by a ground guard ring, and routed away from switching signals. Keep ADC traces short, route analog (AVDD/AVSS) on a separate analog ground island joined at a single point to digital ground, and use a 4-layer PCB with a dedicated ground plane for best ADC performance and noise immunity. Avoid routing digital signals under the TQFP-80 thermal pad - either float it or stitch it to ground via 4 vias.
Do NOT forget the MCLR pull-up resistor (typically 10 kOhm) when designing reset circuitry, and ensure the ICSP programming lines (PGC/PGD on RB6/RB7) are not loaded down by external circuitry during debug. The PIC18F85K22T-I/PTRSL industrial temperature suffix 'I' only guarantees -40 C to +85 C; for -40 C to +125 C extended or AEC-Q100 automotive, choose the PIC18F85K22-E/PTRSL variant. Configuration bits must be programmed correctly to enable the internal oscillator and disable unused peripherals to meet XLP current targets.
Estimated: At full 64 MHz operation with all peripherals active and 70 I/O toggling at 20 mA per pin source, the TQFP-80 part dissipates roughly 0.4-0.6 W. With theta_JA of approximately 50 C/W on a 4-layer JEDEC test board, junction temperature rise is 20-30 C above ambient. For high-ambient industrial environments (>70 C) add thermal vias under the package thermal pad or reduce clock speed to keep Tj below 125 C.
Compliance Information
RoHS compliant per Microchip product page. Industrial temperature grade only (-40 C to +85 C); for AEC-Q100 automotive qualified parts use the PIC18F85K22-E/PTRSL variant.