DEVICE OVERVIEW
This document contains device-specific information for the following devices:
• PIC18F65J50 • PIC18F85J50
• PIC18F66J50 • PIC18F86J50
• PIC18F66J55 • PIC18F86J55
• PIC18F67J50 • PIC18F87J50
This family introduces a new line of low-voltage USB microcontrollers with the main traditional advantage of all PIC18 microcontrollers – namely, high computational performance and a rich feature set – at an extremely competitive price point. These features make the PIC18F87J50 family a logical choice for many high-performance applications, where cost is a primary consideration.
Universal Serial Bus Features:
• USB V2.0 Compliant SIE
• Low Speed (1.5 Mb/s) and Full Speed (12 Mb/s)
• Supports Control, Interrupt, Isochronous and Bulk Transfers
• Supports up to 32 Endpoints (16 bidirectional)
• 3.9-Kbyte Dual Access RAM for USB
• On-Chip USB Transceiver
Flexible Oscillator Structure:
• High-Precision PLL for USB
• Two External Clock modes, up to 48 MHz
• Internal 31 kHz Oscillator, Tunable Internal Oscillator, 31 kHz to 8 MHz
• Secondary Oscillator using Timer1 @ 32 kHz
• Fail-Safe Clock Monitor:
- Allows for safe shutdown if any clock stops
Peripheral Highlights:
• High-Current Sink/Source 25 mA/25mA (PORTB and PORTC)
• Four Programmable External Interrupts
• Four Input Change Interrupts
• Two Capture/Compare/PWM (CCP) modules
• Three Enhanced Capture/Compare/PWM (ECCP) modules:
- One, two or four PWM outputs
- Selectable polarity
- Programmable dead time
- Auto-shutdown and auto-restart
• Two Master Synchronous Serial Port (MSSP) modules supporting 3-Wire SPI (all 4 modes) and I2C™ Master and Slave modes
• 8-Bit Parallel Master Port/Enhanced Parallel Slave Port with 16 Address Lines
• Dual Analog Comparators with Input Multiplexing
• 10-Bit, up to 12-Channel Analog-to-Digital (A/D) Converter module:
- Auto-acquisition capability
- Conversion available during Sleep
• Two Enhanced USART modules:
- Supports RS-485, RS-232 and LIN 1.2
- Auto-wake-up on Start bit
- Auto-Baud Detect
External Memory Bus
(80-pin devices only):
• Address Capability of up to 2 Mbytes
• 8-Bit or 16-Bit Interface
• 12-Bit, 16-Bit and 20-Bit Addressing modes
Special Microcontroller Features:
• 5.5V Tolerant Inputs (digital-only pins)
• Low-Power, High-Speed CMOS Flash Technology
• C Compiler Optimized Architecture for Re-Entrant Code
• Power Management Features:
- Run: CPU on, peripherals on
- Idle: CPU off, peripherals on
- Sleep: CPU off, peripherals off
• Priority Levels for Interrupts
• Self-Programmable under Software Control
• 8 x 8 Single-Cycle Hardware Multiplier
• Extended Watchdog Timer (WDT):
- Programmable period from 4 ms to 131s
• Single-Supply In-Circuit Serial Programming™ (ICSP™) via Two Pins
• In-Circuit Debug (ICD) with 3 Breakpoints via Two Pins
• Operating Voltage Range of 2.0V to 3.6V
• On-Chip 2.5V Regulator
• Flash Program Memory of 10000 Erase/Write Cycles and 20-Year Data Retention