PIC18F87K22T-I/PTRSL - 64MHz, 128KB Flash 8-bit MCU | Microchip
Référence : PIC18F87K22T-I/PTRSL ✓ Actif| Qté | Prix unitaire | 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 Présentation
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.
Alternatives de remplacement direct pour PIC18F87K22T-I/PTRSL — même boîtier, compatible broche à broche. Les références à boîtier différent nécessitant une retouche du PCB sont exclues.
Variantes de cette série
Modèles de la même série directement compatibles avec PIC18F87K22T-I/PTRSL (même facteur de forme et même empreinte) — différant par Package, Timers, I/O Pins, ADC, Program Memory (Flash).
Outil de comparaison rapide — sélectionnez des références alternatives pour une comparaison côte à côte :
PIC18F87K22-I/PTRSL
✅ Remplacement direct✓ En stock
$6.12 / unité
Voir la fiche technique →PIC18F87K22T-I/PT
✅ Remplacement direct✓ En stock
$7.95 / unité
Voir la fiche technique →PIC18F87K22-I/PT
✅ Remplacement direct✓ En stock
$5.27 / unité
Voir la fiche technique →PIC18F87K22T-I/PTRSL Valeurs maximales et caractéristiques électriques
| 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 |
| Tension d'alimentation | 4.2 V to 5.5 V (wide Vdd mode) |
| I/O Pins | 70 |
| ADC | 12-bit, up to 16 channels |
| Boîtier | 80-pin TQFP (12x12 mm, 1 mm height) |
| Type de montage | Surface Mount |
| Température de fonctionnement | -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 |
| Statut RoHS | Compliant |
Configuration des broches de PIC18F87K22T-I/PTRSL
| Broche 1 | RA0/AN0/ULPWU — PORTA bit 0 / Analog input 0 / Ultra-Low-Power Wake-up |
| Broche 2 | RA1/AN1 — PORTA bit 1 / Analog input 1 |
| Broche 3 | RA2/AN2/VREF- — PORTA bit 2 / Analog input 2 / ADC negative reference |
| Broche 4 | RA3/AN3/VREF+ — PORTA bit 3 / Analog input 3 / ADC positive reference |
| Broche 5 | RA4/T0CKI — PORTA bit 4 / Timer0 clock input |
| Broche 6 | RA5/AN4 — PORTA bit 5 / Analog input 4 |
| Broche 7 | RA6 — PORTA bit 6 |
| Broche 8 | RA7 — PORTA bit 7 |
| Broche 9 | RE0/RD — PORTE bit 0 / Read control for Parallel Master Port |
| Broche 10 | RE1/WR — PORTE bit 1 / Write control for Parallel Master Port |
| Broche 11 | RE2/CS — PORTE bit 2 / Chip select for Parallel Master Port |
| Broche 12 | VDD — Positive supply voltage |
| Broche 13 | VSS — Ground reference |
| Broche 14 | OSC1/CLKI/RA7 — Oscillator crystal input / External clock input |
| Broche 15 | OSC2/CLKO/RA6 — Oscillator crystal output / Clock output |
| Broche 16 | RC0/T1OSO/T1CKI — PORTC bit 0 / Timer1 oscillator output / Timer1 clock input |
| Broche 17 | RC1/T1OSI/CCP2 — PORTC bit 1 / Timer1 oscillator input / CCP2 output |
| Broche 18 | RC2/CCP1 — PORTC bit 2 / CCP1 output |
| Broche 19 | RC3/SCK1/SCL1 — PORTC bit 3 / SPI1 clock / I2C1 clock |
| Broche 20 | RC4/SDI1/SDA1 — PORTC bit 4 / SPI1 data in / I2C1 data |
| Broche 21 | RC5/SDO1 — PORTC bit 5 / SPI1 data out |
| Broche 22 | RC6/TX1/CK1 — PORTC bit 6 / USART1 transmit / USART1 clock |
| Broche 23 | RC7/RX1/DT1 — PORTC bit 7 / USART1 receive / USART1 data |
| Broche 24 | RD0/PSP0 — PORTD bit 0 / Parallel Slave Port bit 0 |
| Broche 25 | RD1/PSP1 — PORTD bit 1 / Parallel Slave Port bit 1 |
| Broche 26 | RD2/PSP2 — PORTD bit 2 / Parallel Slave Port bit 2 |
| Broche 27 | RD3/PSP3 — PORTD bit 3 / Parallel Slave Port bit 3 |
| Broche 28 | RD4/PSP4 — PORTD bit 4 / Parallel Slave Port bit 4 |
| Broche 29 | RD5/PSP5 — PORTD bit 5 / Parallel Slave Port bit 5 |
| Broche 30 | RD6/PSP6/TX2/CK2 — PORTD bit 6 / Parallel Slave Port bit 6 / USART2 transmit |
| Broche 31 | RD7/PSP7/RX2/DT2 — PORTD bit 7 / Parallel Slave Port bit 7 / USART2 receive |
| Broche 32 | VSS — Ground reference |
| Broche 33 | VDD — Positive supply voltage |
| Broche 34 | RB0/INT0/FLT0 — PORTB bit 0 / External interrupt 0 / PWM fault input |
| Broche 35 | RB1/INT1 — PORTB bit 1 / External interrupt 1 |
| Broche 36 | RB2/INT2/CTED1 — PORTB bit 2 / External interrupt 2 / CTMU edge 1 |
| Broche 37 | RB3/INT3/CTED2 — PORTB bit 3 / External interrupt 3 / CTMU edge 2 |
| Broche 38 | RB4/KBI0 — PORTB bit 4 / Keyboard interrupt bit 0 |
| Broche 39 | RB5/KBI1 — PORTB bit 5 / Keyboard interrupt bit 1 |
| Broche 40 | RB6/KBI2/PGC — PORTB bit 6 / Keyboard interrupt bit 2 / ICSP clock |
| Broche 41 | RB7/KBI3/PGD — PORTB bit 7 / Keyboard interrupt bit 3 / ICSP data |
| Broche 42 | VSS — Ground reference |
| Broche 43 | VDD — Positive supply voltage |
| Broche 44 | RF0 — PORTF bit 0 |
| Broche 45 | RF1 — PORTF bit 1 |
| Broche 46 | RF2 — PORTF bit 2 |
| Broche 47 | RF3 — PORTF bit 3 |
| Broche 48 | RF4 — PORTF bit 4 |
| Broche 49 | RF5 — PORTF bit 5 |
| Broche 50 | RF6 — PORTF bit 6 |
| Broche 51 | RF7 — PORTF bit 7 |
| Broche 52 | RG0 — PORTG bit 0 |
| Broche 53 | RG1 — PORTG bit 1 |
| Broche 54 | RG2 — PORTG bit 2 |
| Broche 55 | RG3 — PORTG bit 3 |
| Broche 56 | RG4 — PORTG bit 4 |
| Broche 57 | RG5 — PORTG bit 5 |
| Broche 58 | AVDD — Analog positive supply |
| Broche 59 | AVSS — Analog ground |
| Broche 60 | RH0 — PORTH bit 0 |
| Broche 61 | RH1 — PORTH bit 1 |
| Broche 62 | RH2 — PORTH bit 2 |
| Broche 63 | RH3 — PORTH bit 3 |
| Broche 64 | RH4 — PORTH bit 4 |
| Broche 65 | RH5 — PORTH bit 5 |
| Broche 66 | RH6 — PORTH bit 6 |
| Broche 67 | RH7 — PORTH bit 7 |
| Broche 68 | RJ0 — PORTJ bit 0 |
| Broche 69 | RJ1 — PORTJ bit 1 |
| Broche 70 | RJ2 — PORTJ bit 2 |
| Broche 71 | RJ3 — PORTJ bit 3 |
| Broche 72 | RJ4 — PORTJ bit 4 |
| Broche 73 | RJ5 — PORTJ bit 5 |
| Broche 74 | RJ6 — PORTJ bit 6 |
| Broche 75 | RJ7 — PORTJ bit 7 |
| Broche 76 | VSS — Ground reference |
| Broche 77 | VDD — Positive supply voltage |
| Broche 78 | RC0 — PORTC bit 0 (alternate digital function) |
| Broche 79 | RC1 — PORTC bit 1 (alternate digital function) |
| Broche 80 | MCLR/RE3 — Master Clear reset / PORTE bit 3 |
Applications typiques
PIC18F87K22T-I/PTRSL convient pour 6 applications: 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.
Recommandé
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.
Recommandé
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.
Recommandé
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.
Recommandé
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.
Recommandé
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.
Recommandé
Récapitulatif des produits recommandés
Données de référence d'ingénierie pour PIC18F87K22T-I/PTRSL — comparaison, recommandations de conception et informations de conformité.
Guide de sélection
Comparaison avec les alternatives
| Paramètre | Ce produit | 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 |
Principaux différenciateurs
- 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)
Notes de conception
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.
Informations de conformité
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.