
PIC18F6390/6490/8390/8490

64/80-Pin Flash Microcontrollers
with LCD Driver and nanoWatt Technology

LCD Driver Module Features:

 Direct driving of LCD panel
 Up to 48 segments: Software Selectable
 Programmable LCD timing module:
  - Multiple LCD timing sources available
  - Up to 4 commons: Static, 1/2, 1/3 or 1/4 multiplex
  - Static, 1/2 or 1/3 bias configuration
 Can drive LCD panel while in Sleep mode

Power Managed Modes:

 Run: CPU on, peripherals on
 Idle: CPU off, peripherals on
 Sleep: CPU off, peripherals off
 Idle mode currents down to 5.8 A typical
 Sleep current down to 0.1 A typical
 Timer1 Oscillator: 1.8 A, 32 kHz, 2V
 Watchdog Timer: 2.1 A
 Two-Speed Oscillator Start-up

Flexible Oscillator Structure:

 Four Crystal modes:
  - LP: up to 200 kHz
  - XT: up to 4 MHz
  - HS: up to 40 MHz
  - HSPLL: 4-10 MHz (16-40 MHz internal)
 4x Phase Lock Loop (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:
  - 8 user selectable frequencies, from 31 kHz to 8 MHz
  - Provides a complete range of clock speeds
    from 31 kHz to 32 MHz when used with PLL
  - User-tunable to compensate for frequency drift
 Secondary oscillator using Timer1 @ 32 kHz
 Fail-Safe Clock Monitor:
  - Allows for safe shut down of device if primary
    or secondary clock fails

Peripheral Highlights:

 High current sink/source 25 mA/25 mA
 Four external interrupts
 Four input-change interrupts
 Four 8-bit/16-bit Timer/Counter modules
 Real-Time Clock (RTC) Software module:
  - Configurable 24-hour clock, calendar, automatic
    100-year or 12800-year, day-of-week calculator
  - Uses Timer1
 Up to 2 Capture/Compare/PWM (CCP) modules
 Master Synchronous Serial Port (MSSP) module
  supporting 3-wire SPI (all 4 modes) and I2C
  Master and Slave modes
 Addressable USART module:
  - Supports RS-485 and RS-232
 Enhanced Addressable USART module:
  - Supports RS-485, RS-232 and LIN 1.2
  - Auto-wake-up on Start bit
  - Auto-baud Detect
 10-bit, up to 12-channel Analog-to-Digital
  Converter module (A/D):
  - Auto-acquisition capability
  - Conversion available during Sleep
 Dual analog comparators with input multiplexing

Special Microcontroller Features:

 C compiler optimized architecture
  - Optional extended instruction set designed to
    optimize re-entrant code
 1000 erase/write cycle Flash program memory typical
 Flash Retention: 100 years typical
 Priority levels for interrupts
 8 x 8 Single-Cycle Hardware Multiplier
 Extended Watchdog Timer (WDT):
  - Programmable period from 4 ms to 132 s
  - 2% stability over VDD and temperature
 In-Circuit Serial Programming (ICSP) via two pins
 In-Circuit Debug (ICD) via two pins
 Wide operating voltage range: 2.0V to 5.5V