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.