PIC18F87K22T-I/PTRSL - 64MHz, 128KB Flash 8-bit MCU | Microchip
N.º da peça: PIC18F87K22T-I/PTRSL ✓ Ativo| Qtd. | Preço unitário | Total |
|---|---|---|
| 1 | $11.07 | $11,07 |
| 10 | $10.45 | $104,50 |
| 100 | $9.62 | $962,00 |
| 500 | $8.85 | $4.425,00 |
| 1.000 | $8.2 | $8.200,00 |
PIC18F87K22T-I/PTRSL Visão geral
An 8-bit PIC microcontroller is a Harvard-architecture RISC device that executes one instruction every four oscillator cycles (200 ns at 20 MHz instruction clock) with separate program and data buses. Within the broader taxonomy, a microcontroller sits under MCU -> microprocessor -> semiconductor -> IC, and is used wherever embedded intelligence, peripheral control, or low-power standby operation is needed. The XLP family adds deep sleep modes in the nA-to-uA range, enabling battery-powered products to last years on a single cell.
Key features include a 64 MHz maximum CPU clock (16 MIPS), 70 digital I/O pins, a 12-bit A/D converter with up to 16 input channels, multiple capture/compare/PWM modules, two MSSP (SPI/I2C) ports, two USART modules, and the Charge Time Measurement Unit (CTMU) for capacitive touch and accurate time measurement. The 80-pin TQFP provides ample I/O for human-interface and motor-control designs, and the I-grade (-40C to +85C) operating range covers most indoor and industrial environments.
Architecturally, the PIC18F87K22 uses an enhanced RISC core with hardware multiply, a 31-level deep hardware stack, and a priority-controlled interrupt controller. nanoWart XLP technology implements deep sleep currents measured in tens of nanoamps, with multiple wake sources including RTCC, interrupts, and the watchdog timer. The on-chip CTMU can measure capacitance, temperature, and time with high accuracy for touch, flow, and metering applications.
Typical applications include industrial HMI panels, capacitive touch keypads, battery-powered sensor nodes with LCD or segment displays, motor and stepper control, USB device bridges, and automotive body controllers. The combination of 128 KB Flash, 4 KB RAM, and rich peripherals makes it a good fit for mid-range embedded products with graphical or networked user interfaces.
When designing with this MCU, allocate at least 0.1 uF decoupling on every VDD/VSS pair, follow Microchip's Emulation Header layout guidelines for debug, and use the ICD 3 or PICkit 4 programmer for development. The 'T' suffix in the MPN indicates tape-and-reel packaging, and the '-I' suffix denotes the industrial temperature grade (-40C to +85C).
This page synthesizes distributor pricing, drop-in alternatives, and practical design notes not found in the manufacturer datasheet alone, giving engineers a faster starting point than raw PDF search.
Alternativas drop-in para PIC18F87K22T-I/PTRSL — mesmo encapsulamento, compatível pino a pino. Peças de encapsulamento diferente que exigem retrabalho na PCB são excluídas.
Variantes desta série
Modelos da mesma série compatíveis como drop-in com PIC18F87K22T-I/PTRSL (mesmo formato e footprint) — diferindo em Package, Timers, I/O Pins, ADC, Program Memory (Flash).
Ferramenta de comparação rápida — selecione peças alternativas para comparação lado a lado:
PIC18F87K22-I/PTRSL
✅ Drop-In✓ Em estoque
$6.12 / unidade
Ver ficha técnica →PIC18F87K22T-I/PT
✅ Drop-In✓ Em estoque
$7.95 / unidade
Ver ficha técnica →PIC18F87K22-I/PT
✅ Drop-In✓ Em estoque
$5.27 / unidade
Ver ficha técnica →PIC18F87K22T-I/PTRSL Classificações máximas e características elétricas
| Core Architecture | PIC18 8-bit RISC (Harvard) |
| Maximum CPU Clock | 64 MHz (16 MIPS) |
| Program Memory (Flash) | 128 KB (64K x 16) |
| Data RAM | 4 KB |
| Data EEPROM | 1 KB |
| Tensão de alimentação | 4.2 V to 5.5 V (wide Vdd mode) |
| I/O Pins | 70 |
| ADC | 12-bit, up to 16 channels |
| Encapsulamento | 80-pin TQFP (12x12 mm, 1 mm height) |
| Tipo de montagem | Surface Mount |
| Temperatura de operação | -40C to +85C (Industrial) |
| Low-Power Technology | nanoWatt XLP |
| Communication Interfaces | 2x MSSP (SPI/I2C), 2x USART (EUSART) |
| Timers | Multiple 8/16-bit timers with CCP/ECCP |
| Special Features | CTMU (Capacitive Touch), 31-level stack |
| Packaging | Tape & Reel |
| Status RoHS | Compliant |
Configuração de pinos do PIC18F87K22T-I/PTRSL
| Pino 1 | RA0/AN0/ULPWU — PORTA bit 0 / Analog input 0 / Ultra-Low-Power Wake-up |
| Pino 2 | RA1/AN1 — PORTA bit 1 / Analog input 1 |
| Pino 3 | RA2/AN2/VREF- — PORTA bit 2 / Analog input 2 / ADC negative reference |
| Pino 4 | RA3/AN3/VREF+ — PORTA bit 3 / Analog input 3 / ADC positive reference |
| Pino 5 | RA4/T0CKI — PORTA bit 4 / Timer0 clock input |
| Pino 6 | RA5/AN4 — PORTA bit 5 / Analog input 4 |
| Pino 7 | RA6 — PORTA bit 6 |
| Pino 8 | RA7 — PORTA bit 7 |
| Pino 9 | RE0/RD — PORTE bit 0 / Read control for Parallel Master Port |
| Pino 10 | RE1/WR — PORTE bit 1 / Write control for Parallel Master Port |
| Pino 11 | RE2/CS — PORTE bit 2 / Chip select for Parallel Master Port |
| Pino 12 | VDD — Positive supply voltage |
| Pino 13 | VSS — Ground reference |
| Pino 14 | OSC1/CLKI/RA7 — Oscillator crystal input / External clock input |
| Pino 15 | OSC2/CLKO/RA6 — Oscillator crystal output / Clock output |
| Pino 16 | RC0/T1OSO/T1CKI — PORTC bit 0 / Timer1 oscillator output / Timer1 clock input |
| Pino 17 | RC1/T1OSI/CCP2 — PORTC bit 1 / Timer1 oscillator input / CCP2 output |
| Pino 18 | RC2/CCP1 — PORTC bit 2 / CCP1 output |
| Pino 19 | RC3/SCK1/SCL1 — PORTC bit 3 / SPI1 clock / I2C1 clock |
| Pino 20 | RC4/SDI1/SDA1 — PORTC bit 4 / SPI1 data in / I2C1 data |
| Pino 21 | RC5/SDO1 — PORTC bit 5 / SPI1 data out |
| Pino 22 | RC6/TX1/CK1 — PORTC bit 6 / USART1 transmit / USART1 clock |
| Pino 23 | RC7/RX1/DT1 — PORTC bit 7 / USART1 receive / USART1 data |
| Pino 24 | RD0/PSP0 — PORTD bit 0 / Parallel Slave Port bit 0 |
| Pino 25 | RD1/PSP1 — PORTD bit 1 / Parallel Slave Port bit 1 |
| Pino 26 | RD2/PSP2 — PORTD bit 2 / Parallel Slave Port bit 2 |
| Pino 27 | RD3/PSP3 — PORTD bit 3 / Parallel Slave Port bit 3 |
| Pino 28 | RD4/PSP4 — PORTD bit 4 / Parallel Slave Port bit 4 |
| Pino 29 | RD5/PSP5 — PORTD bit 5 / Parallel Slave Port bit 5 |
| Pino 30 | RD6/PSP6/TX2/CK2 — PORTD bit 6 / Parallel Slave Port bit 6 / USART2 transmit |
| Pino 31 | RD7/PSP7/RX2/DT2 — PORTD bit 7 / Parallel Slave Port bit 7 / USART2 receive |
| Pino 32 | VSS — Ground reference |
| Pino 33 | VDD — Positive supply voltage |
| Pino 34 | RB0/INT0/FLT0 — PORTB bit 0 / External interrupt 0 / PWM fault input |
| Pino 35 | RB1/INT1 — PORTB bit 1 / External interrupt 1 |
| Pino 36 | RB2/INT2/CTED1 — PORTB bit 2 / External interrupt 2 / CTMU edge 1 |
| Pino 37 | RB3/INT3/CTED2 — PORTB bit 3 / External interrupt 3 / CTMU edge 2 |
| Pino 38 | RB4/KBI0 — PORTB bit 4 / Keyboard interrupt bit 0 |
| Pino 39 | RB5/KBI1 — PORTB bit 5 / Keyboard interrupt bit 1 |
| Pino 40 | RB6/KBI2/PGC — PORTB bit 6 / Keyboard interrupt bit 2 / ICSP clock |
| Pino 41 | RB7/KBI3/PGD — PORTB bit 7 / Keyboard interrupt bit 3 / ICSP data |
| Pino 42 | VSS — Ground reference |
| Pino 43 | VDD — Positive supply voltage |
| Pino 44 | RF0 — PORTF bit 0 |
| Pino 45 | RF1 — PORTF bit 1 |
| Pino 46 | RF2 — PORTF bit 2 |
| Pino 47 | RF3 — PORTF bit 3 |
| Pino 48 | RF4 — PORTF bit 4 |
| Pino 49 | RF5 — PORTF bit 5 |
| Pino 50 | RF6 — PORTF bit 6 |
| Pino 51 | RF7 — PORTF bit 7 |
| Pino 52 | RG0 — PORTG bit 0 |
| Pino 53 | RG1 — PORTG bit 1 |
| Pino 54 | RG2 — PORTG bit 2 |
| Pino 55 | RG3 — PORTG bit 3 |
| Pino 56 | RG4 — PORTG bit 4 |
| Pino 57 | RG5 — PORTG bit 5 |
| Pino 58 | AVDD — Analog positive supply |
| Pino 59 | AVSS — Analog ground |
| Pino 60 | RH0 — PORTH bit 0 |
| Pino 61 | RH1 — PORTH bit 1 |
| Pino 62 | RH2 — PORTH bit 2 |
| Pino 63 | RH3 — PORTH bit 3 |
| Pino 64 | RH4 — PORTH bit 4 |
| Pino 65 | RH5 — PORTH bit 5 |
| Pino 66 | RH6 — PORTH bit 6 |
| Pino 67 | RH7 — PORTH bit 7 |
| Pino 68 | RJ0 — PORTJ bit 0 |
| Pino 69 | RJ1 — PORTJ bit 1 |
| Pino 70 | RJ2 — PORTJ bit 2 |
| Pino 71 | RJ3 — PORTJ bit 3 |
| Pino 72 | RJ4 — PORTJ bit 4 |
| Pino 73 | RJ5 — PORTJ bit 5 |
| Pino 74 | RJ6 — PORTJ bit 6 |
| Pino 75 | RJ7 — PORTJ bit 7 |
| Pino 76 | VSS — Ground reference |
| Pino 77 | VDD — Positive supply voltage |
| Pino 78 | RC0 — PORTC bit 0 (alternate digital function) |
| Pino 79 | RC1 — PORTC bit 1 (alternate digital function) |
| Pino 80 | MCLR/RE3 — Master Clear reset / PORTE bit 3 |
Aplicações típicas
PIC18F87K22T-I/PTRSL é adequado para 6 aplicaçãos: Industrial HMI Control Panels, Capacitive Touch Keypads, Battery-Powered Sensor Nodes with LCD, Motor and Stepper Control, USB Device Bridges and Converters, Automotive Body and Climate Controllers.
Industrial HMI Control Panels
The PIC18F87K22T-I/PTRSL's 80-pin TQFP exposes 70 I/O lines and drives segmented LCD, character LCD, or small graphical TFT panels via parallel interface. With 128 KB Flash and 4 KB RAM, it runs multi-page menus, button debouncing, and modbus or CANopen master stacks comfortably. Industrial-grade -40C to +85C operation and nanoWatt XLP standby enable always-on key response without excessive cabinet heat rise.
Recomendado
Capacitive Touch Keypads
The on-chip Charge Time Measurement Unit (CTMU) on the PIC18F87K22T-I/PTRSL measures capacitance with sub-pF resolution, enabling robust touch sliders, wheels, and button matrices without external analog ICs. Combined with XLP deep sleep at tens of nA, a battery-powered door lock can stay in standby for years while waking instantly on touch. The 12-bit ADC and CTMU share the I/O pins used for touch, so no extra components are required beyond the sensor pad and ground pour.
Recomendado
Battery-Powered Sensor Nodes with LCD
nanoWart XLP sleep modes and the on-chip RTCC on the PIC18F87K22T-I/PTRSL enable multi-year battery operation in remote sensor applications. The 4 KB RAM buffers sensor data between sleep cycles, and 1 KB EEPROM stores calibration constants that survive deep power-down. With two USARTs and two MSSP ports, it bridges I2C sensors and SPI radios while displaying readings on an external character LCD.
Recomendado
Motor and Stepper Control
The PIC18F87K22T-I/PTRSL provides multiple CCP/ECCP modules generating complementary PWM outputs suitable for driving H-bridge and three-phase motor stages. Its 16 MIPS throughput runs field-oriented control loops at adequate update rates for small BLDC pumps and stepper drivers. The 12-bit ADC samples motor currents at tens of kHz, while the high-pin-count TQFP exposes encoder and limit-switch inputs without multiplexing.
Recomendado
USB Device Bridges and Converters
Using Microchip's USB stack on the PIC18F87K22T-I/PTRSL, the MCU can implement USB CDC, HID, or vendor-class bridges between a PC and serial or SPI peripherals. The 64 MHz core easily handles full-speed USB 2.0 packet scheduling and bulk transfers, while 4 KB of RAM buffers endpoint data. The 80-pin TQFP provides enough I/O to drive status LEDs, buttons, and the upstream/downstream serial links concurrently.
Recomendado
Automotive Body and Climate Controllers
In the extended-temperature PIC18F87K22 family, the PIC18F87K22T-I/PTRSL handles climate control and lighting loads in automotive body modules with 70 robust I/O pins driving relays and LED drivers. Its 12-bit ADC reads thermistors and potentiometers accurately, and the CTMU can replace mechanical switches with capacitive proximity sensors. The wide supply range (4.2-5.5 V) tolerates automotive load-dump transients with proper external protection.
Recomendado
Resumo dos produtos recomendados
Dados de referência de engenharia para PIC18F87K22T-I/PTRSL — comparação, orientação de projeto e informações de conformidade.
Guia de seleção
Comparação com alternativas
| Parâmetro | Este produto | PIC18F87K22-I/PTRSL | PIC18F87K22T-I/PT | PIC18F87K22-I/PT | PIC18F85K22T-I/PTRSL | PIC18F85K90T-I/PTRSL |
|---|---|---|---|---|---|---|
| Package | 80-pin TQFP (12x12 mm) | 80-pin TQFP (12x12 mm) | 80-pin TQFP (12x12 mm) | 80-pin TQFP (12x12 mm) | 64-pin TQFP | 80-pin TQFP |
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Program Flash | 128 KB | 128 KB | 128 KB | 128 KB | 64 KB | 128 KB |
| Data RAM | 4 KB | 4 KB | 4 KB | 4 KB | 4 KB | 4 KB |
| Maximum CPU Clock | 64 MHz | 64 MHz | 64 MHz | 64 MHz | 64 MHz | 64 MHz |
| I/O Pins | 70 | 70 | 70 | 70 | 53 | 70 |
| ADC | 12-bit | 12-bit | 12-bit | 12-bit | 12-bit | 12-bit |
| Packaging | Tape & Reel | Tape & Reel | Tape & Reel (secondary reel code) | Tray | Tape & Reel | Tape & Reel |
| Operating Temperature | -40C to +85C | -40C to +85C | -40C to +85C | -40C to +85C | -40C to +85C | -40C to +85C |
Principais diferenciais
- Same 80-pin TQFP family with identical 128 KB Flash (vs PIC18F85K22T-I/PTRSL)
- Upgrade path with same footprint (vs PIC18F85K90T-I/PTRSL)
- Industry-standard PIC18 core vs ARM Cortex-M migration (vs STM32F103 in equivalent package)
Notas de projeto
Place a 0.1 uF ceramic decoupling capacitor on each VDD/VSS pair (pins 12/13, 32/33, 76/77) within 5 mm of the package. Add a bulk 10 uF tantalum or ceramic at the MCU power pin. For battery applications use the nanoWatt XLP Sleep and Deep Sleep modes with RTCC wake-up to reduce average current to single-digit microamps during idle periods.
Keep the 16 MHz crystal (or external clock) traces short and symmetric, with the load capacitors placed within 3 mm of OSC1/OSC2. Route analog and digital grounds separately and join at a single point near the AVDD/AVSS pins (58/59). Avoid running noisy PWM traces parallel to ADC input traces, and place the CTMU touch sensing electrodes on the same layer as the MCU with a solid ground pour beneath.
Do not leave the MCLR pin floating; tie it to VDD through a 10 kohm resistor with a 100 nF capacitor to VSS for in-circuit serial programming. The RB6/PGC and RB7/PGD lines must not be pulled low at power-on or programming will be blocked. Always configure the CONFIG registers (oscillator, watchdog, brown-out, low-voltage programming) explicitly in source code rather than relying on defaults to avoid spurious resets.
For high-speed SPI peripherals above 8 MHz, add 33 ohm series resistors at the SDO output to dampen ringing, and keep clock traces less than 50 mm long on FR-4. I2C buses require 4.7 kohm pull-ups to VDD for 400 kHz operation. When using the Parallel Master Port (PMP) to drive external LCD or memory, add 22 ohm series resistors on all PMP data and control lines.
Informações de conformidade
RoHS compliant per Microchip product page. Not AEC-Q100 qualified - the -I grade is industrial (-40C to +85C). For automotive applications use AEC-Q100 qualified PIC18F variants from the K-series.