PIC18F87K22-E/PT - 64MHz 128KB Flash 8-bit MCU | Microchip
MPN: PIC18F87K22-E/PT ✓ 啟用中PIC18F87K22-E/PT 概覽
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.
PIC18F86K22-E/PT
✅ 直接替換📋 參考替代品(不在目錄中)
PIC18F85K22-E/PT
✅ 直接替換聯絡詢價
查看資料表 →PIC18F87K22-I/PT
✅ 直接替換聯絡詢價
查看資料表 →PIC18F8722-I/PT
✅ 直接替換聯絡詢價
查看資料表 →PIC18F8720-E/PT
✅ 直接替換聯絡詢價
查看資料表 →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.
請參閱 資料表 以查看完整腳位配置。
典型應用
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.
推薦
推薦產品摘要
工程參考資料,適用於 PIC18F87K22-E/PT — 比較、設計指引及合規資訊。
選型指南
與替代品比較
| 參數 | 本產品 | 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 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.