Opens in a new tab

Home » Microcontrollers (MCU) » PIC18F87K22-I/PTRSL

PIC18F87K22-I/PTRSL

PIC18 8-bit 64MHz MCU, 128KB Flash, 3.9KB RAM, 12-bit 30ch ADC, USB, 2x EUSART, TQFP-80

2870

Effective Inventory

Image for reference only

Manufacturer Part:

PIC18F87K22-I/PTRSL

Package:

TQFP-80 (12 x 12 x 1 mm)

Brand:

Product Categories:

Quality Commitment

Shipping & Payment

Service & Packaging

Product Manual

Other recommendations you may be interested in.

Description

Product Overview

The PIC18F87K22-I/PTRSL from Microchip is a high-performance 8-bit PIC18 MCU with 128KB Flash, 3.9KB RAM, 1KB EEPROM, 12-bit ADC with 30 channels, dual EUSART, and USB 2.0 in a 80-pin TQFP package. The -PTRSL suffix denotes tape and reel automotive-grade packaging.

Key Specifications

Core PIC18, 8-bit, up to 64 MHz
Flash Memory 128 KB
RAM 3,862 Bytes
Data EEPROM 1,024 Bytes
I/O Pins 68
ADC 12-bit, 30 channels
Comparators 2
USB 2.0 Full-Speed
Interfaces 2x EUSART, 2x SPI, 2x I2C
Timers 3x 8-bit, 4x 16-bit
PWM 2 CCP + 2 ECCP
Supply Voltage 1.8 V to 5.5 V
Operating Temperature -40°C to +85°C
Package TQFP-80 (12×12 mm)

Features

  • 128KB Flash PIC18 with 12-bit ADC and USB 2.0 in 80-pin TQFP
  • 12-bit ADC with 30 input channels for high-resolution analog sensing
  • Dual EUSART with LIN support and dual SPI/I2C for extensive connectivity
  • USB 2.0 Full-Speed device interface with integrated transceiver
  • Extended instruction set with 16-level hardware stack and 2 priority interrupts

Applications

  • USB-enabled industrial and consumer devices with high-channel ADC
  • Automotive control modules with LIN and multiple serial interfaces
  • Data acquisition systems requiring 12-bit resolution at 80 pins
Product Introduction: PIC18F87K22-I/PTRSL Product Introduction

The PIC18F87K22-I/PTRSL from Microchip is a high-performance 8-bit microcontroller from the PIC18 K22 family. It features 128KB of Flash program memory, 3,862 bytes of RAM, and 1,024 bytes of data EEPROM. The device integrates a 12-bit ADC with up to 30 input channels, two comparators, and a USB 2.0 Full-Speed device interface. Dual EUSART modules support LIN protocol, and dual MSSP modules provide SPI and I2C connectivity. The 68 I/O pins with Peripheral Pin Select (PPS) on select peripherals allow flexible board routing. The -PTRSL suffix indicates tape and reel packaging with automotive-grade qualification. The device operates from 1.8V to 5.5V, making it suitable for both 3.3V and 5V systems. The extended instruction set with 16-level hardware stack and two levels of interrupt priority enable efficient real-time application development.

Working Principle: PIC18F87K22-I/PTRSL Working Principle

The PIC18F87K22-I/PTRSL operates as a high-performance 8-bit PIC18 microcontroller. (1) PIC18 Core: The CPU executes an extended 83-instruction set with most instructions executing in a single cycle (4 clock edges). A 16-level hardware stack supports nested subroutine calls. Two interrupt priority levels allow time-critical interrupts to preempt lower-priority ones. (2) 12-bit ADC: The successive approximation ADC converts analog inputs to 12-bit digital values. The 30-channel input multiplexer allows monitoring multiple analog signals. The ADC supports automatic acquisition timing and can be triggered by timers or PWM events. (3) USB 2.0: The integrated USB transceiver and protocol engine handle USB Full-Speed (12Mbps) communication. The device supports 16 bidirectional endpoints with integrated FIFO buffers. (4) Peripheral Pin Select (PPS): Select digital peripheral inputs and outputs can be remapped to any of the available I/O pins through configuration registers, providing PCB layout flexibility.

Pin Description: PIC18F87K22-I/PTRSL Pin Definition and Functions
Pin Group Count Function
VDD/VSS Multiple Power and ground
GPIO 68 General-purpose I/O with PPS
ANx 30 Analog inputs (12-bit ADC)
USB 2 D+/D- USB pins
Serial Multiple 2x EUSART, 2x SPI, 2x I2C
ICSP 2 PGC/PGD programming
Application Scenarios: In which products and applications is PIC18F87K22-I/PTRSL used
  • USB-enabled data acquisition with 12-bit 30-channel ADC at 80 pins
  • Automotive control with LIN and multiple serial interfaces
  • Industrial controller with USB connectivity and real-time 12-bit sensing
Alternative Models: What chips are recommended as replacements for PIC18F87K22-I/PTRSL
Manufacturer Part Number Package Notes
Microchip PIC18F87K22-I/PT TQFP-80 Tray packaging
Microchip PIC18F67K22-I/PT TQFP-64 Fewer pins, 64-pin version
Microchip PIC18F97K22-I/PT TQFP-100 More pins, 100-pin version

Recommend Parts

IRFS4310ZTRLPBF

IRFS4310ZTRLPBF – 100V N-Channel HEXFET Power MOSFET, 7 mΩ RDS(on), D2PAK (TO-263AB)

Brand: infineon

Package: D2PAK (TO-263AB)

IN STOCK: 11137pcs

Cargo cycle: 3-7 Days

The minimum order is 1

MSASJ105BB5475MFNA01

4.7uF 6.3V X5R MLCC, 0402, Taiyo Yuden

Brand: gigadevice

Package: 0402 (1005 Metric, 1.0 x 0.5 x 0.5 mm)

IN STOCK: 9701pcs

Cargo cycle: 3-7 Days

The minimum order is 1

IRF3415PBF

150V N-channel power MOSFET, 43A, 41mΩ RDS(on), TO-220AB package

Brand: infineon

Package: TO-220AB

IN STOCK: 2940pcs

Cargo cycle: 3-7 Days

The minimum order is 1

105017-1001

USB Type-C receptacle connector, 24-pin, SMD

Brand: Amphenol

Package: SMD (8.9 x 7.3 x 3.2 mm, right angle)

IN STOCK: 5335pcs

Cargo cycle: 3-7 Days

The minimum order is 1

IRLB3034PBF

IRLB3034PBF – 40V N-Channel StrongIRFET Power MOSFET (Logic Level), 1.7 mΩ (max) @ 10V; 2.0 mΩ @ 4.5V RDS(on), TO-220AB

Brand: infineon

Package: TO-220AB

IN STOCK: 9724pcs

Cargo cycle: 3-7 Days

The minimum order is 1

XC6SLX75-2FGG484I

Spartan-6 LX75 FPGA, 74637 logic cells, 132 DSP, 3096KB BRAM, 408 I/O, FBGA-484 23x23mm, -2 speed, industrial -40~100C, AMD Xilinx

Brand: xilinx

Package: FGG484 (484-ball fine-pitch BGA, 23x23mm body, 1.0mm ball pitch, 22×22 ball array, 6 I/O banks, lead-free)

IN STOCK: 890pcs

Cargo cycle: 3-7 Days

The minimum order is 1