PIC18F6585-E/L - 48KB Flash 8-bit MCU 52 I/O PLCC-68 | Microchip
料号: PIC18F6585-E/L ✓ 量产中| 数量 | 单价 | 小计 |
|---|---|---|
| 1 | $8.1 | $8.10 |
| 10 | $7.42 | $74.20 |
| 100 | $6.63 | $663.00 |
| 500 | $5.94 | $2,970.00 |
| 1,000 | $5.25 | $5,250.00 |
PIC18F6585-E/L 概述
An 8-bit microcontroller (MCU) is a single-chip computer that integrates a CPU, program memory (Flash/ROM), data memory (RAM), non-volatile storage (EEPROM), and a rich set of peripherals on a single die. PIC18F devices belong to the enhanced PIC18 family and offer hardware multiplier, 16-bit instructions, and C-friendly architecture. They sit in the microcontroller taxonomy as follows: MCU -> 8-bit MCU -> PIC MCU -> PIC18F family -> PIC18F6x8x series, and are widely used in cost-sensitive embedded designs where deterministic interrupt response and a robust peripheral set are required.
Key features include 10 MIPS performance from the 40 MHz oscillator, two USART modules, MSSP I2C/SPI, two CCP/ECCP modules, a 12-bit 8-channel ADC, two 8-bit timers plus three 16-bit timers, a 16-bit comparator pair, and dual analog comparators with programmable voltage reference. The integrated CAN 2.0B module makes this part distinctive for industrial networking.
Architecturally, the PIC18F6585 uses a Harvard RISC design with separate program and data buses, a hardware 8x8 multiplier, and a C-callable interrupt controller supporting priority levels. Its 75 instructions are mostly single-cycle, and the 16-bit instruction width simplifies C compiler code generation while keeping the deterministic timing favored in real-time control loops.
Typical applications include industrial CAN node controllers, automotive body and HVAC modules, building automation gateways, motor control front-ends, and instrument panels. Designers select this MCU when a CAN node with on-chip protocol handling, ample code space, and a 5 V-tolerant GPIO budget is required.
When designing with the PIC18F6585-E/L, place VDD/VSS decoupling capacitors within 3 mm of every supply pin, route the 40 MHz crystal traces symmetrically with grounded guard rings, and ensure CANH/CANL are routed as a 120 Ω-impedance differential pair to the MCP2551 or MCP2561 transceiver.
This page consolidates distributor inventory, parametric drop-in alternatives, and practical design notes not found in the manufacturer datasheet, including a side-by-side comparison with PIC18F6680 and PIC18F8585 family members to help engineers migrate code and PCB layouts.
直接替换替代料: PIC18F6585-E/L ——相同封装,引脚兼容。需要 PCB 改动的不同封装料号已排除。
本系列中的变体
可与以下型号直接替换的同系列型号: PIC18F6585-E/L (相同外形与封装尺寸) ——差异在于 ADC, Data EEPROM, Operating Temperature, Digital I/O Pins, Mounting Type.
快速对比工具——选择替代料号进行并排对比:
PIC18F6680-E/L
✅ 直接替换✓ 有现货
$5.72 / 个
查看数据手册 →PIC18F6585-I/L
✅ 直接替换📋 参考替代料(不在目录中)
PIC18F8585-E/L
✅ 直接替换📋 参考替代料(不在目录中)
PIC18F6585-E/L 最大额定值与电气特性
| Core Architecture | PIC18F 8-bit RISC |
| Program Memory (Flash) | 48 KB (24K x 16) |
| Data RAM | 3,328 bytes |
| Data EEPROM | 1,024 bytes |
| Maximum Clock Speed | 40 MHz |
| Instruction Throughput | 10 MIPS |
| 电源电压 | 4.2 V to 5.5 V |
| I/O Pins | 52 |
| ADC | 10-bit, 12 channels |
| Timers | Two 8-bit, three 16-bit |
| Communication | 2x USART, MSSP (I2C/SPI), CAN 2.0B |
| CCP Modules | 2x CCP, 1x ECCP |
| 工作温度 | -40 °C to +125 °C (Extended, -E suffix) |
| 封装 | 68-pin PLCC (J-Lead) |
| 安装类型 | Surface Mount |
| MSL 等级 | 3 (168 hours) |
| RoHS 状态 | Compliant |
| Lead-Free | Yes |
PIC18F6585-E/L 引脚配置
| 引脚 1 | MCLR — Master Clear (Reset) input, active low |
| 引脚 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 / VREF- |
| 引脚 5 | RA3/AN3/VREF+ — PORTA bit 3 / Analog input 3 / VREF+ |
| 引脚 6 | RA4/T0CKI — PORTA bit 4 / Timer0 clock input |
| 引脚 7 | RA5/AN4/SS — PORTA bit 5 / Analog input 4 / SPI Slave Select |
| 引脚 8 | RE0/RD/AN5 — PORTE bit 0 / Read control for parallel slave port / Analog input 5 |
| 引脚 9 | RE1/WR/AN6 — PORTE bit 1 / Write control for PSP / Analog input 6 |
| 引脚 10 | RE2/CS/AN7 — PORTE bit 2 / Chip select for PSP / Analog input 7 |
| 引脚 11 | VDD — Positive supply for digital logic |
| 引脚 12 | VSS — Ground reference for digital logic |
| 引脚 13 | OSC1/CLKIN — Oscillator crystal input or external clock in |
| 引脚 14 | OSC2/CLKOUT — Oscillator crystal output / clock out |
| 引脚 15 | RC0/T1OSO/T1CKI — PORTC bit 0 / Timer1 oscillator out / Timer1 clock in |
| 引脚 16 | RC1/T1OSI/CCP2 — PORTC bit 1 / Timer1 oscillator in / CCP2 |
| 引脚 17 | RC2/CCP1 — PORTC bit 2 / CCP1 PWM output |
| 引脚 18 | RC3/SCK/SCL — PORTC bit 3 / SPI clock / I2C clock |
| 引脚 19 | RD0/PSP0/C1IN+ — PORTD bit 0 / PSP data 0 / Comparator 1 non-inverting input |
| 引脚 20 | RD1/PSP1/C1IN- — PORTD bit 1 / PSP data 1 / Comparator 1 inverting input |
| 引脚 21 | RD2/PSP2/C2IN+ — PORTD bit 2 / PSP data 2 / Comparator 2 non-inverting input |
| 引脚 22 | RD3/PSP3/C2IN- — PORTD bit 3 / PSP data 3 / Comparator 2 inverting input |
| 引脚 23 | RC4/SDI/SDA — PORTC bit 4 / SPI data in / I2C data |
| 引脚 24 | RC5/SDO — PORTC bit 5 / SPI data out |
| 引脚 25 | RC6/TX/CK — PORTC bit 6 / USART TX / USART synchronous clock |
| 引脚 26 | RC7/RX/DT — PORTC bit 7 / USART RX / USART synchronous data |
| 引脚 27 | RD4/PSP4/ECCP1 — PORTD bit 4 / PSP data 4 / ECCP1 PWM output |
| 引脚 28 | RD5/PSP5 — PORTD bit 5 / PSP data 5 |
| 引脚 29 | RD6/PSP6 — PORTD bit 6 / PSP data 6 |
| 引脚 30 | RD7/PSP7 — PORTD bit 7 / PSP data 7 |
| 引脚 31 | VSS — Ground reference |
| 引脚 32 | VDD — Positive supply for digital logic |
| 引脚 33 | RB0/INT0 — PORTB bit 0 / External interrupt 0 |
| 引脚 34 | RB1/INT1 — PORTB bit 1 / External interrupt 1 |
| 引脚 35 | RB2/INT2/CANTX — PORTB bit 2 / External interrupt 2 / CAN bus transmit |
| 引脚 36 | RB3/CANRX — PORTB bit 3 / CAN bus receive |
| 引脚 37 | RB4 — PORTB bit 4 |
| 引脚 38 | RB5 — PORTB bit 5 |
| 引脚 39 | RB6/PGC — PORTB bit 6 / In-circuit debugger clock |
| 引脚 40 | RB7/PGD — PORTB bit 7 / In-circuit debugger data |
| 引脚 41 | AVSS — Analog ground reference |
| 引脚 42 | AVDD — Analog positive supply |
| 引脚 43 | RF0 — PORTF bit 0 |
| 引脚 44 | RF1 — PORTF bit 1 |
| 引脚 45 | RF2 — PORTF bit 2 |
| 引脚 46 | RF3 — PORTF bit 3 |
| 引脚 47 | RF4 — PORTF bit 4 |
| 引脚 48 | RF5 — PORTF bit 5 |
| 引脚 49 | RF6 — PORTF bit 6 |
| 引脚 50 | RF7 — PORTF bit 7 |
| 引脚 51 | RG0 — PORTG bit 0 |
| 引脚 52 | RG1 — PORTG bit 1 |
| 引脚 53 | RG2 — PORTG bit 2 |
| 引脚 54 | RG3 — PORTG bit 3 |
| 引脚 55 | RG4 — PORTG bit 4 |
| 引脚 56 | RG5 — PORTG bit 5 |
| 引脚 57 | RA6 — PORTA bit 6 |
| 引脚 58 | RA7 — PORTA bit 7 |
| 引脚 59 | RJ0 — PORTJ bit 0 |
| 引脚 60 | RJ1 — PORTJ bit 1 |
| 引脚 61 | RJ2 — PORTJ bit 2 |
| 引脚 62 | RJ3 — PORTJ bit 3 |
| 引脚 63 | RJ4 — PORTJ bit 4 |
| 引脚 64 | RJ5 — PORTJ bit 5 |
| 引脚 65 | RJ6 — PORTJ bit 6 |
| 引脚 66 | RJ7 — PORTJ bit 7 |
| 引脚 67 | RH0 — PORTH bit 0 |
| 引脚 68 | RH1 — PORTH bit 1 |
典型应用
PIC18F6585-E/L 适用于 6 应用s: Industrial CAN Node Controller, Automotive Body and HVAC Module, Building Automation Gateway, Industrial Motor Control Front-End, Instrument Panel and HMI Controller, Security and Access Control Panel.
Industrial CAN Node Controller
The PIC18F6585-E/L is purpose-built for industrial CAN nodes thanks to its integrated CAN 2.0B controller, 48 KB of Flash for protocol stacks like CANopen or DeviceNet, and 52 I/O for sensor aggregation. Its hardware acceptance filters reduce firmware overhead when running a CANopen slave stack, and the 10 MIPS throughput comfortably handles 1 Mbit/s bus traffic with headroom for application code. The 4.2 V to 5.5 V supply range aligns with industrial 24 V rails stepped down to 5 V, while the -40 °C to +125 °C extended grade supports outdoor cabinets and machine shops. Designers typically pair it with an MCP2551 or MCP2561 transceiver, route CANH/CANL as a 120 Ω differential pair, and terminate both ends to meet ISO 11898.
推荐
Automotive Body and HVAC Module
The -E extended temperature grade and on-chip CAN make the PIC18F6585-E/L a strong fit for automotive body and HVAC controllers operating at 12 V nominal with load-dump transients. Its 52 I/O handle HVAC damper actuators, blower motor PWM control via the ECCP module, and multiplexed switch inputs, while the 10-bit 12-channel ADC reads temperature sensors and pressure transducers. The 40 MHz core supports a real-time HVAC control loop in single-cycle instructions, and the 48 KB Flash accommodates a CAN-based body control stack. Designers commonly add a TJA1050 or MCP2561 CAN transceiver, a TVS diode for load-dump, and an LDO such as the MCP1790 for the 5 V rail.
推荐
Building Automation Gateway
The PIC18F6585-E/L is a strong building automation gateway MCU because it bridges CAN-based HVAC or elevator nodes to BACnet MS/TP or Modbus RTU via the on-chip USART and MSSP. The 48 KB Flash accommodates a complete BACnet stack, scheduling logic, and I/O handling, while 3,328 bytes of RAM provide buffer space for incoming telegrams. The 52 I/O integrate digital inputs from limit switches and outputs to relay drivers, and the 12-channel ADC reads analog sensors such as temperature and humidity. The extended -40 °C to +125 °C grade is critical for rooftop equipment, and the 5 V operation aligns with industrial control cabinets powered by 24 V DIN-rail supplies.
推荐
Industrial Motor Control Front-End
The PIC18F6585-E/L serves as a robust motor control front-end for low-voltage BLDC or stepper drives thanks to its 16-bit timers, ECCP module with hardware PWM, and 52 I/O for Hall sensors and FET drivers. The 10 MIPS throughput executes field-oriented control loops at moderate PWM rates, while the 10-bit ADC samples phase currents and back-EMF for sensorless commutation. The CAN peripheral reports motor status to a master PLC in industrial networks, and the -E grade supports high-ambient factory enclosures. Pair the PIC18F6585-E/L with an IR2104 or FAN7888 gate driver and an MCP2551 CAN transceiver for a complete CAN-connected motor drive.
推荐
Instrument Panel and HMI Controller
The PIC18F6585-E/L is widely used in instrument panels where 52 I/O drive LED matrices, segment LCDs, and keypads while the CAN interface links to vehicle or machine data. Its 48 KB Flash holds graphic tables, character sets, and fault logging, and 3,328 bytes of RAM buffer incoming CAN frames for screen refresh. The MSSP drives SPI-based TFT displays or I2C-based GPIO expanders, and the ECCP module generates the backlight PWM. Designers combine this MCU with an MCP2515 external CAN controller if more CAN channels are needed, and pair it with a CAT93C46 EEPROM for nonvolatile user settings.
推荐
Security and Access Control Panel
The PIC18F6585-E/L fits access control panels because its CAN bus links multiple door readers and electric locks while the 52 I/O read keypads, card readers, and reed switches, and drive relays for door strikes. The 48 KB Flash stores credential tables, event logs, and the CANopen stack, and 3,328 bytes of RAM buffer real-time events. The -E temperature grade supports outdoor gate controllers in extreme climates, and the 5 V operation accepts standard 12 V door-power supplies via a simple LDO. Designers add an MCP2551 for CAN communication, a MAX485 for RS-485 backup, and a 32 kHz crystal for timekeeping.
推荐
推荐产品汇总
工程参考数据: PIC18F6585-E/L ——对比、设计指导和合规信息。
选型指南
与替代料对比
| 参数 | 本产品 | PIC18F6680-E/L | PIC18F6585-I/L | PIC18F8585-E/L |
|---|---|---|---|---|
| Package | 68-PLCC (J-Lead) | 68-PLCC (J-Lead) - same | 68-PLCC (J-Lead) - same | 68-PLCC (J-Lead) - same |
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Flash Memory | 48 KB | 96 KB | 48 KB | 48 KB |
| RAM | 3,328 bytes | 3,840 bytes | 3,328 bytes | 3,328 bytes |
| Max Clock | 40 MHz / 10 MIPS | 40 MHz / 10 MIPS | 40 MHz / 10 MIPS | 40 MHz / 10 MIPS |
| I/O Pins | 52 | 52 | 52 | 52 |
| CAN Module | CAN 2.0B | CAN 2.0B | CAN 2.0B | CAN 2.0B |
| Operating Temperature | -40 to +125 °C (Extended) | -40 to +125 °C | -40 to +85 °C (Industrial) | -40 to +125 °C |
关键差异点
- Doubles Flash memory at same pin footprint (对比 PIC18F6585-I/L)
- Extended temperature grade for industrial/automotive (对比 PIC18F6585-I/L)
- On-chip CAN 2.0B hardware controller (对比 PIC18F4585-I/P)
设计说明
Place a 100 nF decoupling capacitor within 3 mm of every VDD/VSS pin pair on the 68-pin PLCC, and add a 10 uF bulk capacitor on the board supply rail. Separate analog AVDD/AVSS filtering with a ferrite bead and 100 nF + 10 uF cap is mandatory for ADC accuracy. Brown-out reset (BOR) must be enabled in configuration bits to ensure predictable startup in industrial 24 V bus environments.
Route the 40 MHz crystal traces (OSC1/OSC2) as short, symmetric traces guarded by grounded copper pour on both sides. Keep the crystal within 5 mm of the MCU, avoid routing signal traces under it, and place load capacitors (per crystal manufacturer, typically 15-33 pF) directly between OSC1/OSC2 and ground. For CAN bus, route CANH/CANL as a 120 Ω differential pair with characteristic impedance matched to the transceiver; keep stubs shorter than 3 mm.
Estimated: at ambient +25 °C with the MCU drawing 75 mA at 5 V (375 mW) the 68-PLCC theta_JA is roughly 45-50 C/W, giving a junction rise of about 17-19 °C. Always verify with a thermocouple in your enclosure; the -40 to +125 °C operating range is the silicon rating, not a guaranteed continuous ambient, and high-density PLCC boards in sealed cabinets can easily exceed 85 °C without forced airflow.
Do not leave the MCLR pin floating - tie it to VDD through a 10 kΩ pull-up and provide a manual reset button to ground. Forgetting this is the most common reason prototype PIC18F designs fail to start. Configure the watchdog timer (WDT) with a postscaler appropriate to your control loop; an unconfigured WDT with too-short timeout will reset the MCU inside legitimate interrupt routines.
合规信息
RoHS compliant per Microchip product page; not AEC-Q100 qualified. PIC18F6585-E/L is the extended temperature grade (-40 to +125 °C) but does not carry automotive Q-100 certification - use PIC18F6680-I/PT or PIC18F46K80 with Q-100 suffix for automotive.