Microchip Technology

PIC18F87K22-E/PT - 64MHz 128KB Flash 8-bit MCU | Microchip

料号: PIC18F87K22-E/PT ✓ 量产中
有现货 1-3 个工作日内发货
1.8 V to 5.5 V Vdss 80-pin TQFP (PT), 12x12 mm Package 64 MHz Speed 128 KB Flash (64K x 16) Memory
低至 $7.65 USD / 件
最小起订量: 1 |
价格更新于: 2026-09-28
批量定价
数量 单价 小计
1 $11.22 $11.22
10 $10.45 $104.50
100 $9.18 $918.00
500 $8.42 $4,210.00
1,000 $7.65 $7,650.00
ℹ️ 所有价格均以 USD 计价

PIC18F87K22-E/PT 概述

The Microchip PIC18F87K22-E/PT is an 8-bit PIC18F microcontroller featuring 128KB (64Kx 16) of Flash program memory, 4KB of RAM, and a 64 MHz internal oscillator core, packaged in an 80-pin TQFP (12x12 mm). It belongs to Microchip's PIC XLP 18K family and integrates nanoWatt XLP extreme-low-power technology together with a Charge Time Measurement Unit (CTMU) for capacitive-touch and capacitive-sensing front-ends.

A microcontroller (microcontroller unit, MCU) is a single-chip computer that integrates a CPU core, non-volatile program memory (typically Flash), working RAM, and a rich set of peripherals including timers, communication controllers, and analog-to-digital converters. The PIC18F family sits inside the broader 8-bit microcontroller hierarchy of Microchip's product line and uses an enhanced RISC Harvard architecture. MCUs sit below microprocessors in system complexity but above bare digital ICs in functional density, and are the standard choice for embedded control.

Key features of the PIC18F87K22 include 128KB Flash (64K x 16 words), 4KB general-purpose RAM, a 12-bit A/D converter with up to 24 channels, multiple Enhanced USART, MSSP (I2C/SPI) modules, and the integrated CTMU peripheral. The device operates over a wide voltage window of 1.8V to 5.5V and supports industrial and extended temperature grades, making it usable across consumer, industrial, and automotive-style applications.

Architecture-wise, the PIC18F87K22 uses an enhanced Harvard core with a 16-bit instruction word and 8-bit data path. nanoWatt XLP technology delivers sleep currents in the nanoamp range and multiple power-managed operating modes (Run, Idle, Sleep). The CTMU provides a constant-current source and timer-based measurement that simplifies capacitive-touch and flow-measurement designs without an external analog front-end.

Typical applications for the PIC18F87K22-E/PT include low-power battery-powered sensing nodes, capacitive-touch user interfaces, industrial control panels with graphical or segment LCD interfaces, automotive body and climate modules, and IoT edge nodes requiring deterministic 8-bit control. Designers pick this part when they need a large Flash budget (128KB) and rich analog/digital peripherals in a single 80-pin TQFP.

For design, ensure the Vcap pin is decoupled with a low-ESR bulk capacitor, leave the ICSP/ICD pins accessible for in-circuit debugging with MPLAB ICD tools, and review the nanoWatt XLP modes (Sleep, Idle, Doze) when targeting nanoamp sleep currents. Watch the maximum source/sink current per I/O pin (typical 25 mA) and aggregate VDD/GND current limits when driving relays or LEDs.

This page synthesizes distributor pricing, drop-in alternatives from the same PIC18F K22 family, and practical design notes not found in the manufacturer datasheet. Engineers comparing microcontrollers for embedded designs should also review the PIC18F86K22, PIC18F85K22, and PIC18F67K22 as pin-compatible same-footprint variants in the same family.

直接替换替代料: PIC18F87K22-E/PT ——相同封装,引脚兼容。需要 PCB 改动的不同封装料号已排除。

本系列中的变体

可与以下型号直接替换的同系列型号: PIC18F87K22-E/PT (相同外形与封装尺寸) ——差异在于 Timers, ADC, Package, Operating Temperature, I/O Pins.

