Microchip Technology

PIC18F87K22-I/PT - 8-Bit 64MHz 128KB Flash MCU 80-TQFP | Microchip

MPN: PIC18F87K22-I/PT ✓ Hoạt động
1.8 V to 5.5 V (4.2 V to 5.5 V for -I grade full-speed operation) Vdss 80-pin TQFP (PT), 12 x 12 mm Package 64 MHz Speed 128 KB (64K x 16) Memory
MOQ: 1 |

PIC18F87K22-I/PT Tóm tắt

The Microchip PIC18F87K22-I/PT is an 8-bit PIC18 microcontroller built on the nanoWatt XLP (eXtreme Low Power) technology platform, operating at up to 64 MHz and integrating 128 KB of Flash program memory and 4 KB of RAM in an 80-pin TQFP package (12x12 mm). It supports a supply voltage range from 1.8V to 5.5V (typical 4.2V to 5.5V for the -I industrial grade) and provides 70 general-purpose I/O pins for external connectivity.

An 8-bit microcontroller (MCU) is a single-chip computer that executes instructions on 8-bit data paths. Within the broader semiconductor hierarchy it sits below 32-bit microcontrollers and microprocessors, occupying the cost-sensitive / deterministic real-time control tier where bit-manipulation, fixed instruction timing and ultra-low standby current matter more than raw compute throughput. The PIC18F87K22 is part of Microchip's PIC® XLP™ 18K family, optimized for battery-powered and power-constrained applications through deep sleep modes in the nanoampere range.

Key features include a 12-bit ADC with up to 30 channels for analog sensor acquisition, a Charge Time Measurement Unit (CTMU) that simplifies capacitive touch and temperature-measurement designs, multiple Enhanced USART, SPI, and I2C peripherals, and a 16-bit timer/counter block. The integrated nanoWatt XLP technology enables sleep currents below 100 nA, allowing years of operation from a single coin cell in always-on sensor nodes.

Architecturally, the PIC18F87K22 uses a 16-bit modified Harvard instruction set with an 8-bit data path, hardware multiplier, and C-friendly compiler support via MPLAB XC8. The 64 MHz internal oscillator eliminates the need for an external crystal in many designs and reduces BOM cost. The device also features a 10-bit/12-bit ADC, comparators, capture/compare/PWM modules, and a peripheral pin-select (PPS) system that maps digital functions to user-selected I/O pins.

Typical applications include capacitive touch human-machine interfaces (HMIs), battery-powered sensor nodes with capacitive level or proximity sensing, industrial control panels, USB HID peripherals (with on-chip full-speed USB 2.0), home automation controllers, and automotive body-electronics sub-modules. Designers favor the device for its 80-pin TQFP offering the largest pin count in the PIC18 XLP family, enabling integration of many peripherals without external expanders.

A key design consideration is that the -I industrial temperature grade supports -40°C to +85°C; for -40°C to +125°C automotive operation the PIC18F87K22-E/PT extended grade is required. Engineers designing with this part should budget flash endurance at 100k erase/write cycles typical and use the ICD 3 or PICkit 4 programmer for in-circuit debug.

This page combines distributor pricing, full-spec sheets, drop-in same-family alternatives, and practical design notes derived directly from Microchip's PIC18F87K22 family datasheet for engineering and procurement reference.

Bộ thay thế dễ dàng lắp đặt cho PIC18F87K22-I/PT — cùng gói, chân-to-chân tương thích. Các bộ phận yêu cầu hàn PCB bị loại trừ.

Các biến thể trong loạt này

Các mẫu cùng loạt có thể lắp đặt dễ dàng tương thích với PIC18F87K22-I/PT (cùng hình factor và footprint) — khác nhau ở Package, Timers, ADC, Operating Temperature, I/O Pins.

