PIC18F6585-E/PT - 8-bit MCU 48KB Flash 25MHz 64-TQFP | Microchip
MPN: PIC18F6585-E/PT ✓ Active| Qty | Unit Price | Extended |
|---|---|---|
| 1 | $15.66 | $15.66 |
| 10 | $13.95 | $139.50 |
| 100 | $12.1 | $1,210.00 |
| 500 | $10.45 | $5,225.00 |
| 1,000 | $9.2 | $9,200.00 |
PIC18F6585-E/PT Overview
An 8-bit microcontroller (MCU) is a single-chip computer that integrates a CPU, non-volatile program memory, working RAM, and a range of peripherals onto one silicon die. The PIC18 family represents Microchip's high-performance 8-bit architecture, sitting above the baseline PIC10/12/16 families and offering more memory, more peripherals, and C-compiler-friendly instruction set extensions. Within Microchip's product tree, PIC18F parts are categorized as 8-bit microcontrollers -> microcontrollers -> integrated circuits -> semiconductors.
Key features of the PIC18F6585-E/PT include 54 digital I/O pins, two 8-bit timers and three 16-bit timers, two enhanced CCP modules, a 12-bit 8-channel ADC, an ECAN module for automotive/industrial networking, two USART ports, an SPI and an I2C bus, 1 KB of data EEPROM, and an internal 8 MHz RC oscillator. The 25 MHz operating frequency combined with the 16-bit-wide instruction path yields up to 10 MIPS throughput, while the 16-bit flash cell architecture allows read-while-write self-programmability.
Architecturally, the device uses a Harvard-based RISC core with 32-level hardware stack, hardware multiplier (8x8 single-cycle), and a flexible interrupt controller supporting prioritized vectored interrupts. The ECAN peripheral implements the full CAN 2.0B active specification with 8 message buffers and hardware acceptance filters, and the 12-bit ADC delivers up to 100 ksps conversion with acquisition time configurable per channel.
Typical applications include automotive body and chassis controllers, industrial CAN-bus nodes, sensor aggregation hubs, HVAC control modules, and consumer appliances requiring field-upgradeable firmware. The wide operating voltage of 4.2 V to 5.5 V and extended temperature range make it suitable for harsh-environment designs, while the ECAN module simplifies node addition to existing automotive/industrial CAN networks.
When designing with this part, ensure decoupling capacitors are placed within 5 mm of each power pin and that unused I/O pins are configured as outputs to minimize quiescent current draw. The ICD/ICSP pins must be brought out to a header for in-circuit debugging during development.
This page synthesizes distributor pricing as of 2026-09-28, same-package drop-in alternatives, comparison parameters versus competing MCUs, and practical design notes not consolidated in the manufacturer datasheet.
Drop-in alternatives for PIC18F6585-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 PIC18F6585-E/PT (same form factor and footprint) — differing in Operating Temperature, Package, ADC, Timers, Core Architecture.
Quick Comparison Tool — Select alternative parts for side-by-side comparison:
PIC18F6585-I/PT
✅ Drop-In📋 Reference alternative (not in catalog)
PIC18F6680-E/PT
✅ Drop-In✓ In Stock
$5.75 / Unit
View Datasheet →PIC18F6680-I/PT
✅ Drop-In📋 Reference alternative (not in catalog)
PIC18F4585-I/PT
✅ Drop-In✓ In Stock
$5.73 / Unit
View Datasheet →PIC18F4620-I/PT
✅ Drop-In ⚠️ Specs Unverified✓ In Stock
$5.45 / Unit
View Datasheet →PIC18F6585-E/PT Maximum Ratings & Electrical Characteristics
| Core Architecture | PIC18 8-bit RISC |
| Program Memory | 48 KB Flash (24K x 16) |
| RAM | 3,328 bytes |
| Data EEPROM | 1 KB |
| Maximum CPU Speed | 40 MHz |
| Typical Operating Speed | 25 MHz (10 MIPS) |
| Supply Voltage (Vdd) | 4.2 V to 5.5 V |
| I/O Pins | 54 |
| ADC | 12-bit, 8 channels |
| Timers | 2 x 8-bit, 3 x 16-bit |
| Communication | ECAN, 2x USART, SPI, I2C |
| ECAN Buffers | 8 message buffers (CAN 2.0B active) |
| CCP Modules | 2 Enhanced CCP |
| Operating Temperature | -40C to +125C (E - extended) |
| Package | 64-pin TQFP (10x10 mm, MS-026) |
| Mounting Type | Surface Mount |
| RoHS Status | Compliant |
PIC18F6585-E/PT Pin Configuration
| Pin 1 | RC1 — Digital I/O port C bit 1 / ECCP2 PWM output |
| Pin 2 | RC2 — Digital I/O port C bit 2 / ECCP2 output |
| Pin 3 | RC3 — Digital I/O port C bit 3 / SPI SCK |
| Pin 4 | RC4 — Digital I/O port C bit 4 / SPI SDO |
| Pin 5 | RC5 — Digital I/O port C bit 5 / SPI SDI |
| Pin 6 | RC6 — Digital I/O port C bit 6 / USART1 TX |
| Pin 7 | RC7 — Digital I/O port C bit 7 / USART1 RX |
| Pin 8 | RD0 — Digital I/O port D bit 0 / PSP data |
| Pin 9 | RD1 — Digital I/O port D bit 1 / PSP data |
| Pin 10 | RD2 — Digital I/O port D bit 2 / PSP data |
| Pin 11 | RD3 — Digital I/O port D bit 3 / PSP data |
| Pin 12 | RB3 — Digital I/O port B bit 3 / CCP2 |
| Pin 13 | RB2 — Digital I/O port B bit 2 / CCP1 |
| Pin 14 | RB1 — Digital I/O port B bit 1 / INT1 |
| Pin 15 | RB0 — Digital I/O port B bit 0 / INT0 / FLTA |
| Pin 16 | Vdd — Positive supply voltage (4.2V-5.5V) |
| Pin 17 | Vss — Ground reference |
| Pin 18 | RA7 — Digital I/O port A bit 7 / oscillator |
| Pin 19 | RA6 — Digital I/O port A bit 6 / oscillator |
| Pin 20 | RA5 — Digital I/O port A bit 5 / AN4 |
| Pin 21 | RA4 — Digital I/O port A bit 4 / T0CKI |
| Pin 22 | RA3 — Digital I/O port A bit 3 / AN3 / Vref+ |
| Pin 23 | RA2 — Digital I/O port A bit 2 / AN2 / Vref- |
| Pin 24 | RA1 — Digital I/O port A bit 1 / AN1 |
| Pin 25 | RA0 — Digital I/O port A bit 0 / AN0 |
| Pin 26 | Vss — Ground reference |
| Pin 27 | Vdd — Positive supply voltage |
| Pin 28 | RB7 — Digital I/O port B bit 7 / I2C SDA |
| Pin 29 | RB6 — Digital I/O port B bit 6 / I2C SCL |
| Pin 30 | RB5 — Digital I/O port B bit 5 / I2C SDA alt |
| Pin 31 | RB4 — Digital I/O port B bit 4 / I2C SCL alt |
| Pin 32 | NC — Not connected (per datasheet) |
| Pin 33 | RC0 — Digital I/O port C bit 0 |
| Pin 34 | OSC1 — Crystal oscillator input |
| Pin 35 | OSC2 — Crystal oscillator output |
| Pin 36 | MCLR — Master clear reset (active-low) |
| Pin 37 | RE0 — Digital I/O port E bit 0 / RD/AN5 |
| Pin 38 | RE1 — Digital I/O port E bit 1 / WR/AN6 |
| Pin 39 | RE2 — Digital I/O port E bit 2 / CS/AN7 |
| Pin 40 | AVdd — Analog positive supply |
| Pin 41 | AVss — Analog ground |
| Pin 42 | C1OUT — Comparator 1 output |
| Pin 43 | C2OUT — Comparator 2 output |
| Pin 44 | RD4 — Digital I/O port D bit 4 / PSP data |
| Pin 45 | RD5 — Digital I/O port D bit 5 / PSP data |
| Pin 46 | RD6 — Digital I/O port D bit 6 / TX2 |
| Pin 47 | RD7 — Digital I/O port D bit 7 / RX2 |
| Pin 48 | NC — Not connected (per datasheet) |
| Pin 49 | RF0 — Digital I/O port F bit 0 |
| Pin 50 | RF1 — Digital I/O port F bit 1 / C2IN- |
| Pin 51 | RF2 — Digital I/O port F bit 2 / C2IN+ |
| Pin 52 | RF3 — Digital I/O port F bit 3 / C1IN- |
| Pin 53 | RF4 — Digital I/O port F bit 4 / C1IN+ |
| Pin 54 | RF5 — Digital I/O port F bit 5 |
| Pin 55 | RF6 — Digital I/O port F bit 6 / CANTX |
| Pin 56 | RF7 — Digital I/O port F bit 7 / CANRX |
| Pin 57 | RG0 — Digital I/O port G bit 0 / CCP3 |
| Pin 58 | RG1 — Digital I/O port G bit 1 / C3OUT |
| Pin 59 | RG2 — Digital I/O port G bit 2 / C3IN- |
| Pin 60 | RG3 — Digital I/O port G bit 3 / C3IN+ |
| Pin 61 | RG4 — Digital I/O port G bit 4 / CCP4 |
| Pin 62 | RG5 — Digital I/O port G bit 5 |
| Pin 63 | NC — Not connected (per datasheet) |
| Pin 64 | Vss — Ground reference |
Typical Applications
PIC18F6585-E/PT is suitable for 6 applications: Automotive CAN Body Controller, Industrial CAN Sensor Node, HVAC Control Module, Appliance Control Board, Field-Upgradeable Industrial Equipment, Battery Management Slave Module.
Automotive CAN Body Controller
The PIC18F6585-E/PT is well matched to automotive body controllers because its integrated ECAN 2.0B active module with 8 message buffers and hardware acceptance filters enables direct connection to the vehicle CAN bus without an external CAN transceiver MCU pair. The 48 KB program memory accommodates CAN stack, body-control firmware (door locks, lighting, mirror control), and diagnostic routines; the 3,328-byte RAM holds CAN message buffers and runtime state. The -40C to +125C extended temperature grade is qualified for under-hood and cabin environments, and the 4.2-5.5 V supply range accepts regulated 5 V automotive rails. The 12-bit ADC with 8 channels can read sensor inputs (temperature, switches) directly. Compared to the PIC18F4585, the 6585 adds true ECAN with 8 dedicated buffers, reducing CPU overhead for CAN message handling in body-control modules.
Recommended
Industrial CAN Sensor Node
In industrial sensor nodes the PIC18F6585-E/PT serves as the local controller that aggregates sensor data and publishes it on a CANopen or DeviceNet bus via the integrated ECAN module. The 12-bit 8-channel ADC reads analog sensor outputs (pressure, level, flow) at up to 100 ksps; the two USARTs support RS-485/RS-232 fallback for legacy serial networks. The 1 KB data EEPROM stores non-volatile calibration data that survives power cycles, while the 48 KB flash holds the CANopen stack (e.g., CANopenNode port) and application firmware. With 54 digital I/O pins, the part can directly drive LED arrays, optocouplers, and relay drivers. Compared with the PIC18F2620 (28-pin), the 6585 adds CAN, more I/O, and the extended temperature grade required for factory-floor enclosures.
Recommended
HVAC Control Module
The PIC18F6585-E/PT fits HVAC controller applications where multiple analog inputs (temperature, humidity, pressure), digital outputs (fan relays, valve drivers), and a CAN bus interface to the building automation system must be coordinated. The 12-bit ADC provides 8 channels for NTC thermistor and 0-10 V sensor inputs; the three 16-bit timers generate PWM outputs for variable-speed fan control and proportional valve actuation; the two enhanced CCP modules support capture/compare/PWM. The 54 I/O pins accommodate multi-zone fan/valve arrays, while the 3,328-byte RAM and 48 KB flash hold control loops (PID), scheduling, and CANopen communication. The extended -40C to +125C grade handles rooftop unit electronics where ambient swings are wide. Versus PIC18F4550, the 6585 trades USB for CAN, which is the priority in building automation.
Recommended
Appliance Control Board
Consumer and commercial appliance controllers (washing machines, dishwashers, induction cooktops) use the PIC18F6585-E/PT as the main MCU where CAN or LIN is desired for service diagnostics and where multiple motor and sensor interfaces are required. The 54 I/O pins drive triac interfaces, keypad scanning, and seven-segment or LCD user-interface buses; the 12-bit ADC reads motor current and temperature; the 1 KB EEPROM stores user settings and cycle counters. The 48 KB flash is sufficient for motor-control algorithms (sensorless FOC, soft-start routines), and the 3,328-byte RAM handles real-time state machines. The PIC18F6585-E/PT's extended temperature grade allows operation in appliance compartments that reach 85C-100C ambient. Compared to the PIC18F452, the 6585 doubles the flash and adds ECAN for service-tool connectivity.
Recommended
Field-Upgradeable Industrial Equipment
The PIC18F6585-E/PT supports in-application self-programming via the 16-bit flash memory architecture, enabling field firmware updates over the CAN bus or USART bootloader. The 48 KB flash accommodates a dual-image boot architecture (active and update partitions) with the 1 KB EEPROM storing boot metadata, version, and configuration. The watchdog timer, brown-out reset, and low-voltage detect features give the ruggedness required for unattended field installations. With -40C to +125C operation, the part is suited to outdoor enclosures and remote-site deployments. Versus flash-less MCUs, the 6585's self-programming eliminates the need for external boot EEPROM or EEPROM-based firmware.
Recommended
Battery Management Slave Module
As a slave module in multi-cell battery management systems, the PIC18F6585-E/PT reads individual cell voltages through its 12-bit 8-channel ADC and reports pack state via the ECAN interface to a master controller. The 3,328-byte RAM holds moving-average filters for cell-voltage, current-sense, and temperature history; the 48 KB flash implements balancing algorithms and CAN protocols (CANopen battery profile). The 1 KB EEPROM stores calibration data, pack serial number, and lifecycle counters that must persist 10+ years. The extended -40C to +125C temperature grade allows mounting near battery packs where ambient can swing widely. Compared to dedicated battery-management ICs like the LTC68xx, the PIC18F6585-E/PT offers more general-purpose I/O and CAN, at the cost of fewer simultaneous cell-monitoring channels.
Recommended
Recommended Products Summary
Engineering reference data for PIC18F6585-E/PT — comparison, design guidance, and compliance information.
Selection Guide
Comparison with Alternatives
| Parameter | This Product | PIC18F6585-I/PT | PIC18F6680-E/PT | PIC18F6680-I/PT | PIC18F4585-I/PT | PIC18F4620-I/PT |
|---|---|---|---|---|---|---|
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Package | 64-pin TQFP (10x10 mm) | 64-pin TQFP (10x10 mm) - same | 64-pin TQFP (10x10 mm) - same | 64-pin TQFP (10x10 mm) - same | 64-pin TQFP (10x10 mm) - same | 64-pin TQFP (10x10 mm) - same |
| Program Flash | 48 KB | 48 KB | 96 KB | 96 KB | 48 KB | 64 KB |
| RAM | 3,328 bytes | 3,328 bytes | 3,328 bytes | 3,328 bytes | 3,328 bytes | 3,968 bytes |
| ECAN Module | Yes (8 buffers, CAN 2.0B active) | Yes (8 buffers) | Yes (8 buffers) | Yes (8 buffers) | Standard CAN only | Standard CAN only (CANP/C) |
| Max CPU Speed | 40 MHz | 40 MHz | 40 MHz | 40 MHz | 40 MHz | 40 MHz |
| Temperature Grade | -40C to +125C (E - extended) | -40C to +85C (I - industrial) | -40C to +125C (E) | -40C to +85C (I) | -40C to +85C (I) | -40C to +85C (I) |
| I/O Pins | 54 | 54 | 54 | 54 | 54 | 54 |
| ADC | 12-bit, 8 channels | 12-bit, 8 channels | 12-bit, 8 channels | 12-bit, 8 channels | 12-bit, 8 channels | 10-bit, 8 channels |
| Supply Voltage | 4.2 V to 5.5 V | 4.2 V to 5.5 V | 4.2 V to 5.5 V | 4.2 V to 5.5 V | 4.2 V to 5.5 V | 4.2 V to 5.5 V |
Key Differentiators
- Integrated ECAN 2.0B active module with 8 hardware message buffers (vs PIC18F4585-I/PT)
- Extended automotive temperature grade (-40C to +125C) included (vs PIC18F6585-I/PT)
- Direct upgrade path to 96 KB flash on same 64-pin TQFP footprint (vs PIC18F6680-E/PT)
Design Notes
Place a 100 nF decoupling capacitor within 5 mm of every Vdd/AVdd pin and a bulk 10 uF tantalum capacitor at the board's power-entry point. The PIC18F6585-E/PT draws peak currents of approximately 60 mA at 25 MHz; ensure the 5 V regulator has adequate headroom. Use a ferrite bead in series with AVdd to isolate analog supply noise from the digital core, and tie AVss and Vss at a single ground point to avoid ground loops.
Route the crystal traces (OSC1, OSC2) within 5 mm of the MCU and guard them with grounded copper pour. Keep the ECAN differential pair (CANTX, CANRX) matched to 100 ohm differential impedance and avoid stubs; place the MCP2551 transceiver within 25 mm of the MCU CAN pins. For the 64-pin TQFP (10x10 mm) use a 4-layer PCB with continuous ground plane beneath the part for thermal dissipation; the package dissipates up to 1 W under full load.
The ECAN bus requires 120 ohm termination resistors at each end of the bus; missing or incorrect termination causes bit errors and reduces bus reliability. Place the termination within 50 mm of the connector. Configure the ECAN acceptance filters to mask unrelated message IDs to reduce CPU interrupt load. For long bus runs (over 5 m), add a common-mode choke to suppress common-mode noise.
Do not leave unused I/O pins floating; configure them as outputs to minimize quiescent current. The MCLR pin must have a 10 kohm pull-up to Vdd if not driven by an external reset supervisor. Verify ADC reference voltage (Vref+/Vref-) is stable before conversion; use MCP1541 or MCP1525 as a precision reference rather than Vdd for accurate measurements. The "E" temperature suffix requires conformance to -40C to +125C; do not substitute the -I variant in automotive under-hood positions.
Compliance Information
AEC-Q100 is not formally listed in the Verified Web Data; the -E temperature grade extends to +125C which is similar to automotive Grade 1, but the datasheet should be consulted for AEC-Q100 status. RoHS and lead-free compliance confirmed via Microchip product page.