Microchip Technology
Timers: 8-/16-bit, multiple modules
ADC: 12-bit, 12 channels
Package: TQFP-80 (PT), 12 x 12 mm
Microchip Technology
Timers: 5 x 8-bit, 3 x 16-bit
ADC: 10-bit, up to 16 channels
Package: 80-pin TQFP (12x12 mm)
Microchip Technology
ADC: 10-bit, up to 16 channels
Package: 80-pin TQFP (12x12 mm)
Operating Temperature: -40 C to +85 C (Industrial)
Microchip Technology
Timers: 16-bit and 8-bit timer blocks
ADC: 12-bit, up to 30 channels
Package: 80-pin TQFP (PT), 12 x 12 mm
Microchip Technology
Timers: 11
Package: 80-pin TQFP (12x12 mm)
I/O Pins: 69

快速对比工具——选择替代料号进行并排对比:

PIC18F86K22-E/PT

✅ 直接替换
📦 80-pin TQFP (PT)
same 80-pin TQFP and XLP/CTMU features; 64 KB Flash vs 128 KB (-50%)

📋 参考替代料(不在目录中)

PIC18F85K22-E/PT

✅ 直接替换
Microchip Technology
📦 80-pin TQFP (PT)
8-bit PIC18 RISC · 32 KB · 2 KB · 1 KB · 64 MHz (16 MIPS instruction rate) · 1.8 V to 5.5 V (extended 4.2 V to 5.5 V per datasheet family) · 70 · 12-bit, 12 channels

✓ 有现货

$4.55 / 个

查看数据手册 →

PIC18F87K22-I/PT

✅ 直接替换
Microchip Technology
📦 80-pin TQFP (PT)
PIC 8-bit (16-bit modified Harvard instruction set) · PIC® XLP™ 18K · 64 MHz · 128 KB (64K x 16) · 4 KB · 1 KB · 1.8 V to 5.5 V (4.2 V to 5.5 V for -I grade full-speed operation) · 70

✓ 有现货

$5.27 / 个

查看数据手册 →

PIC18F8722-I/PT

✅ 直接替换
Microchip Technology
📦 80-pin TQFP (PT)
PIC18F8722 · 8-bit PIC · Harvard, RISC, 16-bit instruction word · 40 MHz · 10 MIPS · Enhanced Flash · 128 KB (64K x 16) · 4 KB

✓ 有现货

$6.5 / 个

查看数据手册 →

PIC18F8720-E/PT

✅ 直接替换
Microchip Technology
📦 80-pin TQFP (PT)
PIC 8-bit (PIC18F) · 128 KB (64K x 16) · 3840 bytes · 25 MHz · 2.0 V to 5.5 V · -40 C to +125 C (Extended, -E) · 80-pin TQFP (12x12 mm) · 68

✓ 有现货

$9.3 / 个

查看数据手册 →

PIC18F87K22-E/PT 最大额定值与电气特性

Core PIC18F (8-bit) Enhanced RISC
Program Memory 128 KB Flash (64K x 16)
RAM 4 KB
Maximum CPU Frequency 64 MHz
Operating Voltage 1.8 V to 5.5 V
ADC 12-bit, up to 24 channels
Timers Multiple 8-bit and 16-bit timers
Communication Enhanced USART, MSSP (I2C/SPI)
Special Peripherals CTMU, nanoWatt XLP, LCD driver
封装 80-pin TQFP (PT), 12x12 mm
安装类型 Surface Mount
工作温度 -40 C to +125 C (Extended, -E suffix)
MSL 等级 3
RoHS 状态 Compliant

PIC18F87K22-E/PT 80-pin tqfp (pt), 12x12 mm 引脚配置指南

PIC18F87K22-E/PT(80-pin tqfp (pt), 12x12 mm 封装)的引脚配置。 该数字 IC 包含 GPIO、通信接口(UART、SPI、I2C)和电源引脚。请参阅制造商数据手册以了解复用引脚功能和配置选项。对嵌入式系统设计和 PCB 布局至关重要。

