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.
جایگزینهای drop-in برای PIC18F87K22-I/PTRSL — همان پکیج، سازگار پینبهپین. قطعات با پکیج متفاوت که نیاز به تغییر PCB دارند مستثنی هستند.
گونهها در این سری
مدلهای همسری که جایگزین مستقیم هستند برای PIC18F87K22-I/PTRSL (همان فرمفاکتور و فوتپرینت) — متفاوت در Package, Timers, Core, Operating Temperature, ADC.
PIC18F87K22-I/PT
✅ جایگزین مستقیمبرای قیمت تماس بگیرید
مشاهده دیتاشیت ←PIC18F87K22T-I/PT
✅ جایگزین مستقیمبرای قیمت تماس بگیرید
مشاهده دیتاشیت ←PIC18F87K90T-I/PTRSL
✅ جایگزین مستقیمبرای قیمت تماس بگیرید
مشاهده دیتاشیت ←PIC18F87K22T-E/PT
✅ جایگزین مستقیم📋 جایگزین مرجع (خارج از کاتالوگ)
PIC18F87K22-E/PT
✅ جایگزین مستقیمبرای قیمت تماس بگیرید
مشاهده دیتاشیت ←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.