27.0 DEVELOPMENT SUPPORT
The PIC® microcontrollers are supported with a full range of hardware and software development tools:
- Integrated Development Environment
- MPLAB® IDE Software
- Assemblers/Compilers/Linkers
- MPASM™ Assembler
- MPLAB C18 and MPLAB C30 C Compilers
- MPLINK™ Object Linker/ MPLIB™ Object Librarian
- MPLAB ASM30 Assembler/Linker/Library
- Simulators
- MPLAB SIM Software Simulator
- Emulators
- MPLAB ICE 2000 In-Circuit Emulator
- MPLAB REAL ICE™ In-Circuit Emulator
- In-Circuit Debugger
- MPLAB ICD 2
- Device Programmers
- PICSTART® Plus Development Programmer
- MPLAB PM3 Device Programmer
- PICkit™ 2 Development Programmer
- Low-Cost Demonstration and Development Boards and Evaluation Kits
27.1 MPLAB Integrated Development Environment Software
The MPLAB IDE software brings an ease of software development previously unseen in the 8/16-bit microcontroller market. The MPLAB IDE is a Windows® operating system-based application that contains:
- A single graphical interface to all debugging tools
- Simulator
- Programmer (sold separately)
- Emulator (sold separately)
- In-Circuit Debugger (sold separately)
- A full-featured editor with color-coded context
- A multiple project manager
- Customizable data windows with direct edit of contents
- High-level source code debugging
- Visual device initializer for easy register initialization
- Mouse over variable inspection
- Drag and drop variables from source to watch windows
- Extensive on-line help
- Integration of select third party tools, such as HI-TECH Software C Compilers and IAR C Compilers
The MPLAB IDE allows you to:
- Edit your source files (either assembly or C)
- One touch assemble (or compile) and download to PIC MCU emulator and simulator tools (automatically updates all project information)
- Debug using:
- Source files (assembly or C)
- Mixed assembly and C
- Machine code
MPLAB IDE supports multiple debugging tools in a single development paradigm, from the cost-effective simulators, through low-cost in-circuit debuggers, to full-featured emulators. This eliminates the learning curve when upgrading to tools with increased flexibility and power.
27.2 MPASM Assembler
The MPASM Assembler is a full-featured, universal macro assembler for all PIC MCUs.
The MPASM Assembler generates relocatable object files for the MPLINK Object Linker, Intel® standard HEX files, MAP files to detail memory usage and symbol reference, absolute LST files that contain source lines and generated machine code and COFF files for debugging.
The MPASM Assembler features include:
- Integration into MPLAB IDE projects
- User-defined macros to streamline assembly code
- Conditional assembly for multi-purpose source files
- Directives that allow complete control over the assembly process
27.3 MPLAB C18 and MPLAB C30 C Compilers
The MPLAB C18 and MPLAB C30 Code Development Systems are complete ANSI C compilers for Microchip’s PIC18 and PIC24 families of microcontrollers and the dsPIC30 and dsPIC33 family of digital signal controllers. These compilers provide powerful integration capabilities, superior code optimization and ease of use not found with other compilers.
For easy source level debugging, the compilers provide symbol information that is optimized to the MPLAB IDE debugger.
27.4 MPLINK Object Linker/ MPLIB Object Librarian
The MPLINK Object Linker combines relocatable objects created by the MPASM Assembler and the MPLAB C18 C Compiler. It can link relocatable objects from precompiled libraries, using directives from a linker script.
The MPLIB Object Librarian manages the creation and modification of library files of precompiled code. When a routine from a library is called from a source file, only the modules that contain that routine will be linked in with the application. This allows large libraries to be used efficiently in many different applications.
The object linker/library features include:
- Efficient linking of single libraries instead of many smaller files
- Enhanced code maintainability by grouping related modules together
- Flexible creation of libraries with easy module listing, replacement, deletion and extraction
27.5 MPLAB ASM30 Assembler, Linker and Librarian
MPLAB ASM30 Assembler produces relocatable machine code from symbolic assembly language for dsPIC30F devices. MPLAB C30 C Compiler uses the assembler to produce its object file. The assembler generates relocatable object files that can then be archived or linked with other relocatable object files and archives to create an executable file. Notable features of the assembler include:
- Support for the entire dsPIC30F instruction set
- Support for fixed-point and floating-point data
- Command line interface
- Rich directive set
- Flexible macro language
- MPLAB IDE compatibility
27.6 MPLAB SIM Software Simulator
The MPLAB SIM Software Simulator allows code development in a PC-hosted environment by simulating the PIC MCUs and dsPIC® DSCs on an instruction level. On any given instruction, the data areas can be examined or modified and stimuli can be applied from a comprehensive stimulus controller. Registers can be logged to files for further run-time analysis. The trace buffer and logic analyzer display extend the power of the simulator to record and track program execution, actions on I/O, most peripherals and internal registers.
The MPLAB SIM Software Simulator fully supports symbolic debugging using the MPLAB C18 and MPLAB C30 C Compilers, and the MPASM and MPLAB ASM30 Assemblers. The software simulator offers the flexibility to develop and debug code outside of the hardware laboratory environment, making it an excellent, economical software development tool.
27.7 MPLAB ICE 2000 High-Performance In-Circuit Emulator
The MPLAB ICE 2000 In-Circuit Emulator is intended to provide the product development engineer with a complete microcontroller design tool set for PIC microcontrollers. Software control of the MPLAB ICE 2000 In-Circuit Emulator is advanced by the MPLAB Integrated Development Environment, which allows editing, building, downloading and source debugging from a single environment.
The MPLAB ICE 2000 is a full-featured emulator system with enhanced trace, trigger and data monitoring features. Interchangeable processor modules allow the system to be easily reconfigured for emulation of different processors. The architecture of the MPLAB ICE 2000 In-Circuit Emulator allows expansion to support new PIC microcontrollers.
The MPLAB ICE 2000 In-Circuit Emulator system has been designed as a real-time emulation system with advanced features that are typically found on more expensive development tools. The PC platform and Microsoft® Windows® 32-bit operating system were chosen to best make these features available in a simple, unified application.
27.8 MPLAB REAL ICE In-Circuit Emulator System
MPLAB REAL ICE In-Circuit Emulator System is Microchip’s next generation high-speed emulator for Microchip Flash DSC and MCU devices. It debugs and programs PIC® Flash MCUs and dsPIC® Flash DSCs with the easy-to-use, powerful graphical user interface of the MPLAB Integrated Development Environment (IDE), included with each kit.
The MPLAB REAL ICE probe is connected to the design engineer’s PC using a high-speed USB 2.0 interface and is connected to the target with either a connector compatible with the popular MPLAB ICD 2 system (RJ11) or with the new high-speed, noise tolerant, Low-Voltage Differential Signal (LVDS) interconnection (CAT5).
MPLAB REAL ICE is field upgradeable through future firmware downloads in MPLAB IDE. In upcoming releases of MPLAB IDE, new devices will be supported, and new features will be added, such as software breakpoints and assembly code trace. MPLAB REAL ICE offers significant advantages over competitive emulators including low-cost, full-speed emulation, real-time variable watches, trace analysis, complex breakpoints, a ruggedized probe interface and long (up to three meters) interconnection cables.
27.9 MPLAB ICD 2 In-Circuit Debugger
Microchip’s In-Circuit Debugger, MPLAB ICD 2, is a powerful, low-cost, run-time development tool, connecting to the host PC via an RS-232 or high-speed USB interface. This tool is based on the Flash PIC MCUs and can be used to develop for these and other PIC MCUs and dsPIC DSCs. The MPLAB ICD 2 utilizes the in-circuit debugging capability built into the Flash devices. This feature, along with Microchip’s In-Circuit Serial Programming™ (ICSP™) protocol, offers cost-effective, in-circuit Flash debugging from the graphical user interface of the MPLAB Integrated Development Environment. This enables a designer to develop and debug source code by setting breakpoints, single stepping and watching variables, and CPU status and peripheral registers. Running at full speed enables testing hardware and applications in real time. MPLAB ICD 2 also serves as a development programmer for selected PIC devices.
27.10 MPLAB PM3 Device Programmer
The MPLAB PM3 Device Programmer is a universal, CE compliant device programmer with programmable voltage verification at VDDMIN and VDDMAX for maximum reliability. It features a large LCD display (128 x 64) for menus and error messages and a modular, detachable socket assembly to support various package types. The ICSP™ cable assembly is included as a standard item. In Stand-Alone mode, the MPLAB PM3 Device Programmer can read, verify and program PIC devices without a PC connection. It can also set code protection in this mode. The MPLAB PM3 connects to the host PC via an RS-232 or USB cable. The MPLAB PM3 has high-speed communications and optimized algorithms for quick programming of large memory devices and incorporates an SD/MMC card for file storage and secure data applications.
27.11 PICSTART Plus Development Programmer
The PICSTART Plus Development Programmer is an easy-to-use, low-cost, prototype programmer. It connects to the PC via a COM (RS-232) port. MPLAB Integrated Development Environment software makes using the programmer simple and efficient. The PICSTART Plus Development Programmer supports most PIC devices in DIP packages up to 40 pins. Larger pin count devices, such as the PIC16C92X and PIC17C76X, may be supported with an adapter socket. The PICSTART Plus Development Programmer is CE compliant.
27.12 PICkit 2 Development Programmer
The PICkit™ 2 Development Programmer is a low-cost programmer and selected Flash device debugger with an easy-to-use interface for programming many of Microchip’s baseline, mid-range and PIC18F families of Flash memory microcontrollers. The PICkit 2 Starter Kit includes a prototyping development board, twelve sequential lessons, software and HI-TECH’s PICC™ Lite C compiler, and is designed to help get up to speed quickly using PIC® microcontrollers. The kit provides everything needed to program, evaluate and develop applications using Microchip’s powerful, mid-range Flash memory family of microcontrollers.
27.13 Demonstration, Development and Evaluation Boards
A wide variety of demonstration, development and evaluation boards for various PIC MCUs and dsPIC DSCs allows quick application development on fully functional systems. Most boards include prototyping areas for adding custom circuitry and provide application firmware and source code for examination and modification.
The boards support a variety of features, including LEDs, temperature sensors, switches, speakers, RS-232 interfaces, LCD displays, potentiometers and additional EEPROM memory.
The demonstration and development boards can be used in teaching environments, for prototyping custom circuits and for learning about various microcontroller applications.
In addition to the PICDEM™ and dsPICDEM™ demonstration/development board series of circuits, Microchip has a line of evaluation kits and demonstration software for analog filter design, KEELOQ® security ICs, CAN, IrDA®, PowerSmart battery management, SEEVAL® evaluation system, Sigma-Delta ADC, flow rate sensing, plus many more.
Check the Microchip web page (www.microchip.com) for the complete list of demonstration, development and evaluation kits.
28.0 ELECTRICAL CHARACTERISTICS
Absolute Maximum Ratings(t)
- Ambient temperature under bias ........ -40°C to +85°C
- Storage temperature ........ -65°C to +150°C
- Voltage on any pin with respect to VSS (except VDD and \overlineMCLR) (Note 3) ........ -0.3V to (VDD + 0.3V)
- Voltage on VDD with respect to VSS ........ -0.3V to +7.5V
- Voltage on \overlineMCLR with respect to VSS (Note 2) ........ 0V to +13.25V
- Total power dissipation (Note 1) ........ 1.0W
- Maximum current out of VSS pin ........ 300 mA
- Maximum current into VDD pin ........ 250 mA
- Input clamp current, IIK (VI < 0 or VI > VDD) ........ ±20 mA
- Output clamp current, IOK (VO < 0 or VO > VDD) ........ ±20 mA
- Maximum output current sunk by any I/O pin ........ 25 mA
- Maximum output current sourced by any I/O pin ........ 25 mA
- Maximum current sunk by all ports ........ 200 mA
- Maximum current sourced by all ports ........ 200 mA
Note 1: Power dissipation is calculated as follows: Pdis = VDD x {IDD – \Sigma IOH} + \Sigma {(VDD – VOH) x IOH} + \Sigma(VOL x IOL) 2: Voltage spikes below VSS at the \overlineMCLR/VPP/RE3 pin, inducing currents greater than 80 mA, may cause latch-up. Thus, a series resistor of 50-100\Omega should be used when applying a “low” level to the \overlineMCLR/VPP/RE3 pin, rather than pulling this pin directly to VSS. 3: When the internal USB regulator is enabled or VUSB is powered externally, RC4 and RC5 are limited to -0.3V to (VUSB + 0.3V) with respect to VSS.
† NOTICE: Stresses above those listed under “Absolute Maximum Ratings” may cause permanent damage to the device. This is a stress rating only and functional operation of the device at those or any other conditions above those indicated in the operation listings of this specification is not implied. Exposure to maximum rating conditions for extended periods may affect device reliability.
FIGURE 28-1: PIC18F2455/2550/4455/4550 VOLTAGE-FREQUENCY GRAPH (INDUSTRIAL)