PIC18F87K22-E/PT 的 80-pin tqfp (pt), 12x12 mm 封装引脚图

暂无详细引脚数据: PIC18F87K22-E/PT.

请参阅 数据手册 以查看完整引脚配置。

典型应用

PIC18F87K22-E/PT 适用于 6 应用s: Battery-Powered Wireless Sensor Nodes, Capacitive Touch User Interfaces, Industrial Control Panels with LCD, Automotive Body and Climate Modules, IoT Edge Nodes and Home Automation, Medical Monitoring and Diagnostic Devices.

🔋

Battery-Powered Wireless Sensor Nodes

The PIC18F87K22-E/PT's nanoWatt XLP technology delivers nanoamp-range sleep currents critical for battery-powered wireless sensor nodes. With 128 KB Flash it accommodates protocol stacks such as LoRaWAN, Zigbee, or proprietary sub-GHz stacks. The 12-bit ADC with up to 24 channels supports multiple sensor inputs, and the 64 MHz CPU clock provides real-time signal processing headroom. The device's 1.8 V to 5.5 V operating range allows direct connection to single-cell Li-ion or two-cell alkaline packs without an additional LDO.

🎧

Capacitive Touch User Interfaces

The integrated CTMU peripheral simplifies capacitive-touch button, slider, and proximity sensing by providing a constant-current source and timer-based capacitance measurement. With 128 KB Flash, designers can run sophisticated touch firmware libraries from Microchip's mTouch suite. The 12-bit ADC captures analog signals from the touch electrodes, and the 64 MHz CPU executes touch algorithms in real time. The 80-pin TQFP package offers ample I/O for backlighting, haptic feedback, and segment or TFT displays.

🏭

Industrial Control Panels with LCD

The PIC18F87K22-E/PT's integrated LCD driver and 80-pin TQFP package make it suitable for industrial control panels driving segment LCDs up to several hundred pixels. The 128 KB Flash stores multi-language menus and configurable HMI logic. nanoWatt XLP sleep modes enable battery-backed panel operation during power loss, and the 12-bit ADC interfaces with potentiometers, temperature sensors, and 4-20 mA loops. The extended -40 C to +125 C temperature range suits factory-floor installations.

🚗

Automotive Body and Climate Modules

Automotive body and climate modules demand extended temperature grades, robust peripherals, and large memory budgets for CAN/LIN stack libraries. The PIC18F87K22-E/PT's -40 C to +125 C extended operating range and 128 KB Flash suit climate-control, seat-control, and lighting modules. Multiple Enhanced USART ports support LIN bus connectivity, and MSSP modules handle SPI peripherals. The 12-bit ADC with up to 24 channels captures temperature, position, and current-sense signals across the vehicle body domain.

🧩

IoT Edge Nodes and Home Automation

IoT edge nodes benefit from the PIC18F87K22-E/PT's nanoWatt XLP sleep currents and rich peripheral set. The 128 KB Flash holds TLS or application-layer security stacks, while the 4 KB RAM supports connection state buffers. The MSSP peripheral interfaces with sensors over I2C or SPI, and the Enhanced USART connects to Wi-Fi or BLE modules. Multiple timer modules support PWM-driven LED lighting or motor control, and the 12-bit ADC reads analog environmental sensors.

💊

Medical Monitoring and Diagnostic Devices

Medical monitoring devices require deterministic 8-bit control, low power consumption, and reliable operation across extended temperature ranges. The PIC18F87K22-E/PT's nanoWatt XLP technology extends battery life in portable monitors, and the 12-bit ADC with up to 24 channels captures multiple physiological signals simultaneously. The 128 KB Flash supports FDA-compliant firmware with logging capabilities, and the 64 MHz CPU processes filter and threshold algorithms in real time. Multiple USART ports connect to Bluetooth or Wi-Fi data links.

