PIC18F4585-I/P Microcontroller, 40 DIP, 40 MHz, CAN, 48k Flash


PIC18F4585IP



High-Performance, Enhanced Flash Microcontroller with ECAN, in 40-pin PDIP

Microchip PIC18F4585 Microcontroller Features

High-Performance RISC CPU

  • Operating speed: 40 MHz, Up to 10 MIPS
  • Operating voltage: 4.2-5.5V
  • Industrial temperature range (-40° to +85°C)
  • Four Crystal modes, up to 40 MHz
  • 4x PLL available for crystal and internal oscillators
  • Two External RC modes, up to 4 MHz
  • Two External Clock modes, up to 40 MHz
  • Internal oscillator block:
    • Eight user-selectable frequences, from 31 kHz to 8 MHz (up to 32 MHz with PLL)
    • User-tunable to compensate for frequency drift
  • Secondary oscillator using Timer1 at 32 kHz
  • Fail-safe Clock Monitor allows safe shutdown if peripheral clock stops
  • Interrupt capability (28 Interrupt Sources) with Priority levels
  • 8 × 8 Single-Cycle Hardware Multiplier
  • 75 instructions (83 with Extended Instruction Set enabled)

Special Microcontroller Features

  • Flash Memory: 48 Kbytes (24,576 words)
  • Data SRAM: 3328 bytes
  • Data EEPROM: 1024 bytes
  • Power-saving Sleep mode
  • Extended Watchdog Timer, programmable from 41ms to 131s
  • In-Circuit Serial Programming via two pins
  • In-Circuit Debug via two pins

Peripheral Features

  • 36 I/O pins; 5 I/O ports
  • High current sink/source 25 mA/25 mA
  • Three external interrupt pins
  • Timer0: 8-bit/16-bit timer/counter with 8-bit programmable prescaler
  • Timer1: 16-bit timer/counter
  • Timer2: 8-bit timer/counter with 8-bit period register
  • Timer3: 16-bit timer/counter
  • Secondary oscillator clock option -- Timer1/Timer3
  • One Standard Capture, Compare, PWM module
  • One Enhanced CCP module
    • 1, 2 or 4 PWM outputs
    • Selectable PWM polarity
    • Programmable PWM dead time
    • Auto shutdown and auto-restart
  • Master Synchronous Serial Port with two modes:
    • 3-wire SPI (supports all 4 SPI modes)
    • I2C Master and Slave
  • Enhanced Addressable USART module
    • Supports RS485, RS232 and LIN 1.3
    • RS232 operation using internal oscillator block (no external crystal required)
    • Auto-wake-up on Start bit
    • Auto baud detect
  • Parallel Slave Port
  • 10-bit Analog-to-Digital Converter, up to 100 Ksps
    • Auto-acquisition capability
    • Conversion available during Sleep
    • 11 channels available
  • Dual analog comparator modules
    • Programmable input and output multiplexing

ECAN Bus Module Features

  • Message bit rates up to 1 Mbps
  • Conforms to CAN 2.0B Active Specification
  • Three modes of operation: Legacy, Enhanced Legary, FIFO
  • Three dedicated transmit buffers with prioritization
  • Two dedicated receive buffers
  • Six programmable receive/trasmit buffers
  • Three full 29-bit acceptance masks
  • Sixteen full 29-bit acceptance filters with dynamic association
  • DeviceNet data byte filter support
  • Automatic remote frame handling
  • Advanced error management featurs