PIC18F87K22-I/PTRSL - 8-bit 64MHz XLP MCU 128KB Flash TQFP-80 | Microchip
MPN: PIC18F87K22-I/PTRSL ✓ פעילPIC18F87K22-I/PTRSL סקירה
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.
חלופות תחליף ישיר עבור PIC18F87K22-I/PTRSL — אותו מארז, תואם פין-לפין. חלקים במארז שונה הדורשים עיבוד מחדש של ה-PCB אינם נכללים.
וריאנטים בסדרה זו
דגמים מאותה סדרה התואמים Drop-in עם PIC18F87K22-I/PTRSL (אותו גורם צורה וטביעת רגל) — שונים ב Package, Timers, Core, Operating Temperature, ADC.
PIC18F87K22-I/PT
✅ Drop-Inצור קשר לקבלת מחיר
הצג גיליון נתונים ←PIC18F87K22T-I/PT
✅ Drop-Inצור קשר לקבלת מחיר
הצג גיליון נתונים ←PIC18F87K90T-I/PTRSL
✅ Drop-Inצור קשר לקבלת מחיר
הצג גיליון נתונים ←PIC18F87K22T-E/PT
✅ Drop-In📋 חלופה להתייחסות (לא בקטלוג)
PIC18F87K22-E/PT
✅ Drop-Inצור קשר לקבלת מחיר
הצג גיליון נתונים ←PIC18F87K22-I/PTRSL דירוגים מרביים ומאפיינים חשמליים
| 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 |
| מארז | 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 |
| טווח טמפרטורת פעולה | -40 C to +85 C (Industrial, -I suffix) |
| סטטוס RoHS | Compliant |
| סוג הרכבה | Surface Mount |
תצורת פינים של PIC18F87K22-I/PTRSL
| פין 1 | RE3/MCLR — MCLR/Reset input (RE3 alternate function) |
| פין 2 | RG0 — General purpose I/O port G bit 0 |
| פין 3 | RG1 — General purpose I/O port G bit 1 |
| פין 4 | RG2 — General purpose I/O port G bit 2 |
| פין 5 | RG3 — General purpose I/O port G bit 3 |
| פין 6 | RG4 — General purpose I/O port G bit 4 |
| פין 7 | VSS — Ground |
| פין 8 | VDD — Positive supply |
| פין 9 | RA0/AN0 — PORTA bit 0 / Analog input 0 |
| פין 10 | RA1/AN1 — PORTA bit 1 / Analog input 1 |
| פין 11 | RA2/AN2 — PORTA bit 2 / Analog input 2 |
| פין 12 | RA3/AN3 — PORTA bit 3 / Analog input 3 |
| פין 13 | RA4 — PORTA bit 4 |
| פין 14 | RA5/AN4 — PORTA bit 5 / Analog input 4 |
| פין 15 | RA6 — PORTA bit 6 / Oscillator |
| פין 16 | RA7 — PORTA bit 7 / Oscillator |
| פין 17 | VSS — Ground |
| פין 18 | VDD — Positive supply |
| פין 19 | RB0/INT0 — PORTB bit 0 / External interrupt 0 |
| פין 20 | RB1/INT1 — PORTB bit 1 / External interrupt 1 |
| פין 21 | RB2/INT2 — PORTB bit 2 / External interrupt 2 |
| פין 22 | RB3/INT3 — PORTB bit 3 / External interrupt 3 |
| פין 23 | RB4 — PORTB bit 4 |
| פין 24 | RB5 — PORTB bit 5 |
| פין 25 | RB6/PGC — PORTB bit 6 / ICD clock |
| פין 26 | RB7/PGD — PORTB bit 7 / ICD data |
| פין 27 | VSS — Ground |
| פין 28 | VDD — Positive supply |
| פין 29 | RC0 — PORTC bit 0 |
| פין 30 | RC1 — PORTC bit 1 |
| פין 31 | RC2 — PORTC bit 2 |
| פין 32 | RC3 — PORTC bit 3 |
| פין 33 | RC4 — PORTC bit 4 |
| פין 34 | RC5 — PORTC bit 5 |
| פין 35 | RC6 — PORTC bit 6 |
| פין 36 | RC7 — PORTC bit 7 |
| פין 37 | VSS — Ground |
| פין 38 | VDD — Positive supply |
| פין 39 | RD0 — PORTD bit 0 |
| פין 40 | RD1 — PORTD bit 1 |
| פין 41 | RD2 — PORTD bit 2 |
| פין 42 | RD3 — PORTD bit 3 |
| פין 43 | RD4 — PORTD bit 4 |
| פין 44 | RD5 — PORTD bit 5 |
| פין 45 | RD6 — PORTD bit 6 |
| פין 46 | RD7 — PORTD bit 7 |
| פין 47 | VSS — Ground |
| פין 48 | VDD — Positive supply |
| פין 49 | RE0 — PORTE bit 0 |
| פין 50 | RE1 — PORTE bit 1 |
| פין 51 | RE2 — PORTE bit 2 |
| פין 52 | RE3 — PORTE bit 3 |
| פין 53 | VSS — Ground |
| פין 54 | VDD — Positive supply |
| פין 55 | RF0 — PORTF bit 0 |
| פין 56 | RF1 — PORTF bit 1 |
| פין 57 | RF2 — PORTF bit 2 |
| פין 58 | RF3 — PORTF bit 3 |
| פין 59 | RF4 — PORTF bit 4 |
| פין 60 | RF5 — PORTF bit 5 |
| פין 61 | RF6 — PORTF bit 6 |
| פין 62 | RF7 — PORTF bit 7 |
| פין 63 | VSS — Ground |
| פין 64 | VDD — Positive supply |
| פין 65 | RG5 — PORTG bit 5 |
| פין 66 | RG6 — PORTG bit 6 |
| פין 67 | RG7 — PORTG bit 7 |
| פין 68 | RH0 — PORTH bit 0 |
| פין 69 | RH1 — PORTH bit 1 |
| פין 70 | RH2 — PORTH bit 2 |
| פין 71 | RH3 — PORTH bit 3 |
| פין 72 | RH4 — PORTH bit 4 |
| פין 73 | RH5 — PORTH bit 5 |
| פין 74 | RH6 — PORTH bit 6 |
| פין 75 | RH7 — PORTH bit 7 |
| פין 76 | VSS — Ground |
| פין 77 | VDD — Positive supply |
| פין 78 | RJ0 — PORTJ bit 0 |
| פין 79 | RJ1 — PORTJ bit 1 |
| פין 80 | RJ2 — PORTJ bit 2 / AVss reference (multiplexed) |
יישומים טיפוסיים
PIC18F87K22-I/PTRSL מתאים עבור 6 יישוםs: 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.
מומלץ
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.
מומלץ
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.
מומלץ
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.
מומלץ
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.
מומלץ
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.
מומלץ
סיכום מוצרים מומלצים
נתוני עזר הנדסיים עבור PIC18F87K22-I/PTRSL — השוואה, הנחיות תכנון ומידע על תאימות.
מדריך בחירה
השוואה עם חלופות
| פרמטר | מוצר זה | 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 |
מבדילים עיקריים
- Highest Flash density among PIC18 K22 family in 80-pin TQFP (לעומתPIC18F85K22T-I/PTRSL)
- Higher memory density than earlier PIC18F8722 in same TQFP-80 footprint (לעומתPIC18F8722-I/PT)
- Industrial temperature and tape-and-reel ready for production lines (לעומתPIC18F87K22-I/PT (tray only))
הערות תכנון
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.
מידע על תאימות
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.