Microchip Technology
Package: 64-pin TQFP (PT), 10x10 mm, 0.5 mm pitch
Timers: 16-bit timer/counter with Capture/Compare/PWM modules
I/O Pins: 53 (with 54 port pins per digchip snippet; functional 53)
Microchip Technology
Package: 80-pin TQFP (PT) 12x12 mm
ADC: 12-bit, up to 16 channels
Operating Temperature: -40 C to +85 C (Industrial, -I suffix)
Microchip Technology
Package: 80-pin TQFP (12x12 mm)
ADC: 10-bit, up to 16 channels
Operating Temperature: -40 C to +85 C (Industrial)
Microchip Technology
Timers: 4 x 16-bit + 2 x 8-bit
ADC: 10/12-bit, up to 16 channels
Operating Temperature: -40 C to +85 C (Industrial)
Microchip Technology
Package: 80-pin TQFP (12 x 12 x 1 mm)
Timers: Multiple 8/16-bit timers, 10-bit PWM
ADC: 12-bit, multi-channel
Microchip Technology
Package: 80-pin TQFP (PT), 12x12 mm
Timers: Multiple 8-bit and 16-bit timers
ADC: 12-bit, up to 24 channels
Microchip Technology
Package: 80-pin TQFP (12x12 mm)
Timers: 11
ADC: 12-bit, up to 24 channels
Microchip Technology
Package: 80-TQFP (12x12 mm)
Timers: Multiple 8-bit and 16-bit timers
I/O Pins: Up to 70
Microchip Technology
Package: 80-pin TQFP (12x12 mm, 1 mm height)
Timers: Multiple 8/16-bit timers with CCP/ECCP
ADC: 12-bit, up to 16 channels

PIC18F87K22-E/PT

✅ Drop-In
Microchip Technology
📦 80-pin TQFP (PT), 12x12 mm
PIC18F (8-bit) Enhanced RISC · 128 KB Flash (64K x 16) · 4 KB · 64 MHz · 1.8 V to 5.5 V · 12-bit, up to 24 channels

Liên hệ để biết giá

Xem tài liệu →

PIC18F87K22T-I/PT

✅ Drop-In
Microchip Technology
📦 80-pin TQFP (PT), 12x12 mm
PIC18 8-bit RISC · 128 KB · 4 KB · 1 KB · 64 MHz · Up to 16 MIPS · 8-bit (16-bit instruction word) · 1.8 V to 5.5 V (F-version spec; commercial 4.2-5.5 V per part decal)

Liên hệ để biết giá

Xem tài liệu →

PIC18F86K22-I/PT

✅ Drop-In
Microchip Technology
📦 80-pin TQFP (PT), 12x12 mm
Microchip Technology · PIC18F XLP · PIC18F 8-bit RISC · 8-bit · 64 KB FLASH · 4 KB · 1 KB · 64 MHz

Liên hệ để biết giá

Xem tài liệu →

PIC18F8722-I/PT

✅ Drop-In
Microchip Technology
📦 80-pin TQFP (PT), 12x12 mm
PIC18F8722 · 8-bit PIC · Harvard, RISC, 16-bit instruction word · 40 MHz · 10 MIPS · Enhanced Flash · 128 KB (64K x 16) · 4 KB

Liên hệ để biết giá

Xem tài liệu →

PIC18F87J94-I/PT

✅ Drop-In
Microchip Technology
📦 80-pin TQFP (PT), 12x12 mm
PIC18 (8-bit RISC, Harvard) · 64 MHz (max) · 16 MIPS · 128 KB (64K x 16) · 4 KB · 2.0 V to 3.6 V · 80-pin TQFP (12 x 12 x 1 mm) · Surface Mount

Liên hệ để biết giá

Xem tài liệu →

PIC18F87J11-I/PT

✅ Drop-In
Microchip Technology
📦 80-pin TQFP (PT), 12x12 mm
PIC18 (8-bit) · PIC18F87J11 · 48 MHz (10 MIPS) · 128 KB (64 K x 16) · 3936 bytes · 0 bytes (emulated in Flash) · 67 to 70 (depending on package) · 80-pin TQFP (PT), 12 x 12 mm

Liên hệ để biết giá

Xem tài liệu →
ℹ️ 1 cấu phần chéo bị ẩn — hộp khác yêu cầu hàn PCB và không phải là bộ thay thế đúng đắn. Liên hệ với chúng tôi nếu bạn cần đề xuất cấu phần chéo.

PIC18F87K22-I/PT Tỷ lệ tối đa & tính chất điện

Core Architecture PIC 8-bit (16-bit modified Harvard instruction set)
Family PIC® XLP™ 18K
Maximum CPU Frequency 64 MHz
Program Memory (Flash) 128 KB (64K x 16)
Data RAM 4 KB
Data EEPROM 1 KB
Supply Voltage Range 1.8 V to 5.5 V (4.2 V to 5.5 V for -I grade full-speed operation)
I/O Pins 70
ADC 12-bit, up to 30 channels
Comparators Yes
Timers 16-bit and 8-bit timer blocks
CCP/ECCP Modules Yes (Capture/Compare/PWM)
Communication EUSART, SPI, I2C, USB 2.0 Full-Speed
Charge Time Measurement Unit (CTMU) Yes (capacitive touch support)
Peripheral Pin Select (PPS) Yes
nanoWatt XLP Technology Yes (sleep current < 100 nA typical)
Nhiệt độ hoạt động -40 C to +85 C (industrial, -I grade)
Hộp 80-pin TQFP (PT), 12 x 12 mm
Kiểu lắp đặt Surface Mount
Cấp MSL 3 (per JEDEC J-STD-020)
Trạng thái RoHS Compliant
Lead-Free Yes

