AVR532: Migration from ATmega48/88/168 to ATmega48A/88A/168A. 8-bit Microcontrollers. Application Note. 1 Introduction

Similar documents
APPLICATION NOTE. Atmel AVR536: Migration from ATmega644 to ATmega644A. 8-bit Atmel Microcontrollers. Introduction

AVR1503: Xplain training - XMEGA Programmable Multi Interrupt Controller 8-bit Microcontrollers Application Note Prerequisites

AVR1922: Xplain Board Controller Firmware 8-bit Microcontrollers Application Note Features 1 Introduction

AVR1303: Use and configuration of IR communication module. 8-bit Microcontrollers. Application Note. Features. 1 Introduction

AVR32752: Using the AVR32 UC3 Static Memory Controller. 32-bit Microcontrollers. Application Note. Features. 1 Introduction

AVR32917: picopower Board getting started. 32-bit Microcontrollers. Application Note. Preliminary. Features. 1 Introduction

8-bit Microcontroller with 16K Bytes In-System Programmable Flash. ATtiny87 ATtiny167 Automotive

AVR32901: EVKLCD100/EVKLCD101 Hardware User's Guide. 32-bit Microcontrollers. Application Note. Features. 1 Introduction

One-channel Toggle-mode Touch Sensor IC with Power Management Functions AT42QT1012. Summary

AVR1501: Xplain training XMEGA Timer/Counter 8-bit Microcontrollers Application Note Prerequisites 1 Introduction

a clock signal and a bi-directional data signal (SCL, SDA)

AVR1315: Accessing the XMEGA EEPROM. 8-bit Microcontrollers. Application Note. Features. 1 Introduction

AVR1508: Xplain training - XMEGA DAC 8-bit Microcontrollers Application Note Features 1 Introduction

AVR097: Migration between ATmega128 and ATmega1281/ATmega bit Microcontrollers. Application Note. Features. 1 Introduction

AT697E. Application Note. Checking AT697E Code for Occurrence of LDF/FPOPd Instructions Sequence with a dependency on an Odd-Numbered Register

8-bit Microcontroller with 2K/4K/8K Bytes In-System Programmable Flash. Appendix A. Preliminary. ATtiny261 ATtiny461 ATtiny861 Automotive

8-megabyte, 4-megabyte, and 2-megabyte 2.7-volt Only DataFlash Cards AT45DCB008D AT45DCB004D AT45DCB002D. Not Recommended for New Design

APPLICATION NOTE. Atmel AT01080: XMEGA E Schematic Checklist. Atmel AVR XMEGA E. Features. Introduction

AVR1518: XMEGA-A1 Xplained Training - XMEGA Clock System. 8-bit Atmel Microcontrollers. Application Note. Prerequisites.

AVR32401: AVR32 AP7 Linux Interfacing DataFlash. 8-bit Microcontrollers. Application Note. Features. 1 Introduction

AVR based 125kHz RFID Evaluation Kit (Re)Programming Guide ATA2270-EK1. Overview. Fuse Settings: ISP Programming

Atmel QT600 Quick Start Guide Touch Solutions

Atmel LF-RFID Kit Comparison Chart. Application Note. Atmel LF-RFID Kit Comparison Chart. 1. Description

APPLICATION NOTE. Atmel AVR1638: XMEGA RTC Calibration. 8-bit Atmel Microcontrollers. Features. Introduction

ATDH2200E Programming Kit... User Guide

AT91 ARM Thumb Microcontrollers. Application Note. Using the ECC Controller on AT91SAM9260/9263 and AT91SAM7SE Microcontrollers. 1.

AT91 ARM Thumb-based Microcontroller. Application Note. AT91SAM7X and AT91SAM7XC Microcontroller Series Schematic Check List. 1.

Atmel AVR1619: XMEGA-B1 Xplained Demonstration. 8-bit Atmel Microcontrollers. Application Note. Features. 1 Introduction

APPLICATION NOTE. Atmel AT03160: Migrating Bootloader from ATxmega128A1 to other Atmel XMEGA Devices. Atmel AVR XMEGA. Features.

Embedded AVR Microcontroller Including RF Transmitter and Immobilizer LF Functionality for Remote Keyless Entry ATA5795. Summary.

Atmel AVR32847: Migration from/to the UC3L0 64/32/16 from/to the UC3L0 256/ bit Atmel Microcontrollers. Application Note.

APPLICATION NOTE. AT03324: Atmel REB212BSMA-EK Quick Start Guide. Atmel MCU Wireless. Introduction

