PIC18F4585-I/ML - 8-bit MCU, 48KB Flash, ECAN, 44-QFN | Microchip
Référence : PIC18F4585-I/ML ✓ Actif| Qté | Prix unitaire | Total |
|---|---|---|
| 1 | $8.62 | $8,62 |
| 10 | $7.76 | $77,60 |
| 100 | $6.89 | $689,00 |
| 500 | $6.21 | $3 105,00 |
| 1 000 | $5.53 | $5 530,00 |
PIC18F4585-I/ML Présentation
What is a PIC18 microcontroller? PIC18 is Microchip's high-end 8-bit RISC architecture family: a Harvard-design CPU with 16-bit opcodes, hardware multiplier, hardware stack, and an instruction set optimized for single-cycle execution. Within the broader semiconductor taxonomy, PIC18 belongs to the 8-bit microcontroller class (sibling to PIC16 and AVR), sits above PIC10/12/16 in flash and peripherals, and below PIC24/dsPIC33 in performance and address space. ECAN is Bosch CAN 2.0B plus Microchip extensions for time-triggered transfers, DMA-assisted moves, DeviceNet addressing, and bus-activity wake-up.
Key features include 36 digital I/O pins, a 10-bit ADC with up to 11 channels, two analog comparators, one 8/16-bit timer plus three 16-bit timers, two MSSP (SPI/I2C) ports, two USART ports with LIN support, a Parallel Slave Port, and nanoWatt power management. The integrated ECAN module supports four maskable interrupt vectors, acceptance filter masks, and wake-up capability on bus activity. The 44-QFN (ML) package offers a 0.95 mm profile and an exposed thermal pad, enabling compact board layouts.
The PIC18F4585 uses a 4.2 V to 5.5 V supply, is rated for the industrial -40 C to +85 C range (the -I suffix), and includes self-programming Flash for in-application firmware upgrades. Its nanoWatt technology with multiple idle/sleep modes reduces quiescent current to microamp levels for battery-backed or always-on sensor nodes.
Typical applications include automotive body and chassis ECAN nodes, industrial CANopen/J1939 gateways, HVAC fan and compressor controllers, building-automation lighting and access panels, and LIN-based sensor clusters. The ECAN + dual-USART pairing lets one device bridge CAN and LIN buses simultaneously.
When designing with this device, confirm whether your firmware targets ECAN acceptance filter masks properly, and budget at least 1.5 kbytes of stack/heap for the CAN driver. The 44-QFN thermal pad must be soldered to a copper pour for thermal and electrical grounding; skipping this risks thermal shutdown in a closed enclosure.
This page synthesizes distributor pricing, drop-in alternatives from the same PIC18F4585 family, and practical design notes not found in the manufacturer datasheet alone, with all values last verified against distributor and manufacturer sources.
Alternatives de remplacement direct pour PIC18F4585-I/ML — même boîtier, compatible broche à broche. Les références à boîtier différent nécessitant une retouche du PCB sont exclues.
Variantes de cette série
Modèles de la même série directement compatibles avec PIC18F4585-I/ML (même facteur de forme et même empreinte) — différant par Package, Operating Temperature, Program Memory (Flash), Core Architecture, Timers.
Outil de comparaison rapide — sélectionnez des références alternatives pour une comparaison côte à côte :
PIC18F4585T-I/ML
✅ Remplacement direct📋 Alternative de référence (hors catalogue)
PIC18F4585-E/ML
✅ Remplacement direct✓ En stock
$6.04 / unité
Voir la fiche technique →PIC18F4685-I/ML
✅ Remplacement direct✓ En stock
$6.48 / unité
Voir la fiche technique →PIC18F4585-I/PT
✅ Remplacement direct✓ En stock
$5.73 / unité
Voir la fiche technique →PIC18F4580-I/ML
✅ Remplacement direct ⚠️ Spécifications non vérifiées📋 Alternative de référence (hors catalogue)
PIC18F4585-I/ML Valeurs maximales et caractéristiques électriques
| Product Type | 8-bit Microcontroller (MCU) |
| Series | PIC® 18F |
| Program Memory (Flash) | 48 KB (24K x 16 words) |
| SRAM | 3,328 bytes |
| EEPROM | 1,024 bytes |
| Maximum CPU Speed | 40 MHz (10 MIPS) |
| Supply Voltage (VDD) | 4.2 V to 5.5 V |
| I/O Pins | 36 |
| ADC | 10-bit, up to 11 channels |
| Analog Comparators | 2 |
| Timers | 1 x 8/16-bit + 3 x 16-bit |
| Communication Interfaces | 2 x MSSP (SPI/I2C), 2 x USART (LIN), ECAN, Parallel Slave Port |
| ECAN Module | CAN 2.0B active/passive with DeviceNet addressing |
| Température de fonctionnement | -40 C to +85 C (industrial, -I suffix) |
| Boîtier | 44-pin QFN (8x8 mm) - ML suffix |
| Package Height | 0.95 mm |
| Type de montage | Surface Mount |
| Niveau MSL | 3 (168 hours) |
| Statut RoHS | Compliant |
| Lead-Free | Yes |
Configuration des broches de PIC18F4585-I/ML
| Broche 1 | OSC1/CLKIN/RA7 — Oscillator crystal input / external clock / GPIO |
| Broche 2 | OSC2/CLKOUT/RA6 — Oscillator crystal output / FOSC/4 output / GPIO |
| Broche 3 | MCLR/VPP/RE3 — Master clear reset (active low) / programming voltage / GPIO |
| Broche 4 | RA0/AN0 — GPIO / analog input channel 0 |
| Broche 5 | RA1/AN1 — GPIO / analog input channel 1 |
| Broche 6 | RA2/AN2/VREF-/CVREF — GPIO / analog input 2 / ADC VREF- / comparator reference output |
| Broche 7 | RA3/AN3/VREF+ — GPIO / analog input 3 / ADC VREF+ |
| Broche 8 | RA4/T0CKI/C1OUT — GPIO / Timer0 clock input / comparator 1 output |
| Broche 9 | RA5/AN4/SS1/HLVDIN/C2OUT — GPIO / analog input 4 / SPI1 slave select / HLVD input / comparator 2 output |
| Broche 10 | VSS — Ground reference |
| Broche 11 | VDD — Positive supply (4.2V to 5.5V) |
| Broche 12 | RB0/INT0/FLT0/AN10 — GPIO / external interrupt 0 / PWM fault / analog input 10 |
| Broche 13 | RB1/INT1/AN8 — GPIO / external interrupt 1 / analog input 8 |
| Broche 14 | RB2/INT2/AN9 — GPIO / external interrupt 2 / analog input 9 |
| Broche 15 | RB3/INT3/AN11/CCP2A — GPIO / external interrupt 3 / analog input 11 / CCP2 output A |
| Broche 16 | RB4/KBI0 — GPIO / keyboard interrupt 0 |
| Broche 17 | RB5/KBI1/PGM — GPIO / keyboard interrupt 1 / LVP program |
| Broche 18 | RB6/KBI2/PGC — GPIO / keyboard interrupt 2 / ICSP clock |
| Broche 19 | RB7/KBI3/PGD — GPIO / keyboard interrupt 3 / ICSP data |
| Broche 20 | VSS — Ground reference |
| Broche 21 | VDD — Positive supply (4.2V to 5.5V) |
| Broche 22 | RC0/T1OSO/T1CKI — GPIO / Timer1 oscillator output / Timer1 clock input |
| Broche 23 | RC1/T1OSI/CCP2 — GPIO / Timer1 oscillator input / CCP2 I/O |
| Broche 24 | RC2/CCP1/P1A — GPIO / CCP1 I/O / PWM output A |
| Broche 25 | RC3/SCK1/SCL1 — GPIO / SPI1 clock / I2C1 clock |
| Broche 26 | RC4/SDI1/SDA1 — GPIO / SPI1 data in / I2C1 data |
| Broche 27 | RC5/SDO1 — GPIO / SPI1 data out |
| Broche 28 | RC6/TX1/CK1 — GPIO / USART1 TX / USART1 clock |
| Broche 29 | RC7/RX1/DT1 — GPIO / USART1 RX / USART1 data |
| Broche 30 | VSS — Ground reference |
| Broche 31 | VDD — Positive supply (4.2V to 5.5V) |
| Broche 32 | RD0/PSP0/C1IN+ — GPIO / Parallel Slave Port 0 / comparator 1 non-inverting input |
| Broche 33 | RD1/PSP1/C1IN- — GPIO / Parallel Slave Port 1 / comparator 1 inverting input |
| Broche 34 | RD2/PSP2/C2IN+ — GPIO / Parallel Slave Port 2 / comparator 2 non-inverting input |
| Broche 35 | RD3/PSP3/C2IN- — GPIO / Parallel Slave Port 3 / comparator 2 inverting input |
| Broche 36 | RD4/PSP4/ECANRX — GPIO / Parallel Slave Port 4 / ECAN receive input |
| Broche 37 | RD5/PSP5/ECANTX — GPIO / Parallel Slave Port 5 / ECAN transmit output |
| Broche 38 | RD6/PSP6/TX2/CK2 — GPIO / Parallel Slave Port 6 / USART2 TX / USART2 clock |
| Broche 39 | RD7/PSP7/RX2/DT2 — GPIO / Parallel Slave Port 7 / USART2 RX / USART2 data |
| Broche 40 | VSS — Ground reference |
| Broche 41 | VDD — Positive supply (4.2V to 5.5V) |
| Broche 42 | RE0/RD/AN5 — GPIO / Parallel Slave Port read / analog input 5 |
| Broche 43 | RE1/WR/AN6 — GPIO / Parallel Slave Port write / analog input 6 |
| Broche 44 | RE2/CS/AN7 — GPIO / Parallel Slave Port chip select / analog input 7 |
Applications typiques
PIC18F4585-I/ML convient pour 6 applications: Automotive CAN Body and Chassis Nodes, Industrial CANopen and J1939 Gateways, HVAC Fan and Compressor Controllers, Building Automation Lighting and Access Panels, LIN-Based Sensor Clusters, Battery-Backed Always-On Sensor Nodes.
Automotive CAN Body and Chassis Nodes
The PIC18F4585-I/ML's integrated ECAN module (CAN 2.0B active/passive with DeviceNet addressing) directly supports automotive body and chassis networks where cost and CAN experience matter more than DSP performance. With 48 KB Flash, 3,328 B SRAM, and 36 I/O pins, the device comfortably runs a CAN driver stack plus an OSEK/OSEK-OS or simple RTOS for body controllers, lighting modules, and seat controllers. The 4.2 V to 5.5 V supply matches the automotive 12 V nominal bus after a 5 V regulator, and the -40 C to +85 C industrial range handles under-cabinet environments. Compared to a dsPIC33, the PIC18F4585-I/ML is roughly half the unit cost while retaining all the CAN driver maturity required by J1939 stacks.
Recommandé
Industrial CANopen and J1939 Gateways
Industrial CANopen (CiA 301/401) and SAE J1939 gateways benefit from the PIC18F4585-I/ML's 10 MIPS throughput and 48 KB Flash, sufficient to host a CANopen stack plus a small management layer. The ECAN module's acceptance filter masks and time-triggered transmission directly support J1939's strict 10 ms timing requirements without software overhead. The 10-bit ADC with 11 channels accepts analog sensor inputs from industrial field wiring, while the dual USARTs (LIN) let the same device bridge CAN and LIN buses in mixed-protocol nodes. The 44-QFN package keeps board footprint under 100 mm², allowing compact DIN-rail gateway designs.
Recommandé
HVAC Fan and Compressor Controllers
The PIC18F4585-I/ML is a strong match for HVAC fan and compressor controllers that need PWM-driven motor control plus CAN or LIN communications. The three 16-bit timers plus one 8/16-bit timer provide the PWM channels for variable-frequency drives and triac-fired motor stages, while the 10-bit ADC samples current and voltage feedback at adequate resolution. nanoWatt power management reduces idle current for always-on thermostat interfaces. The 4.2 V to 5.5 V supply and -40 C to +85 C range cover the HVAC control board environment, and the 44-QFN footprint fits behind a small display module.
Recommandé
Building Automation Lighting and Access Panels
Building automation lighting panels and access controllers benefit from the PIC18F4585-I/ML's combination of ECAN bus interface, dual USART with LIN support, and Parallel Slave Port for keypad or display interfaces. With 48 KB Flash, designers can implement DALI-to-CAN bridges, sensor-driven lighting logic, and access-control protocols on one chip. The 36 I/O pins accommodate up to 24 relay drivers plus keypad scanning, while the nanoWatt sleep currents keep always-on wall panels at sub-1 mA standby. The 44-QFN 0.95 mm profile is ideal for behind-the-wall mounting depth constraints.
Recommandé
LIN-Based Sensor Clusters
LIN (Local Interconnect Network) sensor clusters use the PIC18F4585-I/ML as a master or slave node leveraging one of the two integrated USARTs with hardware LIN support. Combined with ECAN, the device can act as a LIN-to-CAN gateway in zoned automotive E/E architectures, reducing module count. The 48 KB Flash supports the LIN 2.x stack plus application logic, and the 10-bit ADC samples up to 11 analog sensor channels (temperature, pressure, position) typically found in seat, door, or HVAC clusters. The 44-QFN small footprint allows PCB mounting inside tight cluster housings.
Recommandé
Battery-Backed Always-On Sensor Nodes
Battery-backed always-on sensor nodes use the PIC18F4585-I/ML's nanoWatt power management to sleep at microamp-level currents while waking on ECAN bus activity or external interrupts. The on-board ECAN wake-up feature detects CAN bus traffic and brings the MCU out of sleep without an external CAN controller, which is critical for low-power sensor nodes in trucks and industrial trailers. The 3,328 B SRAM accommodates queued sensor data, and the 1,024 B EEPROM stores non-volatile configuration without external memory. Designers needing sub-3.3 V operation should consider the PIC18LF4585 (LF variant) for true 1.8 V to 3.6 V support.
Recommandé
Récapitulatif des produits recommandés
Données de référence d'ingénierie pour PIC18F4585-I/ML — comparaison, recommandations de conception et informations de conformité.
Guide de sélection
Comparaison avec les alternatives
| Paramètre | Ce produit | PIC18F4585T-I/ML | PIC18F4585-E/ML | PIC18F4685-I/ML | PIC18F4585-I/PT | PIC18F4580-I/ML |
|---|---|---|---|---|---|---|
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Package | 44-QFN (8x8 mm) | 44-QFN (8x8 mm) - same | 44-QFN (8x8 mm) - same | 44-QFN (8x8 mm) - same | 44-TQFP (10x10 mm) - different | 44-QFN (8x8 mm) - same |
| Program Memory (Flash) | 48 KB | 48 KB - same | 48 KB - same | 96 KB - +100% | 48 KB - same | 32 KB - -33% |
| SRAM | 3,328 bytes | 3,328 B - same | 3,328 B - same | 4,096 B - +23% | 3,328 B - same | 1,536 B - -54% |
| Maximum CPU Speed | 40 MHz / 10 MIPS | 40 MHz / 10 MIPS - same | 40 MHz / 10 MIPS - same | 40 MHz / 10 MIPS - same | 40 MHz / 10 MIPS - same | 40 MHz / 10 MIPS - same |
| Operating Voltage | 4.2 V to 5.5 V | 4.2 V to 5.5 V - same | 4.2 V to 5.5 V - same | 4.2 V to 5.5 V - same | 4.2 V to 5.5 V - same | 4.2 V to 5.5 V - same |
| ECAN Module | Yes (CAN 2.0B active/passive) | Yes - same | Yes - same | Yes - same | Yes - same | Yes - same |
| Operating Temperature | -40 C to +85 C (Industrial) | -40 C to +85 C - same | -40 C to +125 C - extended | -40 C to +85 C - same | -40 C to +85 C - same | -40 C to +85 C - same |
| I/O Pins | 36 | 36 - same | 36 - same | 36 - same | 36 - same | 36 - same |
| Approx. Unit Price (qty 1) | $8.62 | $8.62 - same | $9.50 - +10% | $11.20 - +30% | $8.62 - same | $7.40 - -14% |
Principaux différenciateurs
- Mature ECAN module with DeviceNet addressing and bus-activity wake-up (vs PIC18F4580-I/ML)
- Drop-in 96 KB Flash upgrade path within same package (vs PIC18F4685-I/ML)
- 44-QFN package with exposed thermal pad for compact designs (vs PIC18F4585-I/PT (44-TQFP))
Notes de conception
The 44-QFN (ML) package exposes a thermal pad on the bottom that MUST be soldered to a copper pour for both thermal and electrical grounding. Estimated: with a 1 square inch copper pour on a 1 oz 4-layer PCB, theta_JA is approximately 30 C/W; without the thermal pad connection, theta_JA can rise above 60 C/W. At 40 MHz active and 5 V VDD, active current is roughly 16 mA (0.08 W), so thermal shutdown is unlikely in normal operation but becomes a concern in fully enclosed housings with no airflow.
Recommended supply decoupling network: place a 100 nF ceramic capacitor on each VDD pin pair (the PIC18F452 has 4 VDD/VSS pairs: pins 11/10, 21/20, 31/30, 41/40) within 3 mm of each pin. Add a 10 uF bulk tantalum or ceramic capacitor at the supply entry point. For the analog AVdd pin if used, place a separate 10 uH ferrite bead from Vdd to AVdd plus a 100 nF + 10 uF cap pair on AVdd to keep digital switching noise out of the ADC reference. ECAN bus requires a 120 ohm termination resistor at each end of the bus segment.
Common pitfalls when designing with the PIC18F4585-I/ML: (1) Forgetting to configure the ECAN module's TX/RX pins (RD5/RD4) as digital inputs in TRISD - leaving them as analog inputs prevents ECAN startup. (2) Not unlocking the ECAN configuration registers by writing the required sequence to CANCON before modifying BRGCON or CIOCON. (3) Mismatching the ECAN baud rate prescaler to the FOSC - at 40 MHz, the valid baud rates for 125 kbps, 250 kbps, 500 kbps, and 1 Mbps are tightly constrained. (4) Attempting to run the LF firmware on the F variant (or vice versa) - the LF variant supports 1.8 V to 3.6 V while the F variant requires 4.2 V minimum.
For ECAN signal integrity, route the ECANRX and ECANTX traces (RD4/RD5) as differential pair with 100 ohm controlled impedance, keeping them short and isolated from switching power and PWM traces. The MCP2551 (or equivalent) transceiver should be placed within 50 mm of the MCU, and the bus stubs from transceiver to connector must be under 100 mm to avoid reflections. Use a common-mode choke on the CANH/CANL lines if the node is exposed to significant EMI (e.g., near motor drivers or solenoids).
Informations de conformité
RoHS and lead-free confirmed per Microchip product page. AEC-Q100 not qualified (industrial grade -I suffix, not automotive Q-grade); for AEC-Q100 qualified variants in the same family, consider PIC18F4585T-I/MLVAO (automotive qualified ordering suffix). Halogen-free status not explicitly stated by Microchip for this part number - consult factory for confirmation.