PIC18F87K22-I/PTRSL - 8-bit 64MHz XLP MCU 128KB Flash TQFP-80 | Microchip
MPN: PIC18F87K22-I/PTRSL ✓ AktifPIC18F87K22-I/PTRSL Ringkasan
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.
Alternatif penggantian untuk PIC18F87K22-I/PTRSL — paket yang sama, pin-pada-pin kompatibel. Bagian paket yang berbeda memerlukan kerja ulang PCB diabaikan.
Variasi di dalam seri ini
Model-series yang sama yang kompatibel dengan penggantian PIC18F87K22-I/PTRSL (sama faktor bentuk dan footprint) — berbeda di dalam Package, Timers, Core, Operating Temperature, ADC.
PIC18F87K22-I/PT
✅ Drop-InKontak untuk harga
Lihat Datasheet →PIC18F87K22T-I/PT
✅ Drop-InKontak untuk harga
Lihat Datasheet →PIC18F87K90T-I/PTRSL
✅ Drop-InKontak untuk harga
Lihat Datasheet →PIC18F87K22T-E/PT
✅ Drop-In📋 Alternatif referensi (tidak dalam katalog)
PIC18F87K22-E/PT
✅ Drop-InKontak untuk harga
Lihat Datasheet →PIC18F87K22-I/PTRSL Rating Maksimal & Karakteristik Listrik
| 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 |
| Paket | 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 |
| Rentang Suhu Kerja | -40 C to +85 C (Industrial, -I suffix) |
| Status RoHS | Compliant |
| Tipe Mounting | Surface Mount |
Konfigurasi Pin PIC18F87K22-I/PTRSL
| Pin produk 1 | RE3/MCLR — MCLR/Reset input (RE3 alternate function) |
| Pin produk 2 | RG0 — General purpose I/O port G bit 0 |
| Pin produk 3 | RG1 — General purpose I/O port G bit 1 |
| Pin produk 4 | RG2 — General purpose I/O port G bit 2 |
| Pin produk 5 | RG3 — General purpose I/O port G bit 3 |
| Pin produk 6 | RG4 — General purpose I/O port G bit 4 |
| Pin produk 7 | VSS — Ground |
| Pin produk 8 | VDD — Positive supply |
| Pin produk 9 | RA0/AN0 — PORTA bit 0 / Analog input 0 |
| Pin produk 10 | RA1/AN1 — PORTA bit 1 / Analog input 1 |
| Pin produk 11 | RA2/AN2 — PORTA bit 2 / Analog input 2 |
| Pin produk 12 | RA3/AN3 — PORTA bit 3 / Analog input 3 |
| Pin produk 13 | RA4 — PORTA bit 4 |
| Pin produk 14 | RA5/AN4 — PORTA bit 5 / Analog input 4 |
| Pin produk 15 | RA6 — PORTA bit 6 / Oscillator |
| Pin produk 16 | RA7 — PORTA bit 7 / Oscillator |
| Pin produk 17 | VSS — Ground |
| Pin produk 18 | VDD — Positive supply |
| Pin produk 19 | RB0/INT0 — PORTB bit 0 / External interrupt 0 |
| Pin produk 20 | RB1/INT1 — PORTB bit 1 / External interrupt 1 |
| Pin produk 21 | RB2/INT2 — PORTB bit 2 / External interrupt 2 |
| Pin produk 22 | RB3/INT3 — PORTB bit 3 / External interrupt 3 |
| Pin produk 23 | RB4 — PORTB bit 4 |
| Pin produk 24 | RB5 — PORTB bit 5 |
| Pin produk 25 | RB6/PGC — PORTB bit 6 / ICD clock |
| Pin produk 26 | RB7/PGD — PORTB bit 7 / ICD data |
| Pin produk 27 | VSS — Ground |
| Pin produk 28 | VDD — Positive supply |
| Pin produk 29 | RC0 — PORTC bit 0 |
| Pin produk 30 | RC1 — PORTC bit 1 |
| Pin produk 31 | RC2 — PORTC bit 2 |
| Pin produk 32 | RC3 — PORTC bit 3 |
| Pin produk 33 | RC4 — PORTC bit 4 |
| Pin produk 34 | RC5 — PORTC bit 5 |
| Pin produk 35 | RC6 — PORTC bit 6 |
| Pin produk 36 | RC7 — PORTC bit 7 |
| Pin produk 37 | VSS — Ground |
| Pin produk 38 | VDD — Positive supply |
| Pin produk 39 | RD0 — PORTD bit 0 |
| Pin produk 40 | RD1 — PORTD bit 1 |
| Pin produk 41 | RD2 — PORTD bit 2 |
| Pin produk 42 | RD3 — PORTD bit 3 |
| Pin produk 43 | RD4 — PORTD bit 4 |
| Pin produk 44 | RD5 — PORTD bit 5 |
| Pin produk 45 | RD6 — PORTD bit 6 |
| Pin produk 46 | RD7 — PORTD bit 7 |
| Pin produk 47 | VSS — Ground |
| Pin produk 48 | VDD — Positive supply |
| Pin produk 49 | RE0 — PORTE bit 0 |
| Pin produk 50 | RE1 — PORTE bit 1 |
| Pin produk 51 | RE2 — PORTE bit 2 |
| Pin produk 52 | RE3 — PORTE bit 3 |
| Pin produk 53 | VSS — Ground |
| Pin produk 54 | VDD — Positive supply |
| Pin produk 55 | RF0 — PORTF bit 0 |
| Pin produk 56 | RF1 — PORTF bit 1 |
| Pin produk 57 | RF2 — PORTF bit 2 |
| Pin produk 58 | RF3 — PORTF bit 3 |
| Pin produk 59 | RF4 — PORTF bit 4 |
| Pin produk 60 | RF5 — PORTF bit 5 |
| Pin produk 61 | RF6 — PORTF bit 6 |
| Pin produk 62 | RF7 — PORTF bit 7 |
| Pin produk 63 | VSS — Ground |
| Pin produk 64 | VDD — Positive supply |
| Pin produk 65 | RG5 — PORTG bit 5 |
| Pin produk 66 | RG6 — PORTG bit 6 |
| Pin produk 67 | RG7 — PORTG bit 7 |
| Pin produk 68 | RH0 — PORTH bit 0 |
| Pin produk 69 | RH1 — PORTH bit 1 |
| Pin produk 70 | RH2 — PORTH bit 2 |
| Pin produk 71 | RH3 — PORTH bit 3 |
| Pin produk 72 | RH4 — PORTH bit 4 |
| Pin produk 73 | RH5 — PORTH bit 5 |
| Pin produk 74 | RH6 — PORTH bit 6 |
| Pin produk 75 | RH7 — PORTH bit 7 |
| Pin produk 76 | VSS — Ground |
| Pin produk 77 | VDD — Positive supply |
| Pin produk 78 | RJ0 — PORTJ bit 0 |
| Pin produk 79 | RJ1 — PORTJ bit 1 |
| Pin produk 80 | RJ2 — PORTJ bit 2 / AVss reference (multiplexed) |
Aplikasi Umum
PIC18F87K22-I/PTRSL cocok untuk 6 aplikasis: 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.
Direkomendasikan
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.
Direkomendasikan
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.
Direkomendasikan
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.
Direkomendasikan
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.
Direkomendasikan
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.
Direkomendasikan
Ringkasan Produk Direkomendasikan
Data referensi engineering untuk PIC18F87K22-I/PTRSL — pembandingan, panduan desain, dan informasi konformitas.
Panduan Pemilihan
Pembandingan dengan Alternatif
| Parameter Umum | Produk Ini | 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 |
Diferensiator Kunci
- Highest Flash density among PIC18 K22 family in 80-pin TQFP (vsPIC18F85K22T-I/PTRSL)
- Higher memory density than earlier PIC18F8722 in same TQFP-80 footprint (vsPIC18F8722-I/PT)
- Industrial temperature and tape-and-reel ready for production lines (vsPIC18F87K22-I/PT (tray only))
Catatan Desain
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.
Informasi Konformitas
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.