STK521. User Guide B AVR 01/12

Hardware Prerequisites Atmel Xplained Pro Evaluation Kit Atmel WINC1500 extension USB Micro Cable (TypeA / MicroB)

APPLICATION NOTE. Atmel AVR057: Internal RC Oscillator Calibration for ATtiny4/5/9/10/20/40. 8-bit Atmel Microcontrollers. Features.

64K (8K x 8) High Speed Parallel EEPROM with Page Write and Software Data Protection AT28HC64BF

CAN Microcontrollers. Application Note. Migrating from T89C51CC01 to AT89C51CC03. Feature Comparison

AVR469: MC301 Hardware User Guide. 8-bit Microcontrollers. Application Note. Features. 1 Introduction

Atmel CryptoAuthentication Starter Kit

APPLICATION NOTE. Atmel AT02260: Driving AT42QT1085. Atmel QTouch. Features. Description

AVR4018: Inertial Two (ATAVRSBIN2) Hardware User's Guide. 8-bit Microcontrollers. Application Note. Features. 1 Introduction

1-megabit (128K x 8) Paged Parallel EEPROM AT28C010

AT17F Series. Application Note. Programming Circuits for AT17F Series Configurators with Xilinx FPGAs. 1. Introduction

CAN, 80C51, AVR, Microcontroller. Application Note

Interfacing the internal serial EEPROM

APPLICATION NOTE. Atmel AT03304: SAM D20 I 2 C Slave Bootloader SAM D20. Description. Features

Atmel AVR473: ATAVRSB202 Hardware User Guide. 8-bit Atmel Microcontrollers. Application Note. Features. 1 Introduction

APPLICATION NOTE. Atmel AVR3009: Driving QTouch Device with I 2 C Interface. Atmel QTouch. Introduction

AT91 ARM Thumb Microcontrollers. Application Note. AT91 Host Flash Loader. 1. Package Contents. 2. Definition of Terms. 3.

AVR32015: AVR32 Studio getting started. 32-bit Microcontrollers. Application Note. Features. 1 Introduction

AVR42789: Writing to Flash on the New tinyavr Platform Using Assembly

AVR515: Migrating from ATmega48/88/168 and ATmega48P/88P/168P/328P to ATtiny48/88. 8-bit Microcontrollers. Application Note. Features.

8-bit Microcontroller. Application Note. AVR320: Software SPI Master

AVR32 UC3 Software Framework... User Manual

Rad Hard FPGA. AT40KEL-DK Design Kit Content. Description. Kit Content. Reference Material. Support

Atmel AT697F. Rad-Hard 32-bit SPARC v8 Processor ERRATA SHEET. Active Errata List

32Kbytes on-chip SRAM. Viterbi decoding and CRC PRIME compliant 128-bit AES encryption Channel sensing and collision pre-detection

Application Note. Microcontrollers. Using Keil FlashMon Emulator with AT89C51CC01/03 AT89C51CC01/ Summary. 2. Background overview

AT89ISP Programmer Cable Introduction AT89ISP Programmer Cable Parallel Port Settings Application Note AT89ISP Software AT89ISP Cable polarized

Power Management and Analog Companions (PMAAC) Application Note. AT73C240 Power-On and Power-Off Sequences. 1. Scope. 2. Operating Conditions

APPLICATION NOTE. Atmel AT03782: Using Low Power Modes in SAM4N Microcontroller. Atmel 32-bit Microcontroller. Features.

64K (8K x 8) Battery-Voltage Parallel EEPROM with Page Write and Software Data Protection AT28BV64B

OLED display with pixels resolution Ambient light sensor CPU load Analog filter Quadrature Encoder with push button Digital I/O

AT89C51CC03 UART Bootloader

Atmel AVR1926: XMEGA-B1 Xplained Getting Started Guide. 8-bit Atmel Microcontrollers. Application Note. Features. 1 Introduction

ATA2270-EK1. User Guide

AVR ONE!... Quick-start Guide. EVK Windows 32103C AVR ONE! 02/10

AT60142H/HT. Rad-Hard 512Kx8 Very Low Power CMOS SRAM ERRATA-SHEET. Active Errata List. Errata History. Abbreviations. 1.

Atmel AVR ATxmega384C3 microcontroller OLED display with 128x32 pixels resolution Analog sensors. Ambient light sensor Temperature sensor

