Panel For Example Panel For Example Panel For Example

Overview of Microchip PIC18F8585 Microcontroller

Author : Adrian September 18, 2025

Overview

The Microchip PIC18F8585 microcontroller includes a CAN interface. It is a high-performance 8-bit microcontroller suitable for industrial control and embedded applications. The device supports various programmer interfaces, standard C programming, and offers a range of peripherals, communication interfaces, and debugging features.

The MCU uses a Harvard architecture, with a maximum operating frequency of 40 MHz, 96 KB of flash memory, and 4 KB of RAM. It also provides multiple analog and digital peripheral interfaces, including an analog-to-digital converter, comparators, PWM generators, timers, UART, SPI, and I2C communication interfaces.

The PIC18F8585 also includes advanced features such as 8-bit and 16-bit fixed-point adders, an I2S port, encoder interface, and multiple timer modes for efficient data handling. Safety and reliability features include configurable pull-ups/pull-downs, fail-safe reset, calendar/timer functions, and an independent watchdog.

Key Features

  • Full CAN 2.0B support
  • Five 10-bit PWM modules
  • Three transmit buffers and eight receive buffers
  • 16 acceptance filters and two filter masks
  • 1024-byte EEPROM
  • Two analog comparators
  • Five capture/compare modules
  • Parallel Slave Port (PSP)
  • Programmable brown-out reset (BOR)

Common Features of PIC18F6585, PIC18F8585, PIC18F6680, and PIC18F8680

  • High-performance RISC CPU
  • Source-code compatible with PIC16 and PIC17 instruction sets
  • Linear program memory addressing up to 2 megabytes
  • Linear data memory addressing of 4096 bytes
  • 1-byte data EEPROM
  • Operation up to 10 MIPS
  • Oscillator/clock input: DC to 40 MHz
  • 4 MHz to 10 MHz oscillator/clock input with PLL
  • 16-bit-wide instructions, 8-bit-wide data path
  • Interrupt priority levels
  • 31-level hardware stack, software-accessible
  • 8x8 single-cycle hardware multiplier

Peripheral Features

  • High sink/source current: 25 mA
  • Four external interrupt pins
  • Timer0 module: 8-bit/16-bit timer/counter
  • Timer1 module: 16-bit timer/counter
  • Timer2 module: 8-bit timer/counter
  • Timer3 module: 16-bit timer/counter
  • Auxiliary oscillator clock option
  • One Capture/Compare/PWM (CCP) module:
    • Capture: 16-bit, maximum resolution 6.25 ns (TCY/16)
    • Compare: 16-bit, maximum resolution 100 ns (TCY)
    • PWM output: PWM resolution from 1 to 10 bits
  • Enhanced CCP module:
    • Same capture/compare functions as CCP
    • 1, 2, or 4 PWM outputs
    • Selectable polarity
    • Programmable dead time
    • Auto-shutdown on external events
    • Auto-restart
  • Master Synchronous Serial Port (MSSP) module:
    • 3-wire SPI (supports all 4 SPI modes)
    • I2C Master and Slave modes
  • Enhanced Addressable USART module:
    • Supports RS-232, RS-485, and LIN 1.2
    • Programmable wake-up start bit
    • Auto baud rate detection
  • Parallel Slave Port (PSP) module

Analog Features

  • Up to 16-channel, 10-bit analog-to-digital converter:
    • Fast sampling rate
    • Programmable acquisition time
    • Conversions available in sleep mode
  • 16-level programmable low-voltage detect (LVD) module:
    • Supports low-voltage detect interrupt
  • Programmable brown-out reset (BOR)
  • Dual analog comparators with programmable input/output configuration