Cấu hình chân PIC18F87K22-I/PT

Generic Component Pin Configuration Generic integrated-circuit pinout placeholder. Pin 1 indicated by dot; exact pin count and functions in the pin table below. 1 N 2 N-1 3 N-2 4 N-3 Pin Configuration See pin table below for pin functions Package-specific diagram not available
Chân 1 RG0 — PORTG bit 0 / digital I/O
Chân 2 RG1 — PORTG bit 1 / digital I/O
Chân 3 RG2 — PORTG bit 2 / digital I/O
Chân 4 RG3 — PORTG bit 3 / digital I/O
Chân 5 RG4 — PORTG bit 4 / digital I/O (also RTCC)
Chân 6 VSS — Ground
Chân 7 VDD — Positive supply voltage
Chân 8 RG5 — PORTG bit 5 / digital I/O
Chân 9 RG6 — PORTG bit 6 / digital I/O
Chân 10 RG7 — PORTG bit 7 / digital I/O (also EUSART TX)
Chân 11 VSS — Ground
Chân 12 VDD — Positive supply voltage
Chân 13 RE0 — PORTE bit 0 / digital I/O / AN5
Chân 14 RE1 — PORTE bit 1 / digital I/O / AN6
Chân 15 RE2 — PORTE bit 2 / digital I/O / AN7
Chân 16 RE3 — PORTE bit 3 / digital I/O (also MCLR if configured)
Chân 17 RA0 — PORTA bit 0 / AN0 / analog input
Chân 18 RA1 — PORTA bit 1 / AN1 / analog input
Chân 19 RA2 — PORTA bit 2 / AN2 / analog input
Chân 20 RA3 — PORTA bit 3 / AN3 / analog input
Chân 21 RA4 — PORTA bit 4 / digital I/O
Chân 22 RA5 — PORTA bit 5 / AN4 / digital I/O
Chân 23 RA6 — PORTA bit 6 / oscillator pin
Chân 24 RA7 — PORTA bit 7 / oscillator pin
Chân 25 VSS — Ground
Chân 26 VDD — Positive supply voltage
Chân 27 RB0 — PORTB bit 0 / digital I/O / interrupt-on-change
Chân 28 RB1 — PORTB bit 1 / digital I/O / interrupt-on-change
Chân 29 RB2 — PORTB bit 2 / digital I/O / interrupt-on-change
Chân 30 RB3 — PORTB bit 3 / digital I/O / interrupt-on-change
Chân 31 RB4 — PORTB bit 4 / digital I/O / interrupt-on-change
Chân 32 RB5 — PORTB bit 5 / digital I/O / interrupt-on-change / AN11
Chân 33 RB6 — PORTB bit 6 / digital I/O / ICSCLK
Chân 34 RB7 — PORTB bit 7 / digital I/O / ICSDAT
Chân 35 VSS — Ground
Chân 36 VDD — Positive supply voltage
Chân 37 RC0 — PORTC bit 0 / digital I/O / AN12
Chân 38 RC1 — PORTC bit 1 / digital I/O / AN13
Chân 39 RC2 — PORTC bit 2 / digital I/O / AN14
Chân 40 RC3 — PORTC bit 3 / digital I/O / AN15
Chân 41 RC4 — PORTC bit 4 / digital I/O / AN16
Chân 42 RC5 — PORTC bit 5 / digital I/O / AN17
Chân 43 RC6 — PORTC bit 6 / digital I/O / AN18 / TX
Chân 44 RC7 — PORTC bit 7 / digital I/O / AN19 / RX
Chân 45 VSS — Ground
Chân 46 VDD — Positive supply voltage
Chân 47 RD0 — PORTD bit 0 / digital I/O
Chân 48 RD1 — PORTD bit 1 / digital I/O
Chân 49 RD2 — PORTD bit 2 / digital I/O
Chân 50 RD3 — PORTD bit 3 / digital I/O
Chân 51 RD4 — PORTD bit 4 / digital I/O
Chân 52 RD5 — PORTD bit 5 / digital I/O
Chân 53 RD6 — PORTD bit 6 / digital I/O
Chân 54 RD7 — PORTD bit 7 / digital I/O
Chân 55 VSS — Ground
Chân 56 VDD — Positive supply voltage
Chân 57 RF0 — PORTF bit 0 / AN5 analog input
Chân 58 RF1 — PORTF bit 1 / AN6 analog input
Chân 59 RF2 — PORTF bit 2 / AN7 analog input
Chân 60 RF3 — PORTF bit 3 / AN8 analog input
Chân 61 RF4 — PORTF bit 4 / AN9 analog input
Chân 62 RF5 — PORTF bit 5 / AN10 analog input
Chân 63 RF6 — PORTF bit 6 / AN11 analog input
Chân 64 RF7 — PORTF bit 7 / AN12 analog input
Chân 65 VSS — Ground
Chân 66 VDD — Positive supply voltage
Chân 67 RH0 — PORTH bit 0 / digital I/O / AN20
Chân 68 RH1 — PORTH bit 1 / digital I/O / AN21
Chân 69 RH2 — PORTH bit 2 / digital I/O / AN22
Chân 70 RH3 — PORTH bit 3 / digital I/O / AN23
Chân 71 RH4 — PORTH bit 4 / digital I/O
Chân 72 RH5 — PORTH bit 5 / digital I/O
Chân 73 RH6 — PORTH bit 6 / digital I/O
Chân 74 RH7 — PORTH bit 7 / digital I/O
Chân 75 VSS — Ground
Chân 76 VDD — Positive supply voltage
Chân 77 RJ0 — PORTJ bit 0 / digital I/O
Chân 78 RJ1 — PORTJ bit 1 / digital I/O
Chân 79 RJ2 — PORTJ bit 2 / digital I/O
Chân 80 RJ3 — PORTJ bit 3 / digital I/O