FIGURE 28-2: PIC18LF2455/2550/4455/4550 VOLTAGE-FREQUENCY GRAPH (INDUSTRIAL LOW VOLTAGE)

Note 1: VDDAPPMIN is the minimum voltage of the PIC® device in the application. 2: For 2.0 ≤ VDD < 4.2 V, FMAX = (16.36 MHz/V) (VDDAPPMIN - 2.0V) + 4 MHz 3: For VDD ≥ 4.2 V, FMAX = 48 MHz.
DS39632E-page 368 © 2009 Microchip Technology Inc.
28.1 DC Characteristics: Supply Voltage
PIC18F2455/2550/4455/4550 (Industrial)
PIC18LF2455/2550/4455/4550 (Industrial)
| PIC18LF2455/2550/4455/4550 (Industrial) | Standard Operating Conditions (unless otherwise stated) Operating temperature -40°C ≤ TA ≤ +85°C for industrial |
|---|---|
| PIC18F2455/2550/4455/4550 (Industrial) | Standard Operating Conditions (unless otherwise stated) Operating temperature -40°C ≤ TA ≤ +85°C for industrial |
| Param No. | Symbol | Characteristic | Min | Typ | Max | Units | Conditions |
|---|---|---|---|---|---|---|---|
| D001 | VDD | Supply Voltage | 2.0(2) | — | 5.5 | V | EC, HS, XT and Internal Oscillator modes |
| 3.0(2) | — | 5.5 | V | HSPLL, XTPLL, ECPIO and ECPLL Oscillator modes | |||
| D002 | VDR | RAM Data Retention Voltage(1) | 1.5 | — | — | V | |
| D003 | VPOR | VDD Start Voltage to Ensure Internal Power-on Reset Signal | — | — | 0.7 | V | See Section 4.3 “Power-on Reset (POR)” for details |
| D004 | SVDD | VDD Rise Rate to Ensure Internal Power-on Reset Signal | 0.05 | — | — | V/ms | See Section 4.3 “Power-on Reset (POR)” for details |
| D005 | VBOR | Brown-out Reset Voltage | |||||
| BORV1:BORV0 = 11 | 2.00 | 2.05 | 2.16 | V | |||
| BORV1:BORV0 = 10 | 2.65 | 2.79 | 2.93 | V | |||
| BORV1:BORV0 = 01 | 4.11 | 4.33 | 4.55 | V | |||
| BORV1:BORV0 = 00 | 4.36 | 4.59 | 4.82 | V |
Legend: Shading of rows is to assist in readability of the table.
Note 1: This is the limit to which VDD can be lowered in Sleep mode, or during a device Reset, without losing RAM data.
Note 2: The stated minimums apply for the PIC18LF products in this device family. PIC18F products in this device family are rated for 4.2V minimum in all oscillator modes.
28.2 DC Characteristics: Power-Down and Supply Current
PIC18F2455/2550/4455/4550 (Industrial)
PIC18LF2455/2550/4455/4550 (Industrial)
| PIC18LF2455/2550/4455/4550 (Industrial) | Standard Operating Conditions (unless otherwise stated) Operating temperature -40°C ≤ TA ≤ +85°C for industrial |
|---|---|
| PIC18F2455/2550/4455/4550 (Industrial) | Standard Operating Conditions (unless otherwise stated) Operating temperature -40°C ≤ TA ≤ +85°C for industrial |
| Param No. | Symbol | Device | Typ | Max | Units | Conditions | |
|---|---|---|---|---|---|---|---|
| Power-Down Current (IPD)(1) | |||||||
| PIC18LFX455/X550 | 0.1 | 0.95 | μA | -40°C | VDD = 2.0V (Sleep mode) | ||
| 0.1 | 1.0 | μA | +25°C | ||||
| 0.2 | 5 | μA | +85°C | ||||
| PIC18LFX455/X550 | 0.1 | 1.4 | μA | -40°C | VDD = 3.0V (Sleep mode) | ||
| 0.1 | 2 | μA | +25°C | ||||
| 0.3 | 8 | μA | +85°C | ||||
| All devices | 0.1 | 1.9 | μA | -40°C | VDD = 5.0V (Sleep mode) | ||
| 0.1 | 2.0 | μA | +25°C | ||||
| 0.4 | 15 | μA | +85°C |
Legend: Shading of rows is to assist in readability of the table.
Note 1: The power-down current in Sleep mode does not depend on the oscillator type. Power-down current is measured with the part in Sleep mode, with all I/O pins in high-impedance state and tied to VDD or VSS and all features that add delta current disabled (such as WDT, Timer1 Oscillator, BOR, etc.).
2: The supply current is mainly a function of operating voltage, frequency and mode. Other factors, such as I/O pin loading and switching rate, oscillator type and circuit, internal code execution pattern and temperature, also have an impact on the current consumption.
The test conditions for all IDD measurements in active operation mode are:
OSC1 = external square wave, from rail-to-rail; all I/O pins tri-stated, pulled to VDD or VSS;
MCLR = VDD; WDT enabled/disabled as specified.
3: Standard low-cost 32 kHz crystals have an operating temperature range of -10°C to +70°C. Extended temperature crystals are available at a much higher cost.
4: BOR and HLVD enable internal band gap reference. With both modules enabled, current consumption will be less than the sum of both specifications.
28.2 DC Characteristics: Power-Down and Supply Current
PIC18F2455/2550/4455/4550 (Industrial)
PIC18LF2455/2550/4455/4550 (Industrial) (Continued)
| PIC18LF2455/2550/4455/4550 (Industrial) | Standard Operating Conditions (unless otherwise stated) Operating temperature -40°C ≤ TA ≤ +85°C for industrial |
|---|---|
| PIC18F2455/2550/4455/4550 (Industrial) | Standard Operating Conditions (unless otherwise stated) Operating temperature -40°C ≤ TA ≤ +85°C for industrial |
| Param No. | Symbol | Device | Typ | Max | Units | Conditions | ||
|---|---|---|---|---|---|---|---|---|
| Supply Current (IDD)(2) | ||||||||
| PIC18LFX455/X550 | 15 | 32 | μA | -40°C | VDD = 2.0V | Fosc = 31 kHz (RC_RUN mode, INTRC source) | ||
| 15 | 30 | μA | +25°C | |||||
| 15 | 29 | μA | +85°C | |||||
| PIC18LFX455/X550 | 40 | 63 | μA | -40°C | VDD = 3.0V | |||
| 35 | 60 | μA | +25°C | |||||
| 30 | 57 | μA | +85°C | |||||
| All devices | 105 | 168 | μA | -40°C | VDD = 5.0V | |||
| 90 | 160 | μA | +25°C | |||||
| 80 | 152 | μA | +85°C | |||||
| PIC18LFX455/X550 | 0.33 | 1 | mA | -40°C | VDD = 2.0V | Fosc = 1 MHz (RC_RUN mode, INTOSC source) | ||
| 0.33 | 1 | mA | +25°C | |||||
| 0.33 | 1 | mA | +85°C | |||||
| PIC18LFX455/X550 | 0.6 | 1.3 | mA | -40°C | VDD = 3.0V | |||
| 0.6 | 1.2 | mA | +25°C | |||||
| 0.6 | 1.1 | mA | +85°C | |||||
| All devices | 1.1 | 2.3 | mA | -40°C | VDD = 5.0V | |||
| 1.1 | 2.2 | mA | +25°C | |||||
| 1.0 | 2.1 | mA | +85°C | |||||
| PIC18LFX455/X550 | 0.8 | 2.1 | mA | -40°C | VDD = 2.0V | Fosc = 4 MHz (RC_RUN mode, INTOSC source) | ||
| 0.8 | 2.0 | mA | +25°C | |||||
| 0.8 | 1.9 | mA | +85°C | |||||
| PIC18LFX455/X550 | 1.3 | 3.0 | mA | -40°C | VDD = 3.0V | |||
| 1.3 | 3.0 | mA | +25°C | |||||
| 1.3 | 3.0 | mA | +85°C | |||||
| All devices | 2.5 | 5.3 | mA | -40°C | VDD = 5.0V | |||
| 2.5 | 5.0 | mA | +25°C | |||||
| 2.5 | 4.8 | mA | +85°C |
Legend: Shading of rows is to assist in readability of the table.
Note 1: The power-down current in Sleep mode does not depend on the oscillator type. Power-down current is measured with the part in Sleep mode, with all I/O pins in high-impedance state and tied to VDD or VSS and all features that add delta current disabled (such as WDT, Timer1 Oscillator, BOR, etc.).
2: The supply current is mainly a function of operating voltage, frequency and mode. Other factors, such as I/O pin loading and switching rate, oscillator type and circuit, internal code execution pattern and temperature, also have an impact on the current consumption.
The test conditions for all IDD measurements in active operation mode are:
OSC1 = external square wave, from rail-to-rail; all I/O pins tri-stated, pulled to VDD or VSS;
MCLR = VDD; WDT enabled/disabled as specified.
3: Standard low-cost 32 kHz crystals have an operating temperature range of -10°C to +70°C. Extended temperature crystals are available at a much higher cost.
4: BOR and HLVD enable internal band gap reference. With both modules enabled, current consumption will be less than the sum of both specifications.
28.2 DC Characteristics: Power-Down and Supply Current
PIC18F2455/2550/4455/4550 (Industrial)
PIC18LF2455/2550/4455/4550 (Industrial) (Continued)
| PIC18LF2455/2550/4455/4550 (Industrial) | Standard Operating Conditions (unless otherwise stated) Operating temperature -40°C ≤ TA ≤ +85°C for industrial |
|---|---|
| PIC18F2455/2550/4455/4550 (Industrial) | Standard Operating Conditions (unless otherwise stated) Operating temperature -40°C ≤ TA ≤ +85°C for industrial |
| Param No. | Symbol | Device | Typ | Max | Units | Conditions |
|---|---|---|---|---|---|---|
| Supply Current (IDD)(2) | ||||||
| PIC18LFX455/X550 | 2.9 | 8 | μA | -40°C | ||
| 3.1 | 8 | μA | +25°C | |||
| 3.6 | 11 | μA | +85°C | |||
| PIC18LFX455/X550 | 4.5 | 11 | μA | -40°C | ||
| 4.8 | 11 | μA | +25°C | |||
| 5.8 | 15 | μA | +85°C | |||
| All devices | 9.2 | 16 | μA | -40°C | ||
| 9.8 | 16 | μA | +25°C | |||
| 11.4 | 36 | μA | +85°C | |||
| PIC18LFX455/X550 | 165 | 350 | μA | -40°C | ||
| 175 | 350 | μA | +25°C | |||
| 190 | 350 | μA | +85°C | |||
| PIC18LFX455/X550 | 250 | 500 | μA | -40°C | ||
| 270 | 500 | μA | +25°C | |||
| 290 | 500 | μA | +85°C | |||
| All devices | 0.50 | 1 | mA | -40°C | ||
| 0.52 | 1 | mA | +25°C | |||
| 0.55 | 1 | mA | +85°C | |||
| PIC18LFX455/X550 | 340 | 500 | μA | -40°C | ||
| 350 | 500 | μA | +25°C | |||
| 360 | 500 | μA | +85°C | |||
| PIC18LFX455/X550 | 520 | 900 | μA | -40°C | ||
| 540 | 900 | μA | +25°C | |||
| 580 | 900 | μA | +85°C | |||
| All devices | 1.0 | 1.6 | mA | -40°C | ||
| 1.1 | 1.5 | mA | +25°C | |||
| 1.1 | 1.4 | mA | +85°C | |||
| VDD = 2.0V | ||||||
| VDD = 3.0V | ||||||
| VDD = 5.0V | ||||||
| VDD = 2.0V | ||||||
| VDD = 3.0V | ||||||
| VDD = 5.0V | ||||||
| VDD = 2.0V | ||||||
| VDD = 3.0V | ||||||
| VDD = 5.0V | ||||||
| FOSC = 31 kHz (RC_IDLE mode, INTRC source) | ||||||
| FOSC = 1 MHz (RC_IDLE mode, INTOSC source) | ||||||
| FOSC = 4 MHz (RC_IDLE mode, INTOSC source) |
Legend: Shading of rows is to assist in readability of the table.
Note 1: The power-down current in Sleep mode does not depend on the oscillator type. Power-down current is measured with the part in Sleep mode, with all I/O pins in high-impedance state and tied to VDD or VSS and all features that add delta current disabled (such as WDT, Timer1 Oscillator, BOR, etc.).
2: The supply current is mainly a function of operating voltage, frequency and mode. Other factors, such as I/O pin loading and switching rate, oscillator type and circuit, internal code execution pattern and temperature, also have an impact on the current consumption.
The test conditions for all IDD measurements in active operation mode are:
OSC1 = external square wave, from rail-to-rail; all I/O pins tri-stated, pulled to VDD or VSS;
MCLR = VDD; WDT enabled/disabled as specified.
3: Standard low-cost 32 kHz crystals have an operating temperature range of -10°C to +70°C. Extended temperature crystals are available at a much higher cost.
4: BOR and HLVD enable internal band gap reference. With both modules enabled, current consumption will be less than the sum of both specifications.
28.2 DC Characteristics: Power-Down and Supply Current
PIC18F2455/2550/4455/4550 (Industrial)
PIC18LF2455/2550/4455/4550 (Industrial) (Continued)
| PIC18LF2455/2550/4455/4550 (Industrial) | Standard Operating Conditions (unless otherwise stated) Operating temperature -40°C ≤ TA ≤ +85°C for industrial |
|---|---|
| PIC18F2455/2550/4455/4550 (Industrial) | Standard Operating Conditions (unless otherwise stated) Operating temperature -40°C ≤ TA ≤ +85°C for industrial |
| Param No. | Symbol | Device | Typ | Max | Units | Conditions |
|---|---|---|---|---|---|---|
| Supply Current (IDD)(2) | ||||||
| PIC18LFX455/X550 | 250 | 500 | μA | -40°C | ||
| 250 | 500 | μA | +25°C | |||
| 250 | 500 | μA | +85°C | |||
| PIC18LFX455/X550 | 550 | 650 | μA | -40°C | ||
| 480 | 650 | μA | +25°C | |||
| 460 | 650 | μA | +85°C | |||
| All devices | 1.2 | 1.6 | mA | -40°C | ||
| 1.1 | 1.5 | mA | +25°C | |||
| 1.0 | 1.4 | mA | +85°C | |||
| PIC18LFX455/X550 | 0.74 | 2.0 | mA | -40°C | ||
| 0.74 | 2.0 | mA | +25°C | |||
| 0.74 | 2.0 | mA | +85°C | |||
| PIC18LFX455/X550 | 1.3 | 3.0 | mA | -40°C | ||
| 1.3 | 3.0 | mA | +25°C | |||
| 1.3 | 3.0 | mA | +85°C | |||
| All devices | 2.7 | 6.0 | mA | -40°C | ||
| 2.6 | 6.0 | mA | +25°C | |||
| 2.5 | 6.0 | mA | +85°C | |||
| All devices | 15 | 35 | mA | -40°C | ||
| 16 | 35 | mA | +25°C | |||
| 16 | 35 | mA | +85°C | |||
| All devices | 21 | 40 | mA | -40°C | ||
| 21 | 40 | mA | +25°C | |||
| 21 | 40 | mA | +85°C | |||
| All devices | 20 | 40 | mA | -40°C | ||
| 20 | 40 | mA | +25°C | |||
| 20 | 40 | mA | +85°C | |||
| All devices | 25 | 50 | mA | -40°C | ||
| 25 | 50 | mA | +25°C | |||
| 25 | 50 | mA | +85°C |
Legend: Shading of rows is to assist in readability of the table.
Note 1: The power-down current in Sleep mode does not depend on the oscillator type. Power-down current is measured with the part in Sleep mode, with all I/O pins in high-impedance state and tied to VDD or VSS and all features that add delta current disabled (such as WDT, Timer1 Oscillator, BOR, etc.).
2: The supply current is mainly a function of operating voltage, frequency and mode. Other factors, such as I/O pin loading and switching rate, oscillator type and circuit, internal code execution pattern and temperature, also have an impact on the current consumption.
The test conditions for all IDD measurements in active operation mode are:
- OSC1 = external square wave, from rail-to-rail; all I/O pins tri-stated, pulled to VDD or VSS;
- MCLR = VDD; WDT enabled/disabled as specified.
3: Standard low-cost 32 kHz crystals have an operating temperature range of -10°C to +70°C. Extended temperature crystals are available at a much higher cost.
4: BOR and HLVD enable internal band gap reference. With both modules enabled, current consumption will be less than the sum of both specifications.
28.2 DC Characteristics: Power-Down and Supply Current
PIC18F2455/2550/4455/4550 (Industrial)
PIC18LF2455/2550/4455/4550 (Industrial) (Continued)
| PIC18LF2455/2550/4455/4550 (Industrial) | Standard Operating Conditions (unless otherwise stated) Operating temperature -40°C ≤ TA ≤ +85°C for industrial | |||||||
|---|---|---|---|---|---|---|---|---|
| PIC18F2455/2550/4455/4550 (Industrial) | Standard Operating Conditions (unless otherwise stated) Operating temperature -40°C ≤ TA ≤ +85°C for industrial | |||||||
| Param No. | Symbol | Device | Typ | Max | Units | Conditions | ||
| --- | --- | --- | --- | --- | --- | --- | ||
| Supply Current (IDD)(2) | ||||||||
| PIC18LFX455/X550 | 65 | 130 | μA | -40°C | VDD = 2.0V | FOSC = 1 MHz (PRI_IDLE mode, EC oscillator) | ||
| 65 | 120 | μA | +25°C | |||||
| 70 | 115 | μA | +85°C | |||||
| PIC18LFX455/X550 | 120 | 270 | μA | -40°C | VDD = 3.0V | |||
| 120 | 250 | μA | +25°C | |||||
| 130 | 240 | μA | +85°C | |||||
| All devices | 230 | 480 | μA | -40°C | VDD = 5.0V | |||
| 240 | 450 | μA | +25°C | |||||
| 250 | 430 | μA | +85°C | |||||
| PIC18LFX455/X550 | 255 | 475 | μA | -40°C | VDD = 2.0V | FOSC = 4 MHz (PRI_IDLE mode, EC oscillator) | ||
| 260 | 450 | μA | +25°C | |||||
| 270 | 430 | μA | +85°C | |||||
| PIC18LFX455/X550 | 420 | 900 | μA | -40°C | VDD = 3.0V | |||
| 430 | 850 | μA | +25°C | |||||
| 450 | 810 | μA | +85°C | |||||
| All devices | 0.9 | 1.5 | mA | -40°C | VDD = 5.0V | |||
| 0.9 | 1.4 | mA | +25°C | |||||
| 0.9 | 1.3 | mA | +85°C | |||||
| All devices | 6.0 | 16 | mA | -40°C | VDD = 4.2V | FOSC = 40 MHz (PRI_IDLE mode, EC oscillator) | ||
| 6.2 | 16 | mA | +25°C | |||||
| 6.6 | 16 | mA | +85°C | |||||
| All devices | 8.1 | 18 | mA | -40°C | VDD = 5.0V | |||
| 8.3 | 18 | mA | +25°C | |||||
| 9.0 | 18 | mA | +85°C | |||||
| All devices | 8.0 | 18 | mA | -40°C | VDD = 4.2V | FOSC = 48 MHz (PRI_IDLE mode, EC oscillator) | ||
| 8.1 | 18 | mA | +25°C | |||||
| 8.2 | 18 | mA | +85°C | |||||
| All devices | 9.8 | 21 | mA | -40°C | VDD = 5.0V | |||
| 10.0 | 21 | mA | +25°C | |||||
| 10.5 | 21 | mA | +85°C |
Legend: Shading of rows is to assist in readability of the table.
Note 1: The power-down current in Sleep mode does not depend on the oscillator type. Power-down current is measured with the part in Sleep mode, with all I/O pins in high-impedance state and tied to VDD or VSS and all features that add delta current disabled (such as WDT, Timer1 Oscillator, BOR, etc.).
2: The supply current is mainly a function of operating voltage, frequency and mode. Other factors, such as I/O pin loading and switching rate, oscillator type and circuit, internal code execution pattern and temperature, also have an impact on the current consumption.
The test conditions for all IDD measurements in active operation mode are:
OSC1 = external square wave, from rail-to-rail; all I/O pins tri-stated, pulled to VDD or VSS;
MCLR = VDD; WDT enabled/disabled as specified.
3: Standard low-cost 32 kHz crystals have an operating temperature range of -10°C to +70°C. Extended temperature crystals are available at a much higher cost.
4: BOR and HLVD enable internal band gap reference. With both modules enabled, current consumption will be less than the sum of both specifications.
DS39632E-page 374 © 2009 Microchip Technology Inc.
28.2 DC Characteristics: Power-Down and Supply Current
PIC18F2455/2550/4455/4550 (Industrial)
PIC18LF2455/2550/4455/4550 (Industrial) (Continued)
| PIC18LF2455/2550/4455/4550 (Industrial) | Standard Operating Conditions (unless otherwise stated) Operating temperature -40°C ≤ TA ≤ +85°C for industrial |
|---|---|
| PIC18F2455/2550/4455/4550 (Industrial) | Standard Operating Conditions (unless otherwise stated) Operating temperature -40°C ≤ TA ≤ +85°C for industrial |
| Param No. | Symbol | Device | Typ | Max | Units | Conditions |
|---|---|---|---|---|---|---|
| Supply Current (IDD)(2) | ||||||
| PIC18LFX455/X550 | 14 | 40 | μA | -40°C | ||
| 15 | 40 | μA | +25°C | |||
| 16 | 40 | μA | +85°C | |||
| PIC18LFX455/X550 | 40 | 74 | μA | -40°C | ||
| 35 | 70 | μA | +25°C | |||
| 31 | 67 | μA | +85°C | |||
| All devices | 99 | 150 | μA | -40°C | ||
| 81 | 150 | μA | +25°C | |||
| 75 | 150 | μA | +85°C | |||
| PIC18LFX455/X550 | 2.5 | 12 | μA | -40°C | ||
| 3.7 | 12 | μA | +25°C | |||
| 4.5 | 12 | μA | +85°C | |||
| PIC18LFX455/X550 | 5.0 | 15 | μA | -40°C | ||
| 5.4 | 15 | μA | +25°C | |||
| 6.3 | 15 | μA | +85°C | |||
| All devices | 8.5 | 25 | μA | -40°C | ||
| 9.0 | 25 | μA | +25°C | |||
| 10.5 | 36 | μA | +85°C |
Legend: Shading of rows is to assist in readability of the table.
Note 1: The power-down current in Sleep mode does not depend on the oscillator type. Power-down current is measured with the part in Sleep mode, with all I/O pins in high-impedance state and tied to VDD or VSS and all features that add delta current disabled (such as WDT, Timer1 Oscillator, BOR, etc.).
2: The supply current is mainly a function of operating voltage, frequency and mode. Other factors, such as I/O pin loading and switching rate, oscillator type and circuit, internal code execution pattern and temperature, also have an impact on the current consumption.
The test conditions for all IDD measurements in active operation mode are:
OSC1 = external square wave, from rail-to-rail; all I/O pins tri-stated, pulled to VDD or VSS;
MCLR = VDD; WDT enabled/disabled as specified.
3: Standard low-cost 32 kHz crystals have an operating temperature range of -10°C to +70°C. Extended temperature crystals are available at a much higher cost.
4: BOR and HLVD enable internal band gap reference. With both modules enabled, current consumption will be less than the sum of both specifications.
28.2 DC Characteristics: Power-Down and Supply Current
PIC18F2455/2550/4455/4550 (Industrial)
PIC18LF2455/2550/4455/4550 (Industrial) (Continued)
| PIC18LF2455/2550/4455/4550 (Industrial) | Standard Operating Conditions (unless otherwise stated) Operating temperature -40°C ≤ TA ≤ +85°C for industrial |
|---|---|
| PIC18F2455/2550/4455/4550 (Industrial) | Standard Operating Conditions (unless otherwise stated) Operating temperature -40°C ≤ TA ≤ +85°C for industrial |
| Param No. | Symbol | Device | Typ | Max | Units | Conditions |
|---|---|---|---|---|---|---|
| D022 | ΔIWDT | Module Differential Currents (ΔIWDT, ΔIBOR, ΔILVD, ΔIOSCB, ΔIAD) | ||||
| Watchdog Timer | 1.3 | 3.8 | μA | -40°C | ||
| 1.4 | 3.8 | μA | +25°C | |||
| 2.0 | 3.8 | μA | +85°C | |||
| 1.9 | 4.6 | μA | -40°C | |||
| 2.0 | 4.6 | μA | +25°C | |||
| 2.8 | 4.6 | μA | +85°C | |||
| 4.0 | 10 | μA | -40°C | |||
| 5.5 | 10 | μA | +25°C | |||
| 5.6 | 10 | μA | +85°C | |||
| D022A | ΔIBOR | Brown-out Reset(4) | 35 | 40 | μA | -40°C to +85°C |
| 40 | 45 | μA | -40°C to +85°C | |||
| 0.1 | 2 | μA | -40°C to +85°C | |||
| D022B | ΔILVD | High/Low-Voltage Detect(4) | 22 | 38 | μA | -40°C to +85°C |
| 25 | 40 | μA | -40°C to +85°C | |||
| 29 | 45 | μA | -40°C to +85°C | |||
| D025 | ΔIOSCB | Timer1 Oscillator | 2.1 | 4.5 | μA | -40°C |
| 1.8 | 4.5 | μA | +25°C | |||
| 2.1 | 4.5 | μA | +85°C | |||
| 2.2 | 6.0 | μA | -40°C | |||
| 2.6 | 6.0 | μA | +25°C | |||
| 2.9 | 6.0 | μA | +85°C | |||
| 3.0 | 8.0 | μA | -40°C | |||
| 3.2 | 8.0 | μA | +25°C | |||
| 3.4 | 8.0 | μA | +85°C | |||
| D026 | ΔIAD | A/D Converter | 1.0 | 2.0 | μA | -40°C to +85°C |
| 1.0 | 2.0 | μA | -40°C to +85°C | |||
| 1.0 | 2.0 | μA | -40°C to +85°C |
Legend: Shading of rows is to assist in readability of the table.
Note 1: The power-down current in Sleep mode does not depend on the oscillator type. Power-down current is measured with the part in Sleep mode, with all I/O pins in high-impedance state and tied to VDD or VSS and all features that add delta current disabled (such as WDT, Timer1 Oscillator, BOR, etc.).
2: The supply current is mainly a function of operating voltage, frequency and mode. Other factors, such as I/O pin loading and switching rate, oscillator type and circuit, internal code execution pattern and temperature, also have an impact on the current consumption.
The test conditions for all IDD measurements in active operation mode are:
OSC1 = external square wave, from rail-to-rail; all I/O pins tri-stated, pulled to VDD or VSS;
MCLR = VDD; WDT enabled/disabled as specified.
3: Standard low-cost 32 kHz crystals have an operating temperature range of -10°C to +70°C. Extended temperature crystals are available at a much higher cost.
4: BOR and HLVD enable internal band gap reference. With both modules enabled, current consumption will be less than the sum of both specifications.
28.2 DC Characteristics: Power-Down and Supply Current
PIC18F2455/2550/4455/4550 (Industrial)
PIC18LF2455/2550/4455/4550 (Industrial) (Continued)
| PIC18LF2455/2550/4455/4550 (Industrial) | Standard Operating Conditions (unless otherwise stated) Operating temperature -40°C ≤ TA ≤ +85°C for industrial |
|---|---|
| PIC18F2455/2550/4455/4550 (Industrial) | Standard Operating Conditions (unless otherwise stated) Operating temperature -40°C ≤ TA ≤ +85°C for industrial |
| Param No. | Symbol | Device | Typ | Max | Units | Conditions |
|---|---|---|---|---|---|---|
| USB and Related Module Differential Currents (ΔIUSBX, ΔIPLL, ΔIUREG) | ||||||
| ΔIUSBX | USB Module with On-Chip Transceiver | 8 | 14.5 | mA | +□□°C VDD = 3.0V | |
| 12.4 | 20 | mA | +□□°C VDD = 5.0V | |||
| ΔIPLL | 96 MHz PLL (Oscillator Module) | 1.2 | 3.0 | mA | +25°C VDD = 3.0V | |
| 1.2 | 4.8 | mA | +25°C VDD = 5.0V | |||
| ΔIUREG | USB Internal Voltage Regulator | 80 | 125 | μA | +25°C VDD = 5.0V USB Idle, SUSPND (UCON<1> = 1) |
Legend: Shading of rows is to assist in readability of the table.
Note 1: The power-down current in Sleep mode does not depend on the oscillator type. Power-down current is measured with the part in Sleep mode, with all I/O pins in high-impedance state and tied to VDD or VSS and all features that add delta current disabled (such as WDT, Timer1 Oscillator, BOR, etc.).
2: The supply current is mainly a function of operating voltage, frequency and mode. Other factors, such as I/O pin loading and switching rate, oscillator type and circuit, internal code execution pattern and temperature, also have an impact on the current consumption.
The test conditions for all IDD measurements in active operation mode are:
OSC1 = external square wave, from rail-to-rail; all I/O pins tri-stated, pulled to VDD or VSS;
MCLR = VDD; WDT enabled/disabled as specified.
3: Standard low-cost 32 kHz crystals have an operating temperature range of -10°C to +70°C. Extended temperature crystals are available at a much higher cost.
4: BOR and HLVD enable internal band gap reference. With both modules enabled, current consumption will be less than the sum of both specifications.
28.2 DC Characteristics: Power-Down and Supply Current
PIC18F2455/2550/4455/4550 (Industrial)
PIC18LF2455/2550/4455/4550 (Industrial) (Continued)
| PIC18LF2455/2550/4455/4550 (Industrial) | Standard Operating Conditions (unless otherwise stated) Operating temperature -40°C ≤ TA ≤ +85°C for industrial |
|---|---|
| PIC18F2455/2550/4455/4550 (Industrial) | Standard Operating Conditions (unless otherwise stated) Operating temperature -40°C ≤ TA ≤ +85°C for industrial |
| Param No. | Symbol | Device | Typ | Max | Units | Conditions | ||
|---|---|---|---|---|---|---|---|---|
| ITUSB | Total USB Run Currents (ITUSB)(2) | |||||||
| Primary Run with USB Module, PLL and USB Voltage Regulator | 29 | 75 | mA | -40°C | VDD = 5.0V | EC+PLL 4 MHz input, 48 MHz PRI_RUN, USB module enabled in Full-Speed mode, USB VREG enabled, no bus traffic | ||
| 29 | 65 | mA | +25°C | VDD = 5.0V | ||||
| 29 | 65 | mA | +85°C | VDD = 5.0V |
Legend: Shading of rows is to assist in readability of the table.
Note 1: The power-down current in Sleep mode does not depend on the oscillator type. Power-down current is measured with the part in Sleep mode, with all I/O pins in high-impedance state and tied to VDD or VSS and all features that add delta current disabled (such as WDT, Timer1 Oscillator, BOR, etc.).
2: The supply current is mainly a function of operating voltage, frequency and mode. Other factors, such as I/O pin loading and switching rate, oscillator type and circuit, internal code execution pattern and temperature, also have an impact on the current consumption.
The test conditions for all IDD measurements in active operation mode are:
OSC1 = external square wave, from rail-to-rail; all I/O pins tri-stated, pulled to VDD or VSS;
MCLR = VDD; WDT enabled/disabled as specified.
3: Standard low-cost 32 kHz crystals have an operating temperature range of -10°C to +70°C. Extended temperature crystals are available at a much higher cost.
4: BOR and HLVD enable internal band gap reference. With both modules enabled, current consumption will be less than the sum of both specifications.
DS39632E-page 378 © 2009 Microchip Technology Inc.
28.3 DC Characteristics: PIC18F2455/2550/4455/4550 (Industrial) PIC18LF2455/2550/4455/4550 (Industrial)
| DC CHARACTERISTICS | Standard Operating Conditions (unless otherwise stated) Operating temperature -40°C ≤ TA ≤ +85°C for industrial | |||||
|---|---|---|---|---|---|---|
| Param No. | Symbol | Characteristic | Min | Max | Units | Conditions |
| D030D030AD031D032D032AD033 | VIL | Input Low VoltageI/O Ports (except RC4/RC5 in USB mode):with TTL Bufferwith Schmitt Trigger BufferRB0 and RB1MCLROSC1 and T1OSIOSC1 | Vss—VssVssVssVss | 0.15 VDD0.80.2 VDD0.3 VDD0.2 VDD0.3 VDD0.2 VDD | VVVVVV | VDD < 4.5V4.5V ≤ VDD ≤ 5.5VWhen in I²C™ modeXT, HS, HSPLL modes(1)EC mode(1) |
| D040D040AD041D042D042AD043 | VIH | Input High VoltageI/O Ports (except RC4/RC5 in USB mode):with TTL Bufferwith Schmitt Trigger BufferRB0 and RB1MCLROSC1 and T1OSIOSC1 | 0.25 VDD + 0.8V2.00.8 VDD0.7 VDD0.8 VDD0.7 VDD0.8 VDD | VDDVDDVDDVDDVDDVDD | VVVVVV | VDD < 4.5V4.5V ≤ VDD ≤ 5.5VWhen in I²C modeXT, HS, HSPLL modes(1)EC mode(1) |
| D060D061D063 | IIL | Input Leakage Current(2)I/O Ports, except D+ and D-MCLROSC1 | ——— | ±200±1±1 | nAμAμA | Vss ≤ VPIN ≤ VDD, Pin at high-impedanceVss ≤ VPIN ≤ VDDVss ≤ VPIN ≤ VDD |
| D070D071 | IPUIPURBIPURD | Weak Pull-up CurrentPORTB Weak Pull-up CurrentPORTD Weak Pull-up Current | 5050 | 400400 | μAμA | VDD = 5V, VPIN = VssVDD = 5V, VPIN = Vss |
Note 1: The leakage current on the MCLR pin is strongly dependent on the applied voltage level. The specified levels represent normal operating conditions. Higher leakage current may be measured at different input voltages.
2: Negative current is defined as current sourced by the pin.
3: Parameter is characterized but not tested.
28.3 DC Characteristics: PIC18F2455/2550/4455/4550 (Industrial)
PIC18LF2455/2550/4455/4550 (Industrial) (Continued)
| DC CHARACTERISTICS | Standard Operating Conditions (unless otherwise stated) Operating temperature -40°C ≤ TA ≤ +85°C for industrial | |||||
|---|---|---|---|---|---|---|
| Param No. | Symbol | Characteristic | Min | Max | Units | Conditions |
| D080 | VOL | Output Low VoltageI/O Ports (except RC4/RC5 in USB mode) | — | 0.6 | V | IOL = 8.5 mA, VDD = 4.5V, -40°C to +85°C |
| D083 | OSC2/CLKO(EC, ECIO modes) | — | 0.6 | V | IOL = 1.6 mA, VDD = 4.5V, -40°C to +85°C | |
| D090 | VOH | Output High Voltage(3)I/O Ports (except RC4/RC5 in USB mode) | VDD – 0.7 | — | V | IOH = -3.0 mA, VDD = 4.5V, -40°C to +85°C |
| D092 | OSC2/CLKO(EC, ECIO, ECPIO modes) | VDD – 0.7 | — | V | IOH = -1.3 mA, VDD = 4.5V, -40°C to +85°C | |
| D100 | Cosc2 | Capacitive Loading Specs on Output PinsOSC2 Pin | — | 15 | pF | In XT and HS modes when external clock is used to drive OSC1 |
| D101 | CIO | All I/O Pins and OSC2(in RC mode) | — | 50 | pF | To meet the AC Timing Specifications |
| D102 | CB | SCL, SDA | — | 400 | pF | I²C™ Specification |
Note 1: The leakage current on the MCLR pin is strongly dependent on the applied voltage level. The specified levels represent normal operating conditions. Higher leakage current may be measured at different input voltages.
2: Negative current is defined as current sourced by the pin.
3: Parameter is characterized but not tested.
TABLE 28-1: MEMORY PROGRAMMING REQUIREMENTS
| DC Characteristics | Standard Operating Conditions (unless otherwise stated) Operating temperature -40°C ≤ TA ≤ +85°C for industrial | ||||||
|---|---|---|---|---|---|---|---|
| Param No. | Sym | Characteristic | Min | Typ† | Max | Units | Conditions |
| D110 | VIHH | Internal Program Memory Programming Specifications(1) Voltage on MCLR/VPP/RE3 pin | 9.00 | — | 13.25 | V | (Note 3) |
| D113 | IDDP | Supply Current during Programming | — | — | 10 | mA | |
| D120 | ED | Data EEPROM Memory Byte Endurance | 100K | 1M | — | E/W | -40°C to +85°C |
| D121 | VDRW | VDD for Read/Write | VMIN | — | 5.5 | V | Using EECON to read/write VMIN = Minimum operating voltage |
| D122 | TDEW | Erase/Write Cycle Time | — | 4 | — | ms | |
| D123 | TRETD | Characteristic Retention | 40 | — | — | Year | Provided no other specifications are violated |
| D124 | TREF | Number of Total Erase/Write Cycles before Refresh(2) | 1M | 10M | — | E/W | -40°C to +85°C |
| D130 | EP | Program Flash Memory Cell Endurance | 10K | 100K | — | E/W | -40°C to +85°C |
| D131 | VPR | VDD for Read | VMIN | — | 5.5 | V | VMIN = Minimum operating voltage |
| D132 | VIE | VDD for Bulk Erase | 3.2(4) | — | 5.5 | V | Using ICSP™ port only |
| D132A | VIW | VDD for All Erase/Write Operations (except bulk erase) | VMIN | — | 5.5 | V | Using ICSP port or self-erase/write |
| D133A | TiW | Self-Timed Write Cycle Time | — | 2 | — | ms | |
| D134 | TRETD | Characteristic Retention | 40 | 100 | — | Year | Provided no other specifications are violated |
† Data in “Typ” column is at 5.0V, 25°C unless otherwise stated. These parameters are for design guidance only and are not tested.
Note 1: These specifications are for programming the on-chip program memory through the use of table write instructions.
2: Refer to Section 7.7 “Using the Data EEPROM” for a more detailed discussion on data EEPROM endurance.
3: Required only if Single-Supply Programming is disabled.
4: Minimum voltage is 3.2V for PIC18LF devices in the family. Minimum voltage is 4.2V for PIC18F devices in the family.
TABLE 28-2: COMPARATOR SPECIFICATIONS
Operating Conditions: 3.0V < VDD < 5.5V, -40°C < TA < +85°C (unless otherwise stated)
| Param No. | Sym | Characteristics | Min | Typ | Max | Units | Comments |
|---|---|---|---|---|---|---|---|
| D300 | VIOFF | Input Offset Voltage | — | ±5.0 | ±10 | mV | |
| D301 | VICM | Input Common Mode Voltage | 0 | — | VDD – 1.5 | V | |
| D302 | CMRR | Common Mode Rejection Ratio | 55 | — | — | dB | |
| 300 | TRESP | Response Time(1) | — | 150 | 400 | ns | PIC18FXXXX |
| 300A | — | 150 | 600 | ns | PIC18LFXXXX, VDD = 2.0V | ||
| 301 | TMC2OV | Comparator Mode Change to Output Valid | — | — | 10 | μs |
Note 1: Response time measured with one comparator input at (VDD – 1.5)/2, while the other input transitions from VSS to VDD.
TABLE 28-3: VOLTAGE REFERENCE SPECIFICATIONS
Operating Conditions: 3.0V < VDD < 5.5V, -40°C < TA < +85°C (unless otherwise stated)
| Param No. | Sym | Characteristics | Min | Typ | Max | Units | Comments |
|---|---|---|---|---|---|---|---|
| D310 | VRES | Resolution | VDD/24 | — | VDD/32 | LSb | |
| D311 | VRAA | Absolute Accuracy | — | 1/4 | 1 | LSb | Low Range (CVRR = 1) |
| — | — | 1/2 | LSb | High Range (CVRR = 0) | |||
| D312 | VRUR | Unit Resistor Value (R) | — | 2k | — | Ω | |
| 310 | TSET | Settling Time(1) | — | — | 10 | μs |
Note 1: Settling time measured while CVRR = 1 and CVR3:CVR0 transitions from ‘0000’ to ‘1111’.
TABLE 28-4: USB MODULE SPECIFICATIONS
Operating Conditions: -40°C < TA < +85°C (unless otherwise stated).
| Param No. | Sym | Characteristic | Min | Typ | Max | Units | Comments |
|---|---|---|---|---|---|---|---|
| D313 | VUSB | USB Voltage | 3.0 | — | 3.6 | V | Voltage on pin must be in this range for proper USB operation |
| D314 | IIL | Input Leakage on D+ and D- pins | — | — | ±1 | μA | VSS ≤ VPIN ≤ VDD; pin at high-impedance |
| D315 | VILUSB | Input Low Voltage for USB Buffer | — | — | 0.8 | V | For VUSB range |
| D316 | VIHUSB | Input High Voltage for USB Buffer | 2.0 | — | — | V | For VUSB range |
| D317 | VCRS | Crossover Voltage | 1.3 | — | 2.0 | V | Voltage range for D+ and D- crossover to occur |
| D318 | VDIFS | Differential Input Sensitivity | — | — | 0.2 | V | The difference between D+ and D- must exceed this value while VCM is met |
| D319 | VCM | Differential Common Mode Range | 0.8 | — | 2.5 | V | |
| D320 | ZOUT | Driver Output Impedance | 28 | — | 44 | Ω | |
| D321 | VOL | Voltage Output Low | 0.0 | — | 0.3 | V | 1.5 kΩ load connected to 3.6V |
| D322 | VOH | Voltage Output High | 2.8 | — | 3.6 | V | 15 kΩ load connected to ground |
TABLE 28-5: USB INTERNAL VOLTAGE REGULATOR SPECIFICATIONS
Operating Conditions: -40°C < TA < +85°C (unless otherwise stated).
| Param No. | Sym | Characteristics | Min | Typ | Max | Units | Comments |
|---|---|---|---|---|---|---|---|
| D323 | VUSBANA | Regulator Output Voltage | 3.0 | — | 3.6 | V | VDD ≥ 4.0V(1) |
| D324 | CUSB | External Filter Capacitor Value (VUSB to VSS) | 0.22 | 0.47 | 12(2) | μF | Ceramic or other low-ESR capacitor recommended |
Note 1: If device VDD is less than 4.0V, the internal USB voltage regulator should be disabled and an external 3.0-3.6V supply should be provided on VUSB if the USB module is used.
2: This is a recommended maximum for start-up time and in-rush considerations. When the USB regulator is disabled, there is no maximum.
FIGURE 28-3: HIGH/LOW-VOLTAGE DETECT CHARACTERISTICS
For VDIRMAG = 1: VDD VHLVD (HLVDIF set by hardware) (HLVDIF can be cleared in software) For VDIRMAG = 0: VDD HLVDIF

