PIC18F2585-I/SO - 8-bit MCU, 48KB Flash, ECAN, 28-SOIC | Microchip
MPN: PIC18F2585-I/SO ✓ Active| Qty | Unit Price | Extended |
|---|---|---|
| 1 | $6.58 | $6.58 |
| 10 | $6.05 | $60.50 |
| 100 | $5.42 | $542.00 |
| 500 | $4.89 | $2,445.00 |
| 1,000 | $4.35 | $4,350.00 |
PIC18F2585-I/SO Overview
An 8-bit microcontroller (MCU) is a single-chip computer that integrates a CPU, program memory, data RAM, non-volatile EEPROM, and a rich set of peripherals (timers, ADC, communication controllers) into one IC. The PIC18F family from Microchip Technology uses an enhanced RISC architecture with 200 ns instruction execution, 31-level hardware stack, and C-friendly orthogonal instruction set, occupying the role of main system controller in mid-range embedded designs across industrial, automotive, and consumer segments. Compared with 32-bit Cortex-M parts, PIC18F MCUs trade raw MIPS for deterministic behavior, low interrupt latency, and a mature toolchain (MPLAB X, XC8) that has decades of legacy code support.
Key features of the PIC18F2585-I/SO include 48 KB self-programmable Flash, 256 bytes of EEPROM, 25 digital I/O pins, a 10-bit ADC with up to 11 input channels, two Enhanced USART modules, two MSSP modules (SPI/I2C), one Enhanced CAN (ECAN) module compliant with CAN 2.0B active, two capture/compare/PWM modules, and an enhanced Flash program memory block with self-programmability. The device operates from 4.2 V to 5.5 V, supports industrial -40 C to +85 C temperature range (denoted by the -I suffix), and integrates brown-out reset, watchdog timer, and an in-circuit debugger (ICD) interface.
Architecturally, the PIC18F2585 uses a Harvard-style 16-bit instruction word with an 8-bit data path, four clock-input options (EC, HS, XT, LP), and internal PLL options for higher-frequency operation from a low-frequency crystal. The 40 MHz FOSC delivers 10 MIPS throughput, while an internal 31 kHz oscillator supports low-power modes (Run, Idle, Sleep) with wake-up on interrupt.
Typical applications include automotive body and chassis networking via CAN, industrial sensor aggregation nodes, LIN-to-CAN bridges, HVAC controllers, and any embedded system that requires on-chip CAN bus connectivity without an external transceiver controller. When designing with this part, ensure the ECAN TX/RX pins are routed to a matched-impedance bus with proper termination; pair the MCU with a 3.3 V CAN transceiver such as MCP2551 or TJA1050 for physical-layer signaling, and verify the configuration bits match the chosen oscillator before locking the code-protection fuse.
Drop-in alternatives for PIC18F2585-I/SO — 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/SO (same form factor and footprint) — differing in Timers, Package, Program Memory (Flash), ADC, I/O Pins.
Quick Comparison Tool — Select alternative parts for side-by-side comparison:
PIC18F2585-E/SO
✅ Drop-In✓ In Stock
$5.3 / Unit
View Datasheet →PIC18F2585T-I/SO
✅ Drop-In📋 Reference alternative (not in catalog)
PIC18F2585-H/SO
✅ Drop-In ⚠️ Specs Unverified📋 Reference alternative (not in catalog)
PIC18F2580-I/SO
✅ Drop-In📋 Reference alternative (not in catalog)
PIC18F2480-I/SO
✅ Drop-In ⚠️ Specs Unverified✓ In Stock
$4.13 / Unit
View Datasheet →PIC18F2550-I/SO
✅ Drop-In✓ In Stock
$4.1 / Unit
View Datasheet →PIC18F2585-I/SO Maximum Ratings & Electrical Characteristics
| Product Type | 8-bit Microcontroller (MCU) |
| Core Architecture | PIC18F (RISC, enhanced) |
| Program Memory (Flash) | 48 KB (24K x 16) |
| RAM | 3328 bytes |
| EEPROM | 256 bytes |
| Maximum CPU Speed | 40 MHz (10 MIPS) |
| Instruction Cycle Time | 200 ns at 40 MHz |
| Supply Voltage (VDD) | 4.2 V to 5.5 V |
| Digital I/O Pins | 25 |
| ADC | 10-bit, up to 11 channels |
| Communication Peripherals | 1x ECAN (CAN 2.0B active), 2x EUSART, 2x MSSP (SPI/I2C) |
| Timers | 1x 8-bit, 3x 16-bit |
| CCP Modules | 2 (Capture/Compare/PWM) |
| Operating Temperature | -40 C to +85 C (Industrial) |
| Package | 28-pin SOIC (SO), 7.50 mm body width |
| Mounting Type | Surface Mount |
| RoHS Status | Compliant |
| Lead-Free | Yes |
PIC18F2585-I/SO Pin Configuration
| Pin 1 | /MCLR/VPP — Master Clear (reset) input / ICSP programming voltage |
| Pin 2 | RA0/AN0 — Port A bit 0 / analog input 0 |
| Pin 3 | RA1/AN1 — Port A bit 1 / analog input 1 |
| Pin 4 | RA2/AN2/VREF- — Port A bit 2 / analog input 2 / ADC VREF- |
| Pin 5 | RA3/AN3/VREF+ — Port A bit 3 / analog input 3 / ADC VREF+ |
| Pin 6 | RA4/T0CKI — Port A bit 4 / Timer0 clock input |
| Pin 7 | RA5/AN4/SS — Port A bit 5 / analog input 4 / SPI slave select |
| Pin 8 | VSS — Ground reference |
| Pin 9 | OSC1/CLKI/RA7 — Crystal oscillator input / external clock / Port A bit 7 |
| Pin 10 | OSC2/CLKO/RA6 — Crystal oscillator output / clock output / Port A bit 6 |
| Pin 11 | RC0/T1OSO/T1CKI — Port C bit 0 / Timer1 oscillator out / Timer1 clock in |
| Pin 12 | RC1/T1OSI/CCP2 — Port C bit 1 / Timer1 oscillator in / CCP2 |
| Pin 13 | RC2/CCP1 — Port C bit 2 / CCP1 |
| Pin 14 | RC3/SCK/SCL — Port C bit 3 / SPI clock / I2C clock |
| Pin 15 | RC4/SDI/SDA — Port C bit 4 / SPI data in / I2C data |
| Pin 16 | RC5/SDO — Port C bit 5 / SPI data out |
| Pin 17 | RC6/TX/CK — Port C bit 6 / EUSART TX / EUSART clock |
| Pin 18 | RC7/RX/DT — Port C bit 7 / EUSART RX / EUSART data |
| Pin 19 | VSS — Ground reference |
| Pin 20 | VDD — Positive supply (4.2 V to 5.5 V) |
| Pin 21 | RB0/INT0 — Port B bit 0 / external interrupt 0 |
| Pin 22 | RB1/INT1 — Port B bit 1 / external interrupt 1 |
| Pin 23 | RB2/INT2 — Port B bit 2 / external interrupt 2 |
| Pin 24 | RB3/INT3/ECCP1 — Port B bit 3 / external interrupt 3 / Enhanced CCP1 |
| Pin 25 | RB4 — Port B bit 4 |
| Pin 26 | RB5 — Port B bit 5 |
| Pin 27 | RB6/PGC — Port B bit 6 / ICSP clock |
| Pin 28 | RB7/PGD — Port B bit 7 / ICSP data |
Typical Applications
PIC18F2585-I/SO is suitable for 6 applications: Automotive CAN Bus Nodes, Industrial Sensor Aggregation Gateway, HVAC and Building Automation Controllers, LIN-to-CAN Bridge Modules, Medical Instrumentation Data Acquisition, Marine and Aerospace CAN Networks.
Automotive CAN Bus Nodes
The PIC18F2585-I/SO is purpose-built for automotive CAN bus nodes such as body controllers, HVAC modules, seat controllers, and instrument cluster sub-nodes. Its integrated Enhanced CAN (ECAN 2.0B active) controller supports standard 11-bit and extended 29-bit identifiers with hardware acceptance filtering, offloading the CPU from message routing. The 48 KB Flash accommodates full J1939 or CANopen protocol stacks plus application logic, while the 40 MHz (10 MIPS) CPU handles real-time bus traffic at 500 kbps with margin. Pair the MCU with a high-speed CAN transceiver such as MCP2551 or TJA1050, terminated with 120 ohm resistors at each bus end.
Recommended
Industrial Sensor Aggregation Gateway
In industrial sensor aggregation gateways, the PIC18F2585-I/SO collects data from multiple analog and digital sensors via its 11-channel 10-bit ADC, two EUSART, and two MSSP (SPI/I2C) ports, then publishes aggregated readings onto a CAN backplane. The 3,328 bytes of RAM supports message buffering, while 48 KB Flash stores Modbus, CANopen, or proprietary protocols. The -40 C to +85 C industrial temperature range suits factory floor environments. The 25 digital I/O pins allow direct interface to opto-isolated inputs and relay outputs, reducing the need for external I/O expanders.
Recommended
HVAC and Building Automation Controllers
Commercial HVAC and building automation systems use the PIC18F2585-I/SO as a zone controller that monitors temperature, humidity, and occupancy sensors, drives damper and valve actuators, and reports status over CAN to a central BMS. The 10-bit ADC provides adequate resolution for thermistor and humidity sensor conditioning, while the two CCP/PWM modules generate motor control signals for variable-speed fans. The ECAN module integrates natively with BACnet-over-CAN or vendor-proprietary building automation protocols, eliminating external protocol bridges and BOM cost.
Recommended
LIN-to-CAN Bridge Modules
The PIC18F2585-I/SO serves as a LIN-to-CAN bridge between sub-networks of LIN sensors/actuators and a central CAN backbone in automotive and industrial systems. One EUSART implements LIN 2.1 master or slave protocol with the on-chip 16-bit timer handling baud-rate auto-detection, while the ECAN controller handles the backbone side. The 48 KB Flash accommodates both LIN and CAN stack plus custom bridging logic, and the 3,328 bytes RAM buffers messages between buses. The 28-SOIC package fits the compact module form factor typical of in-vehicle junction boxes.
Recommended
Medical Instrumentation Data Acquisition
In portable medical instrumentation such as patient monitors and diagnostic peripherals, the PIC18F2585-I/SO acquires multi-channel physiological signals through its 11-channel 10-bit ADC and transmits processed data over CAN to a central monitoring station. The deterministic PIC18F interrupt latency and 10 MIPS throughput guarantee timely sample handling, while the integrated peripherals minimize board space and BOM cost. The industrial temperature range supports clinical and field environments, and the 28-SOIC package is well suited to handheld enclosures.
Recommended
Marine and Aerospace CAN Networks
Marine engine controllers, NMEA 2000 network nodes, and small UAV telemetry modules use the PIC18F2585-I/SO as a CAN node where its -40 C to +85 C range, robust ECAN controller, and 5 V supply tolerance satisfy harsh environmental requirements. The 48 KB Flash stores NMEA 2000 PGN handling or UAV flight-telemetry parsing, and the 25 I/O pins interface directly to GPS, inertial sensors, and actuator drivers. NMEA 2000 is built on CAN 2.0B and works natively with the ECAN module, enabling quick integration with off-the-shelf marine displays.
Recommended
Recommended Products Summary
Engineering reference data for PIC18F2585-I/SO — comparison, design guidance, and compliance information.
Selection Guide
Comparison with Alternatives
| Parameter | This Product | PIC18F2585-E/SO | PIC18F2585T-I/SO | PIC18F2580-I/SO | PIC18F2550-I/SO |
|---|---|---|---|---|---|
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Package | 28-SOIC (SO) | 28-SOIC (SO) - same | 28-SOIC (SO) - same | 28-SOIC (SO) - same | 28-SOIC (SO) - same |
| Program Memory (Flash) | 48 KB | 48 KB | 48 KB | 32 KB (-33%) | 32 KB (-33%) |
| RAM | 3328 bytes | 3328 bytes | 3328 bytes | 1536 bytes (-54%) | 2048 bytes (-38%) |
| ECAN Module | 1x ECAN 2.0B active | 1x ECAN 2.0B active | 1x ECAN 2.0B active | 1x ECAN 2.0B active | No ECAN (has USB 2.0 FS OTG instead) |
| Operating Temperature | -40 C to +85 C (Industrial) | -40 C to +125 C (Extended) | -40 C to +85 C (Industrial) | -40 C to +85 C (Industrial) | -40 C to +85 C (Industrial) |
| Maximum CPU Speed | 40 MHz (10 MIPS) | 40 MHz (10 MIPS) | 40 MHz (10 MIPS) | 40 MHz (10 MIPS) | 48 MHz (12 MIPS) |
| USB Support | No | No | No | No | USB 2.0 Full-Speed OTG |
| 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 |
| Lifecycle Status | Active | Active | Active | Active | Active |
Key Differentiators
- Full ECAN 2.0B active with hardware acceptance filtering (vs PIC18F2480-I/SO)
- Largest memory in the 28-SOIC PIC18F258x family (vs PIC18F2580-I/SO)
- Industrial temperature grade as standard (vs PIC18F2585-H/SO)
- CAN instead of USB for networked nodes (vs PIC18F2550-I/SO)
Design Notes
Power supply decoupling is critical for stable PIC18F2585-I/SO operation. Place a 100 nF X7R ceramic capacitor within 5 mm of each VDD/VSS pin pair (pins 8/19 and 20), and add a single 10 uF bulk tantalum or ceramic capacitor on the main VDD rail. The ECAN module is sensitive to VDD ripple; route VDD_CAN (pin 20) through a ferrite bead if switching regulators are used nearby. The MCU draws approximately 15 mA active at 40 MHz and falls to under 5 uA in Sleep mode with ECAN disabled.
Layout the 28-SOIC footprint per IPC-7351 SOIC-28 nominal land pattern with 1.27 mm pitch. Keep the ICSP pins (RB6/PGC pin 27, RB7/PGD pin 28) accessible with a 2x3 0.1 inch header footprint for in-circuit programming and debugging. Route the ECAN lines (RC6/TX pin 17, RC7/RX pin 20 region) as a matched-length differential pair to the CAN transceiver, and keep the bus stub length under 25 mm per ISO 11898 to preserve signal integrity at 1 Mbps.
Several common pitfalls can lock up a PIC18F2585-I/SO design. First, always configure the oscillator mode CONFIG1H bits correctly before applying power; an incorrect HS/EC selection will prevent startup. Second, do not enable the ECAN module before initializing the TRISC bits for CANTX/CANRX as inputs. Third, ensure /MCLR (pin 1) is pulled high through a 10 kohm resistor and bypassed with 100 nF to ground to prevent spurious resets. Finally, write-protect your application code by clearing the WRT bits in CONFIG6L/6H only after final firmware validation.
The ECAN bus requires 120 ohm termination at both physical ends of the bus. Place termination resistors as close as possible to the CANH and CANL pins of the transceiver, not at the MCU. Use twisted-pair cabling with characteristic impedance of 120 ohms. For long bus runs (>10 m), add split termination (two 60 ohm resistors with a 4.7 nF capacitor to ground at the midpoint) to suppress common-mode noise. Verify signal quality with an oscilloscope on CANH-CANL at 500 kbps before declaring the bus ready.
Compliance Information
RoHS and REACH compliant per Microchip product documentation. The PIC18F2585-I/SO is NOT AEC-Q100 qualified; for automotive applications choose the PIC18F2585-H/SO variant. Supplied in lead-free 28-SOIC packaging with JEDEC MSL 1 moisture sensitivity.