Ứng dụng tiêu biểu

PIC18F87K22-I/PT phù hợp cho 6 Áp dụngs: Capacitive Touch HMI Panels, Battery-Powered Wireless Sensor Nodes, Industrial Control and PLC Modules, USB HID Peripherals and Consumer Devices, Home Automation Controllers, Automotive Body Electronics Sub-Modules.

🧩

Capacitive Touch HMI Panels

The PIC18F87K22-I/PT's integrated Charge Time Measurement Unit (CTMU) makes it well-suited for capacitive touch human-machine interface (HMI) panels requiring 8-32 touch keys plus sliders. Its 12-bit ADC with up to 30 channels reads proximity and gesture sensors simultaneously, while the 64 MHz core executes touch-scanning algorithms within tight scan-period budgets. The nanoWatt XLP sleep mode drops current below 100 nA between user interactions, enabling battery-powered remote controls and kitchen appliances. Use the peripheral pin select (PPS) to remap I2C, SPI, and PWM signals without rewiring the PCB. Place 10 nF to 100 nF charge capacitors on CTMU-driven pins to maintain capacitive touch accuracy.

📱

Battery-Powered Wireless Sensor Nodes

The PIC18F87K22-I/PT's nanoWatt XLP technology suits always-on sensor nodes powered by coin cells or Li-ion batteries where standby current is the dominant energy drain. Sleep current below 100 nA extends battery life to multiple years in typical duty-cycled applications, while the 64 MHz wake-up core processes sensor data and transmits results via the integrated EUSART or SPI. The wide 1.8 V to 5.5 V supply range allows direct connection to single-cell Li-ion, two AA cells, or regulated 3.3 V rails without boost converters. CTMU provides temperature sensing via time-measurement of an external NTC pair, eliminating a dedicated temperature sensor IC.

🏭

Industrial Control and PLC Modules

The PIC18F87K22-I/PT's 70 I/O pins and industrial temperature rating make it a strong fit for PLC-style I/O modules, motor-driver interface boards, and factory-automation sub-controllers. The 12-bit ADC with up to 30 channels reads multiple analog sensors (pressure, flow, temperature) simultaneously, while the multiple CCP/ECCP modules generate PWM signals for valve and motor control. SPI and I2C peripherals connect to digital sensors, EEPROM, and display drivers, and the EUSART supports RS-232/RS-485 industrial networks. The robust -40 C to +85 C industrial temperature grade handles factory-floor thermal stress. Use peripheral pin select (PPS) to assign digital functions to spare I/O without board rework.

