PIC18F2585-E/SO - 8-bit MCU 48KB Flash ECAN 28-SOIC
N.º da peça: PIC18F2585-E/SO ✓ Ativo| Qtd. | Preço unitário | Total |
|---|---|---|
| 1 | $8.66 | $8,66 |
| 10 | $7.79 | $77,90 |
| 100 | $6.92 | $692,00 |
| 500 | $6.13 | $3.065,00 |
| 1.000 | $5.3 | $5.300,00 |
PIC18F2585-E/SO Visão geral
An 8-bit microcontroller (MCU) is a programmable logic device that combines a CPU, memory, and peripherals on a single silicon die; PIC18F parts belong to Microchip's enhanced Harvard-architecture RISC family, which is widely used in automotive, industrial, and consumer embedded systems where deterministic timing and a mature toolchain (MPLAB X IDE, XC8 compiler, MPLAB ICD in-circuit debugger) reduce development risk.
Key features of the PIC18F2585 include an Enhanced ECAN module that supports CAN 2.0B active/passive at 1Mbps, a 10-bit ADC with up to 11 channels, two USART modules with LIN support, two MSSP (SPI/I2C) peripherals, four timer modules, and an internal 31kHz-8MHz oscillator. The CIP (Core Independent Peripherals) such as the 16-bit PWM and the Configurable Logic Cell reduce firmware overhead and enable responsive control without CPU intervention.
The architecture uses a 16-bit instruction word with an 8-bit data path, supports self-programmability in Flash, and provides robust peripherals for safety-critical applications. The Instruction Set Architecture includes Multiply and hardware Divide assist instructions, while code protection and a 1024-byte EEPROM data area protect customer IP and stored parameters.
Typical applications include automotive ECAN nodes (body controllers, instrument clusters, sensor aggregation via CAN bus), industrial automation (Modbus gateways, motor controllers, sensor hubs with CAN connectivity), HVAC controllers, and consumer appliances that need reliable 8-bit performance with CAN communication at low BOM cost.
When designing with this device, pay attention to the CAN bus termination: 120ohm resistors at each trunk end, ESD protection such as NXP PESD1CAN or Bourns CDSOT23-SM712 diodes, and a proper oscillator selection; a 20MHz crystal with the internal PLL is typical for 25MHz operation.
This page synthesizes verified distributor pricing, drop-in package-compatible alternatives, and practical design notes covering CAN bus termination, EMI, and ICSP programming considerations that are not explicitly gathered in the bare manufacturer datasheet.
Alternativas drop-in para PIC18F2585-E/SO — mesmo encapsulamento, compatível pino a pino. Peças de encapsulamento diferente que exigem retrabalho na PCB são excluídas.
Variantes desta série
Modelos da mesma série compatíveis como drop-in com PIC18F2585-E/SO (mesmo formato e footprint) — diferindo em Timers, Package, ADC, Operating Temperature, I/O Pins.
Ferramenta de comparação rápida — selecione peças alternativas para comparação lado a lado:
PIC18F2585-I/SO
✅ Drop-In✓ Em estoque
$4.35 / unidade
Ver ficha técnica →PIC18F4585-E/SP
✅ Drop-In📋 Alternativa de referência (fora do catálogo)
PIC18F2585T-E/SO
✅ Drop-In📋 Alternativa de referência (fora do catálogo)
PIC18LF2585-I/SO
✅ Drop-In📋 Alternativa de referência (fora do catálogo)
PIC18F2580-E/SO
✅ Drop-In📋 Alternativa de referência (fora do catálogo)
PIC18F2480-E/SO
✅ Drop-In✓ Em estoque
$9.42 / unidade
Ver ficha técnica →PIC18F2585-E/SO Classificações máximas e características elétricas
| Device Family | PIC18Fxx5/x4x family |
| Program Memory Type | Flash (self-programmable) |
| Program Memory Size | 48 KB (24K x 16) |
| RAM | 3328 bytes |
| EEPROM | 1024 bytes |
| Largura do barramento de dados | 8-bit |
| Instruction Set Architecture | PIC18 Enhanced Harvard RISC |
| Max CPU Clock Frequency | 25 MHz (10 MIPS) |
| Supply Voltage (Vdd) | 4.2 V to 5.5 V |
| I/O Pins | 25 |
| ADC | 10-bit, up to 11 channels |
| CAN Module | Enhanced ECAN 2.0B active/passive |
| Communication Peripherals | 2x USART (LIN), 2x MSSP (SPI/I2C) |
| Timers | 4 (Timer0/1/2/3) |
| Package Type | 28-pin SOIC (SO), 7.5 mm body width |
| Tipo de montagem | Surface Mount |
| Faixa de temperatura de operação | -40 C to +125 C (Automotive / -E grade) |
| Internal Oscillator | 31 kHz to 8 MHz (factory calibrated) |
| MSL (Moisture Sensitivity Level) | MSL 1 (unlimited floor life) |
| Lead Free / RoHS | Yes - Compliant |
| Programming Interface | ICSP (In-Circuit Serial Programming) via PGC/PGD |
Configuração de pinos do PIC18F2585-E/SO
| Pino 1 | MCLR/RA5/AN4 — Master Clear (reset) or digital I/O RA5, analog input AN4 |
| Pino 2 | RA0/AN0 — Digital I/O RA0, analog input AN0, CVref output |
| Pino 3 | RA1/AN1 — Digital I/O RA1, analog input AN1 |
| Pino 4 | RA2/AN2 — Digital I/O RA2, analog input AN2, Vref- |
| Pino 5 | RA3/AN3 — Digital I/O RA3, analog input AN3, Vref+ |
| Pino 6 | RA4/AN4/TOCKI — Digital I/O RA4, analog AN4, Timer0 clock input |
| Pino 7 | RA5/AN5/SS/LVDIN — Digital I/O RA5, analog AN5, SPI Slave Select, Low-Voltage Detect input |
| Pino 8 | Vss — Ground |
| Pino 9 | OSC1/CLKIN — External oscillator input or clock input |
| Pino 10 | OSC2/CLKOUT — External oscillator output or 4x Fosc output |
| Pino 11 | RC0/T1CKI — Digital I/O RC0, Timer1 external clock input |
| Pino 12 | RC1/CCP2/T1OSI — Digital I/O RC1, CCP2 PWM out, Timer1 osc input |
| Pino 13 | RC2/CCP1 — Digital I/O RC2, CCP1 PWM output |
| Pino 14 | RC3/SCK/SCL — Digital I/O RC3, SPI clock, I2C clock |
| Pino 15 | RC4/SDI/SDA — Digital I/O RC4, SPI data in, I2C data |
| Pino 16 | RC5/SDO — Digital I/O RC5, SPI data out |
| Pino 17 | RC6/TX/CK — Digital I/O RC6, USART async TX, sync clock |
| Pino 18 | RC7/RX/DT — Digital I/O RC7, USART async RX, sync data |
| Pino 19 | Vss — Ground |
| Pino 20 | Vdd — Positive supply 4.2V-5.5V |
| Pino 21 | RB0/INT/CANTX — Digital I/O RB0, external interrupt, ECAN TX |
| Pino 22 | RB1/INT1/CANRX — Digital I/O RB1, interrupt 1, ECAN RX |
| Pino 23 | RB2/CANTX2 — Digital I/O RB2, ECAN 2nd TX (ECAN mode only) |
| Pino 24 | RB3/CANRX2 — Digital I/O RB3, ECAN 2nd RX (ECAN mode only) |
| Pino 25 | RB4/PGM — Digital I/O RB4, ICSP program mode |
| Pino 26 | RB5/PGC — Digital I/O RB5, ICSP clock |
| Pino 27 | RB6/PGD — Digital I/O RB6, ICSP data |
| Pino 28 | RB7 — Digital I/O RB7 (or general RB7) |
Aplicações típicas
PIC18F2585-E/SO é adequado para 6 aplicaçãos: Automotive Body Control Module (CAN/ECAN), Industrial Sensor Hub with CAN Connectivity, OBD-II Vehicle Diagnostic Reader, HVAC Controller and Zone Control, Consumer Appliance Control Boards, Building Automation and Lighting Controller.
Automotive Body Control Module (CAN/ECAN)
The PIC18F2585-E/SO's integrated Enhanced ECAN 2.0B peripheral supports 1Mbps automotive bus communication, while the 48KB Flash and 3328B RAM accommodate the CANopen or J1939 protocol stack alongside application logic. Deploying this device in body control modules - controlling lighting, mirror adjustment, and door zones - gives engineers an AEC-Q-grade 8-bit MCU in a compact 28-SOIC footprint, simplifying PCB layout versus dual-chip CAN solutions. The 25 digital I/O pins map cleanly to relay drivers, switch inputs, and LIN-served smart actuators. The -40C to +125C automotive temperature rating, combined with code protection and self-programming Flash, supports field updates and module security.
Recomendado
Industrial Sensor Hub with CAN Connectivity
The PIC18F2585-E/SO is well-suited for industrial sensor aggregation nodes because it combines a 10-bit ADC (up to 11 channels) with the ECAN peripheral, allowing the MCU to sample analog or digital sensors and broadcast them on a CAN bus to a master PLC. The 25MHz/10MIPS throughput handles periodic 1kHz sampling with CAN transmit jitter below 100us, while the 3328B RAM accommodates 32 CAN message slots for transmit/receive queues. The automotive-grade temperature rating ensures reliable deployment in factory automation cells where ambient temperatures can exceed 85C. The internal 8MHz oscillator (factory-calibrated to +/- 1%) eliminates an external crystal for cost-sensitive nodes.
Recomendado
OBD-II Vehicle Diagnostic Reader
The PIC18F2585-E/SO with built-in ECAN module forms an OBD-II reader core that connects directly to a vehicle CAN bus to retrieve diagnostic trouble codes (DTCs), real-time sensor data, and emissions information. The 48KB Flash holds the OBD-II PIDs library and SAE J1979 protocol implementation, while 3328B of RAM buffers UDS responses. The -40C to +125C operating range tolerates cabin and under-dash environments, and the 25 digital I/O pins interface a Bluetooth module, USB-UART bridge, or LCD display for handheld scan tools. The internal 31kHz-8MHz oscillator supports a low-power idle state when the ignition is off, allowing battery-backed parking timers.
Recomendado
HVAC Controller and Zone Control
The PIC18F2585-E/SO operates in HVAC equipment as a zone controller: the ECAN module joins a network of thermostats sharing temperature and load data, while timers and the 10-bit ADC read thermistor sensors and modulate damper outputs via PWM. The wide 4.2V to 5.5V supply range accommodates 24VAC transformer-derived supplies with simple half-wave rectification and bulk capacitor - matching typical furnace control board rails. Dual USART enables LIN communications with damper actuators that lack CAN stack support; ample Flash stores scheduling, multi-stage cooling, and historical logging; code protection prevents HVAC OEMs' firmware IP disclosure. The -40C to +125C ambient rating covers attic air-handler locations.
Recomendado
Consumer Appliance Control Boards
The PIC18F2585-E/SO is a long-lived MCU choice for consumer appliances such as washing machines, dishwashers, and refrigerators where deterministic CAN bus communication, modest memory, and 5V tolerance simplify analog interface circuits. The 25 I/O pins drive Triac optocouplers for AC loads, sense door switches, and read water level or motor speed sensors via the ADC; the ECAN module allows multiple appliances to participate in a smart-home energy-management network. The mature PIC18 architecture, MPLAB X IDE support, and a large library of legacy code reduce time-to-market versus migrating to a 32-bit MCU. Tape-and-reel SOIC packaging supports high-throughput SMT assembly lines.
Recomendado
Building Automation and Lighting Controller
The PIC18F2585-E/SO serves as a node controller for DALI-to-CAN gateway or sub-15A lighting circuits in commercial buildings where ECAN backbone links rooms to a central BMS. The 48KB Flash accommodates DALI commissioning logic, daylighting algorithms, and CANopen firmware stacks, and the 25 I/O pins read occupancy sensors, photocells, and rotary dimmers. The MCU's automotive temperature grade supports rooftop mechanical rooms and unconditioned equipment closets, whereas standard commercial grade parts would de-rate badly. With dual USART/MSSP peripherals, the MCU bridges DALI (via external DALI transceiver) to CAN simultaneously without a co-MCU.
Recomendado
Resumo dos produtos recomendados
Dados de referência de engenharia para PIC18F2585-E/SO — comparação, orientação de projeto e informações de conformidade.
Guia de seleção
Comparação com alternativas
| Parâmetro | Este produto | PIC18F2585-I/SO | PIC18F4585-E/SP | PIC18LF2585-I/SO | PIC18F2580-E/SO | PIC18F2480-E/SO |
|---|---|---|---|---|---|---|
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Package | 28-SOIC (SO) | 28-SOIC (SO) | 28-SOIC equivalent family footprint (SP=28-SDIP) | 28-SOIC (SO) | 28-SOIC (SO) | 28-SOIC (SO) |
| Flash Memory | 48 KB | 48 KB | 48 KB | 48 KB | 16 KB | 16 KB |
| RAM | 3328 bytes | 3328 bytes | 3328 bytes | 3328 bytes | 768 bytes | 768 bytes |
| ECAN Module | Yes (Enhanced, 1 Mbps) | Yes | Yes | Yes | No | Yes (legacy CAN 2.0B at 1 Mbps) |
| Supply Voltage | 4.2 V to 5.5 V | 4.2 V to 5.5 V | 4.2 V to 5.5 V | 2.0 V to 5.5 V (wide range) | 4.2 V to 5.5 V | 4.2 V to 5.5 V |
| Operating Temperature | -40C to +125C (Automotive / -E) | -40C to +85C (Industrial) | -40C to +125C | -40C to +85C | -40C to +125C | -40C to +125C |
| Max Clock Frequency | 25 MHz (10 MIPS) | 25 MHz | 25 MHz | 25 MHz | 25 MHz | 25 MHz |
| Unit Price (qty-1000) | $5.30 | ~$4.50 (lower non-automotive grade) | ~$5.40 (SP package may differ) | ~$5.20 | ~$4.30 | ~$4.65 |
Principais diferenciais
- On-chip Enhanced ECAN without external controller saves BOM cost (vs PIC18F2580-E/SO (no CAN), or PIC18F4550 (USB but no CAN in 28 SOIC))
- Wider operating temperature (-40C to +125C automotive) qualifies for under-hood and harsh-environment deployment (vs PIC18F2585-I/SO (-40C to +85C industrial only))
- Wide-voltage 'LF' variant available for battery-backed or 3.3V mixed-voltage designs (vs PIC18F2580-E/SO (4.2V-5.5V only))
Notas de projeto
CAN bus networks require 120 ohm termination resistors at each end of the trunk to suppress reflections. A common mistake is placing termination only at the master node - this causes intermittent bus errors during topology changes. For high-reliability automotive networks, use split termination (two 60 ohm resistors with a 10nF capacitor to ground) to filter common-mode noise; pair with an ESD protection diode such as NXP PESD1CAN or Bourns CDSOT23-SM712 to absorb 8kV HBM events on the bus pins.
Apply proper decoupling on the Vdd pin (28) and Vss pins (8, 19): use a 100nF X7R ceramic capacitor within 5mm of each Vdd pin, plus a bulk 1uF to 10uF tantalum or aluminum-polymer capacitor. For CAN nodes subject to load-dump transients (ISO 7637-2 pulse 5a up to 87V), add a TVS such as SMAJ24A or SM24T1G to clamp the supply rail before the MCU's 5.5V Vdd max is exceeded. The PIC18F2585's internal brown-out reset (BOR) and Power-on Reset (POR) require Vdd rise time below a threshold; slow Vdd ramps may stall in reset.
Route the CAN differential pair (CANTX/CANRX from MCP2551 or similar) at 100 ohm differential impedance with length matching within 100 mils. Keep the CAN trace at least 3mm away from clock and PWM switching signals to minimize crosstalk; place the bus termination resistor within 25mm of each transceiver. Provide a clear return-current path beneath the CAN pair - a continuous ground plane is essential. Use the smallest achievable loop area on the ECAN RX/TX traces to reduce EMI emissions and improve tolerance to injected noise.
ICSP programming requires careful board design: the PGC (pin 26) and PGD (pin 27) lines must not be loaded with capacitance greater than 50pF to maintain signal integrity during programming. If your application places LEDs or RC filters on these pins, provide a programming test point or 0-ohm jumper to isolate them during code development. Keep the ICSP connector away from high-current switching traces; use a 6-pin header (MCLR/Vpp, Vdd, GND, PGD, PGC, AUX) per Microchip's ICD 5 standard for fast prototyping.
Informações de conformidade
Microchip parts with the -E extended temperature grade are AEC-Q100 capable but specific compliance depends on lot; consult Microchip product change notifications for definitive qualification status. RoHS compliance per Microchip product page.