What is the program memory size of PIC18F87K22-E/PT?
The PIC18F87K22-E/PT integrates 128 KB of Flash program memory organized as 64K x 16 words, according to the Microchip PIC18F87K22 family datasheet (Document 39960D). The device also includes 4 KB of general-purpose RAM. This memory budget is suitable for applications requiring large protocol stacks or graphical user interfaces.
What is the maximum operating frequency of PIC18F87K22-E/PT?
The PIC18F87K22-E/PT operates at a maximum CPU clock of 64 MHz, yielding up to 16 MIPS of instruction throughput on the PIC18 enhanced Harvard core. The device supports internal and external oscillator modes and PLL options, allowing flexible clock tree design per the Microchip datasheet (Document 39960D).
What is the operating voltage range of PIC18F87K22-E/PT?
The PIC18F87K22-E/PT operates from 1.8 V to 5.5 V across the full -40 C to +125 C temperature range. According to Microchip datasheet (Document 39960D), the wide voltage window supports both 3.3 V and 5 V designs, and the nanoWatt XLP modes maintain sub-microamp sleep currents even at the upper voltage limit.
Does PIC18F87K22-E/PT support capacitive touch?
Yes, the PIC18F87K22-E/PT integrates Microchip's Charge Time Measurement Unit (CTMU), a constant-current source and timer-based measurement engine that simplifies capacitive-touch button, slider, and proximity designs. According to Microchip's datasheet (Document 39960D), CTMU eliminates the need for an external analog front-end in capacitive user-interface applications.
Where can I buy PIC18F87K22-E/PT online?
The PIC18F87K22-E/PT is currently available from authorized distributors including DigiKey, Mouser, and LCSC Electronics. DigiKey listing (2720912) shows in-stock inventory as of 2026-09-28. Authorized stock ensures traceability and Microchip warranty coverage for production builds.
What is the price of PIC18F87K22-E/PT?
The PIC18F87K22-E/PT is priced at $11.22 at qty 1, decreasing to $7.65 at qty 1000 as of 2026-09-28, sourced from LCSC Electronics pricing feed and DigiKey market data. Volume pricing tiers are 1, 10, 100, 500, and 1000 units. Lead time for volume orders is typically 8-12 weeks.
What is the lead time for PIC18F87K22-E/PT?
DigiKey lists the PIC18F87K22-E/PT with same-day shipping capability for stock-on-hand quantities as of 2026-09-28. For volume production orders above 1000 units, Microchip factory lead time typically ranges 8-12 weeks; distributors may carry buffer inventory that shortens the effective lead time significantly.
Is PIC18F87K22-E/PT in stock at distributors?
As of 2026-09-28, LCSC Electronics reports PIC18F87K22-E/PT in stock at $11.22 unit price, and DigiKey listing 2720912 indicates available inventory with same-day shipping. Mouser also carries the part in the Microcontrollers category. Multiple stocking distributors reduce supply-chain risk for production volumes.
PIC18F87K22-E/PT vs PIC18F86K22-E/PT - which is better for battery-powered designs?
The PIC18F87K22-E/PT and PIC18F86K22-E/PT share the same 80-pin TQFP package and nanoWatt XLP technology, but the PIC18F87K22-E/PT provides 128 KB of Flash versus 64 KB on the PIC18F86K22-E/PT. For battery-powered designs requiring large protocol stacks or over-the-air update partitions, choose PIC18F87K22-E/PT; for cost-sensitive applications, PIC18F86K22-E/PT halves the Flash memory cost.
What is the difference between PIC18F87K22 and PIC18F8722?
The PIC18F87K22 is a newer-generation device with nanoWatt XLP technology and a CTMU peripheral, while the PIC18F8722 is an older PIC18F family member without these features. According to the Microchip PIC18F87K22 family datasheet (Document 39960D), the PIC18F87K22 is largely pin-compatible with PIC18F8722 and PIC18F8720, enabling drop-in upgrades to gain XLP and CTMU functionality.
When should I choose PIC18F87K22-E/PT over PIC18F67K22-E/PT?
Choose PIC18F87K22-E/PT when you need the larger 80-pin TQFP package and full peripheral count (up to 24 ADC channels). For 64-pin TQFP designs with the same nanoWatt XLP and CTMU features, the PIC18F67K22-E/PT is the pin-compatible lower-pin-count option. Both share the same core, instruction set, and development toolchain (MPLAB X IDE).
What is the best drop-in replacement for PIC18F87K22-E/PT?
The best drop-in replacement for PIC18F87K22-E/PT is the PIC18F86K22-E/PT, which shares the same 80-pin TQFP package and nanoWatt XLP feature set. The PIC18F86K22-E/PT offers 64 KB of Flash instead of 128 KB, making it a cost-down option for designs that do not require the full 128 KB program memory budget.
Can PIC18F85K22-E/PT replace PIC18F87K22-E/PT?
Yes, the PIC18F85K22-E/PT can replace PIC18F87K22-E/PT in the same 80-pin TQFP footprint. The PIC18F85K22-E/PT offers 32 KB of Flash versus 128 KB on the PIC18F87K22-E/PT. For applications whose firmware footprint fits within 32 KB, PIC18F85K22-E/PT is a cost-down drop-in alternative; for larger code, it is not a viable replacement.
Where to download PIC18F87K22-E/PT datasheet PDF?
The PIC18F87K22-E/PT datasheet (Document 39960D) is available as a free PDF download from Microchip's official documentation server at the URL https://ww1.microchip.com/downloads/en/DeviceDoc/39960d.pdf. The document covers electrical characteristics, peripheral descriptions, memory maps, and programming specifications for the entire PIC18F87K22 family including -I and -E temperature variants.
What is the PINOUT of PIC18F87K22-E/PT?
The PIC18F87K22-E/PT is housed in an 80-pin TQFP (12x12 mm) package with pin functions detailed in Section 2 of the datasheet (Document 39960D). Pin 1 is located at the top-left corner with the dot marker; pins are numbered counter-clockwise. The package provides dedicated VDD/VSS pairs, multiple I/O ports (PORTA through PORTJ), analog inputs for the 12-bit ADC, ICSP/ICD programming pins (PGC/PGD), and the Vcap pin requiring external decoupling.