APPLICATION NOTE. AT11008: Migration from ATxmega16D4/32D4 Revision E to Revision I. Atmel AVR XMEGA. Introduction. Features

USER GUIDE. Wireless Production Test Reference Protocol Specification Document. Atmel MCU Wireless. Description

Native route discovery algorithm

Trusted Platform Module AT97SC3203S. SMBus Two-Wire Interface. Summary

512K (64K x 8) 3-volt Only Flash Memory AT29LV512

APPLICATION NOTE. Atmel AVR116: Wear Leveling on DataFlash. 32-bit Atmel Microcontrollers. Features. Description. Wear leveling

QTouch 8-key Touch Sensor IC AT42QT1085. Summary

Atmel AT697F. Rad-Hard 32-bit SPARC v8 Processor ERRATA SHEET. Active Errata List

4-megabit (512K x 8) 5-volt Only 256-byte Sector Flash Memory AT29C040A

AVR32817: Getting Started with the 32-bit AVR UC3 Software Framework lwip TCP/IP Stack. 32-bit Microcontrollers. Application Note.

AVR134: Real Time Clock (RTC) Using the Asynchronous Timer. Features. Introduction. AVR 8-bit Microcontrollers APPLICATION NOTE

Atmel ATMXT143E touchscreen controller Capacitive touch ITO 320 x 240 pixel LCD display with SPI interface LED backlight

APPLICATION NOTE. Atmel AVR2131: Lightweight Mesh Getting Started Guide. Atmel MCU Wireless. Features. Description

Section 5 SERCOM. Tasks SPI. In this section you will learn:

2-megabit (256K x 8) 5-volt Only Flash Memory AT29C020

Rad Hard 16 MegaBit 3.3V SRAM Multi- Chip Module AT68166H

AT21CS Series Reset and Discovery. Introduction. Serial EEPROM APPLICATION NOTE

1-megabit (128K x 8) 3-volt Only Flash Memory AT29LV010A

Atmel AVR1924: XMEGA-A1 Xplained Hardware User's Guide. 8-bit Atmel Microcontrollers. Application Note. Preliminary. Features.

AT91 ARM Thumb Microcontrollers. Application Note. Migrating to an AT91SAM9G20-based System from an AT91SAM9260-based System. 1. Scope. 2.

2-megabit (256K x 8) Single 2.7-volt Battery-Voltage Flash Memory AT29BV020

High-performance Electrically Erasable Programmable Logic Device

AT73C246-EK1 Evaluation Kit... User Guide

AVR2015: RZRAVEN Quick Start Guide. 8-bit Microcontrollers. Application Note. Features. 1 Introduction

8051 Microcontrollers. Application Note. Migration from AT89C5131 & AT89C5131A-L to AT89C5131A-M

AVR1512: XMEGA-A1 Xplained training - XMEGA Basics. 8-bit Atmel Microcontrollers. Application Note. Prerequisites. 1 Introduction

AVR501: Replacing ATtiny15 with ATtiny25. 8-bit Microcontrollers. Application Note PRELIMINARY. Features. 1 Introduction

OLED display Sensors readout. Light sensor Temperature sensor

AT03975: Getting Started with SAM L21. Descripton. Features. SMART ARM-Based Microcontroller APPLICATION NOTE

8-bit RISC Microcontroller. Application Note. AVR151: Setup And Use of The SPI

Getting Started with the SAM4L-EK Demo

Transcription:

AVR532: Migration from ATmega48/88/168 to ATmega48A/88A/168A 1 Introduction The ATmega48A/88A/168A is a functionally identical, drop-in replacement for the ATmega48/88/168. All devices are subject to the same qualification process and same set of production tests, but as the manufacturing process is not the same some electrical characteristics differ. ATmega48/88/168 and ATmega48A/88A/168A have separate datasheets. This application note outlines the differences between the two devices and the datasheets. There is also a detailed change log to assist the user at the end of the ATmega48A/88A/168A datasheet. Remember to always use the latest revision of the device datasheet. Minor differences in typical characteristics are not discussed in this document as long as the low and high limits remain the same. For detailed information about the typical characteristics, see sections Electrical Characteristics and Typical Characteristics of the device datasheets. 8-bit Microcontrollers Application Note Note: This application note serves as a guide to ease migration. For complete device details, always refer to the most recent version of the ATmega48A/88A/168A data sheet. Rev.

