PIC18F2585-H/SP - 48KB Flash 8-bit MCU w/ECAN, 25MHz, SPDIP-28 | Microchip
MPN: PIC18F2585-H/SP ✓ Active| Qty | Unit Price | Extended |
|---|---|---|
| 1 | $8.42 | $8.42 |
| 10 | $7.58 | $75.80 |
| 100 | $6.74 | $674.00 |
| 500 | $6.05 | $3,025.00 |
| 1,000 | $5.38 | $5,380.00 |
PIC18F2585-H/SP Overview
An 8-bit microcontroller (MCU) is a single-chip computer built around an 8-bit data path that integrates a CPU core, program memory (flash/ROM), data RAM, peripherals (timers, ADC, communication controllers), and I/O pins. PIC18F devices use Microchip's enhanced Harvard RISC architecture with a 16-bit instruction word and 8-bit data path, reaching up to 10 MIPS at 40 MHz. Within the power management and embedded hierarchy, MCUs sit below microprocessors and above digital signal controllers in capability; the PIC18 family specifically spans the 28- to 80-pin range with CAN, USB, and Ethernet connectivity options.
Key features include a 25 MHz maximum operating frequency (10 MIPS instruction rate), an internal oscillator, an integrated 10-bit analog-to-digital converter with up to 8 input channels, a CAN 2.0B active controller, nanoWatt power management for low-power sleep modes, and an Enhanced Capture/Compare/PWM (ECCP) module. The part also offers 25 digital I/O pins, two USART modules, MSSP (SPI/I2C), and 1 KB of data EEPROM. The 48 KB flash provides comfortable headroom for CAN stacks plus application firmware.
Architecture-wise, the PIC18F2585 uses a 16-bit instruction word with a two-stage pipeline, hardware multiply, and C-friendly register set. The integrated ECAN module is fully CAN 2.0B active compliant with hardware acceptance filters, supporting baud rates up to 1 Mbps. Combined with 8-channel 10-bit ADC and nanoWatt technology, this device is designed for sensor-heavy automotive nodes.
Typical applications include automotive body and chassis ECUs, industrial CAN nodes, sensor aggregation gateways, HVAC controllers, and high-temperature under-hood or industrial automation equipment. The H temperature grade and ECAN make it a strong fit for OBD-II peripherals and CAN-based sensor clusters.
When designing with this device, ensure the CAN bus is terminated per ISO 11898 with 120 ohm resistors at each end and that the ECAN bit timing is configured per the CiA-recommended oscillator error calculation. Programming is supported via ICSP and the MPLAB ICD 5 debugger.
This page synthesizes distributor pricing, drop-in alternatives, and design notes not found in the manufacturer datasheet alone.
Drop-in alternatives for PIC18F2585-H/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-H/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:
PIC18F2585-I/SP
✅ Drop-In✓ In Stock
$5.95 / Unit
View Datasheet →PIC18F2585-E/SP
✅ Drop-In ⚠️ Specs Unverified✓ In Stock
$5.02 / Unit
View Datasheet →PIC18F2580-I/SP
✅ Drop-In ⚠️ Specs Unverified✓ In Stock
$4.55 / Unit
View Datasheet →PIC18F2685-I/SP
✅ Drop-In ⚠️ Specs Unverified📋 Reference alternative (not in catalog)
PIC18F2480-I/SP
✅ Drop-In ⚠️ Specs Unverified✓ In Stock
$4.1 / Unit
View Datasheet →PIC18F2585-H/SP Maximum Ratings & Electrical Characteristics
| Program Memory Size | 48 KB (24K x 16) Flash |
| RAM Size | 3.25 KB (3328 bytes) |
| Data EEPROM | 1 KB |
| CPU Core | PIC18 8-bit RISC (Harvard) |
| Maximum Clock Frequency | 25 MHz (10 MIPS) |
| Operating Voltage Range | 2.0 V to 5.5 V |
| Operating Temperature Range | -40C to +150C (H temp grade) |
| Number of I/O Pins | 25 |
| ADC | 10-bit, up to 8 channels |
| CAN Module | ECAN 2.0B active, 1 controller |
| USART | 2 modules |
| MSSP (SPI/I2C) | 1 module (SPI or I2C) |
| Timers | 4 (Timer0/1/2/3) |
| CCP/ECCP Modules | 2 CCP + 1 ECCP |
| Package | 28-pin SPDIP (0.300 inch, 7.62 mm) |
| Mounting Type | Through-Hole (DIP) |
| ICSP (In-Circuit Serial Programming) | Yes |
| RoHS Status | Compliant |
| Lead-Free | Yes |
| MSL Level | 1 (unlimited floor life) |
PIC18F2585-H/SP Pin Configuration
| Pin 1 | MCLR/RA5 — Master Clear (reset) input / digital I/O |
| Pin 2 | RA0/AN0 — Digital I/O / analog input channel 0 |
| Pin 3 | RA1/AN1 — Digital I/O / analog input channel 1 |
| Pin 4 | RA2/AN2/VREF- — Digital I/O / analog input 2 / ADC negative reference |
| Pin 5 | RA3/AN3/VREF+ — Digital I/O / analog input 3 / ADC positive reference |
| Pin 6 | RA4/T0CKI — Digital I/O / Timer0 clock input |
| Pin 7 | VSS — Ground reference |
| Pin 8 | VSS — Ground reference |
| Pin 9 | OSC1/CLKI/RA7 — Crystal oscillator input / external clock in / I/O |
| Pin 10 | OSC2/CLKO/RA6 — Crystal oscillator output / clock out / I/O |
| Pin 11 | RC0/T1OSO/T1CKI — Digital I/O / Timer1 oscillator output / Timer1 clock input |
| Pin 12 | RC1/T1OSI/CCP2 — Digital I/O / Timer1 oscillator input / CCP2 |
| Pin 13 | RC2/CCP1 — Digital I/O / Capture Compare PWM 1 |
| Pin 14 | RC3/SCK/SCL — Digital I/O / SPI clock / I2C clock |
| Pin 15 | RC4/SDI/SDA — Digital I/O / SPI data in / I2C data |
| Pin 16 | RC5/SDO — Digital I/O / SPI data out |
| Pin 17 | RC6/TX/CK — Digital I/O / USART TX / USART synchronous clock |
| Pin 18 | RC7/RX/DT — Digital I/O / USART RX / USART synchronous data |
| Pin 19 | VSS — Ground reference |
| Pin 20 | VDD — Positive supply voltage (2.0V to 5.5V) |
| Pin 21 | RB0/INT0 — Digital I/O / external interrupt 0 |
| Pin 22 | RB1/INT1 — Digital I/O / external interrupt 1 |
| Pin 23 | RB2/INT2 — Digital I/O / external interrupt 2 |
| Pin 24 | RB3/INT3/CCP2 — Digital I/O / external interrupt 3 / CCP2 alternate |
| Pin 25 | RB4 — Digital I/O / interrupt-on-change |
| Pin 26 | RB5/PGM — Digital I/O / LVP programming |
| Pin 27 | RB6/PGC — Digital I/O / ICSP clock |
| Pin 28 | RB7/PGD — Digital I/O / ICSP data |
Typical Applications
PIC18F2585-H/SP is suitable for 6 applications: Automotive CAN Body Control Modules, Industrial CAN Sensor Nodes, HVAC Climate Control ECUs, Battery Management Slave Modules, CAN-Based Security & Access Panels, Industrial Automation Sensor Aggregators.
Automotive CAN Body Control Modules
The PIC18F2585-H/SP fits automotive body control modules because its integrated ECAN 2.0B active controller handles CAN 2.0B communication at up to 1 Mbps, eliminating an external CAN transceiver controller. With 48 KB flash and 3.25 KB RAM, the device comfortably hosts an OBD-II compatible CAN stack plus body-control firmware. The H temperature grade (-40C to +150C) covers under-dash and most engine-compartment conditions. Use it between the 12V automotive rail and the CAN bus with an external MCP2551 or TJA1050 transceiver; the ECAN hardware filters offload the CPU from bus traffic.
Recommended
Industrial CAN Sensor Nodes
The PIC18F2585-H/SP is well suited for industrial CANopen or DeviceNet sensor nodes where its 8-channel 10-bit ADC and integrated ECAN together let one chip digitize sensors and publish them onto a CAN bus. The H temperature grade tolerates factory-floor heat near motors or ovens. The 25 MHz clock (10 MIPS) is sufficient for 100 Hz control loops with CAN traffic. Place 120 ohm termination resistors at each bus end per ISO 11898, and use shielded twisted pair for long cable runs.
Recommended
HVAC Climate Control ECUs
The PIC18F2585-H/SP fits automotive and building HVAC climate control ECUs because its 8-channel 10-bit ADC reads multiple temperature sensors, while the ECAN module reports setpoints and status to a central body controller. The 2.0V to 5.5V supply range tolerates 12V automotive rails when paired with a regulator. The H temperature grade allows placement near heater cores or in plenum cavities. Use PWM on the ECCP module to drive blower motor control FETs.
Recommended
Battery Management Slave Modules
The PIC18F2585-H/SP serves as a battery-management slave module in distributed Li-ion or lead-acid packs because its 8-channel ADC monitors cell voltages and the ECAN module reports the data over the battery CAN bus. The 1 KB data EEPROM stores calibration coefficients and cycle counters without external storage. The H grade tolerates under-hood or in-pack temperatures. Decouple VDD with 100 nF plus 10 uF bulk and use a precision voltage reference for ADC accuracy.
Recommended
CAN-Based Security & Access Panels
The PIC18F2585-H/SP integrates well into CAN-based security panels, keyless entry modules, and access control nodes that need both ADC for tamper sensing and CAN for inter-panel communication. The 48 KB flash supports encrypted authentication firmware, and the 3.25 KB RAM handles small message buffers. The H grade suits outdoor or rooftop installations. Use the MSSP peripheral to drive a secure SPI EEPROM for key storage alongside the CAN bus interface.
Recommended
Industrial Automation Sensor Aggregators
The PIC18F2585-H/SP aggregates multiple sensor inputs onto a single CAN node in industrial automation, replacing discrete I/O modules. Its 25 I/O pins and 8-channel ADC handle several analog sensors plus digital I/O simultaneously, while the ECAN module publishes aggregated data at standard 250 kbps or 500 kbps. The H grade tolerates cabinet temperatures up to 150C. Combine with opto-isolated digital inputs and the internal USART for RS-485 bridging where needed.
Recommended
Recommended Products Summary
Engineering reference data for PIC18F2585-H/SP — comparison, design guidance, and compliance information.
Selection Guide
Comparison with Alternatives
| Parameter | This Product | PIC18F2585-I/SP | PIC18F2585-E/SP | PIC18F2580-I/SP | PIC18F2685-I/SP | PIC18F2480-I/SP |
|---|---|---|---|---|---|---|
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Package | 28-pin SPDIP (0.300 inch) | 28-pin SPDIP - same | 28-pin SPDIP - same | 28-pin SPDIP - same | 28-pin SPDIP - same | 28-pin SPDIP - same |
| Program Flash | 48 KB | 48 KB | 48 KB | 24 KB (-50%) | 96 KB (+100%) | 16 KB (-67%) |
| RAM | 3.25 KB | 3.25 KB | 3.25 KB | 1.5 KB (-54%) | 3.25 KB | 768 B (-77%) |
| Max Clock | 25 MHz (10 MIPS) | 25 MHz | 25 MHz | 25 MHz | 25 MHz | 25 MHz |
| ECAN Module | Yes (CAN 2.0B active) | Yes | Yes | Yes | Yes | No |
| Temperature Grade | H: -40C to +150C | I: -40C to +85C | E: -40C to +125C | I: -40C to +85C | I: -40C to +85C | I: -40C to +85C |
| 10-bit ADC Channels | 8 channels | 8 | 8 | 8 | 8 | 8 |
Key Differentiators
- Extended -40C to +150C H temperature grade (vs PIC18F2585-I/SP)
- Integrated hardware ECAN with hardware acceptance filters (vs PIC18F2480-I/SP)
- Doubled flash and RAM versus PIC18F2580 (vs PIC18F2580-I/SP)
Design Notes
Estimated: At VDD=5.0V, VSS=0V, and 25 MHz active, the PIC18F2585-H/SP core draws roughly 12-16 mA; in Sleep mode it falls below 1 uA thanks to nanoWatt technology. Decouple VDD (pin 20) with a 100 nF ceramic placed within 5 mm of the pin plus a 10 uF bulk near the regulator. Place a ferrite bead on AVDD if you isolate the analog supply, since the ADC reference shares pin 5 (VREF+).
ECAN requires precise oscillator accuracy to meet CAN bit timing requirements. Estimate: a 25 MHz crystal with 30 ppm tolerance is acceptable up to 500 kbps bus speed; for 1 Mbps, use 20 ppm or better. The CAN baud rate prescaler (BRP) and time segments must be configured using the CiA bit-timing calculator to satisfy propagation delay and sampling point requirements across the bus length.
The H temperature grade is rated -40C to +150C junction. Estimate: with 25 MHz active and all peripherals on, internal power dissipation stays below 100 mW, so theta_JA on the SPDIP-28 (typically 60-80 C/W) gives a junction-to-ambient rise of 8C or less. Even so, derate when ambient exceeds 100C; the silicon die is small and ambient dominates the thermal budget.
Keep the 28-pin SPDIP socket or PCB footprint to standard 0.100 inch (2.54 mm) row spacing and 0.300 inch (7.62 mm) row-to-row width - verified against Microchip package outline 28-006B. Route the CAN bus differential pair (CANTX/CANRX to external transceiver) as a matched 100 ohm differential pair; even short traces benefit from ground-referenced routing on an inner layer to maintain 50 ohm single-ended impedance.
Compliance Information
RoHS and REACH compliant per Microchip product page. AEC-Q100 qualification is not applicable (PIC18F2585 family is not AEC-Q100 qualified in Microchip's automotive part list; H temperature grade is industrial). For AEC-Q100 qualified alternatives, contact Microchip automotive product line.