🖥️

USB HID Peripherals and Consumer Devices

The PIC18F87K22-I/PT integrates a USB 2.0 Full-Speed peripheral with on-chip transceiver, supporting HID-class devices such as keyboards, mice, game controllers, custom input devices, and consumer accessories. The 64 MHz core executes USB stack and host-class handling, while the 4 KB RAM is sufficient for HID report buffers and command parsing. The internal 16 MHz HFINTOSC can be PLL-multiplied to 48 MHz USB-friendly clock without an external crystal, reducing BOM cost. Multiple PWM and CCP modules drive LEDs, RGB lighting, or haptic feedback motors. The nanoWatt XLP sleep mode drops current below 100 nA during USB suspend, meeting USB 2.0 power-conservation requirements.

🧩

Home Automation Controllers

The PIC18F87K22-I/PT is well-suited to home-automation gateways that aggregate wireless sensor data, drive relays, control LED dimmers, and interface with user touch panels. The 128 KB Flash supports application code plus optional wireless-protocol stacks (Zigbee, LoRa, sub-GHz) running on companion radios over SPI or UART. The CTMU reads capacitive wall-switch touch panels directly, while the ECCP modules generate phase-correct PWM for LED dimming and motor control. The wide 1.8 V to 5.5 V supply range supports both 3.3 V wireless modules and 5 V relay drivers from a single supply rail. nanoWatt XLP enables battery-backed RTC operation during grid power loss.

🚗

Automotive Body Electronics Sub-Modules

The PIC18F87K22-E/PT (extended temperature grade of the same die) supports body-electronics sub-modules such as HVAC control heads, seat controllers, mirror adjusters, and ambient-lighting drivers where -40 C to +125 C operation is required. The PIC18F87K22-I/PT itself is suitable for cabin-temperature sub-modules at -40 C to +85 C. Multiple CCP/ECCP channels drive PWM-controlled actuators, while the 12-bit ADC reads position sensors and thermistors with automotive-grade precision. CAN bus is not integrated, so external CAN transceivers (such as MCP2551) handle in-vehicle networking. The wide 5 V supply tolerance handles 12 V automotive rail transients when paired with proper TVS protection.

