Active Errata List • • • • • • UART/Reception in Modes 1, 2 and 3/UART False Start Bits Detection During UART Reception, Clearing REN May Generate Unexpected IT JBC/Double IT When External IT Occurs During JBC Instruction Timer2/Downcounter Mode/Double IT With Slow External Clock Input Trigger Consumption/All C51 Type I/O Ports MOVX/Port0/Read Mode Errata History 8051 Microcontrollers TS80C51RB2 Lot Number Errata List ≤ 38584 T01, T02 ,T03, T04, T05, T06 > 38584 T02 ,T03, T04, T05, T06 TS87C51RB2 Lot Number Errata List ≤ 36425 T01, T02 ,T03, T04, T05, T06 > 36425 T02 ,T03, T04, T05, T06 TS87C51RB2 TS80C51RB2 Errata Sheet Errata Descriptions 1. UART/Reception in Modes 1, 2 and 3/UART False Start Bits Detection When a false start bit occurs on the UART, some UART internal signals are not reset. Then when a real start bit occurs, the sampling is shifted. Workaround None. 2. During UART Reception, Clearing REN May Generate Unexpected IT During UART reception, if the REN bit is clear between a start bit detection and the end of reception, the UART will not discard the data (RI is set). Workaround Test REN at the beginning of Interrupt routine just after CLR RI, and run the Interrupt routine code only if REN is set. 3. JBC/Double IT When External IT Occurs During JBC Instruction On polling algorithm in ISR on IE1 or IE0, when the external IT appears during JBC instruction, the flag is not cleared. On the next JBC instruction another IT is pending. Therefore, the same IT is seen twice. Workaround Use JB Instruction instead of JBC instruction to test bit and CLR instruction to clear it.n twice. Rev. 4154C–8051–04/03 1 4. Timer2/Downcounter Mode/Double IT with Slow External Clock Double IT with slow external clock in downcount mode. Timer 2 in 16-bit autoreload in count-down mode with external clock input two interrupts are generated successively with low frequency on clock input (typ 10-40 KHz). Workaround Reload FFFE into TH2-TL2 in ISR and count down to RCAP-1 (to recover cycle lost in ISR) Caution: do not work if initially RCAP = 0x0000 5. Input Trigger Consumption/All C51 Type I/O Ports Some static consumption in input triggers of I/O ports may occur when entries are driven close to the trigger threshold (1 mA to 2 mA for each I/O at Vin = 2.4V for Vcc = 5V) Workaround None. 6. Movx/Port0/Read Mode When reading External Ram using Movx instruction, Port0’s SFR may contain ‘0’ whereas any acces to external memories (data or program) should write ’1’ into them . ‘0’ is written to each bit of the Port0 buffers prior to a Movx access. This problem has no consequence when the Movx cycle is a write, as the correct value is immediately substitued and is present on Port0 during the duration of the write pulse (WR = 0). When the Movx is a read, the strong internal pull-down N transistor creates a short circuit with the external RAM buffer or peripheral when the RAM or peripheral reads ‘1’. Workaround Replace any movx A,@Ri instruction by the sequence: Replace any movx A,@DPTR instruction by the sequence: mov P0, #FFh mov P0, #FFh movx A, @Ri movx A, @DPTR 2 TSC8xRB2 4154C–8051–04/03 Atmel Headquarters Atmel Operations Corporate Headquarters Memory 2325 Orchard Parkway San Jose, CA 95131 TEL 1(408) 441-0311 FAX 1(408) 487-2600 Europe Atmel Sarl Route des Arsenaux 41 Case Postale 80 CH-1705 Fribourg Switzerland TEL (41) 26-426-5555 FAX (41) 26-426-5500 Asia Room 1219 Chinachem Golden Plaza 77 Mody Road Tsimhatsui East Kowloon Hong Kong TEL (852) 2721-9778 FAX (852) 2722-1369 Japan 9F, Tonetsu Shinkawa Bldg. 1-24-8 Shinkawa Chuo-ku, Tokyo 104-0033 Japan TEL (81) 3-3523-3551 FAX (81) 3-3523-7581 2325 Orchard Parkway San Jose, CA 95131 TEL 1(408) 441-0311 FAX 1(408) 436-4314 RF/Automotive Theresienstrasse 2 Postfach 3535 74025 Heilbronn, Germany TEL (49) 71-31-67-0 FAX (49) 71-31-67-2340 Microcontrollers 2325 Orchard Parkway San Jose, CA 95131 TEL 1(408) 441-0311 FAX 1(408) 436-4314 La Chantrerie BP 70602 44306 Nantes Cedex 3, France TEL (33) 2-40-18-18-18 FAX (33) 2-40-18-19-60 ASIC/ASSP/Smart Cards Zone Industrielle 13106 Rousset Cedex, France TEL (33) 4-42-53-60-00 FAX (33) 4-42-53-60-01 1150 East Cheyenne Mtn. Blvd. Colorado Springs, CO 80906 TEL 1(719) 576-3300 FAX 1(719) 540-1759 Biometrics/Imaging/Hi-Rel MPU/ High Speed Converters/RF Datacom Avenue de Rochepleine BP 123 38521 Saint-Egreve Cedex, France TEL (33) 4-76-58-30-00 FAX (33) 4-76-58-34-80 1150 East Cheyenne Mtn. Blvd. Colorado Springs, CO 80906 TEL 1(719) 576-3300 FAX 1(719) 540-1759 Scottish Enterprise Technology Park Maxwell Building East Kilbride G75 0QR, Scotland TEL (44) 1355-803-000 FAX (44) 1355-242-743 e-mail [email protected] Web Site http://www.atmel.com Disclaimer: Atmel Corporation makes no warranty for the use of its products, other than those expressly contained in the Company’s standard warranty which is detailed in Atmel’s Terms and Conditions located on the Company’s web site. The Company assumes no responsibility for any errors which may appear in this document, reserves the right to change devices or specifications detailed herein at any time without notice, and does not make any commitment to update the information contained herein. No licenses to patents or other intellectual property of Atmel are granted by the Company in connection with the sale of Atmel products, expressly or by implication. Atmel’s products are not authorized for use as critical components in life support devices or systems. © Atmel Corporation 2003. All rights reserved. Atmel ® and combinations thereof are the trademarks of Atmel Corporation or its subsidiaries. Other terms and product names may be the trademarks of others. Printed on recycled paper. 4154C–8051–04/03 /xM