PIC18F6585-I/PT - 8-Bit 40MHz 48KB Flash MCU TQFP-64 | Microchip
MPN: PIC18F6585-I/PT ✓ Active| Qty | Unit Price | Extended |
|---|---|---|
| 1 | $11.5 | $11.50 |
| 10 | $10.2 | $102.00 |
| 100 | $8.95 | $895.00 |
| 500 | $7.8 | $3,900.00 |
| 1,000 | $6.95 | $6,950.00 |
PIC18F6585-I/PT Overview
What is a PIC18 8-bit microcontroller? The PIC18 family is Microchip's flagship enhanced Harvard-architecture 8-bit MCU line built around an advanced RISC core that executes one instruction per clock cycle, achieving up to 10 MIPS throughput. Within the broader taxonomy, PIC18 microcontrollers belong to the microcontroller family, which sits beneath embedded controllers, which themselves fall under microprocessors and semiconductors. The 8-bit PIC18 platform is designed for deterministic, low-latency control tasks rather than high-throughput DSP or data-plane workloads, making it a workhorse for industrial, automotive, and consumer embedded applications where C-compiled firmware, mature toolchains, and long-term supply continuity matter more than raw MHz.
Key technical strengths of the PIC18F6585 include 48 KB of self-programmable enhanced Flash with endurance suitable for bootloader-driven field updates, an integrated CAN 2.0B controller with acceptance filtering for in-vehicle and industrial networking, and PIC18-standard nanoWatt power management with multiple idle and sleep modes that let battery-powered nodes drop quiescent current dramatically between events. The 12-channel, 10-bit successive-approximation ADC with auto-acquisition supports multi-sensor sampling for motor, lighting, and process-control designs, while the 52 I/O pins provide ample headroom for keypad, display, relay, and signal-conditioning expansion.
Architecturally the device uses a 16-bit instruction word with 8-bit data paths, dual-bus Harvard memory, a hardware multiplier for 8x8 in a single cycle, and an internal oscillator block with PLL options that lets designers trim external BOM by deriving system clock from the internal RC. The CAN module shares the PPS (Peripheral Pin Select) infrastructure and produces maskable interrupts through the PIC18 vectored interrupt controller, simplifying real-time response in deterministic control loops.
Typical applications include industrial HVAC and process control panels, automotive body and chassis subsystems running on CAN, medical instrumentation front-ends, building automation and security panels, USB/serial-connected data acquisition front-ends, and consumer appliance controllers. The 64-pin TQFP footprint is pin-compatible with other PIC18F6585 family members, enabling a single PCB to accept different Flash/RAM configurations without rework.
When designing with this MCU, pay attention to the ICP/ICD programming pin assignments and reserve adequate power decoupling; Microchip's MPLAB ICD 5 and PICkit 4/5 debuggers use dedicated pairs that should not be reassigned to general I/O if field firmware updates via ICSP are required.
This page synthesizes distributor pricing, drop-in alternatives, and practical design notes not found in the standalone Microchip datasheet.
Drop-in alternatives for PIC18F6585-I/PT — same package, pin-to-pin compatible. Different-package parts requiring PCB rework are excluded.
Variants in this series
Same-series models that are drop-in compatible with PIC18F6585-I/PT (same form factor and footprint) — differing in Core Architecture, Package, ADC, Operating Temperature, Program Memory (Flash).
Quick Comparison Tool — Select alternative parts for side-by-side comparison:
PIC18F6680-I/PT
✅ Drop-In📋 Reference alternative (not in catalog)
PIC18F6585-I/PT Maximum Ratings & Electrical Characteristics
| Core Architecture | PIC18 enhanced 8-bit RISC |
| Program Memory (Flash) | 48 KB (24K x 16 words) |
| RAM | 3,328 bytes |
| EEPROM | 1,024 bytes |
| Maximum CPU Speed | 40 MHz (10 MIPS) |
| Supply Voltage (Vdd) | 4.2 V to 5.5 V |
| Digital I/O Pins | 52 |
| ADC | 10-bit, up to 12 channels |
| Timers | Multiple 16-bit / 8-bit, capture/compare/PWM |
| Communication Interfaces | 2x USART, 1x SPI, 1x I2C (Master), 1x CAN 2.0B |
| Operating Temperature (Industrial) | -40C to +85C |
| Package | TQFP-64 (PT), 10x10 mm |
| Mounting Type | Surface Mount |
| MSL Level | 3 (per JEDEC J-STD-020) |
| RoHS Status | Compliant |
PIC18F6585-I/PT Pin Configuration
| Pin 1 | MCLR/VPP — Master Clear (reset) input / programming voltage |
| Pin 2 | RA0/AN0 — PORTA0 / Analog input 0 |
| Pin 3 | RA1/AN1 — PORTA1 / Analog input 1 |
| Pin 4 | RA2/AN2 — PORTA2 / Analog input 2 |
| Pin 5 | RA3/AN3 — PORTA3 / Analog input 3 |
| Pin 6 | RA4/AN4 — PORTA4 / Analog input 4 |
| Pin 7 | RA5/AN5 — PORTA5 / Analog input 5 |
| Pin 8 | RE0/RD — PORTE0 / Read control |
| Pin 9 | RE1/WR — PORTE1 / Write control |
| Pin 10 | RE2/CS — PORTE2 / Chip select |
| Pin 11 | VDD — Positive supply (4.2V-5.5V) |
| Pin 12 | VSS — Ground |
| Pin 13 | OSC1 — Oscillator input |
| Pin 14 | OSC2 — Oscillator output |
| Pin 15 | RC0/T1CKI — PORTC0 / Timer1 clock |
| Pin 16 | RC1/CCP2 — PORTC1 / Capture-Compare 2 |
| Pin 17 | RC2/CCP1 — PORTC2 / Capture-Compare 1 |
| Pin 18 | RC3/SCK/SCL — PORTC3 / SPI clock / I2C clock |
| Pin 19 | RC4/SDI/SDA — PORTC4 / SPI data in / I2C data |
| Pin 20 | RC5/SDO — PORTC5 / SPI data out |
| Pin 21 | RC6/TX/CK — PORTC6 / USART TX / clock |
| Pin 22 | RC7/RX/DT — PORTC7 / USART RX / data |
| Pin 23 | CANTX — CAN bus transmit |
| Pin 24 | CANRX — CAN bus receive |
| Pin 25 | RD0/PSP0 — PORTD0 / Parallel Slave Port 0 |
| Pin 26 | RD1/PSP1 — PORTD1 / Parallel Slave Port 1 |
| Pin 27 | RD2/PSP2 — PORTD2 / Parallel Slave Port 2 |
| Pin 28 | RD3/PSP3 — PORTD3 / Parallel Slave Port 3 |
| Pin 29 | RD4/PSP4 — PORTD4 / Parallel Slave Port 4 |
| Pin 30 | RD5/PSP5 — PORTD5 / Parallel Slave Port 5 |
| Pin 31 | RD6/PSP6 — PORTD6 / Parallel Slave Port 6 |
| Pin 32 | RD7/PSP7 — PORTD7 / Parallel Slave Port 7 |
| Pin 33 | RF0 — PORTF0 |
| Pin 34 | RF1 — PORTF1 |
| Pin 35 | RF2 — PORTF2 |
| Pin 36 | RF3 — PORTF3 |
| Pin 37 | RF4 — PORTF4 |
| Pin 38 | RF5 — PORTF5 |
| Pin 39 | RF6 — PORTF6 |
| Pin 40 | RF7 — PORTF7 |
| Pin 41 | RG0 — PORTG0 |
| Pin 42 | RG1 — PORTG1 |
| Pin 43 | RG2 — PORTG2 |
| Pin 44 | RG3 — PORTG3 |
| Pin 45 | RG4 — PORTG4 |
| Pin 46 | AVDD — Analog positive supply |
| Pin 47 | AVSS — Analog ground |
| Pin 48 | RB0/INT0 — PORTB0 / External interrupt 0 |
| Pin 49 | RB1/INT1 — PORTB1 / External interrupt 1 |
| Pin 50 | RB2/INT2 — PORTB2 / External interrupt 2 |
| Pin 51 | RB3/INT3 — PORTB3 / External interrupt 3 |
| Pin 52 | RB4 — PORTB4 |
| Pin 53 | RB5 — PORTB5 |
| Pin 54 | RB6/PGC — PORTB6 / ICSP clock |
| Pin 55 | RB7/PGD — PORTB7 / ICSP data |
| Pin 56 | RA6 — PORTA6 |
| Pin 57 | RA7 — PORTA7 |
| Pin 58 | VSS — Ground |
| Pin 59 | VDD — Positive supply (4.2V-5.5V) |
| Pin 60 | RH0 — PORTH0 |
| Pin 61 | RH1 — PORTH1 |
| Pin 62 | RH2 — PORTH2 |
| Pin 63 | RH3 — PORTH3 |
| Pin 64 | RH4 — PORTH4 |
Typical Applications
PIC18F6585-I/PT is suitable for 6 applications: Industrial HVAC Controller, Automotive Body Control Module, Medical Instrument Front-End, Building Security Panel, USB-CDC Data Acquisition Front-End, Consumer Appliance Controller.
Industrial HVAC Controller
The PIC18F6585-I/PT suits industrial HVAC control boards because its 12-channel 10-bit ADC handles multiple temperature, pressure, and humidity sensor inputs simultaneously, while the integrated CAN 2.0B controller talks to rooftop unit (RTU) peripherals running the BACnet or Modbus-over-CAN stack. 48 KB of Flash and 3,328 bytes of RAM comfortably hold HVAC state machines, fuzzy-logic setpoint schedulers, and fault-log buffers; the PIC18 enhanced core's 10 MIPS throughput keeps PWM-driven damper and compressor control loops deterministic at sub-millisecond update rates.
Recommended
Automotive Body Control Module
In automotive body and chassis applications the PIC18F6585-I/PT drives CAN 2.0B communication with ECUs over the vehicle bus while its 52 I/O pins handle lighting, mirror, seat, and window actuator switching. The hardware acceptance filter and dedicated CAN interrupt vector keep message latency under 100 us in loaded buses, and 48 KB of Flash plus 1,024-byte EEPROM store CANopen or Body Electronics Area Network (BEAN) stacks plus per-VIN configuration records. Industrial temperature grade with -40C to +85C operation suits under-dash mounting.
Recommended
Medical Instrument Front-End
The PIC18F6585-I/PT is well-suited to non-life-critical medical instrumentation, including point-of-care analyzers, patient monitors, and laboratory equipment that demand deterministic real-time behavior. Its 10-bit ADC captures analog sensor channels at the kilohertz rates typical of optical and electrochemical biosensors, while the 52 digital I/O lines drive LCD displays, keypad scan matrices, and serial peripheral datalinks (SPI/I2C) to companion ADCs or DACs. The 48 KB Flash plus 1 KB EEPROM support FDA-style traceability logging of calibration data and usage histories.
Recommended
Building Security Panel
The PIC18F6585-I/PT is appropriate for building intrusion and access-control panels that aggregate multiple sensors over CAN or RS-485 and present status via keypads, sirens, and Cloud uplinks. Its 52 I/O pins accommodate 16-key matrix keypads, multiple zone inputs, relay outputs, and a serial link to dialer or ethernet gateways with margin to spare. Enhanced Flash supports encrypted firmware update via bootloader and stores event-logs of door access attempts; industrial temperature rating suits unconditioned mechanical rooms.
Recommended
USB-CDC Data Acquisition Front-End
With one USART exposed through an external USB-to-UART bridge, the PIC18F6585-I/PT implements a low-cost data-acquisition front-end streaming 12 channels of 10-bit ADC samples to a host PC at sustained kilohertz rates. 48 KB Flash is sufficient for on-device pre-processing and FFT cores; 3,328 bytes of RAM buffer 256-sample acquisition windows for USB Bulk transfers. The PIC18's deterministic interrupt latency (4 cycles to vector) ensures glitch-free isochronous sampling.
Recommended
Consumer Appliance Controller
The PIC18F6585-I/PT powers white-goods controllers such as washing machines, dishwashers, and induction cooktops where its 48 KB Flash holds motor-control state machines plus user interface logic, and its 16-bit timers drive triac phase-angle or PFC/PWM inverter control loops. The hardware CAN interface enables fleet diagnostics for appliance OEMs, while the I2C/SPI peripherals interface to motor-driver FPGAs and segment-LCD drivers. Cost is competitive in high-volume consumer markets where Microchip longevity commitments matter for 7-10 year product lifecycles.
Recommended
Recommended Products Summary
Engineering reference data for PIC18F6585-I/PT — comparison, design guidance, and compliance information.
Selection Guide
Comparison with Alternatives
| Parameter | This Product | PIC18F6680-I/PT | PIC18F8585-I/PT |
|---|---|---|---|
| Brand | Microchip Technology | Microchip Technology | Microchip Technology |
| Package | TQFP-64 (PT) | TQFP-64 (PT) - same | TQFP-80 - different |
| Program Flash | 48 KB | 96 KB | 48 KB |
| RAM | 3,328 bytes | 3,328 bytes | 3,328 bytes |
| EEPROM | 1,024 bytes | 1,024 bytes | 1,024 bytes |
| Maximum CPU Speed | 40 MHz | 40 MHz | 40 MHz |
| CAN 2.0B | Yes (integrated) | Yes (integrated) | Yes (integrated) |
| I/O Pins | 52 | 52 | 70 (more due to 80-pin TQFP) |
Key Differentiators
- Integrated hardware CAN 2.0B controller (vs PIC18F4585 (no CAN))
- Generous 48 KB Flash in compact 64-pin TQFP (vs PIC18F4580 (32 KB Flash))
- 52 digital I/O plus 12-channel 10-bit ADC (vs PIC18F6680 (same I/O count, same ADC))
Design Notes
Estimated: Vdd should be tightly regulated to 5.0V +/- 5%; adequate decoupling with 100 nF ceramic on each Vdd pin plus a 10 uF bulk tantalum or ceramic near the MCU minimizes switching-noise coupling into the ADC reference. The on-chip ADC accuracy depends on low-noise AVDD; if analog and digital rails are shared, place a ferrite bead between AVDD and VDD to protect SNR.
Estimated: At 40 MHz the PIC18F6585 core draws roughly 22 mA (110 mW dissipation worst case) - well below TQFP-64 thermal limits of approx 1 W, so no heatsinking is required. For industrial -40C to +85C operation, however, verify case-to-ambient thermal resistance (theta_JA approx 50 C/W for TQFP-64 10x10 mm on 2-layer PCB) and provide a thermal via array beneath the exposed pad if the part is specified as +125C extended grade.
Reserved ICP/ICD pins (PGC/PGD, MCLR/VPP) cannot be repurposed as general I/O if you plan to support in-circuit programming in production. Configure PGC/PGD pins as digital inputs, not analog, and ensure MCLR has its 10 kohm pull-up plus a 100 nF bypass cap. Configuration bits must be set to disable the on-chip LVP (low-voltage programming) if you switch to high-voltage programming mode.
Route the CANH/CANL traces as a differential pair with 120 ohm characteristic impedance and place a CAN transceiver (e.g., MCP2551) within 50 mm of the MCU pins. Use a 4-layer PCB with continuous ground plane to keep CAN rise-time under 8 ns and pass automotive-level EMC; place a 1 nF Y-capacitor across the isolation barrier in isolated CAN designs.
Compliance Information
RoHS compliant per Microchip product page; industrial temperature grade -40C to +85C; MSL-3 moisture sensitivity level.