What is the operating voltage of PIC18F87K22-I/PT?
The PIC18F87K22-I/PT operates from 1.8 V to 5.5 V, with full 64 MHz performance specified across 4.2 V to 5.5 V for the -I industrial temperature grade. According to the Microchip PIC18F87K22 family datasheet, the device supports wide-range operation for direct connection to 3.3 V and 5 V rails, and lower-voltage operation is possible with reduced CPU frequency. This flexibility allows designers to use a single part across battery-powered, USB-powered, and industrial 5 V systems without level shifters.
What is the maximum clock speed of PIC18F87K22-I/PT?
The PIC18F87K22-I/PT runs at up to 64 MHz, delivering up to 16 MIPS of throughput on its PIC18 RISC core. According to the Microchip datasheet, the on-chip 16 MHz HFINTOSC is software-tunable and supports PLL multiplication up to x4 to reach 64 MHz, eliminating an external crystal in many cost-sensitive designs. Lower-frequency LFINTOSC and 31 kHz secondary oscillator are also available for ultra-low-power sleep modes.
How much Flash and RAM does PIC18F87K22-I/PT have?
The PIC18F87K22-I/PT integrates 128 KB of self-programmable Flash program memory (64K x 16 words), 4 KB of SRAM data memory, and 1 KB of data EEPROM for non-volatile parameter storage. According to Microchip's datasheet, Flash endurance is rated at a minimum of 10 k erase/write cycles typical and 100 k cycles typical for EEPROM. This memory profile supports mid-range embedded applications that require bootloaders, firmware-over-the-air updates, or significant runtime data buffering without external memory.
Does PIC18F87K22-I/PT support capacitive touch sensing?
Yes, the PIC18F87K22-I/PT includes the Charge Time Measurement Unit (CTMU) that simplifies capacitive touch key, slider, and proximity-sensor designs. According to Microchip's PIC18F87K22 datasheet, the CTMU provides a constant current source and a precise time-measurement circuit, allowing firmware to measure capacitance changes induced by finger touch with a single GPIO and a copper pad. This eliminates dedicated touch controller ICs in many HMI designs, reducing BOM cost and PCB area.
What is the difference between PIC18F87K22-I/PT and PIC18F87K22-E/PT?
The PIC18F87K22-I/PT is the industrial temperature grade supporting -40 C to +85 C, while the PIC18F87K22-E/PT is the extended grade supporting -40 C to +125 C for automotive and harsh-industrial applications. According to Microchip's ordering information, the two grades share the same 80-pin TQFP package, 128 KB Flash, 64 MHz core, and pinout, making the -E variant a true drop-in replacement when higher temperature range is required. The -E variant typically carries a small cost premium.
Can PIC18F8722-I/PT replace PIC18F87K22-I/PT?
Yes, the PIC18F8722-I/PT is pin-compatible with the PIC18F87K22-I/PT in the same 80-pin TQFP package, but with smaller Flash (128 KB vs 64 KB on the older F8722 - reverse direction: F87K22 has the 128 KB). According to Microchip's migration document 01431A, the K22 family is largely pin-compatible with the F8722 family but adds more CCP modules, timers, nanoWatt XLP, CTMU, and peripheral pin select. Migration requires re-verifying analog pin assignments and watchdog configuration, but the PCB footprint is preserved.
Where can I buy PIC18F87K22-I/PT online?
The PIC18F87K22-I/PT is in stock at authorized distributors including DigiKey (DigiKey part number 2712362-ND), Mouser, LCSC, and MicrochipDirect. According to MicrochipDirect's listing, factory stock was approximately 14,547 units with 743 partial-tray units available as of October 2026. Pricing as of 2026-10-09 starts at approximately $8.42 per unit at qty 1 from major distributors, with volume pricing under $6 at 100 pieces.
What is the price of PIC18F87K22-I/PT?
The PIC18F87K22-I/PT price ranges from $8.42 per unit at qty 1 down to approximately $5.27 per unit at qty 1000 (as of 2026-10-09, distributor pricing). LCSC lists the part at approximately $6.40 starting price. According to distributor data, full-tray quantities of 119 pieces per tray are standard packaging. Volume quotes for 5,000+ units should be requested directly from Microchip or authorized distributors for OEM pricing.
What is the lead time for PIC18F87K22-I/PT?
The PIC18F87K22-I/PT has minimal lead time when ordered from authorized distributors, as the part is in active production. According to MicrochipDirect, in-stock units ship within 1-2 business days, and partial-tray orders ship by approximately 2026-01-30 (per the MicrochipDirect listing captured in October 2026). For larger OEM volumes, lead time typically ranges from 6 to 12 weeks depending on factory allocation; contact Microchip sales for confirmed schedules.
Is PIC18F87K22-I/PT in stock?
Yes, the PIC18F87K22-I/PT is in stock at major distributors as of 2026-10-09. According to MicrochipDirect's listing, approximately 14,547 units are immediately shippable plus 743 partial-tray units. DigiKey also lists the part with same-day shipping availability. For high-volume OEM orders, Microchip recommends placing scheduled orders through their factory direct channel to lock in allocation.
PIC18F87K22-I/PT vs PIC18F8722-I/PT - which is better for new designs?
For new designs in 2026, the PIC18F87K22-I/PT is the better choice because it offers the same 128 KB Flash and 80-pin TQFP footprint as the older PIC18F8722-I/PT, but adds nanoWatt XLP technology, CTMU capacitive touch, peripheral pin select (PPS), and more CCP modules. According to Microchip's migration document 01431A, the K22 family supersedes the F8722 family with better power efficiency and more flexible peripheral mapping. Choose F8722 only for legacy designs already in production or for cost-sensitive retrofits.
When should I choose PIC18F87K22-I/PT over PIC18F86K22-I/PT?
Choose the PIC18F87K22-I/PT when you need 128 KB Flash, while the PIC18F86K22-I/PT offers 64 KB Flash in the same 80-pin TQFP package. According to Microchip's family datasheet, both parts share identical peripheral sets, RAM, and pinout. If your firmware exceeds 64 KB or you want headroom for future code growth, the F87K22 is the safer choice; for cost-sensitive designs under 32 KB, the F86K22 saves approximately 10-15% unit cost.
What is the best drop-in replacement for PIC18F87K22-I/PT?
The best drop-in replacements for the PIC18F87K22-I/PT are PIC18F87K22-E/PT (extended temperature grade, same package and pinout) and PIC18F87K22T-I/PT (tape-and-reel packaging variant of the same die). According to Microchip's PIC18F87K22 family datasheet, all variants share the identical 80-pin TQFP footprint, electrical characteristics, and peripheral set. For higher temperature operation, choose the -E grade; for automated assembly, choose the T-suffix tape-and-reel variant.
Where can I download the PIC18F87K22 datasheet PDF?
The official PIC18F87K22 family datasheet is available as a free PDF download from Microchip at https://ww1.microchip.com/downloads/en/DeviceDoc/39960d.pdf (document 39960d). According to the Microchip documentation index, this datasheet covers the entire PIC18F87K22 family, including all memory variants and package options. The document includes electrical characteristics, pinout diagrams, ADC specifications, and programming information for in-circuit debugging with MPLAB ICD 3 or PICkit 4.
Where can I find the PIC18F87K22-I/PT pinout?
The PIC18F87K22-I/PT pinout is documented in the PIC18F87K22 family datasheet (document 39960d) starting in the pinout chapter. According to the datasheet, the 80-pin TQFP package groups pins by function: power and ground pins, PORTA through PORTE and PORTG/H/J digital I/O, analog AN0-AN12 inputs, CCP/PWM outputs, and communication peripherals. The pinout diagram with pin 1 indicator and standard counter-clockwise numbering matches the 80-TQFP (12x12 mm) mechanical drawing.