TABLE 28-6: HIGH/LOW-VOLTAGE DETECT CHARACTERISTICS
Standard Operating Conditions (unless otherwise stated) Operating temperature -40°C ≤ TA ≤ +85°C for industrial
| Param No. | Symbol | Characteristic | Min | Typ | Max | Units | Conditions | |
|---|---|---|---|---|---|---|---|---|
| D420 | HLVD Voltage on VDD Transition High-to-Low | HLVDL<3:0> = 0000 | 2.06 | 2.17 | 2.28 | V | ||
| HLVDL<3:0> = 0001 | 2.12 | 2.23 | 2.34 | V | ||||
| HLVDL<3:0> = 0010 | 2.24 | 2.36 | 2.48 | V | ||||
| HLVDL<3:0> = 0011 | 2.32 | 2.44 | 2.56 | V | ||||
| HLVDL<3:0> = 0100 | 2.47 | 2.60 | 2.73 | V | ||||
| HLVDL<3:0> = 0101 | 2.65 | 2.79 | 2.93 | V | ||||
| HLVDL<3:0> = 0110 | 2.74 | 2.89 | 3.04 | V | ||||
| HLVDL<3:0> = 0111 | 2.96 | 3.12 | 3.28 | V | ||||
| HLVDL<3:0> = 1000 | 3.22 | 3.39 | 3.56 | V | ||||
| HLVDL<3:0> = 1001 | 3.37 | 3.55 | 3.73 | V | ||||
| HLVDL<3:0> = 1010 | 3.52 | 3.71 | 3.90 | V | ||||
| HLVDL<3:0> = 1011 | 3.70 | 3.90 | 4.10 | V | ||||
| HLVDL<3:0> = 1100 | 3.90 | 4.11 | 4.32 | V | ||||
| HLVDL<3:0> = 1101 | 4.11 | 4.33 | 4.55 | V | ||||
| HLVDL<3:0> = 1110 | 4.36 | 4.59 | 4.82 | V | ||||
| HLVDL<3:0> = 1111 | 1.14 | 1.20 | 1.26 | V | Voltage at HLVDIN input pin compared to Internal Voltage Reference |
28.4 AC (Timing) Characteristics
28.4.1 TIMING PARAMETER SYMBOLOGY
The timing parameter symbols have been created using one of the following formats:
- TppS2ppS
- TppS
- Tcc:ST (I²C specifications only)
- Ts (I²C specifications only)
| T | F | Frequency | T | Time |
|---|
Lowercase letters (pp) and their meanings:
| pp | |||||
|---|---|---|---|---|---|
| ad | SPP address write | mc | MCLR | ||
| cc | CCP1 | osc | OSC1 | ||
| ck | CLKO | rd | RD | ||
| cs | CS | rw | RD or WR | ||
| da | SPP data write | sc | SCK | ||
| di | SDI | ss | SS | ||
| do | SDO | t0 | T0CKI | ||
| dt | Data in | t1 | T13CKI | ||
| io | I/O port | wr | WR |
Uppercase letters and their meanings:
| S | |||||
|---|---|---|---|---|---|
| F | Fall | P | Period | ||
| H | High | R | Rise | ||
| I | Invalid (High-Impedance) | V | Valid | ||
| L | Low | Z | High-Impedance | ||
| I²C only | High | High | |||
| AA | output access | Low | Low | ||
| BUF | Bus free |
Tcc:ST (I²C specifications only)
| CC | |||||
|---|---|---|---|---|---|
| HD | Hold | SU | Setup | ||
| ST | STO | Stop condition | |||
| DAT | DATA input hold | ||||
| STA | Start condition |
28.4.2 TIMING CONDITIONS
The temperature and voltages specified in Table 28-7 apply to all timing specifications unless otherwise noted. Figure 28-4 specifies the load conditions for the timing specifications.
Note: Because of space limitations, the generic terms “PIC18FXXXX” and “PIC18LFXXXX” are used throughout this section to refer to the PIC18F2455/2550/4455/4550 and PIC18LF2455/2550/4455/4550 families of devices specifically and only those devices.
TABLE 28-7: TEMPERATURE AND VOLTAGE SPECIFICATIONS – AC
| AC CHARACTERISTICS | Standard Operating Conditions (unless otherwise stated) |
|---|---|
| Operating temperature -40°C ≤ TA ≤ +85°C for industrial | |
| Operating voltage VDD range as described in DC spec Section 28.1 and Section 28.3. | |
| LF parts operate for industrial temperatures only. |
FIGURE 28-4: LOAD CONDITIONS FOR DEVICE TIMING SPECIFICATIONS
