Description
PIC18F85J11 combines the traditional advantages of all PIC18 microcontrollers – namely, high computational performance and a rich feature set – while maintaining an extremely competitive price point. These features make the PIC18F85J11 family a logical choice for many high-performance applications where price is a primary consideration. All of the devices in the PIC18F85J11 family incorporate a range of features that can significantly reduce power consumption during operation Alternate Run Modes: By clocking the controller from the Timer1 source or the internal RC oscillator, power consumption during code execution can be reduced by as much as 90% Multiple Idle Modes: The controller can also run with its CPU core disabled but the peripherals still active. In these states, power consumption can be reduced even further, to as little as 4% of normal operation requirements. Multiple Idle Modes: The controller can also run with its CPU core disabled but the peripherals still active. In these states, power consumption can be reduced even further, to as little as 4% of normal operation requirements. All of the devices in the PIC18F85J11 family offer six different oscillator options, allowing users a range of choices in developing application hardware. These include: Two Crystal modes using crystals or ceramic resonators. Two External Clock modes offering the option of a divide-by-4 clock output. A Phase Lock Loop (PLL) frequency multiplier, available to the External Oscillator modes, which allows clock speeds of up to 40 MHz. An internal oscillator block which provides an 8 MHz clock (±2% accuracy) and an INTRC source (approximately 31 kHz, stable over temperature and VDD), as well as a range of six user-selectable clock frequencies, between 125 kHz to 4 MHz, for a total of eight clock frequencies. This option frees the two oscillator pins for use as additional general purpose I/O. The internal oscillator block provides a stable reference source that gives the family additional features for robust operation: Fail-Safe Clock Monitor: This option constantly monitors the main clock source against a reference signal provided by the internal oscillator. If a clock failure occurs, the controller is switched to the internal oscillator, allowing for continued low-speed operation or a safe application shutdown. Two-Speed Start-up: This option allows the internal oscillator to serve as the clock source from Power-on Reset, or wake-up from Sleep mode, until the primary clock source is available.
- Low-Power Features:
- Power-Managed modes: Run, Idle, Sleep
- Run Current Down to 7 µA, Typical
- Idle Current Down to 2.5 µA, Typical
- Sleep Current Down to 100 nA, Typical
- Fast INTOSC Start-up from Sleep, 1 µs Typical
- Two-Speed Oscillator Start-up Reduces Crystal Stabilization Wait Time Peripheral Highlights:
- High-Current Sink/Source 25 mA/25 mA (PORTB and PORTC)
- Up to Four External 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 using Timer1
- Two Capture/Compare/PWM (CCP) modules: – Capture is 16-bit, max. resolution 6.25 ns (TCY/16) – Compare is 16-bit, max. resolution 100 ns (TCY) – PWM output: PWM resolution is up to 10-bit
- Master Synchronous Serial Port (MSSP) module with
- Two Modes of Operation: – 3-wire/4-wire SPI (supports all 4 SPI modes) – I2C™ Master and Slave mode
- One Addressable USART module
- One Enhanced Addressable USART module: – Supports LIN/J2602 – Auto-wake-up on Start bit and Break character – Auto-Baud Detect (ABD)
- 10-Bit, up to 12-Channel A/D Converter: – Auto-acquisition – Conversion available during Sleep
- Two Analog Comparators
- Programmable Reference Voltage for Comparators External Memory Bus (PIC18F8XJ11 only):
- Address Capability of up to 2 Mbytes
- 8-Bit or 16-Bit Interface
- 12-Bit, 16-Bit and 20-Bit Addressing modes Flexible Oscillator Structure:
- Two Crystal modes, 4-25 MHz
- Two External Clock modes, up to 40 MHz
- 4x Phase Lock Loop (PLL)
- Internal Oscillator Block: – 8 user-selectable frequencies from 31.25 kHz to 8 MHz
- Secondary Oscillator using Timer1 @ 32 kHz
- Fail-Safe Clock Monitor: – Allows for safe shutdown if peripheral clock fails Special Microcontroller Features:
- 1,000 Erase/Write Cycle Flash Program Memory Typical
- Flash Retention 20 Years Minimum
- Self-Programmable under Software Control
- Priority Levels for Interrupts
- 8 x 8 Single-Cycle Hardware Multiplier
- Extended Watchdog Timer (WDT): – Programmable period from 4 ms to 131s
- In-Circuit Serial Programming™ (ICSP™) via Two Pins
- In-Circuit Debug via two pins
- Operating Voltage Range: 2.0V to 3.6V
- 5.5V Tolerant Input (digital pins only)
- Selectable Open-Drain Configuration for Serial Communication and CCP pins for Driving Outputs up to 5V
- On-Chip 2.5V Regulator