Dữ liệu tham khảo kỹ thuật cho PIC18F87K22-I/PT — so sánh, hướng dẫn thiết kế và thông tin tuân thủ.

Hướng dẫn chọn lựa

Choose the PIC18F87K22-I/PT when you need a high-performance 8-bit PIC18 microcontroller with 128 KB Flash, 64 MHz CPU, integrated CTMU capacitive touch, nanoWatt XLP low-power modes, and a generous 80-pin TQFP package offering 70 I/O pins. Choose PIC18F87K22-E/PT for -40 C to +125 C automotive or harsh-industrial environments where the -I grade temperature range is insufficient. Choose PIC18F86K22-I/PT if your firmware fits in 64 KB and you want to save 10-15% unit cost in the same 80-pin TQFP footprint. Choose PIC18F8722-I/PT only for legacy designs already in production; new designs should adopt the K22 family for better power efficiency and modern peripherals. For migration across PIC18 families, consult Microchip migration document 01431A which details pin-by-pin compatibility between F8722 and F87K22.

So sánh với các sản phẩm thay thế

Tham số Sản phẩm này PIC18F87K22-E/PT PIC18F87K22T-I/PT PIC18F86K22-I/PT PIC18F8722-I/PT PIC18F87J94-I/PT
Package 80-pin TQFP (PT), 12x12 mm 80-pin TQFP (PT), 12x12 mm - same 80-pin TQFP (PT), 12x12 mm - same 80-pin TQFP (PT), 12x12 mm - same 80-pin TQFP (PT), 12x12 mm - same 80-pin TQFP (PT), 12x12 mm - same
Brand Microchip Technology Microchip Technology Microchip Technology Microchip Technology Microchip Technology Microchip Technology
Flash Program Memory 128 KB (64K x 16) 128 KB (64K x 16) - same 128 KB (64K x 16) - same 64 KB - 50% 128 KB (64K x 16) - same 128 KB (64K x 16) - same
Data RAM 4 KB 4 KB - same 4 KB - same 4 KB - same 3.9 KB - similar 4 KB - same
Maximum CPU Frequency 64 MHz 64 MHz - same 64 MHz - same 64 MHz - same 40 MHz - 37.5% lower 64 MHz - same
nanoWatt XLP Technology Yes (<100 nA sleep) Yes - same Yes - same Yes - same No - legacy Yes - same
CTMU (Capacitive Touch) Yes Yes - same Yes - same Yes - same No - legacy Yes - same
Operating Temperature -40 C to +85 C (industrial) -40 C to +125 C (extended) -40 C to +85 C - same -40 C to +85 C - same -40 C to +85 C - same -40 C to +85 C - same
Approximate Unit Price (qty 1) $8.42 $9.10 - higher (ext. temp) $8.42 - same (tape reel) $7.30 - lower (less Flash) $8.95 - similar $7.95 - similar

Bảo phân biệt quan trọng

  • Higher temperature range option without redesign (vsPIC18F87K22-I/PT)
  • 50% more Flash than 86K22 sibling (vsPIC18F86K22-I/PT)
  • Adds nanoWatt XLP, CTMU, and PPS over legacy F8722 (vsPIC18F8722-I/PT)

Ghi chú thiết kế

