PIC18F2455/2550/4455/4550 PIC18F2455/2550/4455/4550 Data Sheet Errata Clarifications/Corrections to the Data Sheet: 1. Module: Timer1 Module In the Device Data Sheet (DS39632C), the following clarifications and corrections should be noted. Any silicon issues for the PIC18F2455/2550/4455/4550 will be reported in a separate silicon errata. Please check the Microchip web site for any existing issues. EXAMPLE 12-1: The Real-Time Clock application example, cited in Section 12.6 "Using Timer1 as a Real-Time Clock," has changed. "Example 12-1: Implementing a Real-Time Clock Using a Timer1 Interrupt Service" is corrected to the following example. IMPLEMENTING A REAL-TIME CLOCK USING A TIMER1 INTERRUPT SERVICE RTCinit MOVLW MOVWF CLRF MOVLW MOVWF CLRF CLRF MOVLW MOVWF BSF RETURN 80h TMR1H TMR1L b'00001111' T1CON secs mins .12 hours PIE1, TMR1IE ; Preload TMR1 register pair ; for 1 second overflow ; Configure for external clock, ; Asynchronous operation, external oscillator ; Initialize timekeeping registers ; ; Enable Timer1 interrupt RTCisr BTFSC BRA BTFSS BRA TMR1L,0 $-2 TMR1L,0 $-2 BSF BCF INCF MOVLW CPFSGT RETURN CLRF INCF MOVLW CPFSGT RETURN CLRF INCF MOVLW CPFSGT RETURN CLRF RETURN TMR1H, 7 PIR1, TMR1IF secs, F .59 secs secs mins, F .59 mins mins hours, F .23 hours hours (c) 2006 Microchip Technology Inc. ; ; ; ; ; ; ; ; ; ; ; ; Insert the next 4 lines of code when TMR1 can not be reliably updated before clock pulse goes low wait for TMR1L to become clear (may already be clear) wait for TMR1L to become set TMR1 has just incremented If TMR1 update can be completed before clock pulse goes low Start ISR here Preload for 1 sec overflow Clear interrupt flag Increment seconds 60 seconds elapsed? ; ; ; ; No, done Clear seconds Increment minutes 60 minutes elapsed? ; ; ; ; No, done clear minutes Increment hours 24 hours elapsed? ; No, done ; Reset hours ; Done DS80278A-page 1 PIC18F2455/2550/4455/4550 2. Module: Timer1 Module The following text, Section 12.7 "Considerations in Asynchronous Counter Mode", is new. It defines the proper method to update the TMR1 registers in Asynchronous mode. Section 12.7 is located after Section 12.6 "Using Timer1 as a Real-Time Clock" in the data sheet. 12.7 Considerations in Asynchronous Counter Mode Following a Timer1 interrupt and an update to the TMR1 registers, the Timer1 module uses a falling edge on its clock source to trigger the next register update on the rising edge. If the update is completed after the clock input has fallen, the next rising edge will not be counted. If the application can reliably update TMR1 before the timer input goes low, no additional action is needed. Otherwise, an adjusted update can be performed following a later Timer1 increment. This can be done by monitoring TMR1L within the interrupt routine until it increments, and then updating the TMR1H:TMR1L register pair while the clock is low, or one-half of the period of the clock source. Assuming that Timer1 is being used as a Real-Time Clock, the clock source is a 32.768 kHz crystal oscillator; in this case, one-half period of the clock is 15.25 s. The Real-Time Clock application code in Example 12-1 shows a typical ISR for Timer1, as well as the optional code required if the update cannot be done reliably within the required interval. 4. Module: Master Synchronous Serial Port (MSSP) Module In Section 19.3.5 "Master Mode," the second paragraph of the second column is corrected to read, "This allows a maximum data rate (at 48 MHz) of 12.00 Mbps." The sentence originally stated, "This allows a maximum data rate (at 48 MHz) of 2.00 Mbps." 5. Module: 10-Bit Analog-to-Digital (A/D) Converter Module In Register 21-1: "ADCON0: A/D Control Register 0," the display and the detailed bit description for bit 5 is corrected to "VCFG1", rather than "VCFG0". All other bit 5 display and descriptions are correct in the device data sheet. 6. Module: Special Features of the CPU In Section 25.9.1 "Dedicated ICD/ICSP Port", the second sentence of the fourth paragraph is corrected to state, "When VIHH is seen on the MCLR/VPP/RE3 pin, the state of the ICRST/ICVPP pin is ignored". This refers to the high-voltage programming voltage level for ICSPTM (DC Specification D110). The sentence originally stated, "When VIH is seen on the MCLR/VPP/RE3 pin, the state of the ICRST/ICVPP pin is ignored". That incorrectly referred to the maximum input voltage tolerated by the pin as an I/O (DC specification D040). (Example 12-1 appears on page 1 of this errata.) 3. Module: Universal Serial Bus (USB) In Subsection 17.2.2.8 "Internal Regulator," the following corrections should be noted (changes and added text appear in bold for the purposes of this errata): * In the second paragraph, the first sentence is corrected to read, "The regulator is disabled by default and can be enabled through the VREGEN Configuration bit." The sentence originally stated, "The regulator is enabled by default and can be disabled through the VREGEN Configuration bit." * In the final note box of the section, Note 2 is corrected to read, "VDD must be greater than or equal to VUSB at all times, even with the regulator disabled." The sentence originally stated, "VDD must be greater than VUSB at all times, even with the regulator disabled." DS80278A-page 2 (c) 2006 Microchip Technology Inc. PIC18F2455/2550/4455/4550 7. Module: Electrical Characteristics In Section 28.3 "DC Characteristics," pinspecific variations of parameters D031 (Input Low Voltage) and D041 (Input High Voltage) are corrected as characteristic for pins RB0 and RB1, not pins RC3 and RC4. The following relevant portion of the table indicates the corrections. (For clarity, the corrected items appear in bold text - all other text appears in plain text for purposes of this errata.) 28.3 DC Characteristics: PIC18F2455/2550/4455/4550 (Industrial) PIC18LF2455/2550/4455/4550 (Industrial) (Partial Presentation) Standard Operating Conditions (unless otherwise stated) Operating temperature -40C TA +85C for industrial DC CHARACTERISTICS Param Symbol No. VIL Characteristic Min Max Units VSS VSS 0.2 VDD 0.3 VDD V V 0.8 VDD 0.7 VDD VDD VDD V V Conditions Input Low Voltage D031 with Schmitt Trigger buffer RB0 and RB1 VIH Input High Voltage D041 with Schmitt Trigger buffer RB0 and RB1 8. Module: Electrical Characteristics In "Table 28-1: Memory Programming Requirements," the symbol for parameter D110 is corrected to VIHH, rather than VPP. The following relevant portion of Table 28-1 indicates the correction. (For clarity, the corrected item appears in bold text - all other text appears in plain text for purposes of this errata.) TABLE 28-1: MEMORY PROGRAMMING REQUIREMENTS (PARTIAL PRESENTATION) Standard Operating Conditions (unless otherwise stated) Operating temperature -40C TA +85C for industrial DC Characteristics Param No. Sym Characteristic Min Typ Max Units 9.00 -- 13.25 V Conditions Internal Program Memory Programming Specifications(1) D110 VIHH Voltage on MCLR/VPP/RE3 pin (Note 2) Data in "Typ" column is at 5.0V, 25C 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: Required only if Single-Supply Programming is disabled. (c) 2006 Microchip Technology Inc. DS80278A-page 3 PIC18F2455/2550/4455/4550 9. Module: Electrical Characteristics In "Table 28-5: USB Internal Voltage Regulator Specifications," parameter D323 (Regulator Voltage Output) is qualified with the condition of a minimum device VDD 4.0V in the Comments column. The following relevant portion of Table 28-1 indicates the correction. (For clarity, the corrected item appears in bold text - all other text has been changed to plain text for purposes of this errata.) TABLE 28-5: USB INTERNAL VOLTAGE REGULATOR SPECIFICATIONS (PARTIAL PRESENTATION) Operating Conditions: -40C < TA < +85C (unless otherwise stated). Param No. D323 Sym Characteristics VUSBANA Regulator Output Voltage DS80278A-page 4 Min Typ Max Units 3.0 -- 3.6 V Comments VDD 4.0V (c) 2006 Microchip Technology Inc. PIC18F2455/2550/4455/4550 REVISION HISTORY Rev A Document (7/2006) Original version of this document. Includes issues 1-2 (Timer1), 3 (USB), 4 (MSSP), 5 (A/D Converter), 6 (Special Features of the CPU) and 7-9 (Electrical Characteristics). (c) 2006 Microchip Technology Inc. DS80278A-page 5 PIC18F2455/2550/4455/4550 NOTES: DS80278A-page 6 (c) 2006 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 devices in life support and/or safety applications is entirely at the buyer's risk, and the buyer agrees to defend, indemnify and hold harmless Microchip from any and all damages, claims, suits, or expenses resulting from such use. 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, Migratable Memory, MXDEV, MXLAB, 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, CodeGuard, dsPICDEM, dsPICDEM.net, dsPICworks, ECAN, ECONOMONITOR, FanSense, FlexROM, fuzzyLAB, In-Circuit Serial Programming, ICSP, ICEPIC, Linear Active Thermistor, Mindi, MiWi, MPASM, MPLIB, MPLINK, PICkit, PICDEM, PICDEM.net, PICLAB, PICtail, PowerCal, PowerInfo, PowerMate, PowerTool, REAL ICE, rfLAB, rfPICDEM, Select Mode, Smart Serial, SmartTel, Total Endurance, UNI/O, WiperLock and ZENA 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. (c) 2006, Microchip Technology Incorporated, Printed in the U.S.A., All Rights Reserved. Printed on recycled paper. Microchip received ISO/TS-16949:2002 certification for its worldwide headquarters, design and wafer fabrication facilities in Chandler and Tempe, Arizona, Gresham, Oregon and Mountain View, California. The Company's quality system processes and procedures are for its PICmicro(R) 8-bit MCUs, KEELOQ(R) 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. (c) 2006 Microchip Technology Inc. DS80278A-page 7 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-4182-8400 Fax: 91-80-4182-8422 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 - Wels Tel: 43-7242-2244-3910 Fax: 43-7242-2244-393 Denmark - Copenhagen Tel: 45-4450-2828 Fax: 45-4485-2829 China - Chengdu Tel: 86-28-8676-6200 Fax: 86-28-8676-6599 India - Pune Tel: 91-20-2566-1512 Fax: 91-20-2566-1513 France - Paris 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 Japan - Yokohama Tel: 81-45-471- 6166 Fax: 81-45-471-6122 Germany - Munich Tel: 49-89-627-144-0 Fax: 49-89-627-144-44 China - Hong Kong SAR Tel: 852-2401-1200 Fax: 852-2401-3431 Korea - Gumi Tel: 82-54-473-4301 Fax: 82-54-473-4302 China - Qingdao Tel: 86-532-8502-7355 Fax: 86-532-8502-7205 Korea - Seoul Tel: 82-2-554-7200 Fax: 82-2-558-5932 or 82-2-558-5934 Asia Pacific Office Suites 3707-14, 37th Floor Tower 6, The Gateway Habour City, Kowloon Hong Kong Tel: 852-2401-1200 Fax: 852-2401-3431 Atlanta Alpharetta, GA Tel: 770-640-0034 Fax: 770-640-0307 Boston Westborough, MA Tel: 774-760-0087 Fax: 774-760-0088 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 Los Angeles Mission Viejo, CA Tel: 949-462-9523 Fax: 949-462-9608 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 China - Wuhan Tel: 86-27-5980-5300 Fax: 86-27-5980-5118 China - Xian Tel: 86-29-8833-7250 Fax: 86-29-8833-7256 Malaysia - Penang Tel: 60-4-646-8870 Fax: 60-4-646-5086 Philippines - Manila Tel: 63-2-634-9065 Fax: 63-2-634-9069 Italy - Milan Tel: 39-0331-742611 Fax: 39-0331-466781 Netherlands - Drunen Tel: 31-416-690399 Fax: 31-416-690340 Spain - Madrid Tel: 34-91-708-08-90 Fax: 34-91-708-08-91 UK - Wokingham Tel: 44-118-921-5869 Fax: 44-118-921-5820 Singapore Tel: 65-6334-8870 Fax: 65-6334-8850 Taiwan - Hsin Chu Tel: 886-3-572-9526 Fax: 886-3-572-6459 Taiwan - Kaohsiung Tel: 886-7-536-4818 Fax: 886-7-536-4803 Taiwan - Taipei Tel: 886-2-2500-6610 Fax: 886-2-2508-0102 Thailand - Bangkok Tel: 66-2-694-1351 Fax: 66-2-694-1350 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 06/08/06 DS80278A-page 8 (c) 2006 Microchip Technology Inc.