PIC18F87K22-I/PTRSL - 8-bit 64MHz XLP MCU 128KB Flash TQFP-80 | Microchip
N.º da peça: PIC18F87K22-I/PTRSL ✓ Ativo| Qtd. | Preço unitário | Total |
|---|---|---|
| 1 | $9.45 | $9,45 |
| 10 | $8.62 | $86,20 |
| 100 | $7.55 | $755,00 |
| 500 | $6.83 | $3.415,00 |
| 1.000 | $6.12 | $6.120,00 |
PIC18F87K22-I/PTRSL Visão geral
A microcontroller (MCU) is a single-chip computer that integrates a CPU core, program and data memory, peripherals, and I/O on one silicon die, designed to be embedded inside larger electronic systems. PIC microcontrollers use a Harvard-architecture 8-bit RISC instruction set (the K22 family is part of the broader PIC18 family, which itself belongs to the 8-bit microcontroller category under embedded processors and power management-adjacent mixed-signal ICs). The PIC18F87K22 sits at the high-pin-count top of the family, offering up to 69 general-purpose I/O lines and a 1.8V to 5.5V wide operating voltage range suited to battery-powered designs.
Key features include 75 base instructions with an 8x8 hardware multiplier and extended watchdog timer, an ICD (In-Circuit Debug) interface, two USART modules, two MSSP (SPI/I2C) modules, an enhanced CCP module, eleven timers, a parallel slave port, and XLP sleep currents in the nanoamp range. The CTMU peripheral enables capacitive touch sensing and precise time-domain applications such as flow metering and proximity detection without external analog ICs.
The 80-pin TQFP footprint is largely pin-compatible with earlier PIC18F8720/8722/85J11 families, allowing reuse of existing PCB layouts while gaining XLP power savings and 12-bit ADC performance. The high integration reduces external component count in mixed-signal designs, while the 8-bit RISC pipeline keeps deterministic interrupt latency and predictable firmware execution.
Typical applications include capacitive touch human-interface panels, battery-powered industrial sensors, USB/connected peripherals using the PIC18 USB stack, low-power instrumentation, and automotive body controllers. The 12-bit ADC with up to 24 channels supports multi-sensor acquisition, while the 5.5V tolerance simplifies direct interface to 5V sensors and actuators.
When designing with this device, allocate the ADC reference pin (VREF+/VREF-) appropriately and add bulk decoupling near the AVDD/AVSS rails to preserve 12-bit conversion linearity. The PIM variant (MA180028) plugs into the PIC18 Explorer Board (DM183032) for fast prototyping and code migration from earlier PIC18 platforms.
This page synthesizes distributor pricing, drop-in same-package alternatives, application examples, and practical design notes for the PIC18F87K22-I/PTRSL - information not consolidated on any single manufacturer or distributor page.
Alternativas drop-in para PIC18F87K22-I/PTRSL — mesmo encapsulamento, compatível pino a pino. Peças de encapsulamento diferente que exigem retrabalho na PCB são excluídas.
Variantes desta série
Modelos da mesma série compatíveis como drop-in com PIC18F87K22-I/PTRSL (mesmo formato e footprint) — diferindo em Package, Timers, Core, Operating Temperature, ADC.
Ferramenta de comparação rápida — selecione peças alternativas para comparação lado a lado:
PIC18F87K22-I/PT
✅ Drop-In✓ Em estoque
$5.27 / unidade
Ver ficha técnica →PIC18F87K22T-I/PT
✅ Drop-In✓ Em estoque
$7.95 / unidade
Ver ficha técnica →PIC18F87K90T-I/PTRSL
✅ Drop-In✓ Em estoque
$6.3 / unidade
Ver ficha técnica →PIC18F87K22T-E/PT
✅ Drop-In📋 Alternativa de referência (fora do catálogo)
PIC18F87K22-E/PT
✅ Drop-In✓ Em estoque
$7.65 / unidade
Ver ficha técnica →PIC18F87K22-I/PTRSL Classificações máximas e características elétricas
| Core | PIC18 8-bit RISC, 75 instructions |
| CPU Clock Speed | 64 MHz |
| Flash Program Memory | 128 KB (64K x 16) |
| SRAM | 4 KB |
| EEPROM | 1 KB |
| Operating Voltage | 1.8 V to 5.5 V |
| Encapsulamento | 80-pin TQFP (12x12 mm) |
| I/O Pins | 69 |
| ADC | 12-bit, up to 24 channels |
| Timers | 11 |
| MSSP Modules | 2 (SPI / I2C) |
| USART Modules | 2 |
| CCP / ECCP Modules | Yes (enhanced) |
| CTMU | Charge Time Measurement Unit |
| Hardware Multiplier | 8x8 |
| Parallel Slave Port | Yes |
| Watchdog Timer | Yes (WDT with prescaler, extended) |
| In-Circuit Debug | ICD |
| Low-power Technology | nanoWatt XLP |
| Faixa de temperatura de operação | -40 C to +85 C (Industrial, -I suffix) |
| Status RoHS | Compliant |
| Tipo de montagem | Surface Mount |
Configuração de pinos do PIC18F87K22-I/PTRSL
| Pino 1 | RE3/MCLR — MCLR/Reset input (RE3 alternate function) |
| Pino 2 | RG0 — General purpose I/O port G bit 0 |
| Pino 3 | RG1 — General purpose I/O port G bit 1 |
| Pino 4 | RG2 — General purpose I/O port G bit 2 |
| Pino 5 | RG3 — General purpose I/O port G bit 3 |
| Pino 6 | RG4 — General purpose I/O port G bit 4 |
| Pino 7 | VSS — Ground |
| Pino 8 | VDD — Positive supply |
| Pino 9 | RA0/AN0 — PORTA bit 0 / Analog input 0 |
| Pino 10 | RA1/AN1 — PORTA bit 1 / Analog input 1 |
| Pino 11 | RA2/AN2 — PORTA bit 2 / Analog input 2 |
| Pino 12 | RA3/AN3 — PORTA bit 3 / Analog input 3 |
| Pino 13 | RA4 — PORTA bit 4 |
| Pino 14 | RA5/AN4 — PORTA bit 5 / Analog input 4 |
| Pino 15 | RA6 — PORTA bit 6 / Oscillator |
| Pino 16 | RA7 — PORTA bit 7 / Oscillator |
| Pino 17 | VSS — Ground |
| Pino 18 | VDD — Positive supply |
| Pino 19 | RB0/INT0 — PORTB bit 0 / External interrupt 0 |
| Pino 20 | RB1/INT1 — PORTB bit 1 / External interrupt 1 |
| Pino 21 | RB2/INT2 — PORTB bit 2 / External interrupt 2 |
| Pino 22 | RB3/INT3 — PORTB bit 3 / External interrupt 3 |
| Pino 23 | RB4 — PORTB bit 4 |
| Pino 24 | RB5 — PORTB bit 5 |
| Pino 25 | RB6/PGC — PORTB bit 6 / ICD clock |
| Pino 26 | RB7/PGD — PORTB bit 7 / ICD data |
| Pino 27 | VSS — Ground |
| Pino 28 | VDD — Positive supply |
| Pino 29 | RC0 — PORTC bit 0 |
| Pino 30 | RC1 — PORTC bit 1 |
| Pino 31 | RC2 — PORTC bit 2 |
| Pino 32 | RC3 — PORTC bit 3 |
| Pino 33 | RC4 — PORTC bit 4 |
| Pino 34 | RC5 — PORTC bit 5 |
| Pino 35 | RC6 — PORTC bit 6 |
| Pino 36 | RC7 — PORTC bit 7 |
| Pino 37 | VSS — Ground |
| Pino 38 | VDD — Positive supply |
| Pino 39 | RD0 — PORTD bit 0 |
| Pino 40 | RD1 — PORTD bit 1 |
| Pino 41 | RD2 — PORTD bit 2 |
| Pino 42 | RD3 — PORTD bit 3 |
| Pino 43 | RD4 — PORTD bit 4 |
| Pino 44 | RD5 — PORTD bit 5 |
| Pino 45 | RD6 — PORTD bit 6 |
| Pino 46 | RD7 — PORTD bit 7 |
| Pino 47 | VSS — Ground |
| Pino 48 | VDD — Positive supply |
| Pino 49 | RE0 — PORTE bit 0 |
| Pino 50 | RE1 — PORTE bit 1 |
| Pino 51 | RE2 — PORTE bit 2 |
| Pino 52 | RE3 — PORTE bit 3 |
| Pino 53 | VSS — Ground |
| Pino 54 | VDD — Positive supply |
| Pino 55 | RF0 — PORTF bit 0 |
| Pino 56 | RF1 — PORTF bit 1 |
| Pino 57 | RF2 — PORTF bit 2 |
| Pino 58 | RF3 — PORTF bit 3 |
| Pino 59 | RF4 — PORTF bit 4 |
| Pino 60 | RF5 — PORTF bit 5 |
| Pino 61 | RF6 — PORTF bit 6 |
| Pino 62 | RF7 — PORTF bit 7 |
| Pino 63 | VSS — Ground |
| Pino 64 | VDD — Positive supply |
| Pino 65 | RG5 — PORTG bit 5 |
| Pino 66 | RG6 — PORTG bit 6 |
| Pino 67 | RG7 — PORTG bit 7 |
| Pino 68 | RH0 — PORTH bit 0 |
| Pino 69 | RH1 — PORTH bit 1 |
| Pino 70 | RH2 — PORTH bit 2 |
| Pino 71 | RH3 — PORTH bit 3 |
| Pino 72 | RH4 — PORTH bit 4 |
| Pino 73 | RH5 — PORTH bit 5 |
| Pino 74 | RH6 — PORTH bit 6 |
| Pino 75 | RH7 — PORTH bit 7 |
| Pino 76 | VSS — Ground |
| Pino 77 | VDD — Positive supply |
| Pino 78 | RJ0 — PORTJ bit 0 |
| Pino 79 | RJ1 — PORTJ bit 1 |
| Pino 80 | RJ2 — PORTJ bit 2 / AVss reference (multiplexed) |
Aplicações típicas
PIC18F87K22-I/PTRSL é adequado para 6 aplicaçãos: Capacitive Touch HMI Panel, Battery-Powered Industrial Sensor Node, Low-Power USB Device Peripheral, Automotive Body and Climate Controller, Industrial Instrumentation and Data Logging, Display and Segment-LCD Interface Module.
Capacitive Touch HMI Panel
The PIC18F87K22-I/PTRSL is well matched to capacitive touch HMI panels because the on-chip CTMU peripheral pairs with the 12-bit ADC to measure capacitance on each electrode without external analog ICs. The 69 available I/O support 16+ touch channels plus LEDs and segment/LCD drive. XLP nanoWatt sleep modes let battery-powered panels drop to nanoamp standby between scans. Compared with an external touch controller, the integrated CTMU approach reduces BOM cost and frees board area for the touch sensor pattern. The 64 MHz CPU executes Microchip's mTouch decoding library comfortably, leaving MIPS for UI logic and serial communications to a host.
Recomendado
Battery-Powered Industrial Sensor Node
The PIC18F87K22-I/PTRSL fits battery-powered sensor nodes because its 1.8-5.5 V VDD range lets it run from a single Li-ion or two AA cells, and XLP nanoWatt technology brings sleep current into the nanoamp region. The 12-bit ADC with up to 24 channels supports multi-input acquisition (temperature, pressure, flow) with one MCU. The 80-pin TQFP gives generous I/O for sensor fan-out, switch inputs, and a low-power radio like Sub-GHz or LoRa via SPI through the MSSP. Predictable 8-bit interrupt latency simplifies deterministic sampling windows for low-power duty-cycled measurement.
Recomendado
Low-Power USB Device Peripheral
The PIC18F87K22-I/PTRSL is suitable for low-power USB device peripherals using Microchip's USB stack and a minimal external USB transceiver circuit on D+/D-. The 64 MHz CPU supports full-speed USB polling and application logic simultaneously, while 128 KB Flash and 4 KB RAM accommodate CDC/HID/composite class stacks plus application code. The wide 1.8-5.5 V VDD range simplifies bus-powered designs, and XLP modes cut suspend current. The 80-pin TQFP gives 69 I/O for buttons, LEDs, and downstream serial links via two USARTs and two MSSP modules.
Recomendado
Automotive Body and Climate Controller
The PIC18F87K22-I/PTRSL suits automotive body controllers (window/liftgate, HVAC, lighting) thanks to its 12-bit ADC, 24 channels, and 11 timers for PWM fan/light control. The 80-pin TQFP gives enough I/O for switch scanning, motor H-bridge enables, and CAN/LIN via external transceivers through USART/MSSP. Industrial-grade -I/-40C to +85C parts cover most cabin applications; extended-temperature variants exist for underhood use. XLP sleep modes keep quiescent draw low for always-on body electronics where parasitic loss is regulated.
Recomendado
Industrial Instrumentation and Data Logging
The PIC18F87K22-I/PTRSL serves well in industrial data loggers because its 12-bit ADC with up to 24 channels handles multiple analog sensors, and 128 KB Flash can store calibration tables plus event logs. The two USARTs support RS-232/RS-485 sensor links or a Modbus master; the two MSSP modules drive SPI flash and I2C sensors simultaneously. The 64 MHz CPU enables FFT-like pre-processing before logging. XLP sleep modes let battery-backed loggers idle for months between measurement bursts, while the 80-pin TQFP footprint is rugged on industrial PCBs.
Recomendado
Display and Segment-LCD Interface Module
The PIC18F87K22-I/PTRSL drives segment-LCD or small TFT displays because its 69 I/O can multiplex substantial displays and the 64 MHz clock refreshes graphics quickly. The 12-bit ADC and CTMU let the same MCU handle both display refresh and touch input on HMI modules, eliminating a dedicated touch controller. The 128 KB Flash accommodates Microchip's graphics library plus application UI code. The wide 1.8-5.5 V VDD supports direct drive of 3.3 V TFTs or charge-pumped 5 V segment LCDs.
Recomendado
Resumo dos produtos recomendados
Dados de referência de engenharia para PIC18F87K22-I/PTRSL — comparação, orientação de projeto e informações de conformidade.
Guia de seleção
Comparação com alternativas
| Parâmetro | Este produto | PIC18F87K22-I/PT | PIC18F87K22T-I/PT | PIC18F87K90T-I/PTRSL | PIC18F87K22T-E/PT | PIC18F87K22-E/PT |
|---|---|---|---|---|---|---|
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| 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 |
| Core / Architecture | PIC18 8-bit RISC, 75 instructions | PIC18 8-bit RISC, 75 instructions | PIC18 8-bit RISC, 75 instructions | PIC18 8-bit RISC, 75 instructions | PIC18 8-bit RISC, 75 instructions | PIC18 8-bit RISC, 75 instructions |
| CPU Clock | 64 MHz | 64 MHz | 64 MHz | 64 MHz | 64 MHz | 64 MHz |
| ADC | 12-bit, 24 channels | 12-bit, 24 channels | 12-bit, 24 channels | 12-bit | 12-bit, 24 channels | 12-bit, 24 channels |
| 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 | 1.8 V to 5.5 V |
| Temperature Grade | Industrial -40 C to +85 C | Industrial -40 C to +85 C | Industrial -40 C to +85 C | Industrial -40 C to +85 C | Extended -40 C to +125 C | Extended -40 C to +125 C |
| Packaging Form | Tray (PTRSL) | Tray (PT) | Tape & Reel (T) | Tray | Tape & Reel | Tray |
Principais diferenciais
- Highest Flash density among PIC18 K22 family in 80-pin TQFP (vs PIC18F85K22T-I/PTRSL)
- Higher memory density than earlier PIC18F8722 in same TQFP-80 footprint (vs PIC18F8722-I/PT)
- Industrial temperature and tape-and-reel ready for production lines (vs PIC18F87K22-I/PT (tray only))
Notas de projeto
Place a 100 nF decoupling capacitor as close as possible to every VDD/VSS pin pair on the 80-pin TQFP footprint (there are multiple VDD/VSS pairs around the package perimeter). Add a single 10 uF bulk capacitor at the package supply entry to handle switching peaks during ADC conversions and CTMU charge pulses. For battery-powered designs running XLP sleep modes, also include a small 1 uF reservoir to limit inrush when waking from sleep to 64 MHz active mode.
Route the analog AVdd/AVss rails from a clean filtered source - prefer a ferrite bead + 100 nF + 10 uF star from digital VDD - to preserve 12-bit ADC linearity. Keep ADC traces short and away from the CTMU drive edges. The 80-pin TQFP's exposed thermal pad (where present in this variant) should be soldered to a copper pour for thermal relief at high CPU loads.
Do not assume the /PTRSL suffix is a unique die variant - the /PT and T/PT parts are electrically identical and drop-in compatible. Verify the suffix on incoming reels vs. your BOM to avoid confusion. The ICD pins RB6/PGC and RB7/PGD must not be pulled low at power-up if in-circuit debug is required; otherwise program normally. Configuration bits must be set explicitly for the PLL to enable 64 MHz operation from lower-frequency oscillator modes.
When driving long LED or relay cables from PORTD/PORTE/PORTF, place series resistors close to the MCU pins and add TVS protection at the connector. For CTMU touch sensing, guard-ring traces around each electrode should be driven by a quiet GPIO to suppress sneak currents; per Microchip mTouch design notes, the guard should track the driven electrode and connect to a low-impedance ground reference.
Informações de conformidade
RoHS compliant per Microchip product page. Industrial temperature -40C to +85C; extended -40C to +125C variants available (E suffix). AEC-Q100 not applicable to standard -I industrial grade; automotive customers should evaluate -E or dedicated automotive PIC18 parts.