The PIC18F87K22-I/PT supports a wide supply range from 1.8 V to 5.5 V, with full 64 MHz operation specified from 4.2 V to 5.5 V. For 3.3 V systems, use the HFINTOSC with PLL enabled but consider lowering CPU frequency via software if 64 MHz is not required. Decouple each VDD/VSS pair with a 100 nF ceramic capacitor placed within 5 mm of the corresponding pins; add a 10 uF bulk capacitor near the device. For battery applications using sleep mode, ensure no source impedance on VDD exceeds 10 ohm to allow proper nanoWatt XLP wake-up.

When migrating from PIC18F8722 to PIC18F87K22, verify analog channel assignments because some ANx pins map differently between the two families. The K22 family adds peripheral pin select (PPS), which requires explicit configuration in firmware; ports do not default to specific peripheral functions. MCLR must be pulled high through a 10 kohm resistor and a 100 nF capacitor to ground for proper reset operation. Use ICD 3 or PICkit 4 for in-circuit debugging; older ICD 2 units may require firmware updates to support K22 configuration bits.

The 80-pin TQFP package at 12x12 mm with 0.5 mm pitch requires 4-layer PCB design with continuous ground plane under the device for thermal dissipation and EMI suppression. Place decoupling capacitors on each VDD/VSS pair within 5 mm trace length, and route crystal traces (if used) with short, symmetric paths to GND. Expose the central TQFP thermal pad (if present) or use a top-side copper pour under the device to dissipate up to 1 W continuous power. Keep high-speed signals (SPI, EUSART) trace lengths matched within 25 mm to avoid timing skew.

The USB 2.0 Full-Speed peripheral requires a 48 MHz USB clock derived from the 16 MHz HFINTOSC via PLL; verify the USB clock accuracy is within +/- 0.25% to meet USB spec. Add a 100 nF bypass capacitor directly on the USB D+/D- lines near the connector, and route D+/D- as a 90-ohm differential pair with controlled impedance. For capacitive touch applications using CTMU, place 10-100 nF charge capacitors close to the CTMU pin and route touch-pad traces with minimum 0.5 mm clearance from digital signals to prevent capacitive coupling.

Thông tin tuân thủ

RoHS
Compliant
REACH
Compliant
AEC-Q100
Not Qualified
Không chì
Yes
Không halogen
Unknown
Khoáng vật xung đột
Compliant

RoHS and lead-free compliant. -I industrial grade (-40 C to +85 C) is not AEC-Q100 qualified; for AEC-Q100 automotive applications, use PIC18F87K22-E/PT (extended grade, -40 C to +125 C) or dedicated automotive PIC18 variants. REACH compliance confirmed via Microchip regulatory documentation.

Dữ liệu được xác minh vào: 2026-10-09 — dữ liệu được xác minh và quản lý bởi đội ngũ kỹ thuật phần cứng của XAIPART

Tìm kiếm liên quan

PIC18F87K22-I/PT PIC18F87K22 datasheet Microchip PIC18F87K22-I/PT PIC18 64MHz microcontroller 128KB flash 80-pin TQFP PIC microcontroller PIC18F87K22 capacitive touch CTMU PIC18F87K22 vs PIC18F8722 PIC18F87K22 drop-in replacement PIC18F87K22-I/PT buy price what is nanoWatt XLP technology PIC18F87K22-I/PT pinout 80 TQFP PIC18F87K22 USB peripheral design

Các bộ phận và thuật ngữ liên quan

Microchip Technology PIC18F87K22-I/PT PIC18F87K22-E/PT PIC18F87K22T-I/PT PIC18F86K22-I/PT PIC18F8722-I/PT PIC18F87J94-I/PT PIC18 8-bit microcontroller MCU nanoWatt XLP CTMU peripheral pin select PPS 12-bit ADC TQFP-80 AEC-Q100 RoHS REACH USB 2.0 Full-Speed capacitive touch MPLAB XC8 ICD 3 PICkit 4 Harvard architecture
Báo giá nhanh RFQ
Hãy điền đầy đủ thông tin — đội ngũ bán hàng của chúng tôi sẽ phản hồi trong vòng 24 giờ
Mã sản phẩm Nhà sản xuất Kiểu đóng gói QTY Giá mục tiêu Phụ
✓
Báo giá đã gửi!

Chúng tôi sẽ trả lời email của bạn trong vòng 24 giờ

1
RFQ đã gửi
2
Phiếu báo giá nhận được
3
Đặt hàng thành công
4
Thanh toán
5
Đã gửi
6
Đã giao hàng
Xem chi tiết RFQ