PIC18F8585-E/PT - 8-Bit 25MHz 48KB Flash MCU 80-TQFP | Microchip
MPN: PIC18F8585-E/PT ✗ End of Life| Qty | Unit Price | Extended |
|---|---|---|
| 1 | $16.6 | $16.60 |
| 10 | $14.85 | $148.50 |
| 100 | $12.4 | $1,240.00 |
| 500 | $10.95 | $5,475.00 |
| 1,000 | $9.55 | $9,550.00 |
PIC18F8585-E/PT Overview
An 8-bit microcontroller (MCU) is a single-chip computer built around an 8-bit data path and Harvard architecture, integrating CPU core, program memory (Flash/ROM), data memory (RAM), non-volatile EEPROM, and a rich set of peripherals including timers, communication interfaces (UART, SPI, I2C), and analog-to-digital converters. PIC18F-series microcontrollers specifically sit in the hierarchy 8-bit MCU -> PIC micro -> microcontroller -> embedded computing -> semiconductor, and use Microchip's enhanced instruction set to deliver up to 10 MIPS at 40 MHz with 16-bit-wide instructions and single-cycle multiply.
Key features of the PIC18F8585-E/PT include a 12-channel 10-bit Analog-to-Digital Converter (ADC) with input multiplexing across up to 68 I/O pins, two Capture/Compare/PWM (CCP) modules plus an Enhanced CCP (ECCP), two USART modules with LIN support, an MSSP port configurable as SPI or I2C (master/slave), a CAN 2.0B module, four 8-bit timers and three 16-bit timers/watchdogs, two analog comparators, and a 16-bit Parallel Slave Port. It supports in-circuit serial programming (ICSP) and in-circuit debug (ICD) via two pins, and operates from 4.2 V to 5.5 V with industrial-grade ESD and latch-up performance.
Architecturally, the device uses an enhanced RISC core with 32-level hardware stack, 8x8 hardware multiplier, and a 16-bit instruction word optimized for deterministic interrupt response and C-compiler code density. The 80-pin TQFP exposes 68 digital I/O lines plus dedicated oscillator, programming, and analog reference pins. Power-managed modes include Run, Idle, and Sleep with multiple wake-up sources, enabling battery-friendly operation.
Typical applications include industrial control with CAN networking, automotive body and chassis ECUs, HVAC and building automation, motor control (BLDC and stepper), instrumentation front-ends, and any embedded design requiring abundant I/O plus on-chip CAN, ADC, and PWM peripherals. Compared with switching regulator solutions, the on-chip ADC and analog comparators avoid external analog front-end ICs in many designs.
When designing with the PIC18F8585-E/PT, use the MPLAB X IDE with the free XC8 compiler and MPLAB Code Configurator (MCC) for peripheral setup. Reserve dedicated pins for MCLR, OSC1/OSC2, AVSS/AVDD, and ensure decoupling capacitors are placed close to the supply pins. The '-E' temperature grade qualifies the part for -40C to +125C operation, distinguishing it from the standard 'I' grade.
This page synthesizes distributor stock and lead-time intelligence, drop-in and pin-compatible alternatives within the same 80-TQFP footprint, and engineering design notes that complement the manufacturer's datasheet to accelerate BOM selection and PCB redesign.
Drop-in alternatives for PIC18F8585-E/PT — same package, pin-to-pin compatible. Different-package parts requiring PCB rework are excluded.
Variants in this series
Same-series models that are drop-in compatible with PIC18F8585-E/PT (same form factor and footprint) — differing in Package, ADC, Operating Temperature, Timers, RAM.
Quick Comparison Tool — Select alternative parts for side-by-side comparison:
PIC18F8585-I/PT
✅ Drop-In✓ In Stock
$11.05 / Unit
View Datasheet →PIC18F6585-E/PT
✅ Drop-In✓ In Stock
$9.2 / Unit
View Datasheet →PIC18F8525T-I/PT
✅ Drop-In✓ In Stock
$5.12 / Unit
View Datasheet →PIC18F8520-I/PT
✅ Drop-In✓ In Stock
$5.1586 / Unit
View Datasheet →PIC18F67K90-I/PT
✅ Drop-In✓ In Stock
$7.55 / Unit
View Datasheet →PIC18F8585-E/PT Maximum Ratings & Electrical Characteristics
| Core Architecture | PIC18F enhanced 8-bit RISC |
| Instruction Set | 16-bit wide, 8-bit data path |
| Program Flash | 48 KB (24K x 16 words) |
| Data RAM | 3,328 bytes |
| Data EEPROM | 1,024 bytes |
| Max CPU Frequency | 25 MHz (10 MIPS) |
| Supply Voltage (VDD) | 4.2 V to 5.5 V |
| Operating Temperature | -40 C to +125 C (Extended grade) |
| I/O Pins | 68 |
| ADC | 10-bit, up to 12 input channels |
| Timers | 4 x 8-bit + 3 x 16-bit |
| CCP / ECCP | 2 CCP + 1 ECCP |
| Communication | 2x USART, 1x MSSP (SPI/I2C), 1x CAN 2.0B |
| Analog Comparators | 2 |
| Parallel Slave Port | 16-bit |
| Package | 80-pin TQFP, 12 x 12 mm, 1.0 mm height |
| Mounting Type | Surface Mount |
| MSL Level | 3 |
| RoHS Status | Compliant |
| Programming/Debug | ICSP + ICD via 2-wire |
PIC18F8585-E/PT Pin Configuration
| Pin 1 | RG0 — PORTG bit 0 digital I/O |
| Pin 2 | RG1 — PORTG bit 1 digital I/O |
| Pin 3 | RG2 — PORTG bit 2 digital I/O |
| Pin 4 | RG3 — PORTG bit 3 digital I/O |
| Pin 5 | RG4 — PORTG bit 4 digital I/O |
| Pin 6 | MCLR — Master Clear reset input (active low) |
| Pin 7 | OSC1 — Oscillator input |
| Pin 8 | OSC2 — Oscillator output |
| Pin 9 | RA0/AN0 — PORTA bit 0 / analog input 0 |
| Pin 10 | RA1/AN1 — PORTA bit 1 / analog input 1 |
| Pin 11 | RA2/AN2 — PORTA bit 2 / analog input 2 |
| Pin 12 | RA3/AN3 — PORTA bit 3 / analog input 3 / Vref+ |
| Pin 13 | RA4/AN4 — PORTA bit 4 / analog input 4 |
| Pin 14 | RA5/AN5 — PORTA bit 5 / analog input 5 |
| Pin 15 | RE0/RD/AD8 — PORTE bit 0 / Parallel Slave Port |
| Pin 16 | RE1/WR/AD9 — PORTE bit 1 / Parallel Slave Port |
| Pin 17 | RE2/CS/AD10 — PORTE bit 2 / Parallel Slave Port |
| Pin 18 | VDD — Positive supply (4.2 V to 5.5 V) |
| Pin 19 | VSS — Ground reference |
| Pin 20 | RA6 — PORTA bit 6 / oscillator |
| Pin 21 | RA7 — PORTA bit 7 / oscillator |
| Pin 22 | RF0 — PORTF bit 0 / analog input 6 |
| Pin 23 | RF1 — PORTF bit 1 / analog input 7 |
| Pin 24 | RF2 — PORTF bit 2 / analog input 8 |
| Pin 25 | RF3 — PORTF bit 3 / analog input 9 |
| Pin 26 | RF4 — PORTF bit 4 / analog input 10 |
| Pin 27 | RF5 — PORTF bit 5 / analog input 11 |
| Pin 28 | RF6 — PORTF bit 6 / analog input 12 |
| Pin 29 | RF7 — PORTF bit 7 / analog input 13 |
| Pin 30 | AVSS — Analog ground |
| Pin 31 | AVDD — Analog positive supply |
| Pin 32 | RB0/INT0 — PORTB bit 0 / external interrupt 0 |
| Pin 33 | RB1/INT1 — PORTB bit 1 / external interrupt 1 |
| Pin 34 | RB2/INT2 — PORTB bit 2 / external interrupt 2 |
| Pin 35 | RB3/INT3 — PORTB bit 3 / external interrupt 3 |
| Pin 36 | RB4 — PORTB bit 4 |
| Pin 37 | RB5 — PORTB bit 5 |
| Pin 38 | RB6/PGC — PORTB bit 6 / ICSP clock |
| Pin 39 | RB7/PGD — PORTB bit 7 / ICSP data |
| Pin 40 | VDD — Positive supply (4.2 V to 5.5 V) |
| Pin 41 | VSS — Ground reference |
| Pin 42 | RC0/T1OSO — PORTC bit 0 / Timer1 oscillator out |
| Pin 43 | RC1/T1OSI — PORTC bit 1 / Timer1 oscillator in |
| Pin 44 | RC2/CCP1 — PORTC bit 2 / CCP1 PWM output |
| Pin 45 | RC3/SCL — PORTC bit 3 / I2C clock |
| Pin 46 | RC4/SDA — PORTC bit 4 / I2C data |
| Pin 47 | RC5 — PORTC bit 5 |
| Pin 48 | RC6/TX — PORTC bit 6 / USART TX |
| Pin 49 | RC7/RX — PORTC bit 7 / USART RX |
| Pin 50 | RD0/AD0 — PORTD bit 0 / Parallel Slave Port D0 |
| Pin 51 | RD1/AD1 — PORTD bit 1 / Parallel Slave Port D1 |
| Pin 52 | RD2/AD2 — PORTD bit 2 / Parallel Slave Port D2 |
| Pin 53 | RD3/AD3 — PORTD bit 3 / Parallel Slave Port D3 |
| Pin 54 | RD4/AD4 — PORTD bit 4 / Parallel Slave Port D4 |
| Pin 55 | RD5/AD5 — PORTD bit 5 / Parallel Slave Port D5 |
| Pin 56 | RD6/AD6 — PORTD bit 6 / Parallel Slave Port D6 |
| Pin 57 | RD7/AD7 — PORTD bit 7 / Parallel Slave Port D7 |
| Pin 58 | VSS — Ground reference |
| Pin 59 | VDD — Positive supply (4.2 V to 5.5 V) |
| Pin 60 | RC0 — PORTC alternate |
| Pin 61 | NC — Not connected (per datasheet) |
| Pin 62 | CANRX — CAN bus receive input |
| Pin 63 | CANTX — CAN bus transmit output |
| Pin 64 | RE3 — PORTE bit 3 |
| Pin 65 | RH0 — PORTH bit 0 |
| Pin 66 | RH1 — PORTH bit 1 |
| Pin 67 | RH2 — PORTH bit 2 |
| Pin 68 | RH3 — PORTH bit 3 |
| Pin 69 | RH4 — PORTH bit 4 |
| Pin 70 | RH5 — PORTH bit 5 |
| Pin 71 | RH6 — PORTH bit 6 |
| Pin 72 | RH7 — PORTH bit 7 |
| Pin 73 | RJ0 — PORTJ bit 0 |
| Pin 74 | RJ1 — PORTJ bit 1 |
| Pin 75 | RJ2 — PORTJ bit 2 |
| Pin 76 | RJ3 — PORTJ bit 3 |
| Pin 77 | RJ4 — PORTJ bit 4 |
| Pin 78 | RJ5 — PORTJ bit 5 |
| Pin 79 | RJ6 — PORTJ bit 6 |
| Pin 80 | RJ7 — PORTJ bit 7 |
Typical Applications
PIC18F8585-E/PT is suitable for 6 applications: Industrial Control with CAN Networking, Automotive Body and Chassis ECU, HVAC and Building Automation, Motor Control (BLDC and Stepper), Instrumentation and Data Acquisition Front-End, Display and User-Interface Controllers.
Industrial Control with CAN Networking
The PIC18F8585-E/PT is purpose-built for industrial control nodes on a CAN 2.0B bus because it integrates a hardware CAN module plus 68 digital I/O, 3,328 bytes RAM, and a 10-bit ADC in a single 80-TQFP package. Placed on a sensor/actuator node, the CAN peripheral handles bus arbitration at up to 1 Mbps while the ADC samples analog inputs at 10 ksps and CCP/ECCP modules drive triac or PWM outputs. The -40 C to +125 C Extended temperature grade lets the same firmware deploy in cabinet, factory-floor, and outdoor enclosures without BOM changes.
Recommended
Automotive Body and Chassis ECU
In automotive body controllers, the PIC18F8585-E/PT's 48 KB Flash and 3,328 bytes RAM comfortably hold a CAN stack plus LIN master/slave USART logic, while the Extended temperature grade survives underhood and cabin thermal extremes. Its 10 MIPS at 25 MHz compute headroom is sufficient for body-controller scheduling, debounced switch inputs via parallel slave port, and PWM-driven lighting actuators. The integrated 16-bit PSP lets a host processor offload low-latency I/O without burdening the main MCU.
Recommended
HVAC and Building Automation
HVAC controllers benefit from the PIC18F8585-E/PT's combination of analog comparators for thermistor sensing, a 10-bit ADC with up to 12 channels for multi-zone temperature sampling, and ECCP PWM outputs for triac-fired heater and damper actuators. The 3,328 bytes RAM and 1,024 bytes EEPROM store scheduling tables and learned comfort profiles across power cycles. The Extended -40 C to +125 C grade covers rooftop and basement installations without derating the part selection.
Recommended
Motor Control (BLDC and Stepper)
Stepper and BLDC motor control loops are well-served by the PIC18F8585-E/PT's two CCP plus one Enhanced CCP module generating complementary PWM with programmable dead time, plus 3,328 bytes RAM for state-machine controllers. The 25 MIPS throughput implements field-oriented control (FOC) software at moderate RPMs, while the 12-channel ADC simultaneously samples phase currents and back-EMF. Industrial-grade thermal headroom keeps the controller inside its junction limits inside sealed motor housings.
Recommended
Instrumentation and Data Acquisition Front-End
Portable instrumentation leverages the PIC18F8585-E/PT's 10-bit ADC, 3,328 bytes RAM for sample buffers, and USART/SPI channels for tethered PC links or local display drivers. ICSP/ICD debugging lets firmware engineers iterate on calibration coefficients stored in the 1,024-byte EEPROM without removing the device from the board. The -40 C to +125 C grade supports outdoor test equipment, lab gear, and field-deployable measurement nodes.
Recommended
Display and User-Interface Controllers
User-interface controllers for industrial HMIs pair the PIC18F8585-E/PT's 68 I/O pins with character or graphic LCDs, keypads, and indicator LEDs, all driven directly without external logic. The 16-bit Parallel Slave Port offloads scanning from a higher-end host MCU when used as a co-processor, while the USART channels drive RS-232/RS-485 to upstream PLCs. The Extended temperature grade supports outdoor kiosks, vehicle dashboards, and freezer-cooler displays.
Recommended
Recommended Products Summary
Engineering reference data for PIC18F8585-E/PT — comparison, design guidance, and compliance information.
Selection Guide
Comparison with Alternatives
| Parameter | This Product | PIC18F8585-I/PT | PIC18F6585-E/PT | PIC18F8525T-I/PT | PIC18F8520-I/PT | PIC18F67K90-I/PT |
|---|---|---|---|---|---|---|
| Package | TQFP-80 (12x12 mm) | TQFP-80 (12x12 mm) - same | TQFP-80 (12x12 mm) - same | TQFP-80 (12x12 mm) - same | TQFP-80 (12x12 mm) - same | TQFP-64 (10x10 mm) - smaller |
| Brand | Microchip Technology | Microchip Technology - same | Microchip Technology - same | Microchip Technology - same | Microchip Technology - same | Microchip Technology - same |
| Program Flash | 48 KB | 48 KB - same | 32 KB (-33%) | 48 KB - same | 32 KB (-33%) | 64 KB (+33%) |
| Data RAM | 3,328 bytes | 3,328 bytes - same | 2,048 bytes (-38%) | 2,048 bytes (-38%) | 1,536 bytes (-54%) | 4,096 bytes (+23%) |
| Max Frequency | 25 MHz (10 MIPS) | 40 MHz (16 MIPS) - faster | 40 MHz (16 MIPS) - faster | 40 MHz (16 MIPS) - faster | 40 MHz (16 MIPS) - faster | 64 MHz (16 MIPS) - faster |
| Temperature Grade | -40C to +125C (E) | -40C to +85C (I) | -40C to +125C (E) | -40C to +85C (I) | -40C to +85C (I) | -40C to +85C (I) |
| CAN Module | Yes (CAN 2.0B) | Yes | Yes | No | No | No |
| ADC Channels | 12 x 10-bit | 12 x 10-bit | 12 x 10-bit | 16 x 10-bit | 16 x 10-bit | 16 x 12-bit (better) |
| Pin Count | 80 | 80 - same | 80 - same | 80 - same | 80 - same | 64 (-16) |
Key Differentiators
- Integrated CAN 2.0B controller plus Extended -40C to +125C temperature grade in 80-TQFP (vs PIC18F8525T-I/PT)
- Larger 3,328 bytes SRAM vs sibling 80-TQFP parts (vs PIC18F6585-E/PT)
- Extended temperature grade with same peripherals as the Industrial 'I' variant (vs PIC18F8585-I/PT)
Design Notes
Place a 100 nF decoupling capacitor within 5 mm of every VDD/VSS pair, plus a bulk 10 uF tantalum or ceramic on the main 5 V rail. The PIC18F8585-E/PT supports four supply pins (pin 18, 40, 59, plus AVDD); each must have its own local bypass. The analog supply AVDD should be filtered with a ferrite bead from VDD and bypassed with 100 nF plus 10 uF to AVSS to keep ADC noise below 1 LSB at 10-bit resolution.
Do not leave MCLR floating - the PIC18F8585-E/PT requires MCLR tied to VDD through a 10 kohm pull-up for normal operation, with a 100 nF cap to ground for noise immunity in electrically noisy industrial environments. ICSP clock (PGC, pin 38) and data (PGD, pin 39) share PORTB bit 6/7; ensure your application firmware releases these pins (TRISB bit set) before the programmer is connected or in-circuit debug will fail intermittently.
Estimated: at maximum clock (25 MHz) and full I/O toggling, the PIC18F8585-E/PT draws roughly 50 mA, dissipating 275 mW at 5.5 V VDD. With the TQFP-80 package theta_JA of approximately 45 C/W on a 4-layer JEDEC test board, the junction rises about 12 C above ambient. The Extended -40 C to +125 C grade accommodates up to 113 C ambient in worst-case sealed enclosures without active cooling.
Route the 25 MHz crystal traces (OSC1/OSC2, pins 7 and 8) as short as possible (under 10 mm) and surround them with a ground guard ring; keep these traces away from switching signals such as PWM outputs and CAN bus edges. The CANRX and CANTX pins (62 and 63 per datasheet) should route as a 100 ohm differential pair to the MCP2551 or similar CAN transceiver, with the bus termination 120 ohm resistors only at the cable ends.
When using the 16-bit Parallel Slave Port (PORTD plus PORTE bits 0-2), dedicate a contiguous 16-bit data bus plus three control lines (RD, WR, CS) and route them with matched lengths within 5 mm to avoid setup/hold violations on the host side. Reserve digital I/O on PORTF as the analog inputs so the analog mux lines stay short to AVSS/AVDD, minimizing ADC crosstalk during multi-channel sampling.
Compliance Information
RoHS compliant per Microchip product page; Extended temperature grade is not equivalent to AEC-Q100 automotive qualification. New automotive designs should use AEC-Q100 qualified parts from the PIC18F K-series.