PIC18F87K22-E/PT - 64MHz 128KB Flash 8-bit MCU | Microchip
N.º de pieza: PIC18F87K22-E/PT ✓ Activo| Cant. | Precio unitario | Total |
|---|---|---|
| 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 |
PIC18F87K22-E/PT Descripción general
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.
Alternativas directas para PIC18F87K22-E/PT — mismo encapsulado, compatible pin a pin. Se excluyen las piezas de otro encapsulado que requieren retrabajo de la PCB.
Variantes de esta serie
Modelos de la misma serie compatibles directamente con PIC18F87K22-E/PT (mismo factor de forma y huella) — difiere en Timers, ADC, Package, Operating Temperature, I/O Pins.
Herramienta de comparación rápida — seleccione piezas alternativas para compararlas lado a lado:
PIC18F86K22-E/PT
✅ Sustitución directa📋 Alternativa de referencia (no en el catálogo)
PIC18F85K22-E/PT
✅ Sustitución directa✓ En stock
$4.55 / unidad
Ver hoja de datos →PIC18F87K22-I/PT
✅ Sustitución directa✓ En stock
$5.27 / unidad
Ver hoja de datos →PIC18F8722-I/PT
✅ Sustitución directa✓ En stock
$6.5 / unidad
Ver hoja de datos →PIC18F8720-E/PT
✅ Sustitución directa✓ En stock
$9.3 / unidad
Ver hoja de datos →PIC18F87K22-E/PT Valores máximos y características eléctricas
| 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 |
| Encapsulado | 80-pin TQFP (PT), 12x12 mm |
| Tipo de montaje | Surface Mount |
| Temperatura de funcionamiento | -40 C to +125 C (Extended, -E suffix) |
| Nivel MSL | 3 |
| Estado RoHS | Compliant |
Guía de configuración de pines de PIC18F87K22-E/PT 80-pin tqfp (pt), 12x12 mm
Configuración de pines para PIC18F87K22-E/PT (encapsulado 80-pin tqfp (pt), 12x12 mm). Este CI digital incluye GPIO, interfaces de comunicación (UART, SPI, I2C) y pines de alimentación. Consulte la hoja de datos del fabricante para conocer las funciones alternativas de los pines y las opciones de configuración. Esencial para el diseño de sistemas embebidos y el diseño de PCB.
No hay datos detallados de patillaje disponibles para PIC18F87K22-E/PT.
Consulte la hoja de datos para ver la configuración completa de patillas.
Aplicaciones típicas
PIC18F87K22-E/PT es adecuado para 6 aplicacións: 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.
Recomendado
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.
Recomendado
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.
Recomendado
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.
Recomendado
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.
Recomendado
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.
Recomendado
Resumen de productos recomendados
Datos de referencia de ingeniería para PIC18F87K22-E/PT — comparación, orientación de diseño e información de cumplimiento.
Guía de selección
Comparación con alternativas
| Parámetro | Este producto | 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) |
Diferenciadores clave
- Largest Flash budget in the K22 family in the same 80-pin TQFP (frente a PIC18F86K22-E/PT)
- nanoWatt XLP and CTMU peripherals absent on legacy PIC18F parts (frente a PIC18F8722-I/PT)
- Extended -40 C to +125 C temperature grade for industrial/automotive (frente a PIC18F87K22-I/PT)
Notas de diseño
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.
Información de cumplimiento
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.