PIC18F4585-H/P - 48KB Flash 8-bit MCU ECAN DIP-40 | Microchip
MPN: PIC18F4585-H/P ✓ 啟用中PIC18F4585-H/P 概覽
Key features include 48 KB Flash, 3,328 bytes RAM, 1,024 bytes of data EEPROM, 36 digital I/O pins, two 8-bit and three 16-bit timers, two analog comparators, an Enhanced USART, MSSP (SPI/I2C), and an Enhanced CAN 2.0B module supporting both standard and extended identifiers. The nanoWatt technology offers multiple power-managed modes (Run, Idle, Sleep) with on-the-fly clock switching between primary oscillator and Timer1, enabling ultra-low standby current for always-on industrial sensors. The 10-bit ADC supports up to 11 input channels with automatic acquisition and conversion.
Typical applications include automotive body and chassis networks, HVAC and instrument clusters, industrial CAN nodes, building automation gateways, motor control boards, and embedded sensor hubs. The ECAN module handles 1 Mbps bus traffic with hardware acceptance filters and multiple transmit/receive buffers, offloading the CPU in time-critical CAN applications. Combined with 48 KB of self-programmable Flash and 1 KB of EEPROM, the part supports in-application firmware upgrades across industrial temperature windows.
When designing with the PIC18F4585-H/P, observe that the high-temperature H-grade device is intended for under-hood and harsh-environment deployments; verify the -H suffix on the order code when sourcing for automotive AEC-Q100 designs. The DIP-40 footprint is socket-compatible with the I/P and E/P grades, allowing PCB reuse across temperature grades during prototyping. Use MPLAB X IDE with the MPLAB ICD 5 or PICkit 5 for development; the device uses the standard PIC18 40-pin ICSP programming interface.
直接替換替代品,適用於 PIC18F4585-H/P — 相同封裝,腳位對腳位相容。需重新設計 PCB 的不同封裝零件不列入。
此系列的變體
與下列產品可直接替換的同系列型號: PIC18F4585-H/P (相同外形與佔位) — 差異在於 Package, Operating Temperature, Program Memory (Flash), Timers, ADC.
PIC18F4585-I/P
✅ 直接替換📋 參考替代品(不在目錄中)
PIC18F4585-E/P
✅ 直接替換聯絡詢價
查看資料表 →PIC18F4685-I/P
✅ 直接替換聯絡詢價
查看資料表 →PIC18F4585-H/ML
✅ 直接替換聯絡詢價
查看資料表 →PIC18F4580-I/P
✅ 直接替換聯絡詢價
查看資料表 →PIC18F448-I/P
✅ 直接替換聯絡詢價
查看資料表 →PIC18F458-I/P
✅ 直接替換聯絡詢價
查看資料表 →PIC18F4585-H/P 最大額定值與電氣特性
| Core Architecture | PIC18 8-bit RISC |
| Program Memory (Flash) | 48 KB (24K x 16) |
| RAM | 3,328 bytes |
| Data EEPROM | 1,024 bytes |
| Maximum CPU Speed | 25 MHz (10 MIPS) |
| Operating Voltage (Vdd) | 2.0 V to 5.5 V |
| 工作溫度 | -40C to +150C (H grade) |
| Number of I/O Pins | 36 |
| 封裝 | 40-pin PDIP (DIP-40, 0.600"/15.24 mm) |
| ADC | 10-bit, up to 11 channels |
| Communication Interfaces | ECAN 2.0B, Enhanced USART, MSSP (SPI/I2C) |
| Timers | 2 x 8-bit, 3 x 16-bit |
| Analog Comparators | 2 |
| Power-Saving Modes | nanoWatt (Run / Idle / Sleep with on-the-fly clock switching) |
| 安裝類型 | Through-Hole (PDIP) |
| Programming Interface | ICSP (In-Circuit Serial Programming) via MPLAB ICD 5 / PICkit 5 |
PIC18F4585-H/P 腳位配置
| 腳位 1 | MCLR/RE3 — Master Clear (reset) input / digital I/O RE3 |
| 腳位 2 | RA0/AN0 — PORTA bit 0 / analog input 0 |
| 腳位 3 | RA1/AN1 — PORTA bit 1 / analog input 1 |
| 腳位 4 | RA2/AN2/Vref- — PORTA bit 2 / analog input 2 / ADC Vref- |
| 腳位 5 | RA3/AN3/Vref+ — PORTA bit 3 / analog input 3 / ADC Vref+ |
| 腳位 6 | RA4/T0CKI — PORTA bit 4 / Timer0 clock input |
| 腳位 7 | RA5/AN4/SS — PORTA bit 5 / analog input 4 / SPI slave select |
| 腳位 8 | OSC1/RA7 — Oscillator input / PORTA bit 7 |
| 腳位 9 | OSC2/RA6 — Oscillator output / PORTA bit 6 |
| 腳位 10 | RC0/T1OSO — PORTC bit 0 / Timer1 oscillator output |
| 腳位 11 | Vdd — Positive supply voltage |
| 腳位 12 | Vss — Ground |
| 腳位 13 | RC1/T1OSI — PORTC bit 1 / Timer1 oscillator input |
| 腳位 14 | RC2/CCP1 — PORTC bit 2 / Capture/Compare/PWM 1 |
| 腳位 15 | RC3/SCK/SCL — PORTC bit 3 / SPI clock / I2C clock |
| 腳位 16 | RC4/SDI/SDA — PORTC bit 4 / SPI data in / I2C data |
| 腳位 17 | RC5/SDO — PORTC bit 5 / SPI data out |
| 腳位 18 | RC6/TX/CK — PORTC bit 6 / USART TX / clock |
| 腳位 19 | RC7/RX/DT — PORTC bit 7 / USART RX / data |
| 腳位 20 | Vss — Ground |
| 腳位 21 | Vdd — Positive supply voltage |
| 腳位 22 | RB0/INT0 — PORTB bit 0 / external interrupt 0 |
| 腳位 23 | RB1/INT1 — PORTB bit 1 / external interrupt 1 |
| 腳位 24 | RB2/INT2 — PORTB bit 2 / external interrupt 2 |
| 腳位 25 | RB3/CANRX — PORTB bit 3 / ECAN receive pin |
| 腳位 26 | RB4/CANTX — PORTB bit 4 / ECAN transmit pin |
| 腳位 27 | RB5/PGM — PORTB bit 5 / ICSP programming |
| 腳位 28 | RB6/PGC — PORTB bit 6 / ICSP clock |
| 腳位 29 | RB7/PGD — PORTB bit 7 / ICSP data |
| 腳位 30 | Vss — Ground |
| 腳位 31 | Vdd — Positive supply voltage |
| 腳位 32 | RD0/PSP0 — PORTD bit 0 / parallel slave port 0 |
| 腳位 33 | RD1/PSP1 — PORTD bit 1 / parallel slave port 1 |
| 腳位 34 | RD2/PSP2 — PORTD bit 2 / parallel slave port 2 |
| 腳位 35 | RD3/PSP3 — PORTD bit 3 / parallel slave port 3 |
| 腳位 36 | RD4/PSP4 — PORTD bit 4 / parallel slave port 4 |
| 腳位 37 | RD5/PSP5 — PORTD bit 5 / parallel slave port 5 |
| 腳位 38 | RD6/PSP6 — PORTD bit 6 / parallel slave port 6 |
| 腳位 39 | RD7/PSP7 — PORTD bit 7 / parallel slave port 7 |
| 腳位 40 | RE0/RD/AN5 — PORTE bit 0 / read strobe / analog input 5 |
| 腳位 41 | RE1/WR/AN6 — PORTE bit 1 / write strobe / analog input 6 |
| 腳位 42 | RE2/CS/AN7 — PORTE bit 2 / chip select / analog input 7 |
典型應用
PIC18F4585-H/P 適用於 7 應用s: Automotive CAN Bus Nodes, Industrial Sensor Hubs, HVAC Control Boards, Instrument Clusters and Driver Displays, Building Automation Gateways, Motor Control Boards (BLDC / Stepper), Embedded Sensor Data Loggers.
Automotive CAN Bus Nodes
The PIC18F4585-H/P's integrated ECAN 2.0B controller, 48KB self-programmable Flash, and -40C to +150C operating range make it ideal for automotive body and chassis ECUs communicating on CAN bus. The hardware acceptance filters and dual transmit buffers offload bus arbitration from the CPU, while nanoWatt power modes let the node enter sub-microamp sleep between CAN wake-up frames. In practice the MCU runs at 25 MHz (10 MIPS), reads CAN messages in hardware buffers, and processes them before re-entering sleep. Compared with a discrete CAN controller, the integrated ECAN removes a chip from the BOM and saves both PCB area and quiescent current in always-on automotive gateways.
推薦
Industrial Sensor Hubs
With 36 digital I/O, an 11-channel 10-bit ADC, two analog comparators, and three 16-bit timers, the PIC18F4585-H/P is well suited for industrial multi-sensor aggregation nodes that read temperature, pressure, flow, and digital inputs before transmitting aggregates over CAN or RS-485. The 48KB Flash holds MODBUS or CANopen stack images plus application firmware, and 1KB of EEPROM stores calibration data with byte-level endurance. Industrial -40C to +150C operation supports unshielded cabinet mounting. The nanoWatt sleep mode drops current under 1 uA, enabling battery-powered wireless sensor transmitters that wake periodically for measurements.
推薦
HVAC Control Boards
The PIC18F4585-H/P is a proven HVAC controller brain: its 11-channel ADC reads mixed temperature and pressure sensors, the three 16-bit timers drive triac-based phase-angle control for fans and compressors, and the ECAN module links the unit to a building automation backbone. The -H grade supports rooftop and boiler-room ambient extremes to +150C when paired with conformal coating. With 48KB Flash, a full BACnet or Modbus stack plus custom zoning logic fits in a single chip, and the 10 MIPS throughput keeps control loops well under 10 ms.
推薦
Instrument Clusters and Driver Displays
Automotive instrument clusters benefit from the PIC18F4585-H/P's CAN connectivity, 10-bit ADC for fuel/temperature gauges, PWM outputs for backlight dimming, and -40C to +150C operating window for under-dash mounting. The 48KB Flash supports gauge graphics libraries and CAN J1939 stacks. Multiple analog comparators enable direct tachometer signal conditioning without an external op-amp, and the Enhanced USART drives LIN or K-Line diagnostics. The H-grade device survives engine-bay heat soak during off-state parking.
推薦
Building Automation Gateways
The PIC18F4585-H/P serves as a low-cost BACnet MS/TP or CANopen gateway between field devices and a building management system. Its ECAN 2.0B controller and Enhanced USART support dual-protocol bridging, while 48KB Flash accommodates full BACnet stack and routing tables. The nanoWatt sleep mode enables 24/7 always-on operation at low energy cost. With 1KB EEPROM, gateway configuration survives power cycles without external NVM.
推薦
Motor Control Boards (BLDC / Stepper)
The PIC18F4585-H/P's three 16-bit timers with PWM, four hardware capture/compare channels, two analog comparators, and 25 MHz throughput support sensorless or Hall-sensor BLDC and stepper motor control loops. The ECAN module integrates the drive into a networked motion system, and the -H grade tolerates the elevated temperatures inside sealed motor housings. With 48KB Flash, application code can include FOC or trapezoidal commutation algorithms, fault handling, and CANopen DS402 motion profile without external memory.
推薦
Embedded Sensor Data Loggers
The PIC18F4585-H/P's 48KB Flash holds data-acquisition firmware, 3,328 bytes RAM buffers multi-sample averaging, and 1KB EEPROM stores hours of metadata or calibration. The 11-channel ADC at 25 MHz CPU captures analog sensors up to 50 ksps aggregate, while the MSSP interface logs to external serial EEPROM or SD cards. nanoWatt sleep mode drops current to nanoamp levels between samples, making the part suited for battery-powered remote loggers in industrial or environmental monitoring.
推薦
推薦產品摘要
工程參考資料,適用於 PIC18F4585-H/P — 比較、設計指引及合規資訊。
選型指南
與替代品比較
| 參數 | 本產品 | PIC18F4585-I/P | PIC18F4585-E/P | PIC18F4685-I/P | PIC18F4580-I/P | PIC18F458-I/P |
|---|---|---|---|---|---|---|
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Package | 40-pin PDIP (DIP-40) | 40-pin PDIP (DIP-40) - same | 40-pin PDIP (DIP-40) - same | 40-pin PDIP (DIP-40) - same | 40-pin PDIP (DIP-40) - same | 40-pin PDIP (DIP-40) - same |
| Program Memory | 48 KB | 48 KB | 48 KB | 96 KB | 32 KB | 32 KB |
| Operating Temperature | -40C to +150C (H grade) | -40C to +85C | -40C to +125C | -40C to +85C | -40C to +85C | -40C to +85C |
| ECAN Module | Yes (ECAN 2.0B) | Yes | Yes | Yes | No | Yes |
| CPU Speed | 25 MHz (10 MIPS) | 25 MHz | 25 MHz | 25 MHz | 25 MHz | 25 MHz |
| RAM | 3,328 bytes | 3,328 bytes | 3,328 bytes | 3,328 bytes | 1,536 bytes | 1,536 bytes |
| Data EEPROM | 1,024 bytes | 1,024 bytes | 1,024 bytes | 1,024 bytes | 256 bytes | 256 bytes |
| ADC | 10-bit, 11 channels | 10-bit, 11 channels | 10-bit, 11 channels | 10-bit, 11 channels | 10-bit, 11 channels | 10-bit, 8 channels |
| Unit Price (qty 1, USD) | 8.28 | ~7.10 | ~7.50 | ~9.20 | ~6.80 | ~7.40 |
主要差異化特點
- Highest operating temperature in the PIC18F4585 family (對比PIC18F4585-I/P)
- Doubles Flash for future-proof designs (對比PIC18F4685-I/P)
- Lower cost for non-ECAN designs (對比PIC18F4580-I/P)
設計說明
Estimated: at 25 MHz and 5V supply with all peripherals active, the PIC18F4585-H/P draws approximately 30 mA, dissipating 150 mW - well within the 1 W PDIP-40 rating without active cooling. At +150C ambient with 1W dissipation the die temperature approaches the +175C junction limit; for high-temperature H-grade applications verify junction-to-ambient thermal resistance (theta_JA) of approximately 70 C/W for PDIP-40 and reduce clock or use sleep modes to maintain margin.
Place two Vdd/Vss decoupling pairs close to pins 11/12 and 31/32 of the DIP-40 package: a 100 nF ceramic plus a 10 uF bulk tantalum for each pair. Add a 10 kohm pull-up on MCLR (pin 1) and a 100 nF cap on the MCLR line to prevent spurious resets. For ECAN designs, keep the CANTX (RB4) and CANRX (RB3) traces short and route a single ground plane under the ICSP header to minimize EMI.
Critical: the ECAN module requires configuration of the CANCON register bits to enter Configuration mode before modifying BRGCON1/2/3 for baud rate. Failing to do so silently writes are ignored. Also note that the -H grade has only 1KB of EEPROM, not 4KB - some legacy code referencing 4KB will read garbage. Always select the correct configuration bits for the ECAN module in the MPLAB X IDE before generating HEX files.
The ECAN CANTX and CANRX lines must go through an external transceiver (e.g. MCP2551) - they are 5V CMOS logic and cannot directly drive a CAN bus. Place the transceiver within 50 mm of the MCU; keep CANH and CANL traces parallel and length-matched within 10 mm. Add a 120 ohm termination resistor at each end of the bus, never in the middle. For EMI-sensitive environments add a common-mode choke between the transceiver and bus connector.
合規資訊
RoHS and lead-free per Microchip product page. H-grade -40C to +150C operating range is not an AEC-Q100 certification; consult Microchip automotive product line for AEC-Q100 qualified PIC18 ECAN parts. Halogen-free status not explicitly stated in retrieved data.