View detail for Atmel AVR536: Migration from ATmega644 to ATmega644A

APPLICATION NOTE
Atmel AVR536: Migration from ATmega644 to
ATmega644A
8-bit Atmel Microcontrollers
Introduction
The Atmel ATmega644A is a functionally identical, drop-in replacement for the Atmel
ATmega644. 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.
ATmega644 and ATmega644A 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 ATmega644A 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.
Note:
This application note serves as a guide to ease migration. For complete device
details, always refer to the most recent version of the ATmega644A datasheet.
8279B−AVR−08/2012
1.
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.
1.1
Reset
Table 1-1 summarizes the differences between the reset threshold parameters of Atmel ATmega644 and that of Atmel
ATmega644A.
Table 1-1.
Power-on reset threshold voltage.
ATmega644
Symbol
1.2
ATmega644A
Unit
Min.
Typ.
Max.
Min.
Typ.
Max.
VPOT Rising
0.7
1.0
1.4
1.1
1.4
1.6
V
VPOT Falling
0.05
0.9
1.3
0.6
1.3
1.6
V
TWI
If another interrupt (for example, INT0) occurs during TWI power-down address match and wakes up the CPU in
ATmega644, the TWI aborts operation and return to it’s idle state.
This limitation is not present in ATmega644A.
1.3
JTAG ID
Table 1-2 summarizes the difference between the JTAG ID of ATmega644 and ATmega644A.
Table 1-2.
JTAG ID.
JTAG ID
1.4
Part
Part number
Manufacture ID
ATmega644
9609
0x1F
ATmega644A
960A
0x1F
Low-frequency crystal oscillator
In ATmega644A the crystal driver strength of the Low Frequency Crystal Oscillator is reduced compared to the
ATmega644. 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
ATmega644A low-frequency oscillator is typically 6pF, but the tracks to the crystal will add some additional
capacitance. Table 1-3 shows the ESR recommendations for ATmega644A.
Table 1-3.
Note:
1.
ESR recommendation for 32.768kHz crystals for Atmel ATmega644A.
Crystal CL [pF]
Max. ESR (1) [kΩ]
6.5
75
9
65
12.5
30
The values stated are for an oscillator allowance safety margin of five. Since the oscillator’s
transconductance is temperature compensated one can use a safety margin of four, thus giving a max.
ESR of 90, 80 and 40kΩ respectively.
For examples of crystals that comply with the requirements see Appendix A.
The startup times are increased as shown in Table 1-4.
Atmel AVR536: Migration from ATmega644 to ATmega644A [APPLICATION NOTE]
8279B−AVR−08/2012
2
Table 1-4.
Note:
1.
Startup times with 32.768kHz crystals.
Crystal CL [pF]
Startup time (1) [ms]
Atmel ATmega644
Startup time (1) [ms]
Atmel ATmega644A
6.5
-
600
9
300
700
12.5
400
1700
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.
Atmel AVR536: Migration from ATmega644 to ATmega644A [APPLICATION NOTE]
8279B−AVR−08/2012
3
Appendix A.
Table 1-5 is a selection of crystals that meet the ESR requirements of the Atmel ATmega644A. 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 1-5.
Examples of crystals compliant with Atmel ATmega48P/88P/168P low frequency crystal oscillator.
Mounting
(SMD/HOLE)
Frequency
tolerance [±ppm]
Load
capacitance [pF]
Equivalent series
resistance (ESR) [kΩ]
WATCH CRYSTALS
HOLE
20
6
50
85SMX
SMD
20
6
55
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
OSCILENT
SERIES 113
HOLE
10
8
40
OSCILENT
SERIES 223
SMD
20
6
50
Vendor
Type
C-MAC
C-MAC
C-MAC
®
®
Atmel AVR536: Migration from ATmega644 to ATmega644A [APPLICATION NOTE]
8279B−AVR−08/2012
4
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
Atmel AVR536: Migration from ATmega644 to ATmega644A [APPLICATION NOTE]
8279B−AVR−08/2012
5
Atmel Corporation
Atmel Asia Limited
Atmel Munich GmbH
Atmel Japan G.K.
1600 Technology Drive
Unit 01-5 & 16, 19F
Business Campus
16F Shin-Osaki Kangyo Bldg.
San Jose, CA 95110
BEA Tower, Millennium City 5
Parkring 4
1-6-4 Osaki, Shinagawa-ku
USA
418 Kwun Tong Road
D-85748 Garching b. Munich
Tokyo 141-0032
Tel: (+1)(408) 441-0311
Kwun Tong, Kowloon
GERMANY
JAPAN
Fax: (+1)(408) 487-2600
HONG KONG
Tel: (+49) 89-31970-0
Tel: (+81)(3) 6417-0300
www.atmel.com
Tel: (+852) 2245-6100
Fax: (+49) 89-3194621
Fax: (+81)(3) 6417-0370
Fax: (+852) 2722-1369
© 2012 Atmel Corporation. All rights reserved. / Rev.: 8279B−AVR−08/2012
Atmel®, Atmel logo and combinations thereof, AVR®, Enabling Unlimited Possibilities®, and others are registered trademarks or trademarks of Atmel Corporation
or its subsidiaries. Other terms and product names may be trademarks of others.
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 THE ATMEL TERMS AND CONDITIONS OF SALES LOCATED ON THE ATMEL WEBSITE, 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 AND 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 products 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 products are not intended, authorized, or warranted for use as components in applications intended to support or sustain life.