PIC18F2585-I/SP - 8-bit 40MHz MCU 48KB Flash ECAN DIP-28
MPN: PIC18F2585-I/SP ✓ Active| Qty | Unit Price | Extended |
|---|---|---|
| 1 | $9.45 | $9.45 |
| 10 | $8.51 | $85.10 |
| 100 | $7.42 | $742.00 |
| 500 | $6.58 | $3,290.00 |
| 1,000 | $5.95 | $5,950.00 |
PIC18F2585-I/SP Overview
An 8-bit microcontroller (MCU) is a single-chip computer that integrates a CPU, RAM, program memory, and peripheral interfaces around an 8-bit data bus. Within the semiconductor hierarchy, MCUs sit inside the broader Integrated Circuits category; PIC18F parts belong to Microchip's PIC18 advanced-performance 8-bit family, which is widely used in CAN-bus, industrial-control, and embedded-sensing designs where deterministic interrupt response and low power are required.
Key features include 48KB flash program memory with self-programmability, 3328 bytes of SRAM, 256 bytes of EEPROM, a 10-bit ADC with up to 11 channels, two enhanced USART modules, two MSSP (SPI/I2C) modules, the ECAN module compliant with CAN 2.0B active, four timer modules, two PWM/CCP modules, and nanoWatt power-saving modes. Operating voltage spans 2.0V to 5.5V with industrial -40C to +85C temperature range.
The device uses Microchip's enhanced Harvard architecture with a 16-bit instruction word and 8-bit data path, providing up to 10 MIPS throughput while retaining the PIC instruction-set compatibility for code reuse. The ECAN peripheral supports standard and extended identifiers plus advanced filtering, reducing host CPU overhead in networked sensor and motor-control designs.
Typical applications include automotive body and comfort ECAN nodes, industrial CAN-bus distributed I/O, building automation gateways, sensor and instrumentation nodes with on-board ADC, and low-power remote controls. The wide 2.0V to 5.5V input range simplifies battery-backed designs and 5V industrial buses.
When designing with this MCU, ensure the ICSP clock and data lines are properly isolated from application circuitry; also budget for an external CAN transceiver since the ECAN peripheral implements only the protocol layer.
This page synthesizes distributor pricing, drop-in same-package alternatives from the PIC18F2480/PIC18F2580 family, and practical design notes not consolidated in the manufacturer datasheet.
Drop-in alternatives for PIC18F2585-I/SP — 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 PIC18F2585-I/SP (same form factor and footprint) — differing in MSL Level, RoHS Status, Timers, Operating Temperature Range, ADC.
Quick Comparison Tool — Select alternative parts for side-by-side comparison:
PIC18F2580-I/SP
✅ Drop-In✓ In Stock
$4.55 / Unit
View Datasheet →PIC18F2480-I/SP
✅ Drop-In✓ In Stock
$4.1 / Unit
View Datasheet →PIC18F248-I/SP
✅ Drop-In ⚠️ Specs Unverified📋 Reference alternative (not in catalog)
PIC18F2680-I/SP
✅ Drop-In📋 Reference alternative (not in catalog)
PIC18F2585-H/SP
✅ Drop-In✓ In Stock
$5.38 / Unit
View Datasheet →PIC18F2585-E/SP
✅ Drop-In✓ In Stock
$5.02 / Unit
View Datasheet →PIC18F2585-I/SP Maximum Ratings & Electrical Characteristics
| Core Architecture | PIC 8-bit RISC (Harvard) |
| Family | PIC18F2xxx |
| Maximum CPU Frequency | 40 MHz |
| Program Memory (Flash) | 48 KB (24K x 16) |
| Data SRAM | 3328 bytes |
| Data EEPROM | 256 bytes |
| Operating Voltage Range | 2.0 V to 5.5 V |
| Operating Temperature Range | -40 C to +85 C (Industrial) |
| Package | 28-pin SPDIP (0.300 inch, 7.62 mm) |
| Mounting Type | Through-Hole (DIP) |
| ADC | 10-bit, up to 11 channels |
| CAN Interface | ECAN (CAN 2.0B active) |
| UART | 2x Enhanced USART |
| SPI / I2C | 2x MSSP (SPI / I2C) |
| Timers | 4 (Timer0/1/2/3) |
| PWM / CCP | 2x CCP/ECCP |
| Instruction Set Width | 16-bit instruction / 8-bit data |
| Throughput | 10 MIPS |
| Power-Saving Modes | nanoWatt Technology |
| ICSP | In-Circuit Serial Programming |
| RoHS Status | Compliant (lead-free finish per Microchip product page) |
| MSL Level | Not applicable (through-hole package) |
PIC18F2585-I/SP Pin Configuration
| Pin 1 | MCLR — Master Clear (reset) input, active low |
| Pin 2 | RA0 — PORTA bit 0 / analog AN0 |
| Pin 3 | RA1 — PORTA bit 1 / analog AN1 |
| Pin 4 | RA2 — PORTA bit 2 / analog AN2 |
| Pin 5 | RA3 — PORTA bit 3 / analog AN3 / VREF+ |
| Pin 6 | RA4 — PORTA bit 4 / analog AN4 |
| Pin 7 | RA5 — PORTA bit 5 / analog AN5 / VREF- |
| Pin 8 | VSS — Ground reference |
| Pin 9 | OSC1 — Oscillator input / external clock input |
| Pin 10 | OSC2 — Oscillator output / clock output |
| Pin 11 | RC0 — PORTC bit 0 |
| Pin 12 | RC1 — PORTC bit 1 |
| Pin 13 | RC2 — PORTC bit 2 / CCP1 |
| Pin 14 | RC3 — PORTC bit 3 / SCL |
| Pin 15 | RC4 — PORTC bit 4 / SDA |
| Pin 16 | RC5 — PORTC bit 5 |
| Pin 17 | RC6 — PORTC bit 6 / TX1 |
| Pin 18 | RC7 — PORTC bit 7 / RX1 |
| Pin 19 | VSS — Ground reference |
| Pin 20 | VDD — Positive supply voltage |
| Pin 21 | RB0 — PORTB bit 0 / INT0 |
| Pin 22 | RB1 — PORTB bit 1 / INT1 |
| Pin 23 | RB2 — PORTB bit 2 |
| Pin 24 | RB3 — PORTB bit 3 / CANTX |
| Pin 25 | RB4 — PORTB bit 4 / CANRX |
| Pin 26 | RB5 — PORTB bit 5 / PGM |
| Pin 27 | RB6 — PORTB bit 6 / PGC |
| Pin 28 | RB7 — PORTB bit 7 / PGD |
Typical Applications
PIC18F2585-I/SP is suitable for 6 applications: Automotive Body & Comfort ECAN Nodes, Industrial CAN-Bus Distributed I/O, Building Automation Gateways, Sensor & Instrumentation Nodes, Embedded Motor Control, Low-Power Remote Controls & HMI.
Automotive Body & Comfort ECAN Nodes
The PIC18F2585-I/SP is purpose-built for automotive body and comfort CAN-bus ECUs thanks to its integrated ECAN peripheral supporting CAN 2.0B active with both 11-bit and 29-bit identifiers, 48 KB flash for gateway and diagnostic stacks, and 10 MIPS throughput for fast bus arbitration. The 10-bit ADC reads sensor inputs (door switches, light sensors) and the 3328 bytes of RAM holds CAN message buffers and protocol state. Designers pair it with an external CAN transceiver like MCP2551 or TJA1050; the wide 2.0-5.5 V supply simplifies integration with 12 V-derived automotive rails through local regulation.
Recommended
Industrial CAN-Bus Distributed I/O
On factory floors the PIC18F2585-I/SP serves as the local intelligence on each CANopen or DeviceNet node, with its ECAN module handling bus protocol while the 10-bit ADC samples analog sensor signals and the 2x USART links to RS-485 or RS-232 field instruments. The 4 timers handle PWM outputs for valve and motor control, while nanoWatt power-saving modes reduce idle consumption. Industrial -40 C to +85 C rating and 2.0-5.5 V supply make the 2585 tolerant of the noisy 24 V industrial bus through a small DC-DC regulator.
Recommended
Building Automation Gateways
Building automation gateways use the PIC18F2585-I/SP to bridge between ECAN-based HVAC and access-control fieldbuses and a higher-level BACnet or Modbus host processor. The 48 KB flash stores bridging tables and protocol stacks, while the 2x MSSP (SPI/I2C) ports connect to local sensor hubs and the 2x USART talks to RS-485 trunks. ECAN's hardware filtering reduces host CPU load, allowing the MCU to maintain timing budgets even at 1 Mbit/s bus speeds.
Recommended
Sensor & Instrumentation Nodes
Battery-backed sensor and instrumentation nodes pair the PIC18F2585-I/SP with a 10-bit ADC for analog measurement and the ECAN module for networked data logging. The nanoWatt sleep modes drop quiescent current into the microamp range, enabling multi-year battery life on remote nodes. With 3328 bytes of SRAM the MCU can buffer several seconds of sensor data before transmitting, and the 40 MHz core handles simple on-node DSP like moving-average filtering.
Recommended
Embedded Motor Control
Small brushed DC and stepper motor control designs use the PIC18F2585-I/SP as the central controller, with its 2x CCP/ECCP modules generating PWM up to 40 MHz core clock and its 4 timers handling quadrature encoder inputs. The ECAN module provides networked feedback to a master controller. 48 KB of flash fits space-vector or trapezoidal commutation algorithms, while 2.0-5.5 V supply permits direct operation from a USB or Li-ion source.
Recommended
Low-Power Remote Controls & HMI
Battery-powered remote controls and small HMIs use the PIC18F2585-I/SP for its 256-byte EEPROM storing user preferences, 2x USART for diagnostics, and nanoWatt sleep modes extending battery life. The 2x MSSP ports drive SPI displays and I2C sensors, while the 10-bit ADC reads battery voltage and user potentiometers. The wide 2.0-5.5 V supply lets the same part run from 2 AA cells or USB power.
Recommended
Recommended Products Summary
Engineering reference data for PIC18F2585-I/SP — comparison, design guidance, and compliance information.
Selection Guide
Comparison with Alternatives
| Parameter | This Product | PIC18F2580-I/SP | PIC18F2680-I/SP | PIC18F2480-I/SP |
|---|---|---|---|---|
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Package | 28-pin SPDIP (DIP-28) | 28-pin SPDIP (same) | 28-pin SPDIP (same) | 28-pin SPDIP (same) |
| Flash Memory | 48 KB | 32 KB | 96 KB | 16 KB |
| RAM | 3328 bytes | 1536 bytes | 3328 bytes | 1536 bytes |
| EEPROM | 256 bytes | 256 bytes | 256 bytes | 256 bytes |
| CAN Module | ECAN (CAN 2.0B active) | ECAN | ECAN | CAN (no ECAN upgrade) |
| CPU Frequency | 40 MHz / 10 MIPS | 40 MHz / 10 MIPS | 40 MHz / 10 MIPS | 40 MHz / 10 MIPS |
| Operating Voltage | 2.0 V to 5.5 V | 2.0 V to 5.5 V | 2.0 V to 5.5 V | 2.0 V to 5.5 V |
| Temperature Range | -40 C to +85 C (Industrial) | -40 C to +85 C | -40 C to +85 C | -40 C to +85 C |
Key Differentiators
- Doubles flash and RAM of the legacy PIC18F2580 in the same footprint (vs PIC18F2580-I/SP)
- ECAN upgrade vs the older CAN module (vs PIC18F2480-I/SP)
- Lower memory footprint than PIC18F2680 when only 48 KB is needed (vs PIC18F2680-I/SP)
Design Notes
Place a 100 nF decoupling capacitor as close as possible to the VDD pin (pin 20) and a bulk capacitor (>=10 uF) on the same supply trace. The MCLR pin (pin 1) requires a pull-up to VDD (typically 10 kohm) and may benefit from a 100 nF cap to ground for noise immunity; do not leave MCLR floating.
When using the internal ECAN module, the bus-side voltage must be supplied through an external CAN transceiver (such as MCP2551 or TJA1050); the ECAN peripheral only implements the protocol layer, not the physical differential driver. Provide local regulation if the bus is powered from 12 V or 24 V.
Do not confuse the PIC18F2585 with the PIC18F2485 - the 2485 has no ECAN module and only 96 KB of flash with limited CAN support. Verify the ECAN pin assignments (RB3/CANTX, RB4/CANRX) before routing; these are fixed hardware mappings on this device and cannot be remapped to other PORT pins without PPS (which the 2585 does not support).
Compliance Information
RoHS-compliant lead-free finish per Microchip product page. Not AEC-Q100 qualified (use automotive-grade -Q1 variants for safety-critical designs). REACH status compliant per Microchip compliance statement.