PIC18F87K22T-I/PT - 8-Bit 64MHz MCU 128KB Flash TQFP-80 | Microchip
MPN: PIC18F87K22T-I/PT ✓ Hoạt độngPIC18F87K22T-I/PT Tóm tắt
An 8-bit microcontroller (MCU) is a programmable logic device that executes instructions one byte at a time and integrates CPU, memory, and peripherals on a single silicon die. PIC18F-series MCUs (PIC -> Peripheral Interface Controller -> Microchip's 8-bit architecture -> microcontroller family -> embedded computing) extend the baseline PIC16 architecture with an enhanced instruction set, 16-bit wide program memory, and a linear program/data memory map. The K22 sub-family further adds nanoWatt XLP (eXtreme Low Power) Technology with deep-sleep currents well under 1 microampere, positioning the device for battery-constrained applications.
Key features include a maximum CPU clock of 64 MHz delivering up to 16 MIPS (Million Instructions Per Second), a 12-bit A/D converter with up to 30 channels, an integrated Charge Time Measurement Unit (CTMU) for capacitive touch sensing, multiple Enhanced USART, SPI, and I2C peripherals, and a nanoWatt XLP power-management block that supports idle, sleep, and deep-sleep modes. The 80-pin TQFP exposes up to 70 I/O pins and supports external memory interfaces via the Parallel Slave Port and Extended Microcontroller modes, enabling connection to external peripherals or memory-mapped devices.
Architecturally, the PIC18F87K22 employs a Harvard-class modified RISC core with a 16-bit instruction word, an 8-bit data path, hardware multiply, and a programmable instruction set optimized for compiled C code. The internal oscillator, watchdog timer, brown-out reset, and in-circuit debug (ICD) interface collectively reduce external component count and shorten firmware development cycles, which is one reason the family remains popular in industrial control and human-machine interface designs.
Typical applications include industrial control panels, home appliance user interfaces, capacitive touch keypads, sensor hubs, energy-harvesting battery nodes, automotive accessory modules, and USB HID human-interface devices using the PIC18 USB-enabled peripheral extensions. The combination of 128KB Flash (1 Mbit class) and 70 I/O pins makes the part well suited to mid-complexity graphical LCD or segmented display products.
Designers should note that the 80-pin TQFP and 80-pin QFN variants of this part are pin-compatible within their respective packages but NOT interchangeable between packages. Programming is performed via ICSP (In-Circuit Serial Programming) or the ICD interface; production programmers from MPLAB, PICKit, and third-party vendors support the device.
This page synthesizes distributor pricing, drop-in PIC18 family alternatives, and XLP power-mode design notes not found in the manufacturer datasheet.
Bộ thay thế dễ dàng lắp đặt cho PIC18F87K22T-I/PT — 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 PIC18F87K22T-I/PT (cùng hình factor và footprint) — khác nhau ở Package, ADC, Core Architecture, Timers, Program Memory (Flash).
PIC18F87K22-I/PT
✅ 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)
PIC18F86K22T-I/PT
✅ Drop-InLiên hệ để biết giá
Xem tài liệu →PIC18F8723-I/PT
✅ Drop-InLiên hệ để biết giá
Xem tài liệu →PIC18F85K22T-I/PT
✅ Drop-InLiên hệ để biết giá
Xem tài liệu →PIC18F87J72-I/PT
✅ Drop-InLiên hệ để biết giá
Xem tài liệu →PIC18F87K22T-I/PT Tỷ lệ tối đa & tính chất điện
| Core | PIC18 8-bit RISC |
| Program Memory (Flash) | 128 KB |
| RAM | 4 KB |
| Data EEPROM | 1 KB |
| Maximum CPU Clock | 64 MHz |
| Instruction Throughput | Up to 16 MIPS |
| Bề rộng đường dữ liệu | 8-bit (16-bit instruction word) |
| Supply Voltage (VDD) | 1.8 V to 5.5 V (F-version spec; commercial 4.2-5.5 V per part decal) |
| Operating Temperature (I suffix) | -40 C to +85 C |
| Hộp | 80-TQFP (12x12 mm) |
| I/O Pins | Up to 70 |
| A/D Converter | 12-bit, up to 30 channels |
| Timers | Multiple 8-bit and 16-bit timers |
| Communication Peripherals | EUSART, SPI, I2C |
| Low-Power Technology | nanoWatt XLP |
| CTMU (Charge Time Measurement Unit) | Yes |
| Trạng thái RoHS | Compliant |
| Kiểu lắp đặt | Surface Mount |
Cấu hình chân PIC18F87K22T-I/PT
| Chân 1 | MCLR — Master Clear (Reset) input, active low |
| Chân 2 | RA0/AN0 — PORTA bit 0 / Analog input AN0 / Comparator input |
| Chân 3 | RA1/AN1 — PORTA bit 1 / Analog input AN1 |
| Chân 4 | RA2/AN2 — PORTA bit 2 / Analog input AN2 |
| Chân 5 | RA3/AN3 — PORTA bit 3 / Analog input AN3 / VREF+ |
| Chân 6 | RA4/AN4/T0CKI — PORTA bit 4 / Analog input AN4 / Timer0 clock input |
| Chân 7 | RA5/AN5 — PORTA bit 5 / Analog input AN5 / VREF- |
| Chân 8 | RE0/AN6 — PORTRE bit 0 / Analog input AN6 |
| Chân 9 | RE1/AN7 — PORTRE bit 1 / Analog input AN7 |
| Chân 10 | RE2/AN8 — PORTRE bit 2 / Analog input AN8 |
| Chân 11 | VDD — Positive supply voltage |
| Chân 12 | VSS — Ground reference |
| Chân 13 | OSC1/CLKI — Crystal oscillator input or external clock input |
| Chân 14 | OSC2/CLKO — Crystal oscillator output or clock output |
| Chân 15 | RC0/T1OSO/T1CKI — PORTC bit 0 / Timer1 oscillator output / Timer1 clock input |
| Chân 16 | RC1/T1OSI — PORTC bit 1 / Timer1 oscillator input |
| Chân 17 | RC2/CCP1 — PORTC bit 2 / Capture/Compare/PWM 1 |
| Chân 18 | RC3/SCL — PORTC bit 3 / I2C clock |
| Chân 19 | RD0 — PORTD bit 0 |
| Chân 20 | RD1 — PORTD bit 1 |
| Chân 21 | RD2 — PORTD bit 2 |
| Chân 22 | RD3 — PORTD bit 3 |
| Chân 23 | RC4/SDA — PORTC bit 4 / I2C data |
| Chân 24 | RC5/SDO — PORTC bit 5 / SPI data out |
| Chân 25 | RC6/TX/CK — PORTC bit 6 / EUSART TX / synchronous clock |
| Chân 26 | RC7/RX/DT — PORTC bit 7 / EUSART RX / synchronous data |
| Chân 27 | RD4 — PORTD bit 4 |
| Chân 28 | RD5/PSP5 — PORTD bit 5 / Parallel Slave Port bit 5 |
| Chân 29 | RD6/PSP6 — PORTD bit 6 / Parallel Slave Port bit 6 |
| Chân 30 | RD7/PSP7 — PORTD bit 7 / Parallel Slave Port bit 7 |
| Chân 31 | VSS — Ground reference |
| Chân 32 | VDD — Positive supply voltage |
| Chân 33 | RB0/INT0 — PORTB bit 0 / External interrupt 0 |
| Chân 34 | RB1/INT1 — PORTB bit 1 / External interrupt 1 |
| Chân 35 | RB2/INT2 — PORTB bit 2 / External interrupt 2 |
| Chân 36 | RB3/CCP2 — PORTB bit 3 / Capture/Compare/PWM 2 |
| Chân 37 | RB4 — PORTB bit 4 |
| Chân 38 | RB5 — PORTB bit 5 |
| Chân 39 | RB6/PGC — PORTB bit 6 / ICSP clock |
| Chân 40 | RB7/PGD — PORTB bit 7 / ICSP data |
| Chân 41 | RF0/AN16 — PORTF bit 0 / Analog input AN16 |
| Chân 42 | RF1/AN17 — PORTF bit 1 / Analog input AN17 |
| Chân 43 | RF2/AN18 — PORTF bit 2 / Analog input AN18 |
| Chân 44 | RF3/AN19 — PORTF bit 3 / Analog input AN19 |
| Chân 45 | RF4/AN20 — PORTF bit 4 / Analog input AN20 |
| Chân 46 | RF5/AN21 — PORTF bit 5 / Analog input AN21 |
| Chân 47 | RF6/AN22 — PORTF bit 6 / Analog input AN22 |
| Chân 48 | RF7/AN23 — PORTF bit 7 / Analog input AN23 |
| Chân 49 | AVDD — Analog positive supply |
| Chân 50 | AVSS — Analog ground reference |
| Chân 51 | RG0 — PORTG bit 0 |
| Chân 52 | RG1 — PORTG bit 1 |
| Chân 53 | RG2 — PORTG bit 2 |
| Chân 54 | RG3 — PORTG bit 3 |
| Chân 55 | RG4 — PORTG bit 4 |
| Chân 56 | RH0 — PORTH bit 0 |
| Chân 57 | RH1 — PORTH bit 1 |
| Chân 58 | RH2 — PORTH bit 2 |
| Chân 59 | RH3 — PORTH bit 3 |
| Chân 60 | RH4 — PORTH bit 4 |
| Chân 61 | RH5 — PORTH bit 5 |
| Chân 62 | RH6 — PORTH bit 6 |
| Chân 63 | RH7 — PORTH bit 7 |
| Chân 64 | VSS — Ground reference |
| Chân 65 | VDD — Positive supply voltage |
| Chân 66 | RJ0 — PORTJ bit 0 |
| Chân 67 | RJ1 — PORTJ bit 1 |
| Chân 68 | RJ2 — PORTJ bit 2 |
| Chân 69 | RJ3 — PORTJ bit 3 |
| Chân 70 | RJ4 — PORTJ bit 4 |
| Chân 71 | RJ5 — PORTJ bit 5 |
| Chân 72 | RJ6 — PORTJ bit 6 |
| Chân 73 | RJ7 — PORTJ bit 7 |
| Chân 74 | AN24/RB0 — Analog input AN24 (alternate routing) |
| Chân 75 | AN25/RB1 — Analog input AN25 (alternate routing) |
| Chân 76 | AN26/RB2 — Analog input AN26 (alternate routing) |
| Chân 77 | AN27/RB3 — Analog input AN27 (alternate routing) |
| Chân 78 | AN28/RB4 — Analog input AN28 (alternate routing) |
| Chân 79 | AN29/RB5 — Analog input AN29 (alternate routing) |
| Chân 80 | VSS — Ground reference |
Ứng dụng tiêu biểu
PIC18F87K22T-I/PT phù hợp cho 6 Áp dụngs: Industrial Control Panel HMI, Capacitive Touch Keypads, Appliance Front-Panel Controllers, Battery-Powered Sensor Hubs, Automotive Accessory Modules, USB HID Human-Interface Devices.
Industrial Control Panel HMI
The PIC18F87K22T-I/PT is well matched to industrial control panel human-machine interfaces because 128KB Flash and 4KB RAM easily accommodate structured-segment or grayscale graphics libraries, while 70 GPIO drive segmented LCDs, keypads, status LEDs, and rotary encoders without external bus expanders. nanoWalt XLP keeps idle panels under 1 uA for battery-backed operator stations. The 12-bit ADC reads analog sensor inputs (temperature, pressure, current shunt) at 100 ksps, while EUSART/SPI handle Modbus RTU or device-net side-channels. Industrial -40 to +85 C temperature and 5V tolerance match 24V-bus sensor subsystems.
Được đề xuất
Capacitive Touch Keypads
The PIC18F87K22T-I/PT's on-chip CTMU (Charge Time Measurement Unit) measures small capacitance changes from the touch electrode to mechanical overlay, eliminating the need for a dedicated touch controller. Combined with 128KB Flash, designers can run Microchip's mTouch or third-party capacitive-touch libraries with finite state machine control and surface gesture decoding. The 12-bit ADC tracks ambient noise for self-calibration, while XLP deep-sleep with touch wake-up enables sealed-battery keypads that last 5+ years on a single coin cell, ideal for door locks and appliances.
Được đề xuất
Appliance Front-Panel Controllers
Home-appliance front panels (washing machines, ovens, induction cooktops) require robust 5V-tolerant I/O for triac/relay control, segmented or TFT display drivers, and reliable motor-control timing. The PIC18F87K22T-I/PT's 70 GPIO drive multi-digit 7-segment or character LCDs without extra logic, while its CCP/ECCP units generate PWM and zero-cross control for AC loads. With 128KB Flash it can host bootloader plus vector graphics plus diagnostics, and the industrial -40 to +85 C range covers under-cabinet thermal environments. nanoWalt XLP keeps idle standby for smart appliances well under 100 uA.
Được đề xuất
Battery-Powered Sensor Hubs
For battery-driven sensor and IoT edge nodes, the PIC18F87K22T-I/PT's nanoWatt XLP Technology supplies sub-1 uA deep-sleep, RTC, and wake-on-touch via CTMU. The 128KB Flash accommodates Microchip's MPLAB X-generated C runtime plus LoRa, BLE, or sub-GHz radio drivers via SPI. Industrial temperature range plus wide 1.8-5.5V supply support direct attachment to lithium primary cells, energy harvesting inputs, or solar chargers. Up to 30 channels of 12-bit ADC enable multi-modal sensing (temperature, humidity, flow, voltage) per node.
Được đề xuất
Automotive Accessory Modules
Although not AEC-Q100 qualified, PIC18F87K22T-I/PT's industrial -40 to +85 C range and 5V tolerance make it suitable for non-safety automotive accessories such as interior lighting controllers, configurable door warning chimes, and aftermarket infotainment extenders. The 12-bit ADC reads battery sense, lighting current shunt, and rotary encoder inputs, while EUSART/SPI can connect to CAN transceivers. The 80-pin TQFP is pad-compatible with PIC18F8720/8722/8723 legacy automotive accessory designs, easing second-source procurement.
Được đề xuất
USB HID Human-Interface Devices
Custom HID peripherals (programmable keypads, studio controllers, instrumentation panel mounts) pair the PIC18F87K22T-I/PT with a USB 2.0 full-speed transceiver via the integrated EUSART/SPI or a host-side interface chip. The 128KB Flash holds the HID descriptor, keymaps, and MACRO/PROFILE firmware. 12-bit ADC enables analog-joystick or pedal-axis reading, while 4KB RAM buffers report frames. The industrial temperature range and wide 1.8-5.5V supply support bus-powered and self-powered designs in the same BOM.
Đượ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 PIC18F87K22T-I/PT — 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-E/PT | PIC18F86K22T-I/PT | PIC18F8723-I/PT | PIC18F85K22T-I/PT | PIC18F87J72-I/PT |
|---|---|---|---|---|---|---|---|
| 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 | TQFP-80 (12x12 mm) - same |
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Program Memory (Flash) | 128 KB | 128 KB | 128 KB | 64 KB | 128 KB | 32 KB | 128 KB |
| RAM | 4 KB | 4 KB | 4 KB | 4 KB | 3.9 KB | 2 KB | 4 KB |
| Maximum CPU Clock | 64 MHz | 64 MHz | 64 MHz | 64 MHz | 40 MHz | 64 MHz | 48 MHz |
| CTMU (Capacitive Touch) | Yes | Yes | Yes | Yes | No | Yes | No |
| Operating Temperature | -40 C to +85 C (I) | -40 C to +85 C (I) | -40 C to +125 C (E) | -40 C to +85 C (I) | -40 C to +85 C (I) | -40 C to +85 C (I) | -40 C to +85 C (I) |
Bảo phân biệt quan trọng
- Higher CPU clock than legacy F8723 (vsPIC18F8723-I/PT)
- Larger Flash than PIC18F85K22 (vsPIC18F85K22T-I/PT)
- nanoWatt XLP technology (vsPIC18F87J72-I/PT)
Ghi chú thiết kế
Estimated: at the maximum 64 MHz CPU clock the PIC18F87K22 family draws roughly 15 mA active (Vdd=5V per datasheet typical values). Switching to 1 MHz via the internal oscillator drops consumption to about 2 mA. For battery applications, enter Sleep (typical <1 uA) and use RTCC, INTx, or PORT change-on-interrupt to wake. Place a 0.1 uF decoupling cap within 5 mm of every Vdd/Vss pair, plus a bulk 10 uF near the Vdd pins, to suppress XLP wake-up voltage ringing.
The 80-TQFP package requires fine-pitch (0.4 mm) fan-out; use 4 mil traces and 8 mil clearances with a 12x12 mm solder-paste stencil that mimics the land pattern. Keep the MCLR/ICSP pins (PGC/PGD on RB6/RB7, MCLR on pin 1) on the top layer or accessible via test pads for in-circuit programming. Route the quartz between OSC1/OSC2 with short traces and guard ground; if the PLL is used, route the PLL bypass capacitor close to the VCAP pin.
When using the CTMU for capacitive touch, isolate the CTMU charge-current pin from high-speed digital signals and route the touch sensor traces over a solid ground pour. For SPI peripherals running above 5 MHz, add 33 ohm series termination at the source pins to control rise-time ringing; keep the SPI clock length-matched to its data lines.
Do not confuse PIC18F87K22 with the similar-sounding PIC18F8722 or PIC18F8723: K22 variants use 64 MHz and nanoWalt XLP, while 8722/8723 use 40 MHz and lack CTMU. The PIC18F87J72 is a different Flash-and-ADC-lesser variant. Confirm the supply-voltage range (1.8 to 5.5 V or 4.2 to 5.5 V depending on frequency) before swapping parts. Unused I/O must be configured as outputs or inputs-with-pull-ups to avoid floating-pin current draw in Sleep.
Thông tin tuân thủ
RoHS and REACH compliant per Microchip product declaration. Not AEC-Q100 qualified; the standard PIC18F87K22 family is intended for industrial and commercial use rather than automotive safety-critical applications.