PIC18F87K22T-I/PT - 8-Bit 64MHz MCU 128KB Flash TQFP-80 | Microchip
N.º de pieza: PIC18F87K22T-I/PT ✓ Activo| Cant. | Precio unitario | Total |
|---|---|---|
| 1 | $12.5 | $12,50 |
| 10 | $11.2 | $112,00 |
| 100 | $9.95 | $995,00 |
| 500 | $8.9 | $4.450,00 |
| 1.000 | $7.95 | $7.950,00 |
PIC18F87K22T-I/PT Descripción general
An 8-bit microcontroller (MCU) is a programmable logic device that executes instructions one byte at a time and integrates CPU, memory, and peripherals on a single silicon die. PIC18F-series MCUs (PIC -> Peripheral Interface Controller -> Microchip's 8-bit architecture -> microcontroller family -> embedded computing) extend the baseline PIC16 architecture with an enhanced instruction set, 16-bit wide program memory, and a linear program/data memory map. The K22 sub-family further adds nanoWatt XLP (eXtreme Low Power) Technology with deep-sleep currents well under 1 microampere, positioning the device for battery-constrained applications.
Key features include a maximum CPU clock of 64 MHz delivering up to 16 MIPS (Million Instructions Per Second), a 12-bit A/D converter with up to 30 channels, an integrated Charge Time Measurement Unit (CTMU) for capacitive touch sensing, multiple Enhanced USART, SPI, and I2C peripherals, and a nanoWatt XLP power-management block that supports idle, sleep, and deep-sleep modes. The 80-pin TQFP exposes up to 70 I/O pins and supports external memory interfaces via the Parallel Slave Port and Extended Microcontroller modes, enabling connection to external peripherals or memory-mapped devices.
Architecturally, the PIC18F87K22 employs a Harvard-class modified RISC core with a 16-bit instruction word, an 8-bit data path, hardware multiply, and a programmable instruction set optimized for compiled C code. The internal oscillator, watchdog timer, brown-out reset, and in-circuit debug (ICD) interface collectively reduce external component count and shorten firmware development cycles, which is one reason the family remains popular in industrial control and human-machine interface designs.
Typical applications include industrial control panels, home appliance user interfaces, capacitive touch keypads, sensor hubs, energy-harvesting battery nodes, automotive accessory modules, and USB HID human-interface devices using the PIC18 USB-enabled peripheral extensions. The combination of 128KB Flash (1 Mbit class) and 70 I/O pins makes the part well suited to mid-complexity graphical LCD or segmented display products.
Designers should note that the 80-pin TQFP and 80-pin QFN variants of this part are pin-compatible within their respective packages but NOT interchangeable between packages. Programming is performed via ICSP (In-Circuit Serial Programming) or the ICD interface; production programmers from MPLAB, PICKit, and third-party vendors support the device.
This page synthesizes distributor pricing, drop-in PIC18 family alternatives, and XLP power-mode design notes not found in the manufacturer datasheet.
Alternativas directas para PIC18F87K22T-I/PT — mismo encapsulado, compatible pin a pin. Se excluyen las piezas de otro encapsulado que requieren retrabajo de la PCB.
Variantes de esta serie
Modelos de la misma serie compatibles directamente con PIC18F87K22T-I/PT (mismo factor de forma y huella) — difiere en Package, ADC, Core Architecture, Timers, Program Memory (Flash).
Herramienta de comparación rápida — seleccione piezas alternativas para compararlas lado a lado:
PIC18F87K22-I/PT
✅ Sustitución directa✓ En stock
$5.27 / unidad
Ver hoja de datos →PIC18F87K22T-E/PT
✅ Sustitución directa📋 Alternativa de referencia (no en el catálogo)
PIC18F86K22T-I/PT
✅ Sustitución directa✓ En stock
$2.3 / unidad
Ver hoja de datos →PIC18F8723-I/PT
✅ Sustitución directa✓ En stock
$7.95 / unidad
Ver hoja de datos →PIC18F85K22T-I/PT
✅ Sustitución directa✓ En stock
$4.4 / unidad
Ver hoja de datos →PIC18F87J72-I/PT
✅ Sustitución directa✓ En stock
$4.78 / unidad
Ver hoja de datos →PIC18F87K22T-I/PT Valores máximos y características eléctricas
| Core | PIC18 8-bit RISC |
| Program Memory (Flash) | 128 KB |
| RAM | 4 KB |
| Data EEPROM | 1 KB |
| Maximum CPU Clock | 64 MHz |
| Instruction Throughput | Up to 16 MIPS |
| Ancho del bus de datos | 8-bit (16-bit instruction word) |
| Supply Voltage (VDD) | 1.8 V to 5.5 V (F-version spec; commercial 4.2-5.5 V per part decal) |
| Operating Temperature (I suffix) | -40 C to +85 C |
| Encapsulado | 80-TQFP (12x12 mm) |
| I/O Pins | Up to 70 |
| A/D Converter | 12-bit, up to 30 channels |
| Timers | Multiple 8-bit and 16-bit timers |
| Communication Peripherals | EUSART, SPI, I2C |
| Low-Power Technology | nanoWatt XLP |
| CTMU (Charge Time Measurement Unit) | Yes |
| Estado RoHS | Compliant |
| Tipo de montaje | Surface Mount |
Configuración de pines de PIC18F87K22T-I/PT
| Pin 1 | MCLR — Master Clear (Reset) input, active low |
| Pin 2 | RA0/AN0 — PORTA bit 0 / Analog input AN0 / Comparator input |
| Pin 3 | RA1/AN1 — PORTA bit 1 / Analog input AN1 |
| Pin 4 | RA2/AN2 — PORTA bit 2 / Analog input AN2 |
| Pin 5 | RA3/AN3 — PORTA bit 3 / Analog input AN3 / VREF+ |
| Pin 6 | RA4/AN4/T0CKI — PORTA bit 4 / Analog input AN4 / Timer0 clock input |
| Pin 7 | RA5/AN5 — PORTA bit 5 / Analog input AN5 / VREF- |
| Pin 8 | RE0/AN6 — PORTRE bit 0 / Analog input AN6 |
| Pin 9 | RE1/AN7 — PORTRE bit 1 / Analog input AN7 |
| Pin 10 | RE2/AN8 — PORTRE bit 2 / Analog input AN8 |
| Pin 11 | VDD — Positive supply voltage |
| Pin 12 | VSS — Ground reference |
| Pin 13 | OSC1/CLKI — Crystal oscillator input or external clock input |
| Pin 14 | OSC2/CLKO — Crystal oscillator output or clock output |
| Pin 15 | RC0/T1OSO/T1CKI — PORTC bit 0 / Timer1 oscillator output / Timer1 clock input |
| Pin 16 | RC1/T1OSI — PORTC bit 1 / Timer1 oscillator input |
| Pin 17 | RC2/CCP1 — PORTC bit 2 / Capture/Compare/PWM 1 |
| Pin 18 | RC3/SCL — PORTC bit 3 / I2C clock |
| Pin 19 | RD0 — PORTD bit 0 |
| Pin 20 | RD1 — PORTD bit 1 |
| Pin 21 | RD2 — PORTD bit 2 |
| Pin 22 | RD3 — PORTD bit 3 |
| Pin 23 | RC4/SDA — PORTC bit 4 / I2C data |
| Pin 24 | RC5/SDO — PORTC bit 5 / SPI data out |
| Pin 25 | RC6/TX/CK — PORTC bit 6 / EUSART TX / synchronous clock |
| Pin 26 | RC7/RX/DT — PORTC bit 7 / EUSART RX / synchronous data |
| Pin 27 | RD4 — PORTD bit 4 |
| Pin 28 | RD5/PSP5 — PORTD bit 5 / Parallel Slave Port bit 5 |
| Pin 29 | RD6/PSP6 — PORTD bit 6 / Parallel Slave Port bit 6 |
| Pin 30 | RD7/PSP7 — PORTD bit 7 / Parallel Slave Port bit 7 |
| Pin 31 | VSS — Ground reference |
| Pin 32 | VDD — Positive supply voltage |
| Pin 33 | RB0/INT0 — PORTB bit 0 / External interrupt 0 |
| Pin 34 | RB1/INT1 — PORTB bit 1 / External interrupt 1 |
| Pin 35 | RB2/INT2 — PORTB bit 2 / External interrupt 2 |
| Pin 36 | RB3/CCP2 — PORTB bit 3 / Capture/Compare/PWM 2 |
| Pin 37 | RB4 — PORTB bit 4 |
| Pin 38 | RB5 — PORTB bit 5 |
| Pin 39 | RB6/PGC — PORTB bit 6 / ICSP clock |
| Pin 40 | RB7/PGD — PORTB bit 7 / ICSP data |
| Pin 41 | RF0/AN16 — PORTF bit 0 / Analog input AN16 |
| Pin 42 | RF1/AN17 — PORTF bit 1 / Analog input AN17 |
| Pin 43 | RF2/AN18 — PORTF bit 2 / Analog input AN18 |
| Pin 44 | RF3/AN19 — PORTF bit 3 / Analog input AN19 |
| Pin 45 | RF4/AN20 — PORTF bit 4 / Analog input AN20 |
| Pin 46 | RF5/AN21 — PORTF bit 5 / Analog input AN21 |
| Pin 47 | RF6/AN22 — PORTF bit 6 / Analog input AN22 |
| Pin 48 | RF7/AN23 — PORTF bit 7 / Analog input AN23 |
| Pin 49 | AVDD — Analog positive supply |
| Pin 50 | AVSS — Analog ground reference |
| Pin 51 | RG0 — PORTG bit 0 |
| Pin 52 | RG1 — PORTG bit 1 |
| Pin 53 | RG2 — PORTG bit 2 |
| Pin 54 | RG3 — PORTG bit 3 |
| Pin 55 | RG4 — PORTG bit 4 |
| Pin 56 | RH0 — PORTH bit 0 |
| Pin 57 | RH1 — PORTH bit 1 |
| Pin 58 | RH2 — PORTH bit 2 |
| Pin 59 | RH3 — PORTH bit 3 |
| Pin 60 | RH4 — PORTH bit 4 |
| Pin 61 | RH5 — PORTH bit 5 |
| Pin 62 | RH6 — PORTH bit 6 |
| Pin 63 | RH7 — PORTH bit 7 |
| Pin 64 | VSS — Ground reference |
| Pin 65 | VDD — Positive supply voltage |
| Pin 66 | RJ0 — PORTJ bit 0 |
| Pin 67 | RJ1 — PORTJ bit 1 |
| Pin 68 | RJ2 — PORTJ bit 2 |
| Pin 69 | RJ3 — PORTJ bit 3 |
| Pin 70 | RJ4 — PORTJ bit 4 |
| Pin 71 | RJ5 — PORTJ bit 5 |
| Pin 72 | RJ6 — PORTJ bit 6 |
| Pin 73 | RJ7 — PORTJ bit 7 |
| Pin 74 | AN24/RB0 — Analog input AN24 (alternate routing) |
| Pin 75 | AN25/RB1 — Analog input AN25 (alternate routing) |
| Pin 76 | AN26/RB2 — Analog input AN26 (alternate routing) |
| Pin 77 | AN27/RB3 — Analog input AN27 (alternate routing) |
| Pin 78 | AN28/RB4 — Analog input AN28 (alternate routing) |
| Pin 79 | AN29/RB5 — Analog input AN29 (alternate routing) |
| Pin 80 | VSS — Ground reference |
Aplicaciones típicas
PIC18F87K22T-I/PT es adecuado para 6 aplicacións: Industrial Control Panel HMI, Capacitive Touch Keypads, Appliance Front-Panel Controllers, Battery-Powered Sensor Hubs, Automotive Accessory Modules, USB HID Human-Interface Devices.
Industrial Control Panel HMI
The PIC18F87K22T-I/PT is well matched to industrial control panel human-machine interfaces because 128KB Flash and 4KB RAM easily accommodate structured-segment or grayscale graphics libraries, while 70 GPIO drive segmented LCDs, keypads, status LEDs, and rotary encoders without external bus expanders. nanoWalt XLP keeps idle panels under 1 uA for battery-backed operator stations. The 12-bit ADC reads analog sensor inputs (temperature, pressure, current shunt) at 100 ksps, while EUSART/SPI handle Modbus RTU or device-net side-channels. Industrial -40 to +85 C temperature and 5V tolerance match 24V-bus sensor subsystems.
Recomendado
Capacitive Touch Keypads
The PIC18F87K22T-I/PT's on-chip CTMU (Charge Time Measurement Unit) measures small capacitance changes from the touch electrode to mechanical overlay, eliminating the need for a dedicated touch controller. Combined with 128KB Flash, designers can run Microchip's mTouch or third-party capacitive-touch libraries with finite state machine control and surface gesture decoding. The 12-bit ADC tracks ambient noise for self-calibration, while XLP deep-sleep with touch wake-up enables sealed-battery keypads that last 5+ years on a single coin cell, ideal for door locks and appliances.
Recomendado
Appliance Front-Panel Controllers
Home-appliance front panels (washing machines, ovens, induction cooktops) require robust 5V-tolerant I/O for triac/relay control, segmented or TFT display drivers, and reliable motor-control timing. The PIC18F87K22T-I/PT's 70 GPIO drive multi-digit 7-segment or character LCDs without extra logic, while its CCP/ECCP units generate PWM and zero-cross control for AC loads. With 128KB Flash it can host bootloader plus vector graphics plus diagnostics, and the industrial -40 to +85 C range covers under-cabinet thermal environments. nanoWalt XLP keeps idle standby for smart appliances well under 100 uA.
Recomendado
Battery-Powered Sensor Hubs
For battery-driven sensor and IoT edge nodes, the PIC18F87K22T-I/PT's nanoWatt XLP Technology supplies sub-1 uA deep-sleep, RTC, and wake-on-touch via CTMU. The 128KB Flash accommodates Microchip's MPLAB X-generated C runtime plus LoRa, BLE, or sub-GHz radio drivers via SPI. Industrial temperature range plus wide 1.8-5.5V supply support direct attachment to lithium primary cells, energy harvesting inputs, or solar chargers. Up to 30 channels of 12-bit ADC enable multi-modal sensing (temperature, humidity, flow, voltage) per node.
Recomendado
Automotive Accessory Modules
Although not AEC-Q100 qualified, PIC18F87K22T-I/PT's industrial -40 to +85 C range and 5V tolerance make it suitable for non-safety automotive accessories such as interior lighting controllers, configurable door warning chimes, and aftermarket infotainment extenders. The 12-bit ADC reads battery sense, lighting current shunt, and rotary encoder inputs, while EUSART/SPI can connect to CAN transceivers. The 80-pin TQFP is pad-compatible with PIC18F8720/8722/8723 legacy automotive accessory designs, easing second-source procurement.
Recomendado
USB HID Human-Interface Devices
Custom HID peripherals (programmable keypads, studio controllers, instrumentation panel mounts) pair the PIC18F87K22T-I/PT with a USB 2.0 full-speed transceiver via the integrated EUSART/SPI or a host-side interface chip. The 128KB Flash holds the HID descriptor, keymaps, and MACRO/PROFILE firmware. 12-bit ADC enables analog-joystick or pedal-axis reading, while 4KB RAM buffers report frames. The industrial temperature range and wide 1.8-5.5V supply support bus-powered and self-powered designs in the same BOM.
Recomendado
Resumen de productos recomendados
Datos de referencia de ingeniería para PIC18F87K22T-I/PT — comparación, orientación de diseño e información de cumplimiento.
Guía de selección
Comparación con alternativas
| Parámetro | Este producto | PIC18F87K22-I/PT | PIC18F87K22T-E/PT | PIC18F86K22T-I/PT | PIC18F8723-I/PT | PIC18F85K22T-I/PT | PIC18F87J72-I/PT |
|---|---|---|---|---|---|---|---|
| Package | TQFP-80 (12x12 mm) | TQFP-80 (12x12 mm) - same | TQFP-80 (12x12 mm) - same | TQFP-80 (12x12 mm) - same | TQFP-80 (12x12 mm) - same | TQFP-80 (12x12 mm) - same | TQFP-80 (12x12 mm) - same |
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Program Memory (Flash) | 128 KB | 128 KB | 128 KB | 64 KB | 128 KB | 32 KB | 128 KB |
| RAM | 4 KB | 4 KB | 4 KB | 4 KB | 3.9 KB | 2 KB | 4 KB |
| Maximum CPU Clock | 64 MHz | 64 MHz | 64 MHz | 64 MHz | 40 MHz | 64 MHz | 48 MHz |
| CTMU (Capacitive Touch) | Yes | Yes | Yes | Yes | No | Yes | No |
| Operating Temperature | -40 C to +85 C (I) | -40 C to +85 C (I) | -40 C to +125 C (E) | -40 C to +85 C (I) | -40 C to +85 C (I) | -40 C to +85 C (I) | -40 C to +85 C (I) |
Diferenciadores clave
- Higher CPU clock than legacy F8723 (frente a PIC18F8723-I/PT)
- Larger Flash than PIC18F85K22 (frente a PIC18F85K22T-I/PT)
- nanoWatt XLP technology (frente a PIC18F87J72-I/PT)
Notas de diseño
Estimated: at the maximum 64 MHz CPU clock the PIC18F87K22 family draws roughly 15 mA active (Vdd=5V per datasheet typical values). Switching to 1 MHz via the internal oscillator drops consumption to about 2 mA. For battery applications, enter Sleep (typical <1 uA) and use RTCC, INTx, or PORT change-on-interrupt to wake. Place a 0.1 uF decoupling cap within 5 mm of every Vdd/Vss pair, plus a bulk 10 uF near the Vdd pins, to suppress XLP wake-up voltage ringing.
The 80-TQFP package requires fine-pitch (0.4 mm) fan-out; use 4 mil traces and 8 mil clearances with a 12x12 mm solder-paste stencil that mimics the land pattern. Keep the MCLR/ICSP pins (PGC/PGD on RB6/RB7, MCLR on pin 1) on the top layer or accessible via test pads for in-circuit programming. Route the quartz between OSC1/OSC2 with short traces and guard ground; if the PLL is used, route the PLL bypass capacitor close to the VCAP pin.
When using the CTMU for capacitive touch, isolate the CTMU charge-current pin from high-speed digital signals and route the touch sensor traces over a solid ground pour. For SPI peripherals running above 5 MHz, add 33 ohm series termination at the source pins to control rise-time ringing; keep the SPI clock length-matched to its data lines.
Do not confuse PIC18F87K22 with the similar-sounding PIC18F8722 or PIC18F8723: K22 variants use 64 MHz and nanoWalt XLP, while 8722/8723 use 40 MHz and lack CTMU. The PIC18F87J72 is a different Flash-and-ADC-lesser variant. Confirm the supply-voltage range (1.8 to 5.5 V or 4.2 to 5.5 V depending on frequency) before swapping parts. Unused I/O must be configured as outputs or inputs-with-pull-ups to avoid floating-pin current draw in Sleep.
Información de cumplimiento
RoHS and REACH compliant per Microchip product declaration. Not AEC-Q100 qualified; the standard PIC18F87K22 family is intended for industrial and commercial use rather than automotive safety-critical applications.