PIC18F87K22-I/PTRSL - 8-bit 64MHz XLP MCU 128KB Flash TQFP-80 | Microchip
MPN: PIC18F87K22-I/PTRSL ✓ Hoạt độngPIC18F87K22-I/PTRSL Tóm tắt
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.
Bộ thay thế dễ dàng lắp đặt cho PIC18F87K22-I/PTRSL — cùng gói, chân-to-chân tương thích. Các bộ phận yêu cầu hàn PCB bị loại trừ.
Các biến thể trong loạt này
Các mẫu cùng loạt có thể lắp đặt dễ dàng tương thích với PIC18F87K22-I/PTRSL (cùng hình factor và footprint) — khác nhau ở Package, Timers, Core, Operating Temperature, ADC.
PIC18F87K22-I/PT
✅ Drop-InLiên hệ để biết giá
Xem tài liệu →PIC18F87K22T-I/PT
✅ Drop-InLiên hệ để biết giá
Xem tài liệu →PIC18F87K90T-I/PTRSL
✅ Drop-InLiên hệ để biết giá
Xem tài liệu →PIC18F87K22T-E/PT
✅ Drop-In📋 Tham chiếu thay thế (không có trong danh mục)
PIC18F87K22-E/PT
✅ Drop-InLiên hệ để biết giá
Xem tài liệu →PIC18F87K22-I/PTRSL Tỷ lệ tối đa & tính chất điện
| 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 |
| Hộp | 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 |
| Khoảng nhiệt độ hoạt động | -40 C to +85 C (Industrial, -I suffix) |
| Trạng thái RoHS | Compliant |
| Kiểu lắp đặt | Surface Mount |
Cấu hình chân PIC18F87K22-I/PTRSL
| Chân 1 | RE3/MCLR — MCLR/Reset input (RE3 alternate function) |
| Chân 2 | RG0 — General purpose I/O port G bit 0 |
| Chân 3 | RG1 — General purpose I/O port G bit 1 |
| Chân 4 | RG2 — General purpose I/O port G bit 2 |
| Chân 5 | RG3 — General purpose I/O port G bit 3 |
| Chân 6 | RG4 — General purpose I/O port G bit 4 |
| Chân 7 | VSS — Ground |
| Chân 8 | VDD — Positive supply |
| Chân 9 | RA0/AN0 — PORTA bit 0 / Analog input 0 |
| Chân 10 | RA1/AN1 — PORTA bit 1 / Analog input 1 |
| Chân 11 | RA2/AN2 — PORTA bit 2 / Analog input 2 |
| Chân 12 | RA3/AN3 — PORTA bit 3 / Analog input 3 |
| Chân 13 | RA4 — PORTA bit 4 |
| Chân 14 | RA5/AN4 — PORTA bit 5 / Analog input 4 |
| Chân 15 | RA6 — PORTA bit 6 / Oscillator |
| Chân 16 | RA7 — PORTA bit 7 / Oscillator |
| Chân 17 | VSS — Ground |
| Chân 18 | VDD — Positive supply |
| Chân 19 | RB0/INT0 — PORTB bit 0 / External interrupt 0 |
| Chân 20 | RB1/INT1 — PORTB bit 1 / External interrupt 1 |
| Chân 21 | RB2/INT2 — PORTB bit 2 / External interrupt 2 |
| Chân 22 | RB3/INT3 — PORTB bit 3 / External interrupt 3 |
| Chân 23 | RB4 — PORTB bit 4 |
| Chân 24 | RB5 — PORTB bit 5 |
| Chân 25 | RB6/PGC — PORTB bit 6 / ICD clock |
| Chân 26 | RB7/PGD — PORTB bit 7 / ICD data |
| Chân 27 | VSS — Ground |
| Chân 28 | VDD — Positive supply |
| Chân 29 | RC0 — PORTC bit 0 |
| Chân 30 | RC1 — PORTC bit 1 |
| Chân 31 | RC2 — PORTC bit 2 |
| Chân 32 | RC3 — PORTC bit 3 |
| Chân 33 | RC4 — PORTC bit 4 |
| Chân 34 | RC5 — PORTC bit 5 |
| Chân 35 | RC6 — PORTC bit 6 |
| Chân 36 | RC7 — PORTC bit 7 |
| Chân 37 | VSS — Ground |
| Chân 38 | VDD — Positive supply |
| Chân 39 | RD0 — PORTD bit 0 |
| Chân 40 | RD1 — PORTD bit 1 |
| Chân 41 | RD2 — PORTD bit 2 |
| Chân 42 | RD3 — PORTD bit 3 |
| Chân 43 | RD4 — PORTD bit 4 |
| Chân 44 | RD5 — PORTD bit 5 |
| Chân 45 | RD6 — PORTD bit 6 |
| Chân 46 | RD7 — PORTD bit 7 |
| Chân 47 | VSS — Ground |
| Chân 48 | VDD — Positive supply |
| Chân 49 | RE0 — PORTE bit 0 |
| Chân 50 | RE1 — PORTE bit 1 |
| Chân 51 | RE2 — PORTE bit 2 |
| Chân 52 | RE3 — PORTE bit 3 |
| Chân 53 | VSS — Ground |
| Chân 54 | VDD — Positive supply |
| Chân 55 | RF0 — PORTF bit 0 |
| Chân 56 | RF1 — PORTF bit 1 |
| Chân 57 | RF2 — PORTF bit 2 |
| Chân 58 | RF3 — PORTF bit 3 |
| Chân 59 | RF4 — PORTF bit 4 |
| Chân 60 | RF5 — PORTF bit 5 |
| Chân 61 | RF6 — PORTF bit 6 |
| Chân 62 | RF7 — PORTF bit 7 |
| Chân 63 | VSS — Ground |
| Chân 64 | VDD — Positive supply |
| Chân 65 | RG5 — PORTG bit 5 |
| Chân 66 | RG6 — PORTG bit 6 |
| Chân 67 | RG7 — PORTG bit 7 |
| Chân 68 | RH0 — PORTH bit 0 |
| Chân 69 | RH1 — PORTH bit 1 |
| Chân 70 | RH2 — PORTH bit 2 |
| Chân 71 | RH3 — PORTH bit 3 |
| Chân 72 | RH4 — PORTH bit 4 |
| Chân 73 | RH5 — PORTH bit 5 |
| Chân 74 | RH6 — PORTH bit 6 |
| Chân 75 | RH7 — PORTH bit 7 |
| Chân 76 | VSS — Ground |
| Chân 77 | VDD — Positive supply |
| Chân 78 | RJ0 — PORTJ bit 0 |
| Chân 79 | RJ1 — PORTJ bit 1 |
| Chân 80 | RJ2 — PORTJ bit 2 / AVss reference (multiplexed) |
Ứng dụng tiêu biểu
PIC18F87K22-I/PTRSL phù hợp cho 6 Áp dụngs: 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.
Được đề xuất
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.
Được đề xuất
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.
Được đề xuất
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.
Được đề xuất
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.
Được đề xuất
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.
Được đề xuất
Tóm tắt các sản phẩm được đề xuất
Dữ liệu tham khảo kỹ thuật cho PIC18F87K22-I/PTRSL — so sánh, hướng dẫn thiết kế và thông tin tuân thủ.
Hướng dẫn chọn lựa
So sánh với các sản phẩm thay thế
| Tham số | Sản phẩm này | 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 |
Bảo phân biệt quan trọng
- 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))
Ghi chú thiết kế
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.
Thông tin tuân thủ
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.