PIC18F6585-E/L - 48KB Flash 8-bit MCU 52 I/O PLCC-68 | Microchip
Référence : PIC18F6585-E/L ✓ Actif| Qté | Prix unitaire | Total |
|---|---|---|
| 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 Présentation
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.
Alternatives de remplacement direct pour PIC18F6585-E/L — 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 PIC18F6585-E/L (même facteur de forme et même empreinte) — différant par ADC, Data EEPROM, Operating Temperature, Digital I/O Pins, Mounting Type.
Outil de comparaison rapide — sélectionnez des références alternatives pour une comparaison côte à côte :
PIC18F6680-E/L
✅ Remplacement direct✓ En stock
$5.72 / unité
Voir la fiche technique →PIC18F6585-I/L
✅ Remplacement direct📋 Alternative de référence (hors catalogue)
PIC18F8585-E/L
✅ Remplacement direct📋 Alternative de référence (hors catalogue)
PIC18F6585-E/L Valeurs maximales et caractéristiques électriques
| 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 |
| Tension d'alimentation | 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 |
| Température de fonctionnement | -40 °C to +125 °C (Extended, -E suffix) |
| Boîtier | 68-pin PLCC (J-Lead) |
| Type de montage | Surface Mount |
| Niveau MSL | 3 (168 hours) |
| Statut RoHS | Compliant |
| Lead-Free | Yes |
Configuration des broches de PIC18F6585-E/L
| Broche 1 | MCLR — Master Clear (Reset) input, active low |
| Broche 2 | RA0/AN0 — PORTA bit 0 / Analog input 0 |
| Broche 3 | RA1/AN1 — PORTA bit 1 / Analog input 1 |
| Broche 4 | RA2/AN2/VREF- — PORTA bit 2 / Analog input 2 / VREF- |
| Broche 5 | RA3/AN3/VREF+ — PORTA bit 3 / Analog input 3 / VREF+ |
| Broche 6 | RA4/T0CKI — PORTA bit 4 / Timer0 clock input |
| Broche 7 | RA5/AN4/SS — PORTA bit 5 / Analog input 4 / SPI Slave Select |
| Broche 8 | RE0/RD/AN5 — PORTE bit 0 / Read control for parallel slave port / Analog input 5 |
| Broche 9 | RE1/WR/AN6 — PORTE bit 1 / Write control for PSP / Analog input 6 |
| Broche 10 | RE2/CS/AN7 — PORTE bit 2 / Chip select for PSP / Analog input 7 |
| Broche 11 | VDD — Positive supply for digital logic |
| Broche 12 | VSS — Ground reference for digital logic |
| Broche 13 | OSC1/CLKIN — Oscillator crystal input or external clock in |
| Broche 14 | OSC2/CLKOUT — Oscillator crystal output / clock out |
| Broche 15 | RC0/T1OSO/T1CKI — PORTC bit 0 / Timer1 oscillator out / Timer1 clock in |
| Broche 16 | RC1/T1OSI/CCP2 — PORTC bit 1 / Timer1 oscillator in / CCP2 |
| Broche 17 | RC2/CCP1 — PORTC bit 2 / CCP1 PWM output |
| Broche 18 | RC3/SCK/SCL — PORTC bit 3 / SPI clock / I2C clock |
| Broche 19 | RD0/PSP0/C1IN+ — PORTD bit 0 / PSP data 0 / Comparator 1 non-inverting input |
| Broche 20 | RD1/PSP1/C1IN- — PORTD bit 1 / PSP data 1 / Comparator 1 inverting input |
| Broche 21 | RD2/PSP2/C2IN+ — PORTD bit 2 / PSP data 2 / Comparator 2 non-inverting input |
| Broche 22 | RD3/PSP3/C2IN- — PORTD bit 3 / PSP data 3 / Comparator 2 inverting input |
| Broche 23 | RC4/SDI/SDA — PORTC bit 4 / SPI data in / I2C data |
| Broche 24 | RC5/SDO — PORTC bit 5 / SPI data out |
| Broche 25 | RC6/TX/CK — PORTC bit 6 / USART TX / USART synchronous clock |
| Broche 26 | RC7/RX/DT — PORTC bit 7 / USART RX / USART synchronous data |
| Broche 27 | RD4/PSP4/ECCP1 — PORTD bit 4 / PSP data 4 / ECCP1 PWM output |
| Broche 28 | RD5/PSP5 — PORTD bit 5 / PSP data 5 |
| Broche 29 | RD6/PSP6 — PORTD bit 6 / PSP data 6 |
| Broche 30 | RD7/PSP7 — PORTD bit 7 / PSP data 7 |
| Broche 31 | VSS — Ground reference |
| Broche 32 | VDD — Positive supply for digital logic |
| Broche 33 | RB0/INT0 — PORTB bit 0 / External interrupt 0 |
| Broche 34 | RB1/INT1 — PORTB bit 1 / External interrupt 1 |
| Broche 35 | RB2/INT2/CANTX — PORTB bit 2 / External interrupt 2 / CAN bus transmit |
| Broche 36 | RB3/CANRX — PORTB bit 3 / CAN bus receive |
| Broche 37 | RB4 — PORTB bit 4 |
| Broche 38 | RB5 — PORTB bit 5 |
| Broche 39 | RB6/PGC — PORTB bit 6 / In-circuit debugger clock |
| Broche 40 | RB7/PGD — PORTB bit 7 / In-circuit debugger data |
| Broche 41 | AVSS — Analog ground reference |
| Broche 42 | AVDD — Analog positive supply |
| Broche 43 | RF0 — PORTF bit 0 |
| Broche 44 | RF1 — PORTF bit 1 |
| Broche 45 | RF2 — PORTF bit 2 |
| Broche 46 | RF3 — PORTF bit 3 |
| Broche 47 | RF4 — PORTF bit 4 |
| Broche 48 | RF5 — PORTF bit 5 |
| Broche 49 | RF6 — PORTF bit 6 |
| Broche 50 | RF7 — PORTF bit 7 |
| Broche 51 | RG0 — PORTG bit 0 |
| Broche 52 | RG1 — PORTG bit 1 |
| Broche 53 | RG2 — PORTG bit 2 |
| Broche 54 | RG3 — PORTG bit 3 |
| Broche 55 | RG4 — PORTG bit 4 |
| Broche 56 | RG5 — PORTG bit 5 |
| Broche 57 | RA6 — PORTA bit 6 |
| Broche 58 | RA7 — PORTA bit 7 |
| Broche 59 | RJ0 — PORTJ bit 0 |
| Broche 60 | RJ1 — PORTJ bit 1 |
| Broche 61 | RJ2 — PORTJ bit 2 |
| Broche 62 | RJ3 — PORTJ bit 3 |
| Broche 63 | RJ4 — PORTJ bit 4 |
| Broche 64 | RJ5 — PORTJ bit 5 |
| Broche 65 | RJ6 — PORTJ bit 6 |
| Broche 66 | RJ7 — PORTJ bit 7 |
| Broche 67 | RH0 — PORTH bit 0 |
| Broche 68 | RH1 — PORTH bit 1 |
Applications typiques
PIC18F6585-E/L convient pour 6 applications: 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.
Recommandé
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.
Recommandé
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.
Recommandé
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.
Recommandé
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.
Recommandé
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.
Recommandé
Récapitulatif des produits recommandés
Données de référence d'ingénierie pour PIC18F6585-E/L — comparaison, recommandations de conception et informations de conformité.
Guide de sélection
Comparaison avec les alternatives
| Paramètre | Ce produit | 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 |
Principaux différenciateurs
- Doubles Flash memory at same pin footprint (vs PIC18F6585-I/L)
- Extended temperature grade for industrial/automotive (vs PIC18F6585-I/L)
- On-chip CAN 2.0B hardware controller (vs PIC18F4585-I/P)
Notes de conception
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.
Informations de conformité
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.