AT85C51SND3BX_14 ATMEL | Alldatasheet

Document overview

  • Manufacturer or author: Provided By ALLDATASHEET.COM(FREE DATASHEET DOWNLOAD SITE)
  • PDF pages: 4

Technical content

7656A–MP3–04/07 MP3 Microcontrollers AT85C51SND3Bx Errata Sheet Active AT85C51SND3Bx Errata List

  • I/O Ports – P0, P2, P4, P5 Read-Modify-Write
  • SIO Interface – Low Baudrate Data Reception Ready R eport
  • SPI Interface – DFC Usage Limitation
  • Battery Monitor – Bad Conversion Linearity
  • ISP – ISP Entry When Blanked Nand Flash
  • ISP – ISP USB enumeration on Windows ™ XP AT85C51SND3Bx Errata History AT85C51SND3Bx Errata Description 1. I/O Ports – P0, P2, P4, P5 Read-Modify-Write The P0, P2, P4, P5 implementation may lead to Input lock-up when using read- modify-write (RMW) instructions: ANL (logical AND, e.g., ANL P2,A) ORL (logical OR, e.g., ORL P2,A) XRL (logical EX-OR, e.g., XRL P2,A) JBC (jump if bit set and clear bit, e.g., JBC P2.1, LABEL) CPL (complement bit, e.g., CPL P2.0) INC (increment, e.g., INC P2) DEC (decrement, e.g., DEC P2) DJNZ (decrement and jump if not zero, e.g., DJNZ P2, LABEL) MOV PX.Y,C (move carry bit to bit Y of Port X) CLR PX.Y (clear bit Y of Port X) SETB PX.Y (set bit Y of Port X) Here is a normal I/O port RMW execution sequence: – Read the I/O port SFR (latch) – Modify the data – Write back the modified data to port SFR Now here is what is really executed, these instruct ions that should read the inter- nal latch read in fact the port data: – Read the I/O port data – Modify the data – Write back the modified data to port SFR Here is a detailed example: P0.0 is used as input (set low by external hardware ) while other P0 I/O are used as output. Following code may set P0.1 and leave other bits unaffected: setb P0.1; – before executing, P0 SFR= 1111 1101; P0 port= 1111 1 100 Lot Number Errata List All 1, 2, 3, 4, 5, 6

7656A–MP3–04/07 – after executing, P0 SFR= 1111 1110; P0 port= 1111 11 10 Now P0.0 is no more programmed as input. The latch content is set to 0 meaning the port is internally driven to low level like for an output. Workaround To avoid any conflict with port inputs, put all app lication inputs on same port. If this is not possib le, avoid using RMW instructions and rebuild such instruction by softwa re by taking care to set the Port SFR bit to 1 when writing back to SFR. 2. SIO Interface – Low Baudrate Data Reception Ready Report RI flag reset time too long after reading data into the reception FIFO. This may report bad data recep tion and lead to double read of received characters. This errata depends on the CPU frequency and the tr eatment done on the received character, it appears using polling mode and using low baudrate values. Workaround The goal of the workaround is to leave enough time to the RI flag to be reset to forbid a bad reception (RI=1) detection. Two workaround are proposed: – Limit the baudrate to high values, e.g. > 50Kbaud with Fosc= 12MHz, X2 mode and 12x oversampling factor. – Add a delay between two reads of a character. 3. SPI Interface – DFC Usage Limitation DFC transfers to SPI do not operate properly when DFC is clocked by PLL. Workaround Use DFC transfer only with DFC clocked by oscillator. 4. Battery Monitor – Bad Conversion Linearity Battery monitor reports bad linearity data. Workaround Use the VB4:0 value as threshold voltage conversion only, do not use it for full range voltage conversion. 5. ISP – ISP Entry When Blanked Nand Flash The ISP mode is not automatically started when firs t powered-up with new blanked Nand Flash. This case specially appears when in production. Workaround Use a key of the keyboard matrix to force ISP entry at power-up. This is achieved by connecting any column sig- nal to ISP pin. Then pressing the key connected to this column and to ROW 0 will assert the ISP pin. Note that this workaround forbids debug mode as ISP pin is also the OCDT pin. Solution is to add a 0 Ω resistor in order to insulate the OCDT pin from the keypad during debugging. For an example on how to apply the workaround, refer to the at85rfd-07 schematic.

7656A–MP3–04/07 6. ISP – ISP USB enumeration on Windows ™ XP When connecting the device to windows XP, an informational pop-up is opened near the status bar: This is a windows dummy message since ISP is done in full speed mode. Workaround None. Do not take care of this pop-up.

Printed on recycled paper. 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 Con ditions located on the Company’s web site. The Comp any assumes no responsibility for any errors which may appear in this document, reserves the right to change devices or specifications detai led herein at any time without notice, and does not make any commitment to update the informat ion contained herein. No licenses to patents or oth er intellectual property of Atmel are granted by the Company in connection with the sale of Atmel products, expressly or by implication. Atm el’s products are not authorized for use as critical components in life support devices or s ystems. Atmel Corporation Atmel Operations

2325 Orchard Parkway

San Jose, CA 95131, USA Tel: 1(408) 441-0311 Fax: 1(408) 487-2600 Regional Headquarters 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 Tsimshatsui

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 Memory San Jose, CA 95131, USA Tel: 1(408) 441-0311 Fax: 1(408) 436-4314 Microcontrollers San Jose, CA 95131, USA Tel: 1(408) 441-0311 Fax: 1(408) 436-4314 La Chantrerie BP 70602

44306 Nantes Cedex 3, France

13106 Rousset Cedex, France

1150 East Cheyenne Mtn. Blvd. Colorado Springs, CO 80906, USA 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 RF/Automotive Theresienstrasse 2 Postfach 3535

74025 Heilbronn, Germany

1150 East Cheyenne Mtn. Blvd. Colorado Springs, CO 80906, USA 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

www.atmel.com/literature 7656A–MP3–04/07 © 2007 Atmel Corporation. All rights reserved. Atmel ®, logo and combinations thereof, Everywhere You Are ® and others are registered trade- marks or trademarks of Atmel Corporation or its sub sidiaries. Other terms and product names may be tra demarks of others.