工程参考数据: PIC18F87K22-E/PT ——对比、设计指导和合规信息。

选型指南

Choose PIC18F87K22-E/PT when you need the maximum 128 KB Flash budget, nanoWatt XLP technology, and CTMU capacitive-touch support in an 80-pin TQFP package for industrial or automotive applications operating up to +125 C. Choose PIC18F86K22-E/PT when 64 KB Flash is sufficient for cost-down designs that still require XLP and CTMU. Choose PIC18F85K22-E/PT when 32 KB Flash is acceptable and the cost-down benefit outweighs the memory reduction. Choose PIC18F87K22-I/PT for consumer applications where +85 C industrial temperature range is acceptable and you want to minimize cost. Choose PIC18F8722-I/PT or PIC18F8720-E/PT for legacy replacement designs where firmware was developed for the older PIC18F family and the XLP/CTMU features are not needed. All five parts share the same 80-pin TQFP (PT) footprint, enabling PCB layout reuse across the PIC18F K22 and legacy PIC18F families.

与替代料对比

参数 本产品 PIC18F86K22-E/PT PIC18F85K22-E/PT PIC18F87K22-I/PT PIC18F8722-I/PT PIC18F8720-E/PT
Brand Microchip Technology Microchip Technology Microchip Technology Microchip Technology Microchip Technology Microchip Technology
Package 80-pin TQFP (PT), 12x12 mm 80-pin TQFP (PT) - same 80-pin TQFP (PT) - same 80-pin TQFP (PT) - same 80-pin TQFP (PT) - same 80-pin TQFP (PT) - same
Flash Memory 128 KB 64 KB 32 KB 128 KB 128 KB 128 KB
RAM 4 KB 4 KB 2 KB 4 KB 3.9 KB 3.9 KB
Maximum CPU Frequency 64 MHz 64 MHz 64 MHz 64 MHz 40 MHz 40 MHz
nanoWatt XLP Yes Yes Yes Yes No (legacy) No (legacy)
CTMU Peripheral Yes Yes Yes Yes No (legacy) No (legacy)
Operating Temperature -40 C to +125 C (Extended) -40 C to +125 C (Extended) -40 C to +125 C (Extended) -40 C to +85 C (Industrial) -40 C to +85 C (Industrial) -40 C to +125 C (Extended)

