Migration from AT89C5131 & AT89C5131A-L to AT89C5131A-M This application note is a guide to assist current AT89C5131 & AT89C5131A-L users in converting existing designs to the AT89C5131A-M devices. In addition to the functional improvements, the electrical characteristics of the AT89C5131A-M have been improved with an extended power supply range. For detailed information on the product, please refer to the AT89C5131A-M product datasheet, available on the Atmel web site. 8051 Microcontrollers Application Note Rev. 4371B–USB–11/04 1 Feature Comparison The AT89C5131A-M is a new version of the AT89C5131 & AT89C5131A-L Flash USB microcontroller. The AT89C5131A-M is fully software compatible with the AT89C5131 & AT89C5131A-L, but thanks to the new extended power supply range (2.7V to 5.5V), the AT89C5131A-M can be integrated in both 5V or 3V environnement without any external voltage adaptation (regulators). An additional features of the AT89C5131A-M is a power monitor system that supervises the internal power-supply of the CPU core, on-chip memories and peripherals, and if needed, suspends their activity when the internal power supply falls below a safety threshold. The power monitor also generate an external reset out pulse, to warn the environment about power failure on the AT89C5131A-M. Pinout Comparison To allow the extended power supply range, the AT89C5131A-M requires two additional power supply pins (previously unconnected on the AT89C5131 & AT89C5131A-L): • The new UVSS pin (ground signal for USB pads) should be connected to GND. • The new UCAP pin, should be connected to a external capacitance of 1 µF. Figure 1. summarizes the typical application schematic for AT89C5131A-M devices. 2 Migration from AT89C5131/A-L to AT89C5131A-M 4371B–USB–11/04 Migration from AT89C5131/A-L to AT89C5131A-M Figure 1. Typical application VDD 100nF VSS VSS AVDD 1.5K VSS VDD VDD USB 100nF 4.7µF VRef VBUS 27R D+ 27R DGND D+ Customer Application DUVSS VSS XTAL1 22pF UCAP 1µF Q 22pF 20%+ 100R AVSS PLLF VSS VSS 2.2nF VSS XTAL2 10nF VSS VSS VSS Required modifications from AT89C5131 & AT89C5131A-L-L Package Consideration Note: Even used within the 3V power suply range, the UCAP and UVSS pins should be correctly connected. Note: UCAP should be connected as close as possible to the device. The following table summarizes the packages available for the two products. Product Packages AT89C5131 SO28, QFN48, PLCC52, VQFP64 AT89C5131A-L SO28, PLCC52, VQFP64 AT89C5131A-M QFN32, PLCC52, VQFP64, & Lead Free/Halogen Free VQFP64 3 4371B–USB–11/04 Migration from AT89C5131/A-L to AT89C5131A-M Starter Kit Modification The new AT89C5131A-M is fully supported with the AT89C5131 Evab 2_0_0, but users with AT89C5131 Evab 1_0_2 must modify their board to support the new AT89C5131AM device. The evolution consists in the following modifications: • Add a capacitance (1µF) on UCAP pin connected between UCAP and GMD • Connect UVSS pin to ground Figure 1. AT89C5131 Evab 1_0_2 bottom view Figure 2. AT89C5131 Evab 1_0_2 detail modification 4 4371B–USB–11/04 Atmel Corporation 2325 Orchard Parkway San Jose, CA 95131 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 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 Atmel Operations Memory 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 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 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 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 2004. All rights reserved. Atmel, the Atmel logo, andcombinations thereof are registered trademarks of Atmel Corporation or its subsidiaries. Other terms and product names in this document may be the trademarks of others. Printed on recycled paper. 4371B–USB–11/04 /xM