PIC18F4585-I/PT - 8-bit MCU 48KB Flash ECAN 44-TQFP | Microchip
MPN: PIC18F4585-I/PT ✓ Active| Qty | Unit Price | Extended |
|---|---|---|
| 1 | $8.96 | $8.96 |
| 10 | $8.06 | $80.60 |
| 100 | $7.17 | $717.00 |
| 500 | $6.45 | $3,225.00 |
| 1,000 | $5.73 | $5,730.00 |
PIC18F4585-I/PT Overview
An 8-bit microcontroller is a single-chip computer built around an 8-bit data path, optimized for deterministic real-time control with low cost and low power. The PIC18 family is Microchip's enhanced 8-bit line, positioned above baseline PIC10/12/16 parts in code density, peripheral count, and processing power; it sits within the broader taxonomy of microcontroller -> embedded controller -> semiconductor IC. The "-I" suffix indicates the industrial operating temperature range of -40C to +85C, suitable for non-automotive industrial and commercial deployments.
Key specifications include 48 KB (24K x 16) of self-programmable Flash, 3,328 bytes of SRAM, 1 KB of EEPROM, 36 digital I/O pins, an integrated 10-bit ADC with up to 13 input channels, two capture/compare/PWM modules, two USART ports, an SPI interface, an I2C interface, the ECAN controller, and nanoWatt power management for low-power sleep modes. The wide 4.2 V to 5.5 V supply range is consistent with 5 V logic systems, and the 44-TQFP package offers manageable thermal performance with theta_JA around 50 C/W.
The PIC18F4585 uses Microchip's enhanced Harvard RISC architecture with 16-bit instructions and 8-bit data, providing a C-friendly development environment through the MPLAB X IDE and XC8 compiler. The ECAN peripheral implements CAN 2.0B active with 16 acceptance filters and three transmit buffers, making this part well matched to industrial CAN nodes and automotive-style network slaves running below full automotive qualification.
Typical applications include industrial CAN node controllers, building automation sensor nodes, HVAC control boards, embedded data loggers with CAN bridge capability, and human-machine interface (HMI) panels. Designers also deploy this MCU in aftermarket automotive telematics and CAN-to-UART gateways that do not require AEC-Q100 automotive-grade qualification.
For robust operation, ensure that the MCLR pin is properly pulled high through a resistor, supply decoupling capacitors are placed within 5 mm of VDD/VSS pairs, and the ECAN bus is terminated with 120 ohm resistors at both ends of the bus. Programs that rely on the ECAN module should verify bit timing configuration against the chosen baud rate using the CAN baud rate calculator in MPLAB.
This page consolidates distributor pricing, drop-in compatible PIC18F alternatives, ECAN configuration guidance, and design notes not found in the manufacturer datasheet, offering engineering value beyond raw specifications.
Drop-in alternatives for PIC18F4585-I/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 PIC18F4585-I/PT (same form factor and footprint) — differing in Package, Timers, Operating Temperature, Program Memory (Flash), ADC.
Quick Comparison Tool — Select alternative parts for side-by-side comparison:
PIC18F4580-I/PT
✅ Drop-In📋 Reference alternative (not in catalog)
PIC18F4480-I/PT
✅ Drop-In✓ In Stock
$4.85 / Unit
View Datasheet →PIC18F4680-I/PT
✅ Drop-In📋 Reference alternative (not in catalog)
PIC18F448-I/PT
✅ Drop-In✓ In Stock
$7.2 / Unit
View Datasheet →PIC18F4455-I/PT
✅ Drop-In✓ In Stock
$4.85 / Unit
View Datasheet →PIC18F4550-I/PT
✅ Drop-In✓ In Stock
$4.95 / Unit
View Datasheet →DSPIC33FJ64MC804-I/PT
✅ Drop-In📋 Reference alternative (not in catalog)
PIC18F4585-I/PT Maximum Ratings & Electrical Characteristics
| Product Family | PIC18F |
| Core Architecture | 8-bit Enhanced Harvard RISC |
| Program Memory (Flash) | 48 KB (24K x 16) |
| Data RAM | 3,328 bytes |
| Data EEPROM | 1,024 bytes |
| Maximum CPU Clock | 40 MHz |
| Instruction Cycle | 200 ns (at 40 MHz FOSC) |
| Supply Voltage (VDD) | 4.2 V to 5.5 V |
| Digital I/O Pins | 36 |
| ADC | 10-bit, up to 13 channels |
| Capture/Compare/PWM | 2 ECCP modules |
| USART | 2 channels (with LIN support) |
| SPI | 1 master/slave |
| I2C (MSSP) | 1 master/slave |
| CAN | ECAN 2.0B active, 16 acceptance filters |
| Timers | 4 (Timer0/1/2/3) |
| Operating Temperature | -40C to +85C (industrial, "-I") |
| Package | 44-pin TQFP (PT) 10x10 mm |
| Mounting Type | Surface Mount |
| MSL Level | 3 (per JEDEC J-STD-020) |
| RoHS Status | Compliant |
| Lead-Free | Yes |
PIC18F4585-I/PT Pin Configuration
| Pin 1 | RC2/CCP1 — Digital I/O / CCP1 PWM output |
| Pin 2 | RC3/SCK/SCL — Digital I/O / SPI SCK / I2C SCL |
| Pin 3 | RC4/SDI/SDA — Digital I/O / SPI SDI / I2C SDA |
| Pin 4 | RC5/SDO — Digital I/O / SPI SDO |
| Pin 5 | RC6/TX/CK — Digital I/O / USART TX / Clock |
| Pin 6 | RC7/RX/DT — Digital I/O / USART RX / Data |
| Pin 7 | RD0/PSP0/C1IN+ — Digital I/O / Parallel Slave Port / Comparator input |
| Pin 8 | RD1/PSP1/C1IN- — Digital I/O / Parallel Slave Port / Comparator input |
| Pin 9 | RD2/PSP2/C2IN+ — Digital I/O / Parallel Slave Port / Comparator input |
| Pin 10 | RD3/PSP3/C2IN- — Digital I/O / Parallel Slave Port / Comparator input |
| Pin 11 | RC0/T1OSO/T13CKI — Digital I/O / Timer1 oscillator / Counter input |
| Pin 12 | RC1/T1OSI/CCP2 — Digital I/O / Timer1 oscillator / CCP2 |
| Pin 13 | RC2/CCP1 — Digital I/O / CCP1 (alternate) |
| Pin 14 | VSS — Ground reference |
| Pin 15 | VDD — Positive supply voltage (4.2V-5.5V) |
| Pin 16 | RE0/RD/AN5 — Digital I/O / Read control / ADC input |
| Pin 17 | RE1/WR/AN6 — Digital I/O / Write control / ADC input |
| Pin 18 | RE2/CS/AN7 — Digital I/O / Chip select / ADC input |
| Pin 19 | AVDD — Analog supply voltage (connect to VDD) |
| Pin 20 | AVSS — Analog ground (connect to VSS) |
| Pin 21 | OSC1/CLKI/RA7 — Crystal oscillator input / External clock / Digital I/O |
| Pin 22 | OSC2/CLKO/RA6 — Crystal oscillator output / Clock output / Digital I/O |
| Pin 23 | RA0/AN0/CVREF — Digital I/O / ADC input / Comparator reference |
| Pin 24 | RA1/AN1 — Digital I/O / ADC input |
| Pin 25 | RA2/AN2/VREF- — Digital I/O / ADC input / Voltage reference negative |
| Pin 26 | RA3/AN3/VREF+ — Digital I/O / ADC input / Voltage reference positive |
| Pin 27 | RA4/T0CKI/C1OUT — Digital I/O / Timer0 clock / Comparator output |
| Pin 28 | RA5/AN4/SS/HLVDIN/C2OUT — Digital I/O / ADC input / SPI SS / HLVD / Comparator output |
| Pin 29 | VSS — Ground reference |
| Pin 30 | VDD — Positive supply voltage (4.2V-5.5V) |
| Pin 31 | RB0/INT0/AN12/FLT0 — Digital I/O / External interrupt / ADC input / PWM fault input |
| Pin 32 | RB1/INT1/AN10 — Digital I/O / External interrupt / ADC input |
| Pin 33 | RB2/INT2/AN8 — Digital I/O / External interrupt / ADC input |
| Pin 34 | RB3/INT3/AN9/CCP2 — Digital I/O / External interrupt / ADC input / CCP2 |
| Pin 35 | RB4/KBI0/AN11 — Digital I/O / Keyboard interrupt / ADC input |
| Pin 36 | RB5/KBI1/PGM — Digital I/O / Keyboard interrupt / LVP program |
| Pin 37 | RB6/KBI2/PGC — Digital I/O / Keyboard interrupt / ICSP clock |
| Pin 38 | RB7/KBI3/PGD — Digital I/O / Keyboard interrupt / ICSP data |
| Pin 39 | CANTX — ECAN transmit output |
| Pin 40 | CANRX — ECAN receive input |
| Pin 41 | RD4/PSP4/ECCP1 — Digital I/O / Parallel Slave Port / ECCP1 |
| Pin 42 | RD5/PSP5 — Digital I/O / Parallel Slave Port |
| Pin 43 | RD6/PSP6 — Digital I/O / Parallel Slave Port |
| Pin 44 | RD7/PSP7 — Digital I/O / Parallel Slave Port |
Typical Applications
PIC18F4585-I/PT is suitable for 6 applications: Industrial CAN Node Controller, Building Automation Sensor Node, HVAC Control Board, Embedded Data Logger with CAN Bridge, HMI Control Panel, Aftermarket Automotive Telematics.
Industrial CAN Node Controller
The PIC18F4585-I/PT is well-suited for industrial CAN node controllers because its integrated ECAN 2.0B active module eliminates the need for an external CAN controller, reducing PCB footprint and BOM cost. The 48 KB Flash provides ample space for CANOpen or DeviceNet protocol stacks, while the 36 digital I/O pins drive sensor inputs and actuator outputs directly. At 40 MHz CPU clock, the part comfortably handles 1 Mbps CAN bus traffic with deterministic latency, and the industrial -40C to +85C temperature grade supports factory-floor deployments. Compared with PIC18F4580-I/PT, the integrated ECAN removes one external IC and simplifies PCB layout.
Recommended
Building Automation Sensor Node
In building automation, the PIC18F4585-I/PT acts as the central controller in sensor nodes that communicate over CAN or RS-485 networks. Its nanoWatt power management modes enable low standby current for battery or energy-harvested sensors, while the 10-bit ADC handles temperature, humidity, and occupancy sensor inputs. The 36 I/O pins support multiple sensor interfaces, and the 5 V operating range matches industrial sensor power rails. Designers can leverage the MPLAB X IDE and XC8 compiler to implement BACnet or Modbus stacks, and the same 44-TQFP footprint as PIC18F4550-I/PT allows swap-in for designs that also need USB diagnostics.
Recommended
HVAC Control Board
HVAC control boards use the PIC18F4585-I/PT for fan speed control, damper actuation, and thermostat interface management. The two ECCP modules generate PWM outputs for variable-speed fans and proportional valves, while the ADC reads thermistor temperature sensors with 10-bit resolution. The 3,328 bytes of SRAM allows real-time scheduling of multiple PID control loops, and the wide 4.2-5.5 V supply matches 24 VAC-derived DC rails with rectification. Compared with PIC18F452-I/PT, the 4585 adds ECAN which enables networked HVAC zone controllers communicating with a central chiller/boiler plant.
Recommended
Embedded Data Logger with CAN Bridge
The PIC18F4585-I/PT's 48 KB Flash and 1 KB EEPROM make it ideal for embedded data loggers that buffer CAN bus traffic to external SPI/I2C flash memory. The dual USART allows simultaneous CAN-to-UART bridging, useful for diagnostics ports and telematics gateways. The 10-bit ADC with up to 13 channels supports analog sensor monitoring alongside digital CAN data, and the ICSP programming interface enables field firmware updates. Designers can implement circular log buffers in SRAM with periodic SPI flash offload, leveraging the same 44-TQFP footprint as PIC18F4480-I/PT for cost-down variants.
Recommended
HMI Control Panel
Human-Machine Interface (HMI) panels deploy the PIC18F4585-I/PT as a graphics co-controller for character or small graphic LCDs driven over SPI or parallel interface. The 36 I/O pins drive keypads, rotary encoders, and LED indicators, while the ECAN module enables communication with industrial PLC networks. With the 44-TQFP package offering compact form factor for tight panel enclosures, the part complements PIC18F4450-I/PT in designs that also need USB host/device connectivity. The MPLAB XC8 free license keeps BOM-attached firmware development cost low for high-volume HMI production.
Recommended
Aftermarket Automotive Telematics
Although not AEC-Q100 qualified, the PIC18F4585-I/PT is widely used in aftermarket telematics, OBD-II CAN sniffers, and fleet tracking devices that interface with vehicle CAN buses at 250/500 kbps. Its integrated ECAN handles CAN 2.0B active traffic, while the dual USART bridges to GSM/4G modems or GPS receivers. The industrial -40C to +85C range is acceptable for cabin-installed aftermarket devices. Compared with PIC18F4585-I/PTVAO (AEC-Q100 grade), the standard part is lower cost and more readily available through distribution. For OEMs requiring AEC-Q100, the PTVAO suffix variant should be selected.
Recommended
Recommended Products Summary
Engineering reference data for PIC18F4585-I/PT — comparison, design guidance, and compliance information.
Selection Guide
Comparison with Alternatives
| Parameter | This Product | PIC18F4580-I/PT | PIC18F4480-I/PT | PIC18F4680-I/PT | PIC18F4550-I/PT | DSPIC33FJ64MC804-I/PT |
|---|---|---|---|---|---|---|
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Package | 44-TQFP (PT) 10x10 mm | 44-TQFP (PT) - same | 44-TQFP (PT) - same | 44-TQFP (PT) - same | 44-TQFP (PT) - same | 44-TQFP (PT) - same |
| Core Architecture | 8-bit PIC18 Enhanced RISC | 8-bit PIC18 Enhanced RISC | 8-bit PIC18 Enhanced RISC | 8-bit PIC18 Enhanced RISC | 8-bit PIC18 Enhanced RISC | 16-bit dsPIC33 DSC |
| Program Flash | 48 KB | 48 KB | 16 KB | 48 KB | 32 KB | 64 KB |
| Data RAM | 3,328 bytes | 3,328 bytes | 768 bytes | 3,328 bytes | 2,048 bytes | 16,384 bytes |
| ECAN Module | Yes (integrated, 2.0B active) | No | Yes | Yes (integrated, 2.0B active) | No (has USB instead) | Yes (ECAN) |
| USB 2.0 | No | No | No | No | Yes (USB 2.0 Full-Speed) | No |
| Maximum CPU Clock | 40 MHz | 40 MHz | 40 MHz | 40 MHz | 48 MHz | 40 MIPS (80 MHz) |
| 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 | 3.0 V to 3.6 V |
| Operating Temperature | -40C to +85C (industrial) | -40C to +85C | -40C to +85C | -40C to +85C | -40C to +85C | -40C to +85C |
| Pin Count / Package | 44-pin TQFP | 44-pin TQFP | 44-pin TQFP | 44-pin TQFP | 44-pin TQFP | 44-pin TQFP |
Key Differentiators
- Integrated ECAN 2.0B controller with 16 acceptance filters (vs PIC18F4580-I/PT)
- 48 KB Flash + 3,328 bytes RAM in 44-TQFP (vs PIC18F4480-I/PT)
- 5 V native operation with industrial temperature grade (vs DSPIC33FJ64MC804-I/PT)
Design Notes
Decouple every VDD/VSS pin pair with 100 nF ceramic capacitors placed within 5 mm of the IC, and add a single 10 uF bulk capacitor on the main VDD rail. For AVDD/AVSS, isolate with a ferrite bead from VDD and add dedicated 100 nF + 10 uF decoupling. The 4585's ADC accuracy depends critically on clean analog supply - avoid routing digital signal traces across the analog ground plane.
Do not leave MCLR floating - tie to VDD through a 10 kohm resistor or drive with a supervisor IC for production designs. The internal weak pull-up is not strong enough for noisy industrial environments. For ICSP programming, ensure RB6/RB7 are not loaded with heavy capacitance (< 50 pF total including trace and connector) to avoid programming failures.
When using the ECAN module, route the CANTX/CANRX signals away from switching nodes and keep traces < 50 mm to minimize EMI susceptibility. Place the MCP2551 (or compatible) CAN transceiver within 25 mm of the CAN pins. The CAN bus requires 120 ohm termination at both physical ends of the bus, but NOT at intermediate nodes - mis-termination is the leading cause of CAN bus errors.
Estimated: At 40 MHz CPU clock with all peripherals active and 36 I/O pins switching at 10 MHz, the PIC18F4585-I/PT draws approximately 60-80 mA from VDD. With 44-TQFP thermal resistance theta_JA of approximately 50 C/W on a 4-layer PCB, junction temperature rise above ambient is roughly 4C - well within the -40C to +85C industrial range. Verify with board-level thermal characterization for sealed enclosures.
When configuring the oscillator, choose the HS mode for 10-40 MHz crystals with appropriate load capacitors per the crystal manufacturer's spec (typically 15-33 pF on each side). For low-EMI applications, consider the EC mode with an external sine-wave clock driver. Avoid PLL modes above 40 MHz unless the application can tolerate the jitter penalty on USART timing.
Compliance Information
RoHS compliant per Microchip product declaration. Lead-free matte tin plating on TQFP package. The standard -I/PT suffix is industrial grade (-40C to +85C) and not AEC-Q100 qualified; for AEC-Q100 automotive applications, choose the -I/PTVAO suffix variant.