2 Changes in Characteristics This section outlines such differences in characteristics that may have an effect on the application in which the device is used. For detailed information, refer to the most recent version of the device data sheets. 2.1 Reset The table below summarizes the differences between the reset threshold parameters of ATmega48/88/168 and that of ATmega48A/88A/168A. Table 2-4. Power-On Reset threshold voltage Symbol ATmega48/88/168 ATmega48A/88A/168A Min Typ Max Min Typ Max Unit V POT Rising 0.7 1.0 1.4 1.1 1.4 1.6 V V POT Falling 0.05 0.9 1.3 0.6 1.3 1.6 V 2.2 TWI 2.3 Analog MUX errata If another interrupt (e.g., INT0) occurs during TWI Power-down address match and wakes up the CPU in ATmega48/88/168, the TWI aborts operation and return to it s idle state. This limitation is not present in ATmega48A/88A/168A In ATmega48A/88A/168A there is an errata affecting the analog MUXes. When migrating from ATmega48/88/168 it must be checked if this errata will affect program execution and the documented workaround should be applied. See the errata section of the ATmega48A/88A/168A data sheet for details. 2.4 Low-frequency Crystal Oscillator In ATmega48A/88A/168A the crystal driver strength of the Low Frequency Crystal Oscillator is reduced compared to the ATmega48/88/168. This means that when selecting a crystal, its load capacitance and Equivalent Series Resistance (ESR) must be taken into consideration. Both values are specified by the crystal vendor. The internal capacitance of ATmega48A/88A/168A low-frequency oscillator is typically 6pF, but the tracks to the crystal will add some additional capacitance. Table 2-5 shows the ESR recommendations for ATmega48A/88A/168A. 2 AVR532

AVR532 Table 2-5. ESR recommendation for 32.768 khz crystals for ATmega48A/88A/168A. Note: Crystal CL [pf] Max ESR 1 [kω] 6.5 75 9 65 12.5 30 1. The values stated are for an oscillator allowance safety margin of 5. Since the oscillator s transconductance is temperature compensated one can use a safety margin of 4, thus giving a max ESR of 90, 80 and 40 kω respectively. For examples of crystals the comply with the requirements see Appendix A The startup times are increased as shown in Table 2-6. Table 2-6. Startup times with 32.768 khz crystals. Crystal CL [pf] Startup time 2 [ms] Atmega48/88/168 Startup time 2 [ms] Atmega48A/88A/168A 6.5-600 9 300 700 12.5 400 1700 Note: 2. Crystals usually need ~3000ms before they are completely stable with any oscillator design. The time stated is before the crystal is running with a sufficient amplitude and frequency stability. 3

3 Appendix A Table 4-1 is a selection of crystals that meet the ESR requirements of the ATmega48A/88A/168A. The crystals are listed based on datasheet information and are not tested with the actual device. Any other crystal that complies with the ESR requirements can also be used. Availability and RoHS compliance has not been investigated. Table 4-1. Examples of crystals compliant with ATmega48P/88P/168P low-frequency Crystal Oscillator. Vendor Type Mounting (SMD/HOLE) Frequency Tolerance [±ppm] Load Capacitance [pf] Equivalent Series Resistance (ESR) [kω] C-MAC WATCH CRYSTALS HOLE 20 6 50 C-MAC 85SMX SMD 20 6 55 C-MAC 90SMX SMD 20 6 60 ECLIPTEK E4WC HOLE 20 6 50 ENDRICH 90SMX SMD 5 6 50 EPSON C-001R HOLE 20 6 -> 12.5 (specify) 35 EPSON C-002RX HOLE 20 6 -> 10 (specify) 50 EPSON C-004R HOLE 20 6 -> 10 (specify) 50 EPSON C-005R HOLE 20 6 -> 10 (specify) 50 EPSON MC-30A SMD 20 6 -> 10 (specify) 50 EPSON MC-306 SMD 20 6 -> 10 (specify) 50 EPSON MC-405 SMD 20 6 -> 10 (specify) 50 EPSON MC-406 SMD 20 6 -> 10 (specify) 50 GOLLEDGE GWX HOLE 5 6, 8 or 12.5 35 GOLLEDGE GSWX-26 SMD 10 6, 8 or 12.5 35 GOLLEDGE GDX1 HOLE 10 6 42 GOLLEDGE GSX-200 SMD 5 6 50 IQD WATCH CRYSTALS HOLE 20 6 50 IQD 90SMX HOLE 10 6 60 IQD 91SMX HOLE 10 6 60 MICROCRYSTAL MS3V-T1R HOLE 20 7 or 9 65 MICROCRYSTAL MS2V-T1R HOLE 20 7 or 9 65 MICROCRYSTAL CC4V-T1A SMD 30 9 65 MICROCRYSTAL CC1V-T1A SMD 30 9 60 MICROCRYSTAL CC7V-T1A SMD 30 9 70 MMD WC26 HOLE 8 8 35 MMD WC38 HOLE 8 8 35 MMD WC155 HOLE 8 8 40 MMD WCSMC SMD 20 6 50 OSCILENT SERIES 111 HOLE 10 6 or 12.5 30 OSCILENT SERIES 112 HOLE 10 6 or 12.5 40 4 AVR532

