PIC16F7X7 PIC16F7X7 Rev. A2 Silicon/Data Sheet Errata The PIC16F7X7 Rev. A2 parts you have received conform functionally to the Device Data Sheet (DS30498C), except for the anomalies described below. All of the issues listed here will be addressed in future revisions of the PIC16F7X7 silicon. The following silicon errata apply only to PIC16F7X7 devices with these Device/Revision IDs: Part Number Device ID Revision ID PIC16F737 00 1011 101 00001 PIC16F747 00 1011 111 00001 PIC16F767 00 1101 111 00001 PIC16F777 00 1110 101 00001 1. Module: Internal RC Oscillator A high Sleep current will exist when the following condition is met and procedures are followed: CONDITION: FOSC<2:0> (Configuration Word Register 1) bits are configured for any oscillator selection other than the internal RC oscillator. PROCEDURE: 1. Clock switch occurs anywhere in the application code where the internal RC oscillator is selected via the SCS bits (‘10’). 2. Sleep mode is entered while the SCS bits are configured for the internal RC oscillator (‘10’). Work around Before Sleep mode is entered, configure or clear the SCS bits (‘00’) to switch back to the primary clock source that is defined by FOSC<2:0> (Configuration Word Register 1). Date Codes that pertain to this issue: All date codes. 2004 Microchip Technology Inc. DS80177E-page 1 PIC16F7X7 2. Module: Internal RC Oscillator IOFS bit The device data sheet states when an INTOSC frequency is selected (125, 250, 500 kHz, 1, 2, 4, 8 MHz), the frequency will be stable when the IOFS bit becomes set (IOFS = 1) at 4 ms. The following applies for applications relying on time dependent code. Under the following conditions, any of the INTOSC frequencies may not be stable when IOFS becomes set (IOFS = 1). Devices may vary from one to the next and may take as long as 60 ms to become stable. 1. Wake from Sleep, internal RC oscillator is selected via the SCS bits or Configuration Word 1 and the IRCF bits are configured for an INTOSC frequency. 2. POR is executed, internal RC oscillator is selected via the SCS bits or Configuration Word 1 and the IRCF bits are configured for an INTOSC frequency. EXAMPLE 1: DlyVarH DlyVarL 3. The INTRC (31.25 kHz) is clocking the device and a switch to an INTOSC frequency is executed via modification of the IRCF bits. 4. An alternative oscillator selection is clocking the device (i.e., HS mode) and a clock switch to the internal RC oscillator is executed via the SCS bits with the IRCF bits configured for an INTOSC frequency. Work around Implement the following software delay shown in Example 1 after an INTOSC frequency has been enabled and before any frequency dependent application code is executed. This routine will delay application execution approximately 2K-150K TCY (instruction cycles are dependent upon the INTOSC frequency) to ensure a stable INTOSC frequency. Date Codes that pertain to this issue: All date codes. DELAY ROUTINE equ equ <define address based on application requirements> <define address based on application requirements> ;Load the delay variable DlyVarH with the following value for the selected frequency: ;125kHz 0x0300 ;250kHz 0x0600 ;500kHz 0x0C00 ;1MHz 0x1900 ;2MHz 0x3100 ;4MHz 0x6200 delay CLRF MOVLW MOVWF dly_loop DECFSZ GOTO DECFSZ GOTO RETURN DS80177E-page 2 DlyVarL 0x62 DlyVarH DlyVarL,f dly_loop DlyVarH,f dly_loop ;insure the correct data memory bank is selected ; for access of data variables ;initialize low delay variable ;initialize high delay variable ;decrement low variable ;decrement high variable ;delay done 2004 Microchip Technology Inc. PIC16F7X7 3. Module: Internal RC Oscillator When any one of the seven INTOSC frequencies is enabled by the following conditions, it is possible for the oscillator to overshoot the selected frequency: 1. A clock switch from INTRC (31 kHz) to an INTOSC (125 kHz-8 MHz) frequency via the IRCF bits (OSCCON register). 2. Exit from Sleep mode with the IRCF bits already configured for an INTOSC frequency. 3. Executing a clock source switch via the SCS bits (OSCCON register) to the internal RC oscillator with the IRCF bits already configured for an INTOSC frequency. If the selected frequency is 8 MHz, then the Voltage versus Frequency specification of the device may be violated. Work around When it is required for the application to run at 8 MHz, it is recommended that the application does not start executing code at 8 MHz until the 60 ms firmware delay (see issue 2) has completed. During the 60 ms settling period, the application can execute code up to 4 MHz. Upon completion of the 60 ms firmware delay, the 8 MHz can be selected via the IRCF bits. Date Codes that pertain to this issue: All date codes. 2004 Microchip Technology Inc. DS80177E-page 3 PIC16F7X7 1. Module: DC Characteristics (BOR Specifications) Clarifications/Corrections to the Data Sheet: In the Device Data Sheet (DS30498C), the following clarifications and corrections should be noted. The specifications and parameter numbers for the Brown-out Voltage limits (VBOR, originally parameter D005) in Section 18.1 “DC Characteristics: Supply Voltage” of the Device Data Sheet have been changed. The new information is shown in bold text. 18.1 DC Characteristics: Supply Voltage PIC16F737/747/767/777 (Industrial) PIC16LF737/747/767/777 (Industrial) PIC16LF7X7 (Industrial) Standard Operating Conditions (unless otherwise stated) Operating temperature -40°C ≤ TA ≤ +85°C for industrial PIC16F7X7 (Industrial, Extended) Standard Operating Conditions (unless otherwise stated) Operating temperature -40°C ≤ TA ≤ +85°C for industrial -40°C ≤ TA ≤ +125°C for extended Param No. Symbol VBOR D005D Characteristic N/A N/A N/A V 2.72 2.94 V BORV1:BORV0 = 01 3.88 4.22 4.56 V 4.18 4.54 4.90 V Legend: Note 1: 2: Reserved Industrial Low Voltage (-40°C to -10°C) BORV1:BORV0 = 11 N/A N/A N/A V BORV1:BORV0 = 10 2.34 2.72 3.10 V BORV1:BORV0 = 01 3.63 4.22 4.81 V BORV1:BORV0 = 00 3.90 4.54 5.18 V Reserved Industrial (-10°C to +85°C) BORV1:BORV0 = 1x N/A N/A N/A V Reserved BORV1:BORV0 = 01 3.88 4.22 4.56 V (Note 2) BORV1:BORV0 = 00 4.18 4.54 4.90 V PIC16F7X7 Industrial (-40°C to -10°C) BORV1:BORV0 = 1x N/A N/A N/A V Reserved BORV1:BORV0 = 01 3.63 4.22 4.81 V FMAX = 16 MHz BORV1:BORV0 = 00 3.90 4.54 5.18 V (Note 2) PIC16F7X7 D005K Conditions Industrial Low Voltage (-10°C to +85°C) 2.50 PIC16F7X7 D005J Units BORV1:BORV0 = 10 PIC16LF7X7 D005H Max BORV1:BORV0 = 11 BORV1:BORV0 = 00 D005G Typ Brown-out Reset Voltage PIC16LF7X7 D005F Min Extended (-10°C to +85°C) BORV1:BORV0 = 1x N/A N/A N/A V Reserved BORV1:BORV0 = 01 3.88 4.22 4.56 V (Note 2) BORV1:BORV0 = 00 4.18 4.54 4.90 V PIC16F7X7 Extended (-40°C to -10°C, +85°C to +125°C) BORV1:BORV0 = 1x N/A N/A N/A V Reserved BORV1:BORV0 = 01 3.63 4.22 4.81 V FMAX = 16 MHz BORV1:BORV0 = 00 3.90 4.54 5.18 V (Note 2) Shading of rows is to assist in readability of the table. This is the limit to which VDD can be lowered in Sleep mode, or during a device Reset, without losing RAM data. When BOR is on and BORV<1:0> = 0x, the device will operate correctly at 20 MHz for any VDD at which the BOR allows execution. DS80177E-page 4 2004 Microchip Technology Inc. PIC16F7X7 2. Module: LVD Characteristics The specifications and parameter numbers for the Low-Voltage Detect thresholds (VLVD, originally parameter D420) in Table 18-3 of the Device Data Sheet have been changed. The new information is shown in bold text. TABLE 18-3: LOW-VOLTAGE DETECT CHARACTERISTICS PIC16LF7X7 (Industrial) Standard Operating Conditions (unless otherwise stated) Operating temperature -40°C ≤ TA ≤ +85°C for industrial PIC16F7X7 (Industrial, Extended) Standard Operating Conditions (unless otherwise stated) Operating temperature -40°C ≤ TA ≤ +85°C for industrial -40°C ≤ TA ≤ +125°C for extended Param No. D420D Symbol VLVD LVD Voltage on VDD Transition High-to-Low VLVD Legend: † Min Typ† Max Units Conditions Industrial Low Voltage (-10°C to +85°C) PIC16LF7X7 LVDL<3:0> = 0000 N/A N/A N/A V Reserved LVDL<3:0> = 0001 N/A N/A N/A V Reserved LVDL<3:0> = 0010 2.08 2.26 2.44 V LVDL<3:0> = 0011 2.26 2.45 2.65 V LVDL<3:0> = 0100 2.35 2.55 2.76 V LVDL<3:0> = 0101 2.55 2.77 2.99 V LVDL<3:0> = 0110 2.64 2.87 3.10 V LVDL<3:0> = 0111 2.82 3.07 3.31 V LVDL<3:0> = 1000 3.09 3.36 3.63 V LVDL<3:0> = 1001 3.29 3.57 3.86 V LVDL<3:0> = 1010 3.38 3.67 3.96 V LVDL<3:0> = 1011 3.56 3.87 4.18 V LVDL<3:0> = 1100 3.75 4.07 4.40 V LVDL<3:0> = 1101 3.93 4.28 4.62 V LVDL<3:0> = 1110 4.23 4.60 4.96 V LVD Voltage on VDD Transition High-to-Low D420F D420G Characteristic Industrial Low Voltage (-40°C to -10°C) PIC16LF7X7 LVDL<3:0> = 0000 N/A N/A N/A V Reserved LVDL<3:0> = 0001 N/A N/A N/A V Reserved LVDL<3:0> = 0010 1.99 2.26 2.53 V LVDL<3:0> = 0011 2.16 2.45 2.75 V LVDL<3:0> = 0100 2.25 2.55 2.86 V LVDL<3:0> = 0101 2.43 2.77 3.10 V LVDL<3:0> = 0110 2.53 2.87 3.21 V LVDL<3:0> = 0111 2.70 3.07 3.43 V LVDL<3:0> = 1000 2.96 3.36 3.77 V LVDL<3:0> = 1001 3.14 3.57 4.00 V LVDL<3:0> = 1010 3.23 3.67 4.11 V LVDL<3:0> = 1011 3.41 3.87 4.34 V LVDL<3:0> = 1100 3.58 4.07 4.56 V LVDL<3:0> = 1101 3.76 4.28 4.79 V LVDL<3:0> = 1110 4.04 4.60 5.15 V LVD Voltage on VDD Transition High-to-Low Industrial (-10°C to +85°C) Shading of rows is to assist in readability of the table. Production tested at TAMB = 25°C. Specifications over temperature limits ensured by characterization. 2004 Microchip Technology Inc. DS80177E-page 5 PIC16F7X7 TABLE 18-3: LOW-VOLTAGE DETECT CHARACTERISTICS (CONTINUED) PIC16LF7X7 (Industrial) Standard Operating Conditions (unless otherwise stated) Operating temperature -40°C ≤ TA ≤ +85°C for industrial PIC16F7X7 (Industrial, Extended) Standard Operating Conditions (unless otherwise stated) Operating temperature -40°C ≤ TA ≤ +85°C for industrial -40°C ≤ TA ≤ +125°C for extended Param No. Symbol Characteristic PIC16F7X7 LVDL<3:0> = 1101 LVDL<3:0> = 1110 D420H LVD Voltage on VDD Transition High-to-Low D420J Legend: † Typ† Max Units 3.93 4.28 4.62 V 4.23 4.60 4.96 V 3.76 4.28 4.79 V LVDL<3:0> = 1110 4.04 4.60 5.15 V Extended (-10°C to +85°C) PIC16F7X7 LVDL<3:0> = 1101 3.94 4.28 4.62 V LVDL<3:0> = 1110 4.23 4.60 4.96 V LVD Voltage on VDD Transition High-to-Low Conditions Industrial (-40°C to -10°C) PIC16F7X7 LVDL<3:0> = 1101 LVD Voltage on VDD Transition High-to-Low D420K Min Extended (-40°C to -10°C, +85°C to +125°C) PIC16F7X7 LVDL<3:0> = 1101 3.77 4.28 4.79 V LVDL<3:0> = 1110 4.05 4.60 5.15 V Shading of rows is to assist in readability of the table. Production tested at TAMB = 25°C. Specifications over temperature limits ensured by characterization. DS80177E-page 6 2004 Microchip Technology Inc. PIC16F7X7 REVISION HISTORY Rev A Document (1/2004) Original version of this document. Data Sheet Clarification issues 1 (DC Characteristics – BOR Specifications), 2 (LVD Specifications) and 3 (LVDCON Register). Rev B Document (6/2004) Added silicon issue 1 (Internal RC Oscillator). Rev C Document (9/2004) Added silicon issue 2 (Internal RC Oscillator IOFS bit), and updated Data Sheet Clarification issues 1 (DC Characteristics – BOR Specifications), 2 (LVD Characteristics) and 3 (LVDCON Register). Rev D Document (10/2004) Amended silicon issue 1 (Internal RC Oscillator) and 2 (Internal RC Oscillator IOFS bit) and added issue 3 (Internal RC Oscillator). Rev E Document (11/2004) Removed Data Sheet Clarification issue 3. Updated Data Sheet revision to DS30498C. 2004 Microchip Technology Inc. DS80177E-page 7 PIC16F7X7 NOTES: DS80177E-page 8 2004 Microchip Technology Inc. Note the following details of the code protection feature on Microchip devices: • Microchip products meet the specification contained in their particular Microchip Data Sheet. • Microchip believes that its family of products is one of the most secure families of its kind on the market today, when used in the intended manner and under normal conditions. • There are dishonest and possibly illegal methods used to breach the code protection feature. All of these methods, to our knowledge, require using the Microchip products in a manner outside the operating specifications contained in Microchip’s Data Sheets. Most likely, the person doing so is engaged in theft of intellectual property. • Microchip is willing to work with the customer who is concerned about the integrity of their code. • Neither Microchip nor any other semiconductor manufacturer can guarantee the security of their code. Code protection does not mean that we are guaranteeing the product as “unbreakable.” Code protection is constantly evolving. We at Microchip are committed to continuously improving the code protection features of our products. Attempts to break Microchip’s code protection feature may be a violation of the Digital Millennium Copyright Act. If such acts allow unauthorized access to your software or other copyrighted work, you may have a right to sue for relief under that Act. Information contained in this publication regarding device applications and the like is provided only for your convenience and may be superseded by updates. It is your responsibility to ensure that your application meets with your specifications. MICROCHIP MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND WHETHER EXPRESS OR IMPLIED, WRITTEN OR ORAL, STATUTORY OR OTHERWISE, RELATED TO THE INFORMATION, INCLUDING BUT NOT LIMITED TO ITS CONDITION, QUALITY, PERFORMANCE, MERCHANTABILITY OR FITNESS FOR PURPOSE. Microchip disclaims all liability arising from this information and its use. Use of Microchip’s products as critical components in life support systems is not authorized except with express written approval by Microchip. No licenses are conveyed, implicitly or otherwise, under any Microchip intellectual property rights. Trademarks The Microchip name and logo, the Microchip logo, Accuron, dsPIC, KEELOQ, microID, MPLAB, PIC, PICmicro, PICSTART, PRO MATE, PowerSmart, rfPIC, and SmartShunt are registered trademarks of Microchip Technology Incorporated in the U.S.A. and other countries. AmpLab, FilterLab, MXDEV, MXLAB, PICMASTER, SEEVAL, SmartSensor and The Embedded Control Solutions Company are registered trademarks of Microchip Technology Incorporated in the U.S.A. Analog-for-the-Digital Age, Application Maestro, dsPICDEM, dsPICDEM.net, dsPICworks, ECAN, ECONOMONITOR, FanSense, FlexROM, fuzzyLAB, In-Circuit Serial Programming, ICSP, ICEPIC, Migratable Memory, MPASM, MPLIB, MPLINK, MPSIM, PICkit, PICDEM, PICDEM.net, PICLAB, PICtail, PowerCal, PowerInfo, PowerMate, PowerTool, rfLAB, rfPICDEM, Select Mode, Smart Serial, SmartTel and Total Endurance are trademarks of Microchip Technology Incorporated in the U.S.A. and other countries. SQTP is a service mark of Microchip Technology Incorporated in the U.S.A. All other trademarks mentioned herein are property of their respective companies. © 2004, Microchip Technology Incorporated, Printed in the U.S.A., All Rights Reserved. Printed on recycled paper. Microchip received ISO/TS-16949:2002 quality system certification for its worldwide headquarters, design and wafer fabrication facilities in Chandler and Tempe, Arizona and Mountain View, California in October 2003. The Company’s quality system processes and procedures are for its PICmicro® 8-bit MCUs, KEELOQ® code hopping devices, Serial EEPROMs, microperipherals, nonvolatile memory and analog products. In addition, Microchip’s quality system for the design and manufacture of development systems is ISO 9001:2000 certified. 2004 Microchip Technology Inc. DS80177E-page 9 Worldwide Sales and Service AMERICAS ASIA/PACIFIC ASIA/PACIFIC EUROPE Corporate Office 2355 West Chandler Blvd. Chandler, AZ 85224-6199 Tel: 480-792-7200 Fax: 480-792-7277 Technical Support: http://support.microchip.com Web Address: www.microchip.com Australia - Sydney Tel: 61-2-9868-6733 Fax: 61-2-9868-6755 India - Bangalore Tel: 91-80-2229-0061 Fax: 91-80-2229-0062 China - Beijing Tel: 86-10-8528-2100 Fax: 86-10-8528-2104 India - New Delhi Tel: 91-11-5160-8631 Fax: 91-11-5160-8632 Austria - Weis Tel: 43-7242-2244-399 Fax: 43-7242-2244-393 Denmark - Ballerup Tel: 45-4450-2828 Fax: 45-4485-2829 China - Chengdu Tel: 86-28-8676-6200 Fax: 86-28-8676-6599 Japan - Kanagawa Tel: 81-45-471- 6166 Fax: 81-45-471-6122 France - Massy Tel: 33-1-69-53-63-20 Fax: 33-1-69-30-90-79 China - Fuzhou Tel: 86-591-8750-3506 Fax: 86-591-8750-3521 Korea - Seoul Tel: 82-2-554-7200 Fax: 82-2-558-5932 or 82-2-558-5934 Germany - Ismaning Tel: 49-89-627-144-0 Fax: 49-89-627-144-44 Atlanta Alpharetta, GA Tel: 770-640-0034 Fax: 770-640-0307 Boston Westford, MA Tel: 978-692-3848 Fax: 978-692-3821 Chicago Itasca, IL Tel: 630-285-0071 Fax: 630-285-0075 Dallas Addison, TX Tel: 972-818-7423 Fax: 972-818-2924 Detroit Farmington Hills, MI Tel: 248-538-2250 Fax: 248-538-2260 Kokomo Kokomo, IN Tel: 765-864-8360 Fax: 765-864-8387 China - Hong Kong SAR Tel: 852-2401-1200 Fax: 852-2401-3431 China - Shanghai Tel: 86-21-5407-5533 Fax: 86-21-5407-5066 China - Shenyang Tel: 86-24-2334-2829 Fax: 86-24-2334-2393 China - Shenzhen Tel: 86-755-8203-2660 Fax: 86-755-8203-1760 China - Shunde Tel: 86-757-2839-5507 Fax: 86-757-2839-5571 Singapore Tel: 65-6334-8870 Fax: 65-6334-8850 Taiwan - Kaohsiung Tel: 886-7-536-4818 Fax: 886-7-536-4803 Taiwan - Taipei Tel: 886-2-2500-6610 Fax: 886-2-2508-0102 Italy - Milan Tel: 39-0331-742611 Fax: 39-0331-466781 Netherlands - Drunen Tel: 31-416-690399 Fax: 31-416-690340 England - Berkshire Tel: 44-118-921-5869 Fax: 44-118-921-5820 Taiwan - Hsinchu Tel: 886-3-572-9526 Fax: 886-3-572-6459 China - Qingdao Tel: 86-532-502-7355 Fax: 86-532-502-7205 Los Angeles Mission Viejo, CA Tel: 949-462-9523 Fax: 949-462-9608 San Jose Mountain View, CA Tel: 650-215-1444 Fax: 650-961-0286 Toronto Mississauga, Ontario, Canada Tel: 905-673-0699 Fax: 905-673-6509 10/20/04 DS80177E-page 10 2004 Microchip Technology Inc.