Microchip ATmega16 Handleiding


Lees hieronder de 📖 handleiding in het Nederlandse voor Microchip ATmega16 (43 pagina's) in de categorie Niet gecategoriseerd. Deze handleiding was nuttig voor 13 personen en werd door 2 gebruikers gemiddeld met 4.5 sterren beoordeeld

Pagina 1/43
Migration Guide
Migration from the megaAVR® to AVR® Dx Microcontroller
Families
Introduction
Author: Cristian Pop, Microchip Technology Inc.
This document will help application designers familiar with the megaAVR
® families to migrate to the AVR® Dx MCU
families, covering both differences and similarities. The comparison is applicable for most of the megaAVR vs. the
AVR Dx products but, in this document, the focus is on the ATmega128 and AVR128DA64, two generations of 128
KB Flash MCUs available in 64-pin packages.
Most of the AVR Dx peripherals are functionally compatible with the megaAVR peripherals (including WDT, RTC, AC,
ADC, SPI, USART, TWI, and Timers), but updates to the source code will be required when migrating. The following
sections provide details on a few updates, but the migrated code must be fully tested to ensure the target
application's intended behavior is the same. The megaAVR and AVR Dx families are not pin-to-pin compatible.
For the AVR Dx family, the names of the pins are the same, but their position has changed from the megaAVR family.
For more details, see the and sections, respectively, in the data sheet of each device.Pin Configurations Pinout
© 2020 Microchip Technology Inc. Application Note DS00003731A-page 1
Table of Contents
Introduction.....................................................................................................................................................1
1. Relevant Devices.................................................................................................................................... 3
2. Common Peripherals.............................................................................................................................. 4
2.1. Common Peripherals....................................................................................................................4
2.2. System ........................................................................................................................................ 5
2.3. Memories......................................................................................................................................8
2.4. I/O Ports and Pinouts................................................................................................................... 9
2.5. Timers.........................................................................................................................................12
2.6. RTC - Real-Time Counter...........................................................................................................18
2.7. SPI..............................................................................................................................................20
2.8. USART....................................................................................................................................... 21
2.9. TWI - Two-Wire Serial Interface................................................................................................. 23
2.10. AC - Analog Comparator............................................................................................................26
2.11. ADC - Analog-to-Digital Converter............................................................................................. 28
2.12. WDT - Watchdog Timer..............................................................................................................30
3. AVR® Dx - Additional Peripherals......................................................................................................... 32
3.1. Overview.................................................................................................................................... 32
3.2. DAC - Digital-to-Analog Converter............................................................................................. 32
3.3. CCL - Configurable Custom Logic .............................................................................................33
3.4. EVSYS - Event System..............................................................................................................33
3.5. CRCSCAN - Cyclic Redundancy Check Memory Scan............................................................. 33
3.6. ZCD - Zero-Cross Detector........................................................................................................ 34
3.7. PTC - Peripheral Touch Controller............................................................................................. 34
3.8. MVIO - Multi-Voltage I/O............................................................................................................ 35
3.9. OPAMP - Analog Signal Conditioning........................................................................................ 36
4. References............................................................................................................................................38
5. Revision History.................................................................................................................................... 39
The Microchip Website.................................................................................................................................40
Product Change Notification Service............................................................................................................40
Customer Support........................................................................................................................................ 40
Microchip Devices Code Protection Feature................................................................................................40
Legal Notice................................................................................................................................................. 41
Trademarks.................................................................................................................................................. 41
Quality Management System....................................................................................................................... 42
Worldwide Sales and Service.......................................................................................................................43
Migration Guide
© 2020 Microchip Technology Inc. Application Note DS00003731A-page 2
1. Relevant Devices
This section lists the relevant devices for this document. The following figures show the different family devices,
laying out pin count variants and memory sizes:
• Vertical migration upwards is possible without code modification, as these devices are pin-compatible and
provide the same or more features
• Horizontal migration to the left reduces the pin count and, therefore, the available features
• Devices with different Flash memory sizes typically also have different SRAM and EEPROM
Figure 1-1. megaAVR® Family Overview
16 KB
40/44 Pins
ATmega32
64
ATmega16
ATmega64
32 KB
64 KB
Flash
128 KB
ATmega128
Figure 1-2. AVR® DA Family Overview
AVR64DA28
AVR128DA28
AVR32DA28
AVR128DA32 AVR128DA48 AVR128DA64
AVR64DA32 AVR64DA48 AVR64DA64
AVR32DA32 AVR32DA48
32 KB
28 48 64 32
64 KB
128 KB
Figure 1-3. AVR® DB Family Overview
Pins
Flash
AVR64DB28
AVR128DB28
AVR32DB28
AVR128DB32 AVR128DB48 AVR128DB64
AVR64DB32 AVR64DB48 AVR64DB64
AVR32DB32 AVR32DB48
28 48 64 32
32 KB
64 KB
128 KB
Migration Guide
Relevant Devices
© 2020 Microchip Technology Inc. Application Note DS00003731A-page 3


Product specificaties

Merk: Microchip
Categorie: Niet gecategoriseerd
Model: ATmega16

Heb je hulp nodig?

Als je hulp nodig hebt met Microchip ATmega16 stel dan hieronder een vraag en andere gebruikers zullen je antwoorden




Handleiding Niet gecategoriseerd Microchip

Handleiding Niet gecategoriseerd

Nieuwste handleidingen voor Niet gecategoriseerd