关键差异点

  • Largest Flash budget in the K22 family in the same 80-pin TQFP (对比 PIC18F86K22-E/PT)
  • nanoWatt XLP and CTMU peripherals absent on legacy PIC18F parts (对比 PIC18F8722-I/PT)
  • Extended -40 C to +125 C temperature grade for industrial/automotive (对比 PIC18F87K22-I/PT)

设计说明

Decouple the Vcap pin with a low-ESR bulk capacitor (typically 4.7 uF to 10 uF ceramic) and place it as close to the Vcap pin as the PCB layout allows. Provide separate VDD/VSS pairs for the analog and digital sections and decouple each pair with a 100 nF ceramic in parallel with a bulk capacitor. nanoWatt XLP sleep modes can drop quiescent current to sub-microamp levels when peripherals are disabled and the core is in Sleep.

Route the ICSP/ICD pins (PGC, PGD, MCLR) to a dedicated programming/debug header to enable in-circuit debugging with MPLAB X IDE and ICD tools. Place the programming header on the edge of the board or in an accessible location. The 80-pin TQFP package requires a 0.5 mm pitch land pattern with 0.3 mm via drill for fan-out; use 4-layer PCB stack-up with a dedicated ground plane to minimize EMI from the 64 MHz CPU clock.

Watch the maximum source/sink current per I/O pin (typical 25 mA) and aggregate VDD/VSS current limits when driving relays or LED arrays. Use external drivers or transistors if the design exceeds these limits. Confirm that CTMU current source calibration values from Microchip's mTouch library are applied correctly; miscalibrated CTMU readings can yield unstable touch button response. Avoid running the CPU at 64 MHz below 2.7 V VDD - the device requires higher voltage for full-speed operation.

合规信息

RoHS
Compliant
REACH
Compliant
AEC-Q100
Not Applicable
无铅
Yes
无卤
Unknown
冲突矿物
Compliant

RoHS and REACH compliant per Microchip product page. Not AEC-Q100 qualified - this is a PIC18F general-purpose part, not an automotive-qualified MCU. For AEC-Q100 applications, select PIC18F K40 or PIC18F Q-series variants.

数据核验日期: 2026-09-28 ——数据由 XAIPART 元器件工程团队核验和整理

相关搜索

PIC18F87K22-E/PT PIC18F87K22 datasheet Microchip PIC18F87K22 128KB Flash 8-bit microcontroller TQFP-80 PIC XLP 18K microcontroller PIC18F87K22 capacitive touch CTMU PIC18F87K22 vs PIC18F86K22 PIC18F87K22 drop-in replacement PIC18F87K22-E/PT buy price low power 8-bit MCU battery powered

相关元器件 & 术语

Microchip Technology PIC18F87K22 PIC18F86K22 PIC18F85K22 PIC18F8722 PIC18F8720 PIC XLP 18K family 8-bit microcontroller MCU Flash memory TQFP-80 nanoWatt XLP CTMU Charge Time Measurement Unit capacitive touch 12-bit ADC RoHS REACH TQFP Microchip PIC18
快速报价
填写完整信息——我们的销售团队将在 24 小时内回复
料号 制造商 封装 QTY 目标价 小计
合计: $0.00 USD
✓
报价已提交!

我们将在 24 小时内回复您的邮件

1
询价已提交
2
已收到报价
3
已下单
4
支付
5
已发货
6
已送达
查看询价详情