Vendor Type Mounting (SMD/HOLE) Frequency Tolerance [±ppm] Load Capacitance [pf] AVR532 Equivalent Series Resistance (ESR) [kω] OSCILENT SERIES 113 HOLE 10 8 40 OSCILENT SERIES 223 SMD 20 6 50 RALTRON SERIES R38 HOLE 5 6 or 12.5 35 RALTRON SERIES R26 HOLE 5 6 or 12.5 35 RALTRON SERIES R145 HOLE 5 8 40 RALTRON SERIES RSE A, B, C, D SMD 20 6 50 SBTRON SBX-13 SMD 20 6 50 SBTRON SBX-20 SMD 20 6 50 SBTRON SBX-21 SMD 20 6 50 SBTRON SBX-24 SMD 20 6 50 SBTRON SBX-23 SMD 20 6 50 SBTRON SBX-22 SMD 20 6 50 SBTRON SBX-14 HOLE 20 6 50 SUNTSU SCT1 HOLE 20 6, 8, 10 or 12.5 40 SUNTSU SCT2 HOLE 20 6, 8, 10 50 SUNTSU SCT3 HOLE 20 6, 8, 10 50 SUNTSU SCP1 SMD 20 6 50 SUNTSU SCT2G SMD 20 6 or 10 50 5

Disclaimer Headquarters International Atmel Corporation 2325 Orchard Parkway San Jose, CA 95131 USA Tel: 1(408) 441-0311 Fax: 1(408) 487-2600 Atmel Asia Unit 1-5 & 16, 19/F BEA Tower, Millennium City 5 418 Kwun Tong Road Kwun Tong, Kowloon Hong Kong Tel: (852) 2245-6100 Fax: (852) 2722-1369 Atmel Europe Le Krebs 8, Rue Jean-Pierre Timbaud BP 309 78054 Saint-Quentin-en- Yvelines Cedex France Tel: (33) 1-30-60-70-00 Fax: (33) 1-30-60-71-11 Atmel 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 Product Contact Web Site http://www.atmel.com/ Technical Support avr@atmel.com Sales Contact www.atmel.com/contacts Literature Request www.atmel.com/literature Disclaimer: The information in this document is provided in connection with Atmel products. No license, express or implied, by estoppel or otherwise, to any intellectual property right is granted by this document or in connection with the sale of Atmel products. EXCEPT AS SET FORTH IN ATMEL S TERMS AND CONDITIONS OF SALE LOCATED ON ATMEL S WEB SITE, ATMEL ASSUMES NO LIABILITY WHATSOEVER AND DISCLAIMS ANY EXPRESS, IMPLIED OR STATUTORY WARRANTY RELATING TO ITS PRODUCTS INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT. IN NO EVENT SHALL ATMEL BE LIABLE FOR ANY DIRECT, INDIRECT, CONSEQUENTIAL, PUNITIVE, SPECIAL OR INCIDENTAL DAMAGES (INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF PROFITS, BUSINESS INTERRUPTION, OR LOSS OF INFORMATION) ARISING OUT OF THE USE OR INABILITY TO USE THIS DOCUMENT, EVEN IF ATMEL HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. Atmel makes no representations or warranties with respect to the accuracy or completeness of the contents of this document and reserves the right to make changes to specifications and product descriptions at any time without notice. Atmel does not make any commitment to update the information contained herein. Unless specifically provided otherwise, Atmel products are not suitable for, and shall not be used in, automotive applications. Atmel s products are not intended, authorized, or warranted for use as components in applications intended to support or sustain life. 2009 Atmel Corporation. All rights reserved. Atmel, Atmel logo and combinations thereof, AVR, AVR logo and others, are the registered trademarks or trademarks of Atmel Corporation or its subsidiaries. Other terms and product names may be trademarks of others.