Documents for ATxmega16D4


Datasheet

PDF

Software

Description

Atmel AVR XMEGA D

Atmel AVR XMEGA D Manual
(file size: 6.6MB, 315 pages, revision F, updated: 07/2014)

ATxmega128D4/64D4/32D4/16D4

ATxmega128D4/64D4/32D4/16D4 Complete
(file size: 21.2MB, 324 pages, revision P, updated: 01/2014)

Application Note

PDF

Software

Description

Atmel AT01080: XMEGA E Schematic Checklist

Atmel AT01080: XMEGA E Schematic Checklist
(file size: 249KB, 11 pages, revision A, updated: 04/2013)

This application note describes a common checklist which should be used when
starting and reviewing the schematics for an Atmel® AVR® XMEGA® E design.

Atmel AT01084: XMEGA E Using the XCL Module

Atmel AT01084: XMEGA E Using the XCL Module
(file size: 564KB, 35 pages, revision A, updated: 04/2013)

The Atmel® AVR® XMEGA® Custom Logic (XCL) is a new module on the XMEGA E devices. Using the two dedicated 8-bit timer/counter with the two configurable Look Up Tables, the user can generate any combinatorial or sequential logic expressions as well as proprietary protocols.

Atmel AT01482: XMEGA RTC Calibration

Atmel AT01482: XMEGA RTC Calibration
(file size: 382KB, 8 pages, revision A, updated: 04/2013)

This application note provide example software project which performs RTC calibration with help of an external accurate clock source. The software will calculate the RTC calibration value for connected RTC clock source.

Atmel AT01616: Using the WeX Timer/Counter Extension

Atmel AT01616: Using the WeX Timer/Counter Extension
(file size: 505KB, 30 pages, revision A, updated: 04/2013)

This application note describes the various functions of the Waveform Extension
(WeX) to Timer/Counter 4/5 available on the Atmel® AVR® XMEGA® E.

Atmel AT01617: Using the FAULT Timer/Counter Extension

Atmel AT01617: Using the FAULT Timer/Counter Extension
(file size: 2.1MB, 24 pages, revision A, updated: 04/2013)

This application note describes the various functions of the FAULT Extension to the Timer/Counter available on the Atmel® AVR® XMEGA® E. This extension provides a hardware control of switching applications. It also includes details on the differences and improvements according to Timer/Counters of the Atmel XMEGA A/B/C/D series (see the AVR1311: Using the XMEGA Timer/Counter Extensions application note for the XMEGA A/B/C/D series).

Atmel AT02509: In House Unit with Bluetooth Low Energy Module Hardware User Guide

Atmel AT02509: In House Unit with Bluetooth Low Energy Module Hardware User Guide

Atmel AT02509: In House Unit with Bluetooth Low Energy Module Hardware User Guide
(file size: 1MB, 14 pages, revision B, updated: 09/2013)

This application note describes the design details of the In House Unit (IHU) project. The IHU design with CSR Bluetooth Low Energy (BLE) module is a platform to evaluate the integration of the BLE module and the Atmel AVR XMEGA microcontroller. It contains a fixed inteface with BLE and LCD and demos the basic communication between them. It is quite easy for the user to get started using AVR XMEGA peripherals.

Atmel AT02657: XMEGA-E5 Xplained Software User Guide

Atmel AT02657: XMEGA-E5 Xplained Software User Guide
(file size: 1226KB, 13 pages, revision A, updated: 04/2013)

The Atmel® XMEGA®-E5 Xplained evaluation kit demo software is created to showcase the Atmel AVR® ATxmega32E5 device. The demo samples the light sensor connected on ADC and sent the values on the OLED display.

Atmel AT02667: XMEGA-E5 Xplained Hardware User Guide

Atmel AT02667: XMEGA-E5 Xplained Hardware User Guide

Atmel AT02667: XMEGA-E5 Xplained Hardware User Guide
(file size: 657KB, 14 pages, revision A, updated: 04/2013)

The Atmel® XMEGA-E5 Xplained kit is a MCU board for Atmel AVR® XMEGA®. It features an
ATxmega32E5 and additional components demonstrating the features of the device.

Atmel AT03152: Proximity Sensing for SAR

Atmel AT03152: Proximity Sensing for SAR
(file size: 160KB, 7 pages, revision B, updated: 08/2013)

This application note describes a capacitive proximity circuit which can be used to detect when a device is in contact or close proximity.

Atmel AT03160: Migrating Bootloader from ATxmega128A1 to other Atmel XMEGA Devices

Atmel AT03160: Migrating Bootloader from ATxmega128A1 to other Atmel XMEGA Devices
(file size: 632KB, 16 pages, revision A, updated: 07/2013)

This application note describes how to migrate bootloader from Atmel® ATxmega128A1 to other AVR® XMEGA® devices step by step.

Atmel AT03922: DALI Slave with XMEGA E - Software User's Guide

Atmel AT03922: DALI Slave with XMEGA E - Software User's Guide

Atmel AT03922: DALI Slave with XMEGA E - Software User's Guide
(file size: 438KB, 16 pages, revision B, updated: 01/2014)

This application shows DALI slave LED module function that compliant with standard IEC62386. Stack is in dali->dali_lib folder, drivers in ASF folder, and others are application. The slave should be controlled by master.

Atmel AT04204: Design a Buck Converter with XMEGA

Atmel AT04204: Design a Buck Converter with XMEGA
(file size: 776KB, 16 pages, revision A, updated: 09/2013)

The application note will introduce the working principle of the Buck converter, and give a guide on how to design a Buck converter with XMEGA E device in both hardware and firmware aspects.

Atmel AT06015: Production Programming of Atmel Microcontrollers

Atmel AT06015: Production Programming of Atmel Microcontrollers
(file size: 474KB, 13 pages, revision B, updated: 01/2014)

This application note provides an overview of 3rd party programming tools that can be used to program Atmel microcontrollers in small and large scale production environments. It also provides suggestions for suppliers of pre-programming services.

Atmel AT06409: DALI Master with ATxmega32E5 User Guide

Atmel AT06409: DALI Master with ATxmega32E5 User Guide

Atmel AT06409: DALI Master with ATxmega32E5 User Guide
(file size: 1.8MB, 25 pages, revision B, updated: 01/2014)

The kit offers a standard DALI Master features which follow the DALI protocol. It enables the Atmel AVR XMEGA user to get started using XMEGA peripherals right away and understand how to integrate the XMEGA device in their own design.

Atmel AT1886: Mixing Assembly and C with AVRGCC

Atmel AT1886: Mixing Assembly and C with AVRGCC

Atmel AT1886: Mixing Assembly and C with AVRGCC
(file size: 140KB, 8 pages, revision B, updated: 11/2012)

This application note describes how to mix both C and assembly code in an AVRGCC project using Atmel Studio 6 IDE. The application note is written from the perspective that C is the language of choice and assembly language is included in situations where it is either necessary or convenient.

Atmel AVR1017: XMEGA - USB Hardware Design Recommendations

Atmel AVR1017: XMEGA - USB Hardware Design Recommendations
(file size: 326KB, 12 pages, revision A, updated: 07/2012)

This document introduces a set of recommendations that cover the following technical topics:

  • USB 2.0 full speed and low speed electrical compliance
  • EFTB (electrical fast transient burst)
  • Global EMC performance

Atmel AVR1023: Migration from ATxmega32D4/16D4 revision B to revision E

Atmel AVR1023: Migration from ATxmega32D4/16D4 revision B to revision E
(file size: 117089, 9 pages, revision A, updated: 10/2011)

This application note is a guide to assist users of Atmel® AVR® ATxmega32D4/16D4 revision B in converting existing designs to ATxmega32D4/16D4 revision E. For complete device details, always refer to the most recent version of the ATxmega32D4/16D4 datasheet and the Atmel AVR® XMEGA® D manual.

Atmel AVR116: Wear Leveling on DataFlash

Atmel AVR116: Wear Leveling on DataFlash

Atmel AVR116: Wear Leveling on DataFlash
(file size: 629KB, 25 pages, revision A, updated: 07/2012)

This application note describes the use of the Flash Translation Layer (FTL) interface. It describes the features, structure and interface of the FTL library, and how to use this library in Atmel Studio. Flash memory has a limited program/erase lifecycle and programming and erasing the same block many times will result in bad blocks and shortened flash memory life. The intermediate software layer, FTL, addresses this issue.

Atmel AVR127: Understanding ADC parameters

Atmel AVR127: Understanding ADC parameters
(file size: 288KB, 20 pages, revision C, updated: 10/2013)

This application note discusses about the basic concepts of analog-to-digital converter (ADC) and the various parameters that determine the performance of an ADC. These ADC parameters are of good importance since they are a part of deciding the accuracy of the ADC's output.

Atmel AVR1300: Using the XMEGA ADC

AVR1300: Using the XMEGA ADC

Atmel AVR1300: Using the XMEGA ADC
(file size: 879KB, 27 pages, revision I, updated: 06/2013)

This application note describes the basic functionality of the Atmel® AVR® XMEGA® ADC with code examples to get up and running quickly. A driver interface written in C is included as well.

Atmel AVR1304: Using the XMEGA DMA Controller

AVR1304: Using the XMEGA DMA Controller

Atmel AVR1304: Using the XMEGA DMA Controller
(file size: 200KB, 11 pages, revision D, updated: 05/2013)

This application note describes the basic functionality of the XMEGA DMAC with code examples to get up and running quickly. A driver interface written in C is included as well.

Atmel AVR1324: XMEGA ADC Selection Guide

Atmel AVR1324: XMEGA ADC Selection Guide
(file size: 358012, 22 pages, revision A, updated: 10/2011)

Depending on the selected family, Atmel® AVR® XMEGA® devices offer two ADC types. Both are flexible modules suitable for a wide range of applications, such as data acquisition, embedded control, and general signal processing.

This application note describes these two ADC types and helps users to select the most suitable ADC for their application.

Atmel AVR1327: Two Wire Interface (TWI) Slave Bootloader for Atmel AVR XMEGA

Atmel AVR1327: Two Wire Interface (TWI) Slave Bootloader for Atmel AVR XMEGA

Atmel AVR1327: Two Wire Interface (TWI) Slave Bootloader for Atmel AVR XMEGA
(file size: 34261, 15 pages, revision A, updated: 09/2011)

This document discusses a general purpose Atmel® AVR® XMEGA® Bootloader that is first programmed into the ATxmega device.

Atmel AVR1605: XMEGA Boot Loader Quick Start Guide

Atmel AVR1605: XMEGA Boot Loader Quick Start Guide

Atmel AVR1605: XMEGA Boot Loader Quick Start Guide
(file size: 765KB, 15 pages, revision B, updated: 07/2014)

This application note describes how to use a boot loader application with one of the Atmel® AVR® XMEGA® family devices (e.g. ATxmega128A1) and how an AVR with the Store Program Memory (SPM) instruction can be configured for Self-programming.

Atmel AVR1610: Guide to IEC 60730 Class B Compliance with XMEGA

Atmel AVR1610: Guide to IEC 60730 Class B Compliance with XMEGA

Atmel AVR1610: Guide to IEC 60730 Class B Compliance with XMEGA
(file size: 367KB, 25 pages, revision A, updated: 07/2012)

IEC 60730 is a safety standard for household appliances that addresses many aspects of both product design and operation. This standard is also referred to by other standards for safety-critical devices, for example, IEC 60335. System-wide compliance with this standard is necessary for an appliance to be certified as safe to operate. This application note is a guide to compliance with Annex H of the standard, which regards electronic controls.

Atmel AVR1612: PDI programming driver

Atmel AVR1612: PDI programming driver

Atmel AVR1612: PDI programming driver
(file size: 189335, 15 pages, revision A, updated: 11/2010)

This application note describes how to implement PDI programming. It is based on the Atmel® Xplain evaluation board and clarifies the protocol and timing of the PDI programming.

Atmel AVR1614: Widget Toolkit - Getting Started

AVR1614: Widget Toolkit - Getting Started

Atmel AVR1614: Widget Toolkit - Getting Started
(file size: 515KB, 13 pages, revision B, updated: 07/2012)

The aim of this document is to introduce the Window system and Widget toolkit (WTK) which is used in the Display Xplained software library.

Atmel AVR1622: TWI Boot Loader for XMEGA

Atmel AVR1622: TWI Boot Loader for XMEGA

Atmel AVR1622: TWI Boot Loader for XMEGA
(file size: 650264, 10 pages, revision A, updated: 09/2011)

This application note describes how to use boot loader of the Atmel® AVR® XMEGA® family of devices to update the application section and how XMEGA can be configured for self programming. The target device used for demonstration is the Atmel ATxmega128A1 on the Atmel STK®600.

Atmel AVR1629: XMEGA ADC Oversampling

Atmel AVR1629: XMEGA ADC Oversampling
(file size: 293KB, 12 pages, revision A, updated: 03/2012)

The XMEGA controller offers an analog to digital converter with 12-bit resolution. In most cases 12-bit resolution is sufficient, but in some cases higher accuracy is desired. Special signal processing techniques can be used to improve the resolution of the measurement. By using a method called ‘Oversampling and Decimation’ higher resolution might be achieved, without using an external ADC. For example by using 12-bit XMEGA ADC, a 16-bit result could be achieved with oversampling technique. This application note explains the method, and conditions needed to be fulfilled to make this method work properly. This application note also provides source code as per explained theory to achieve this oversampling technique.

Atmel AVR1631: Single Phase Energy Meter using XMEGA A

Atmel AVR1631: Single Phase Energy Meter using XMEGA A

Atmel AVR1631: Single Phase Energy Meter using XMEGA A
(file size: 1.7MB, 39 pages, revision A, updated: 11/2012)

This application note describes single-phase electronic energy meter solution with tamper detection logic. The design is low-cost and measures active power, apparent power, power factor, voltage, and current in a single-phase distribution environment.

Atmel AVR1636: Configurable PMSM Sensorless Field Oriented Control using the XMEGA

Atmel AVR1636: Configurable PMSM Sensorless Field Oriented Control using the XMEGA

Atmel AVR1636: Configurable PMSM Sensorless Field Oriented Control using the XMEGA
(file size: 2704KB, 46 pages, revision A, updated: 01/2013)

This application note describes a configurable 3-phase permanent magnet synchronous motor (PMSM) sensorless field oriented control implementation using the ATxmega16D4 microcontroller.

Atmel AVR1638: XMEGA RTC Calibration

Atmel AVR1638: XMEGA RTC Calibration
(file size: 248KB, 8 pages, revision A, updated: 11/2012)

This application note provide example software project which performs RTC calibration with help of an external accurate clock source. The software will calculate the RTC calibration value for connected RTC clock source for current environmental condition.

Atmel AVR1912: Atmel XMEGA-B1 Xplained Hardware User Guide

Atmel AVR1912: Atmel XMEGA-B1 Xplained Hardware User Guide

Atmel AVR1912: Atmel XMEGA-B1 Xplained Hardware User Guide
(file size: 845KB, 22 pages, revision A, updated: 06/2012)

The Atmel® AVR® XMEGA® B1 Xplained evaluation kit is a hardware platform to evaluate the Atmel ATxmega128B1 microcontroller.

The kit offers a larger range of features that enables the Atmel AVR XMEGA user to get started using Atmel AVR XMEGA peripherals right away and understand how to integrate the XMEGA device in their own design.

Atmel AVR1924: XMEGA A1 Xplained Hardware User Guide

Atmel AVR1924: XMEGA A1 Xplained Hardware User Guide

Atmel AVR1924: XMEGA A1 Xplained Hardware User Guide
(file size: 190KB, 13 pages, revision C, updated: 05/2012)

The Atmel® AVR® XMEGA® A1 Xplained evaluation kit is a hardware platform to evaluate the Atmel ATxmega128A1 microcontroller.

The kit offers a larger range of features that enables the Atmel AVR XMEGA user to get started using XMEGA peripherals right away and understand how to integrate the XMEGA device in their own design.

Atmel AVR1926: XMEGA-B1 Xplained Getting Started Guide

Atmel AVR1926: XMEGA-B1 Xplained Getting Started Guide
(file size: 1249975, 18 pages, revision A, updated: 10/2011)

The Atmel® AVR® XMEGA® B1 Xplained evaluation kit is a hardware platform to evaluate the Atmel ATxmega128B1 microcontroller.

The kit offers a larger range of features that enables the Atmel AVR XMEGA user to get started using Atmel AVR XMEGA peripherals right away and understand how to integrate the XMEGA device in their own design.

Atmel AVR1927: XMEGA-A1 Xplained Getting Started Guide

XMEGA-A1 Xplained Example Applications and USB driver

Atmel AVR1927: XMEGA-A1 Xplained Getting Started Guide
(file size: 739510, 17 pages, revision A, updated: 04/2011)

The Atmel® AVR® XMEGA® A1 Xplained evaluation kit is a hardware platform to evaluate the Atmel ATxmega128A1 microcontroller.

The kit offers a larger range of features that enables the Atmel AVR XMEGA user to get started using Atmel AVR XMEGA peripherals right away and understand how to integrate the XMEGA device in their own design.

Atmel AVR1932: XPLORE Hardware User's Guide

Atmel AVR1932: XPLORE Hardware User's Guide
(file size: 2821KB, 24 pages, revision A, updated: 07/2012)

The XPLORE evaluation kit/board is a well designed hardware platform to evaluate the Atmel AVR XMEGA family of the microcontrollers for its best analog performance.

Atmel AVR1934: XMEGA A3BU Xplained Software User Guide

Atmel AVR1934: XMEGA A3BU Xplained Software User Guide
(file size: 259076, 15 pages, revision A, updated: 09/2011)

The Atmel® AVR® XMEGA® A3BU Xplained evaluation kit demo software is created to showcase the XMEGA A3BU, touch button and LCD, using a simple menu navigation system, and small applications showcasing different features.

Atmel AVR1935: XMEGA A3BU Xplained Getting Started Guide

Atmel AVR1935: XMEGA A3BU Xplained Getting Started Guide
(file size: 302799, 10 pages, revision B, updated: 09/2011)

The Atmel® AVR® XMEGA® A3BU Xplained evaluation kit is a hardware platform to evaluate the Atmel ATxmega256A3BU microcontroller. The kit offers a larger range of features that enables the Atmel AVR XMEGA user to get started using XMEGA peripherals right away and understand how to integrate the XMEGA device in their own design.

Atmel AVR1936: XPLORE Getting Started Guide

Atmel AVR1936: XPLORE Getting Started Guide
(file size: 4161KB, 29 pages, revision A, updated: 07/2012)

This document contains information about how to get started with the Atmel ATxmega32A4(U)/D4 microcontroller using the XPLORE evaluation kit.

Atmel AVR1939: XMEGA-C3 Xplained Getting Started Guide

Atmel AVR1939: XMEGA-C3 Xplained Getting Started Guide
(file size: 879KB, 12 pages, revision A, updated: 02/2013)

The Atmel AVR XMEGA-C3 Xplained evaluation kit is a hardware platform to evaluate the Atmel ATxmega384C3 microcontroller. The kit offers a larger range of features that enables the Atmel AVR XMEGA user to get started using XMEGA peripherals right away and understand how to integrate the XMEGA device in their own design.

Atmel AVR32852: Building Custom Application using ASF Example Projects

Atmel AVR32852: Building Custom Application using ASF Example Projects
(file size: 1.25MB, 27 pages, revision A, updated: 10/2012)

This application note describes the concept of building a custom application by re-using code from several ASF example projects.

Atmel AVR4027: Tips and Tricks to Optimize Your C Code for 8-bit AVR Microcontrollers

Atmel AVR4027: Tips and Tricks to Optimize Your C Code for 8-bit AVR Microcontrollers

Atmel AVR4027: Tips and Tricks to Optimize Your C Code for 8-bit AVR Microcontrollers
(file size: 38656, 18 pages, revision A, updated: 11/2011)

This application note covers some basic tips on C code optimization using avr-gcc. Both code and size optimization tips are described.

Atmel AVR600: STK600 Expansion, Routing and Socket

Atmel AVR600: STK600 Expansion, Routing and Socket
(file size: 725KB, 23 pages, revision C, updated: 04/2013)

This application note describes the process of developing new routing, socket and expansion cards for the STK600. It also describes the physical parameters for creating such cards.

Atmel AVR928: Scalar sensorless methods to drive BLDC motors

Atmel AVR928: Scalar sensorless methods to drive BLDC motors
(file size: 487KB, 22 pages, revision B, updated: 07/2013)

This application note describes how to implement a sensorless commutation on BLDC motors and provides all information that is relevant for an implementation of sensorless commutation using the Atmel devices and Starter-kits.

Atmel AVR944: Atmel LED Driver Library for 8-bit AVR

Atmel AVR944: Atmel LED Driver Library for 8-bit AVR

Atmel AVR944: Atmel LED Driver Library for 8-bit AVR
(file size: 74421, 13 pages, revision A, updated: 11/2011)

Atmel MSLxxxx is a series of compact, high power LED drivers. This application note explains how to use 8-bit Atmel AVR® microcontrollers to interface with these LED drivers. MSLxxxx series of drivers feature either TWI or SPI interface to read and write to their internal registers. Atmel LED driver library provides easy to use wrapper functions to read/write to those registers using any 8-bit AVR as master. This library supports both TWI and SPI interfaces.

Atmel AVR947: Single-Wire Bootloader for any MCU with Self Programming Capability

Atmel AVR947: Single-Wire Bootloader for any MCU with Sel Programming Capability

Atmel AVR947: Single-Wire Bootloader for any MCU with Self Programming Capability
(file size: 241KB, 19 pages, revision A, updated: 01/2013)

This application note discusses a bootloader specifically designed for devices lacking a separate bootloader section and any hardware communication modules. This design does not require any chip resources like TWI, SPI or UART modules. Instead, it implements a single-wire UART (as described in the Atmel® AVR®274: Single-wire Software UART, application note) in software, which requires only one general purpose IO-pin.

AVR067: JTAGICE mkII Communication Protocol

AVR067: JTAGICE mkII Communication Protocol

AVR067: JTAGICE mkII Communication Protocol
(file size: 327125, 69 pages, revision D, updated: 11/2009)

This document describes the communication protocol used between AVR Studio and JTAGICE mkII.

AVR069: AVRISP mkII Communication Protocol

AVR069: AVRISP mkII Communication Protocol
(file size: 326430, 24 pages, revision B, updated: 02/2006)

This document describes the AVRISP mkII protocol. The firmware is distributed with AVR Studio 4.12 or later.

AVR079: STK600 Communication Protocol

AVR079: STK600 Communication Protocol
(file size: 504628, 61 pages, revision A, updated: 04/2008)

This document describes the STK600 protocol. The firmware is distributed with AVR Studio 4.14 or later.

AVR1000: Getting Started Writing C-code for XMEGA

AVR1000: Getting Started Writing C-code for XMEGA
(file size: 149566, 15 pages, revision A, updated: 02/2008)

This application note describes the coding style behind header files and drivers for XMEGA peripherals; this coding style ensures high readability, reusability and short development times of embedded code for electronic products.

AVR1001: Getting Started With the XMEGA Event System

AVR1001: Getting Started With the XMEGA Event System

AVR1001: Getting Started With the XMEGA Event System
(file size: 105908, 8 pages, revision A, updated: 02/2008)

This application note describes the XMEGA event system which is a set of features that allows peripherals to interact without intervention from the CPU. Several peripheral modules can generate events.

AVR1003: Using the XMEGA Clock System

AVR1003: Using the XMEGA Clock System

AVR1003: Using the XMEGA Clock System
(file size: 140291, 10 pages, revision E, updated: 11/2009)

This application note describes the XMEGA Clock System which is a set of highly flexible modules that provides a large portfolio of internal and external clock sources.

AVR1005: Getting started with XMEGA

AVR1005: Getting started with XMEGA
(file size: 991946, 11 pages, revision B, updated: 11/2009)

This document briefly introduces the similarities and differences between the megaAVR family and the XMEGA family, and provides an overview of the available tool chain.

AVR1008: Writing EEPROM and Flash in XMEGA A3/D3/256A3B Revision B

AVR1008: Writing EEPROM and Flash in XMEGA A3/D3/256A3B Revision B

AVR1008: Writing EEPROM and Flash in XMEGA A3/D3/256A3B Revision B
(file size: 74225, 5 pages, revision B, updated: 04/2010)

This document describes a workaround for the errata "Writing EEPROM or Flash while reading any of them will not work" that is present on revision B of Atmel AVR XMEGA A3/D3 family and the revision B of the ATxmega256A3B. Please refer to the datasheet for details about the errata.

AVR1010: Minimizing the power consumption of XMEGA devices

AVR1010: Minimizing the power consumption of XMEGA devices

AVR1010: Minimizing the power consumption of XMEGA devices
(file size: 869551, 13 pages, revision B, updated: 12/2010)

This application note describes what must be done to achieve the lowest possible power consumption for XMEGA devices. Example code is also supplied, which compiles with both GCC and IAR Embedded Workbench.

AVR1012: XMEGA A Schematic Checklist

AVR1012: XMEGA A Schematic Checklist
(file size: 333642, 17 pages, revision B, updated: 03/2010)

This application note describes a common checklist which should be used when starting and reviewing the schematics for a XMEGA A design.

AVR1014: MC303 Hardware User Guide

AVR1014: MC303 Hardware User Guide

AVR1014: MC303 Hardware User Guide
(file size: 1.45MB, 16 pages, revision B, updated: 08/2013)

The MC303 is the device board for ATxmega128A1 AVR® microcontroller which can be connected to the general-purpose power stage board MC300 for driving brushless DC, brushed DC and stepper motors.

AVR1016: AVR Training QTouch Xplained

AVR1016: AVR Training QTouch Xplained

AVR1016: AVR Training QTouch Xplained
(file size: 307506, 18 pages, revision A, updated: 05/2010)

The purpose of this training is to get familiar with the Atmel QTouch Library 4.0 and how to use it in your own applications.

AVR107: Interfacing AVR microcontrollers with serial memories

AVR107: Interfacing AVR microcontrollers with serial memories

AVR107: Interfacing AVR microcontrollers with serial memories
(file size: 496998, 22 pages, revision A, updated: 03/2005)

This application note describes the functionality and the architecture of SPI serial memories drivers as well as the motivation of the selected solution.

AVR121: Enhancing ADC resolution by oversampling

AVR121: Enhancing ADC resolution by oversampling

AVR121: Enhancing ADC resolution by oversampling
(file size: 120791, 14 pages, revision A, updated: 09/2005)

This Application Note explains the method called "Oversampling and Decimation" and which conditions need to be fulfilled to make this method work properly to achieve a higher resolution without using an external ADC.

AVR1301: Using the XMEGA DAC

AVR1301: Using the XMEGA DAC

AVR1301: Using the XMEGA DAC
(file size: 110713, 9 pages, revision B, updated: 04/2008)

This application note describes the basic functionality of the XMEGA DAC with code examples to get up and running quickly. A driver interface written in C is included as well.

AVR1302: Using the XMEGA Analog Comparator

AVR1302: Using the XMEGA Analog Comparator

AVR1302: Using the XMEGA Analog Comparator
(file size: 293KB, 7 pages, revision C, updated: 07/2013)

This application note describes the basic functionality of the XMEGA AC with code examples to get up and running quickly. A driver interface written in C is included as well.

AVR1303: Using the XMEGA IR communication module

AVR1303: Using the XMEGA IR communication module

AVR1303: Using the XMEGA IR communication module
(file size: 52947, 5 pages, revision C, updated: 07/2008)

This application note describes the basic functionality of the IRCOM module in the AVR XMEGA with code examples to get up and running quickly. A driver interface written in C is included as well.

AVR1305: using the XMEGA Interrupts and the Programmable Multi-level Interrupt Controller

AVR1305: using the XMEGA Interrupts and the Programmable Multi-level Interrupt Controller

AVR1305: using the XMEGA Interrupts and the Programmable Multi-level Interrupt Controller
(file size: 103757, 6 pages, revision A, updated: 02/2008)

This application note describes the XMEGA Interrupt mechanisms and the Programmable Multi-level Interrupt Controller (PMIC). The application note also offers a C code example that shows how the PMIC can be accessed.

AVR1306: Using the XMEGA Timer/Counter

AVR1306: Using the XMEGA Timer/Counter

AVR1306: Using the XMEGA Timer/Counter
(file size: 171858, 17 pages, revision A, updated: 02/2008)

This application note describes the XMEGA Timer/Counter modules which are true 16-bit Timer/Counters with Input Capture and PWM functionality. The application note also offers a C code example that shows how the Timer/Counters can be accessed.

AVR1307: Using the XMEGA USART

AVR1307: Using the XMEGA USART

AVR1307: Using the XMEGA USART
(file size: 201971, 7 pages, revision A, updated: 02/2008)

This application note describes how to set up and use the USART in asynchronous mode in the XMEGA. C code drivers and examples are included for both polled and interrupt controlled USART applications.

AVR1308: Using the XMEGA TWI

AVR1308: Using the XMEGA TWI

AVR1308: Using the XMEGA TWI
(file size: 135996, 11 pages, revision A, updated: 07/2009)

This application note describes how to set up and use the TWI module in the XMEGA. C code drivers and examples are included for both master and slave applications.

AVR1309: Using the XMEGA SPI

AVR1309: Using the XMEGA SPI

AVR1309: Using the XMEGA SPI
(file size: 280846, 7 pages, revision A, updated: 11/2009)

This application note describes how to set up and use the SPI module in the AVR XMEGA. Both interrupt controlled and polled C code drivers and examples are included for master and slave applications.

AVR1310: Using the XMEGA Watchdog Timer

AVR1310: Using the XMEGA Watchdog Timer

AVR1310: Using the XMEGA Watchdog Timer
(file size: 121511, 9 pages, revision B, updated: 04/2009)

This application note describes how to set up and use the Watchdog Timer module in the AVR XMEGA. A driver interface written in C is included as well.

AVR1311: Using the XMEGA Timer/Counter Extensions

AVR1311: Using the XMEGA Timer/Counter Extensions

AVR1311: Using the XMEGA Timer/Counter Extensions
(file size: 106360, 8 pages, revision A, updated: 04/2008)

This application note describes how to set up and use the extension module available on some Timer/Counters of the XMEGA. A driver interface written in C is included as well.

AVR1312: Using the XMEGA External Bus Interface

AVR1312: Using the XMEGA External Bus Interface

AVR1312: Using the XMEGA External Bus Interface
(file size: 133875, 10 pages, revision A, updated: 06/2010)

This application note describes the basic functionality of the XMEGA EBI with code examples to get up and running quickly. A driver interface written in C is included as well.

AVR1313: Using the XMEGA IO Pins and External Interrupts

AVR1313: Using the XMEGA IO Pins and External Interrupts

AVR1313: Using the XMEGA IO Pins and External Interrupts
(file size: 118378, 9 pages, revision A, updated: 02/2008)

This application note describes the highly configurable XMEGA I/O pins and external interrupts. A driver interface written in C is included as well.

AVR1314: Using the XMEGA Real Time Counter

AVR1314: Using the XMEGA Real Time Counter

AVR1314: Using the XMEGA Real Time Counter
(file size: 112347, 6 pages, revision A, updated: 02/2008)

This application note describes the use of the 16-bit Real Time Counter (RTC) in the XMEGA. A driver interface written in C is included as well.

AVR1315: Using the XMEGA EEPROM

AVR1315: Using the XMEGA EEPROM

AVR1315: Using the XMEGA EEPROM
(file size: 86735, 8 pages, revision B, updated: 08/2010)

This application note describes the basic functionality of the Atmel® AVR® XMEGA™ EEPROM with code examples to get up and running quickly. A driver interface written in C is included as well.

AVR1316: Using the XMEGA Self-programming

AVR1316: Using the XMEGA Self-programming

AVR1316: Using the XMEGA Self-programming
(file size: 133547, 11 pages, revision B, updated: 11/2008)

This application note describes the basic functionality of the XMEGA Self-programming feature and gives code examples to get up and running quickly.

AVR1317: Using the XMEGA built-in DES accelerator

AVR1317: Using the XMEGA built-in DES accelerator

AVR1317: Using the XMEGA built-in DES accelerator
(file size: 122758, 7 pages, revision A, updated: 04/2008)

This application note describes the basic functionality of the XMEGA DES instructions with code examples to get up and running quickly. A driver interface written in C and Assembler is included as well.

AVR1318: Using the XMEGA built-in AES accelerator

AVR1318: Using the XMEGA built-in AES accelerator

AVR1318: Using the XMEGA built-in AES accelerator
(file size: 206878, 7 pages, revision A, updated: 04/2008)

This application note describes the basic functionality of the XMEGA AES with code examples to get up and running quickly. A driver interface written in C is included as well.

AVR1320: True 400 kHz operation for TWI slave

AVR1320: True 400 kHz operation for TWI slave

AVR1320: True 400 kHz operation for TWI slave
(file size: 380865, 10 pages, revision A, updated: 04/2010)

This application note describes a TWI slave driver implementation for AVR XMEGA that ensures that the clock is not stretched.

AVR1321: Using the Atmel AVR XMEGA 32-bit Real Time Counter and Battery Backup System

AVR1321: Using the Atmel AVR XMEGA 32-bit Real Time Counter and Battery Backup System

AVR1321: Using the Atmel AVR XMEGA 32-bit Real Time Counter and Battery Backup System
(file size: 353291, 12 pages, revision B, updated: 02/2011)

This application note covers the use of the 32-bit Real Time Counter and the battery backup system that is available on some Atmel® AVR® XMEGA® devices in detail.

AVR1500: Xplain training - XMEGA Basics

AVR1500: Xplain training - XMEGA Basics

AVR1500: Xplain training - XMEGA Basics
(file size: 33003, 16 pages, revision A, updated: 08/2010)

This Application Note will get you started with Atmel® AVR® XMEGA® basics, using the IO ports to show various concepts in four tasks. You will learn to use small code fragments, utilizing the XMEGA header files and some of the XMEGA features for more efficient and compact code.

AVR1501: Xplain training – XMEGA Timer/Counter

AVR1501: Xplain training – XMEGA Timer/Counter

AVR1501: Xplain training – XMEGA Timer/Counter
(file size: 42076, 15 pages, revision A, updated: 08/2010)

This Application Note will get you started with Atmel® AVR® XMEGA® timers, PWM generation, High resolution Extension, Advanced Waveform extension and many other features of the high-end and very flexible XMEGA 16-bit Timer/Counters.

AVR1502: Xplain Training - Direct Memory Access Controller

AVR1502: Xplain Training - Direct Memory Access Controller

AVR1502: Xplain Training - Direct Memory Access Controller
(file size: 22766, 10 pages, revision A, updated: 08/2011)

This Application Note will get you started with Atmel® AVR® XMEGA® Direct Memory Access Controller (DMAC). You will learn to perform simple memory transfers almost without using CPU time, and reading and writing to peripherals with hardly any CPU intervention.

AVR1503: Xplain training - XMEGA Programmable Multi Interrupt Controller

AVR1503: Xplain training - XMEGA Programmable Multi Interrupt Controller

AVR1503: Xplain training - XMEGA Programmable Multi Interrupt Controller
(file size: 22249, 7 pages, revision A, updated: 08/2011)

This Application Note will get you started with Atmel® AVR® XMEGA® advanced Programmable Multi-level Interrupt Controller (PMIC) which allows control over interrupt priorities and scheduling of interrupts.

AVR1506: Xplained Training - XMEGA Clock System

AVR1506: XMEGA-A1 Xplained training - XMEGA clock system

AVR1506: Xplained Training - XMEGA Clock System
(file size: 592757, 12 pages, revision A, updated: 08/2010)

This Application Note will get you started with Atmel® AVR® XMEGA™ clock system which supports a large number of clock sources, oscillators, PLL, prescalers, a calibration system and clock monitoring. More details of the XMEGA clock system are also available in AVR1003.

AVR1511: QT600-ATxmega128A1 Training Guide

AVR1511: QT600-ATxmega128A1 Training Guide

AVR1511: QT600-ATxmega128A1 Training Guide
(file size: 1221185, 36 pages, revision B, updated: 08/2011)

The purpose of this training is to get familiar with the Atmel®QTouch Suite™ for developing and debugging any Atmel touch application. It includes four core solutions: Atmel QTouch Studio, Atmel QT600 development kit, Atmel QTouch Library, and Atmel®AVR Studio®.

AVR153: USB PC Drivers Based on Generic HID Class

AVR153: USB PC Drivers Based on Generic HID Class

AVR153: USB PC Drivers Based on Generic HID Class
(file size: 448746, 10 pages, revision B, updated: 07/2008)

This document gives information on integrating the Atmel USB HID DLL functions. Simple code examples that demonstrate different types of implementation are given.

AVR1600: Using the XMEGA Quadrature Decoder

AVR1600: Using the XMEGA Quadrature Decoder

AVR1600: Using the XMEGA Quadrature Decoder
(file size: 149865, 8 pages, revision A, updated: 08/2008)

This application note describes the basic functionality of the XMEGA QDECs with code example.

AVR1606: XMEGA Internal RC Oscillator Calibration

AVR1606: XMEGA Internal RC Oscillator Calibration

AVR1606: XMEGA Internal RC Oscillator Calibration
(file size: 1135376, 10 pages, revision A, updated: 12/2009)

This application note describes a fast and accurate method to calibrate the internal RC oscillator. It offers an easily adaptable calibration firmware source code, which can be used with any XMEGA with internal tunable RC oscillator and JTAG interface. This firmware allows device calibration using the AVR tools JTAGICE mkII and AVRONE.

AVR1607: Brushless DC Motor (BLDC) Control in Sensor mode using ATxmega128A1 and ATAVRMC323

AVR1607: Brushless DC Motor (BLDC) Control in Sensor mode using ATxmega128A1 and ATAVRMC323

AVR1607: Brushless DC Motor (BLDC) Control in Sensor mode using ATxmega128A1 and ATAVRMC323
(file size: 835KB, 18 pages, revision C, updated: 03/2014)

This application note describes how to implement a control of Brushless DC motor (BLDC) in sensor mode using the ATxmega128A1, Atmel® AVR® microcontroller and the ATAVRMC323 development kit.

AVR1617: Frequency Measurement with Atmel AVR XMEGA Family Devices

AVR1617: Frequency Measurement with Atmel AVR XMEGA Family Devices

AVR1617: Frequency Measurement with Atmel AVR XMEGA Family Devices
(file size: 10913, 13 pages, revision A, updated: 06/2011)

Frequency measurement is a function commonly needed in today's consumer and industrial applications, and is easily implemented by using the Atmel®AVR®XMEGA® Event System and counter/timers.

AVR1624: Using ATxmega128A1 Xplain Kit as USB to TWI Bridge

AVR1624: Using ATxmega128A1 Xplain Kit as USB to TWI Bridge

AVR1624: Using ATxmega128A1 Xplain Kit as USB to TWI Bridge
(file size: 63912, 13 pages, revision A, updated: 09/2011)

This application note describes how to use the Atmel® ATxmega128A1 Xplain kit as a USB to TWI Bridge. This application can be used to communicate to various applications which have TWI Slave functionality. In this application note we use a TWI slave running a TWI boot loader application on ATxmega128A1.

AVR186: Best practices for the PCB layout of Oscillators

AVR186: Best practices for the PCB layout of Oscillators
(file size: 92401, 4 pages, revision A, updated: 03/2008)

This application note provides guidelines to design the PCB layout in order not to risk failure and unstable oscillator operation.

AVR1900: Getting started with ATxmega128A1

AVR1900: Getting started with ATxmega128A1
(file size: 830739, 15 pages, revision A, updated: 04/2008)

This document contains information about how to get started with the ATxmega128A1 on STK600.

AVR1907: Xplain Hardware User Guide

AVR1907: Xplain Hardware User Guide

AVR1907: Xplain Hardware User Guide
(file size: 529083, 8 pages, revision D, updated: 04/2010)

This application note describes the Xplain evaluation kit which is a hardware platform to evaluate the ATxmega128A1. The kit enables the user to get started using the XMEGA®'s peripherals and to integrate the XMEGA in their own design.

AVR1908: QTouch Xplained Hardware User Guide

AVR1908: QTouch Xplained Hardware User Guide

AVR1908: QTouch Xplained Hardware User Guide
(file size: 1655285, 5 pages, revision A, updated: 05/2010)

The kit demonstrates how a QTouch solution requires only a very simple circuit design and a minimum of external components. It includes support for eight QTouch channels: a slider (3 channels), a wheel (3 channels) and two keys (1 channel each).

AVR1909: Display Xplained Hardware User Guide

AVR1909: Display Xplained Hardware User Guide

AVR1909: Display Xplained Hardware User Guide
(file size: 2605919, 7 pages, revision A, updated: 06/2010)

The Display Xplained module gives the possibility to evaluate a 240 x 320 pixel (QVGA) graphical RGB TFT display with a 4-wire touch interface and LED backlight.

AVR1913: Display Xplained Firmware - Getting Started

AVR1913: Display Xplained Firmware - Getting Started

AVR1913: Display Xplained Firmware - Getting Started
(file size: 22096967, 27 pages, revision A, updated: 05/2010)

This application note will step you through how to compile and upload the software framework application targeted for Display Xplained. It will also guide you through generating a Tiny Simple file system image and upload this to the Xplain flash memory.

AVR1921: Reprogramming the Xplain AT90USB1287 and ATxmega128A1 firmware

AVR1921: Reprogramming the Xplain AT90USB1287 and ATxmega128A1 firmware

AVR1921: Reprogramming the Xplain AT90USB1287 and ATxmega128A1 firmware
(file size: 2474237, 8 pages, revision A, updated: 05/2010)

This application note describes how to reprogram the AT90USB1287 and the ATxmega128A1 on the Xplain board with the original firmware, or your own application code.

AVR1922: Xplain Board Controller Firmware

AVR1922: Xplain Board Controller Firmware

AVR1922: Xplain Board Controller Firmware
(file size: 22097618, 6 pages, revision A, updated: 05/2010)

The Xplain board controller, an AT90USB1287, is in charge of some of the low-level tasks on boards in the Xplain series. The board controller improves usability of the main microcontroller, and adds features the main controller lacks, like USB.

AVR32798: EXTBT User Guide

AVR32798: EXTBT User Guide
(file size: 7872363, 16 pages, revision A, updated: 11/2010)

The Atmel® EXTBT is a Bluetooth extension module for Atmel® AVR® development kits. The kit is equipped with the FREE2MOVE™ F2M03GXA Bluetooth module and provides Bluetooth functionality through a UART interface to any AVR devices. This guide shows the user how to quickly get started with this kit and describes the EXTBT hardware.

AVR32827: How to Migrate from ASF 1.7 to ASF 2.x

AVR32827: How to Migrate from ASF 1.7 to ASF 2.x
(file size: 32212511, 9 pages, revision A, updated: 03/2011)

This application note, which is meant for pre-ASF 2.x AVR UC3 users, lists the main changes between these two revisions, and pinpoints the items that must be carefully considered when migrating to the latest revision.

AVR32917: Getting started with the picoPower Board

AVR32917: Getting started with the picoPower Board

AVR32917: Getting started with the picoPower Board
(file size: 1242375, 16 pages, revision A, updated: 12/2009)

This application note describes the picoPower function of ATmega48PA, ATxmega32A4 and AT32UC3L064 and the picoPower Board which purpose is to get familiar with the general power-saving features of AVR microcontrollers.

AVR4013: picoPower Basics

AVR4013: picoPower Basics

AVR4013: picoPower Basics
(file size: 16830, 7 pages, revision A, updated: 12/2010)

This application note demonstrates how to extend the battery life of our application by multiple factors by modifying only the firmware. You will see that, while some of the modifications are very simple and only require setting some registers, other modifications will need some rewriting of the code.

AVR4100: Selecting and testing 32kHz crystal oscillators for AVR microcontrollers

AVR4100: Selecting and testing 32kHz crystal oscillators for AVR microcontrollers

AVR4100: Selecting and testing 32kHz crystal oscillators for AVR microcontrollers
(file size: 495623, 24 pages, revision D, updated: 07/2011)

This application note summarizes the crystal basics, PCB layout considerations, and how to test a crystal in your application. A crystal selection guide shows recommended crystals tested by experts and found suitable for various oscillator modules in different Atmel® AVR® families.

AVR430: ATAVRMC300 Hardware User Guide

AVR430: ATAVRMC300 Hardware User Guide

AVR430: ATAVRMC300 Hardware User Guide
(file size: 3119535, 13 pages, revision C, updated: 10/2008)

The ATAVRMC300 is a general-purpose power stage board able to drive brushless DC, brushed DC and stepper motors. The board is designed to be a flexible platform for developing motor control applications.

AVR998: Guide to IEC60730 Class B compliance with AVR Microcontrollers

AVR998: Guide to IEC60730 Class B compliance with AVR Microcontrollers

AVR998: Guide to IEC60730 Class B compliance with AVR Microcontrollers
(file size: 111931, 9 pages, revision B, updated: 04/2008)

This application note describes the 'Class B' software classification, refering to embedded firmware which is intended to prevent unsafe operation of controlled equipment and provides guidelines for compliance with the 'Class B' classification as it relates to AVR devices.

Atmel AVR1504: XMEGA-A1 Xplained training - XMEGA Event System

AVR1504: XMEGA-A1 Xplained training - XMEGA Event System

Atmel AVR1504: XMEGA-A1 Xplained training - XMEGA Event System
(file size: 30990, 15 pages, revision A, updated: 08/2010)

This Application Note will get you started with Atmel® AVR® XMEGA™ Event System which allows inter-peripheral communication, enabling a change of state in one peripheral to automatically trigger actions in other peripherals, without any use of interrupts or CPU and DMA resources.

Atmel AVR1505: XMEGA-A1 Xplained training - XMEGA ADC

AVR1505: XMEGA-A1 Xplained training - XMEGA ADC

Atmel AVR1505: XMEGA-A1 Xplained training - XMEGA ADC
(file size: 27636, 11 pages, revision A, updated: 08/2010)

This Application Note will get you started with Atmel® AVR® XMEGA™ ADC which has an optional gain stage and is capable of 12-bit resolution and 2 million samples per second (MSPS), single-ended or differential measurements, signed or unsigned results.

Atmel AVR1507: XMEGA-A1 Xplained training - XMEGA Crypto Engines

AVR1507: XMEGA-A1 Xplained training - XMEGA Crypto Engines

Atmel AVR1507: XMEGA-A1 Xplained training - XMEGA Crypto Engines
(file size: 48762, 11 pages, revision A, updated: 08/2010)

This Application Note will get you started with Atmel® AVR® XMEGA™ powerful hardware support for encryption algorithms. Details of the mathematics behind the DES and AES algorithms are beyond the scope of this application note and will not be covered.

Atmel AVR1508: XMEGA-A1 Xplained training - XMEGA DAC

AVR1508: XMEGA-A1 Xplained training - XMEGA DAC

Atmel AVR1508: XMEGA-A1 Xplained training - XMEGA DAC
(file size: 52649, 11 pages, revision A, updated: 08/2010)

This Application Note will get you started with Atmel® AVR® XMEGA™ Digital to Analog Converter (DAC) which is capable of 12-bit resolution and 1 million samples per second (MSPS).

Atmel AVR1509: XMEGA-A1 Xplained training - Low Power

AVR1509: XMEGA-A1 Xplained training - Low Power

Atmel AVR1509: XMEGA-A1 Xplained training - Low Power
(file size: 55723, 12 pages, revision A, updated: 08/2010)

This Application Note will get you started with Atmel® AVR® XMEGA™ various sleep modes and software controlled clock gating which allow to tailor power consumption to the application's requirement.

Atmel AVR1510: XMEGA-A1 Xplained training - XMEGA USART

AVR1510: XMEGA-A1 Xplained training - XMEGA USART

Atmel AVR1510: XMEGA-A1 Xplained training - XMEGA USART
(file size: 26637, 10 pages, revision A, updated: 08/2010)

This Application Note will get you started with using Atmel® AVR® XMEGA™ USART (Universal Synchronous Asynchronous Receiver Transmitter) in polling mode, interrupt mode and how to use the DMA Controller to transfer data without CPU interaction.

Atmel AVR1512: XMEGA-A1 Xplained Training - XMEGA Basics

Atmel AVR1512: XMEGA-A1 Xplained Training - XMEGA Basics

Atmel AVR1512: XMEGA-A1 Xplained Training - XMEGA Basics
(file size: 34093, 16 pages, revision A, updated: 07/2011)

This application note covers Atmel® AVR® XMEGA® basics, using IO ports to show various concepts in four tasks. The goal of this training is to get you started with small code fragments, utilizing the XMEGA header files and some of the XMEGA features for more efficient and compact code.

Atmel AVR1513: XMEGA-A1 Xplained Training – XMEGA Timer/Counter

Atmel AVR1513: XMEGA-A1 Xplained Training – XMEGA Timer/Counter

Atmel AVR1513: XMEGA-A1 Xplained Training – XMEGA Timer/Counter
(file size: 46250, 13 pages, revision A, updated: 07/2011)

Atmel® AVR® XMEGA® has a set of high-end and very flexible 16-bit Timer/Counters (TC). Their basic capabilities include accurate program execution timing, frequency and waveform generation, event management, and time measurement of digital signals.

In this hand-on we will learn more about the XMEGA timers, PWM generation, High resolution Extension and Advanced Waveform extension.

Atmel AVR1514: XMEGA-A1 Xplained Training - Direct Memory Access Controller

Atmel AVR1514: XMEGA-A1 Xplained Training - Direct Memory Access Controller

Atmel AVR1514: XMEGA-A1 Xplained Training - Direct Memory Access Controller
(file size: 26324, 10 pages, revision A, updated: 07/2011)

This application note covers the basic features of the Atmel® AVR® XMEGA® Direct Memory Access Controller (DMAC). The goal for this training is to get started with simple memory transfers almost without using CPU time, and reading / writing to peripherals with hardly any CPU intervention.

Atmel AVR1515: XMEGA-A1 Xplained Training - XMEGA Programmable Multi Interrupt Controller

Atmel AVR1515: XMEGA-A1 Xplained Training - XMEGA Programmable Multi Interrupt Controller

Atmel AVR1515: XMEGA-A1 Xplained Training - XMEGA Programmable Multi Interrupt Controller
(file size: 25006, 7 pages, revision A, updated: 07/2011)

Atmel® AVR® XMEGA® has an advanced Programmable Multi-level Interrupt Controller (PMIC). The PMIC allows control over interrupt priorities and scheduling of interrupts. In this hands-on we will learn more about the Atmel XMEGA Programmable Interrupt Controller.

Atmel AVR1516: XMEGA-A1 Xplained Training - XMEGA Event System

Atmel AVR1516: XMEGA-A1 Xplained Training - XMEGA Event System

Atmel AVR1516: XMEGA-A1 Xplained Training - XMEGA Event System
(file size: 36192, 16 pages, revision A, updated: 07/2011)

This Application note is intended to give you a basic overview of the terminology and behavior which is needed to understand the Event System and the tasks in this training. The tasks in this training will show you how the Event System works in more detail.

Atmel AVR1517: XMEGA-A1 Xplained Training - XMEGA Analog to Digital Converter

Atmel AVR1517: XMEGA-A1 Xplained Training - XMEGA Analog to Digital Converter

Atmel AVR1517: XMEGA-A1 Xplained Training - XMEGA Analog to Digital Converter
(file size: 32870, 11 pages, revision A, updated: 07/2011)

The Analog to Digital Converter (ADC) in the Atmel® AVR® XMEGA® A series has 12-bit resolution. This training is based on the Atmel AVR Xplain evaluation kit which features the ATxmega128A1 microcontroller. Different from most Atmel AVR ADCs, the ADC in the XMEGA A has a pipelined architecture.

Atmel AVR1518: XMEGA-A1 Xplained Training - XMEGA Clock System

Atmel AVR1518: XMEGA-A1 Xplained Training - XMEGA Clock System

Atmel AVR1518: XMEGA-A1 Xplained Training - XMEGA Clock System
(file size: 26559, 12 pages, revision A, updated: 07/2011)

Atmel® AVR® XMEGA® has an advanced clock system, supporting a large number of clock sources. It incorporates both integrated oscillators, and external crystal oscillators and resonators. In addition, an internal high frequency Phase Locked Loop (PLL) can be used to multiply selected clock sources with a factor ranging from 1x to 31x. The internal 2MHz and 32MHz oscillators available have hardware support for automatic calibration against a 32kHz clock source with the help of the built-in Digital Frequency Locked Loop (DFLL).

Atmel AVR1519: XMEGA-A1 Xplained Training - XMEGA Crypto Engines

Atmel AVR1519: XMEGA-A1 Xplained Training - XMEGA Crypto Engines

Atmel AVR1519: XMEGA-A1 Xplained Training - XMEGA Crypto Engines
(file size: 30723, 11 pages, revision A, updated: 07/2011)

This training will focus on practical implementation of the mentioned encryption algorithms, and it explains how to easily implement them using Atmel® AVR® XMEGA® powerful hardware support.

Atmel AVR1520: XMEGA-A1 Xplained Training - XMEGA Digital to Analog Converter

Atmel AVR1520: XMEGA-A1 Xplained Training - XMEGA Digital to Analog Converter

Atmel AVR1520: XMEGA-A1 Xplained Training - XMEGA Digital to Analog Converter
(file size: 143471, 11 pages, revision A, updated: 07/2011)

Atmel® AVR® XMEGA® DAC converts digital signals to analog signals. This can be used in applications where you want stereo sound, signal generation, calibration or signal compensation. This training will show how to set up and use the DAC with practical code examples.

Atmel AVR1521: XMEGA-A1 Xplained Training - Low Power

Atmel AVR1521: XMEGA-A1 Xplained Training - Low Power

Atmel AVR1521: XMEGA-A1 Xplained Training - Low Power
(file size: 166892, 12 pages, revision A, updated: 07/2011)

Atmel® AVR® XMEGA® provides various sleep modes and software controlled clock gating in order to tailor power consumption to the application's requirement. Sleep modes enables the microcontroller to shut down unused modules to save power. When the device enters sleep mode, program execution is stopped and interrupts or reset is used to wake the device again. The individual clock to unused peripherals can be stopped during normal operation or in sleep, enabling a much more fine tuned power management than sleep modes alone.

Atmel AVR1522: XMEGA-A1 Xplained Training - XMEGA USART

Atmel AVR1522: XMEGA-A1 Xplained Training - XMEGA USART

Atmel AVR1522: XMEGA-A1 Xplained Training - XMEGA USART
(file size: 114259, 10 pages, revision A, updated: 07/2011)

The USART (Universal Synchronous Asynchronous Receiver Transmitter) is the key element in serial communications between computers, terminals and other devices.

This training covers basic setup and use of the Atmel® AVR® XMEGA® USART and the three tasks will demonstrate how to use the USART In polling-mode, interrupt mode and how to use the DMAC (Direct Memory Access Controller) to transfer data without CPU interaction.

Atmel AVR232: Authentication Using SHA-256

Atmel AVR232: Authentication Using SHA-256

Atmel AVR232: Authentication Using SHA-256
(file size: 165KB, 9 pages, revision A, updated: 09/2012)

Using encryption (SHA-256) in a way that enables a slave to authenticate towards a master. E.g. to make sure the connected slave is a legit accessory for the master.

Atmel AT04022: DALI Slave with XMEGA E Hardware User Guide

Atmel AT04022: DALI Slave with XMEGA E – Hardware User Guide

Atmel AT04022: DALI Slave with XMEGA E Hardware User Guide
(file size: 453KB, 15 pages, revision A, updated: 09/2013)

The reference design of DALI Slave based on Atmel® AVR® ATxmega32E5 is developed to demonstrate DALI protocol functions. The reference hardware includes three parts, DALI physical layer interface, MCU, and LED drive circuit. The LED string is controlled by the DALI commands through the ATxmega32E5.

Atmel AT01607: XMEGA C Schematic Checklist

Atmel AT01607: XMEGA C Schematic Checklist
(file size: 224KB, 12 pages, revision A, updated: 06/2013)

This application note describes a common checklist which should be used when starting and reviewing the schematics for an Atmel® AVR® XMEGA® C design.

Atmel AT01639: XMEGA-C3 Xplained Software User Guide

Atmel AT01639: XMEGA-C3 Xplained Software User Guide
(file size: 549KB, 15 pages, revision A, updated: 02/2013)

The Atmel® XMEGA-C3 Xplained evaluation kit demo software is created to showcase the Atmel AVR ATxmega384C3 device. The demo samples sensors connected on ADC and sen the values through OLED display, USB or microSD card.

Atmel AVR154: Software Emulation of TWI Slave Hardware Module

Atmel AVR154: Software Emulation of TWI Slave Hardware Module

Atmel AVR154: Software Emulation of TWI Slave Hardware Module
(file size: 77KB, 4 pages, revision A, updated: 03/2012)

This application note describes a Two-wire Interface (TWI) slave implementation, in the form of a full-featured driver and an example of usage for this driver. Many chips feature a hardware TWI module; others have Universal Serial Interface (USI), which can be used in TWI mode. This application note discusses the TWI slave driver for devices without any of these hardware modules. This driver emulates the hardware TWI slave in software hence providing the programmer an easy way of porting the code from high end TWI enabled devices to low cost devices.

Atmel AVR1923: XMEGA-A3BU Xplained Hardware User Guide

Atmel AVR1923: XMEGA-A3BU Xplained Hardware User Guide

Atmel AVR1923: XMEGA-A3BU Xplained Hardware User Guide
(file size: 446KB, 19 pages, revision B, updated: 02/2012)

The Atmel® AVR® XMEGA® A3BU Xplained evaluation kit is a hardware platform to evaluate the Atmel ATxmega256A3BU. microcontroller.

The kit offers a larger range of features that enables the Atmel AVR XMEGA user to get started using XMEGA peripherals right away and understand how to integrate the XMEGA device in their own design.

Atmel AVR1925: XMEGA-C3 Xplained Hardware User's Guide

Atmel AVR1925: XMEGA-C3 Xplained Hardware User's Guide

Atmel AVR1925: XMEGA-C3 Xplained Hardware User's Guide
(file size: 783KB, 15 pages, revision A, updated: 02/2013)

The Atmel AVR XMEGA-C3 Xplained evaluation kit is a hardware platform to evaluate the Atmel ATxmega384C3 microcontroller. The kit offers a larger range of features that enables the Atmel AVR XMEGA user to get started using XMEGA peripherals right away and understand how to integrate the XMEGA device in their own design.

Atmel AVR32848: Android Accessory Demo

Atmel AVR32848: Android Accessory Demo

Atmel AVR32848: Android Accessory Demo
(file size: 714KB, 11 pages, revision A, updated: 05/2012)

This document explains the usage of the demonstrator developed for the Android Open Accessory Protocol and based on Atmel microcontrollers. The examples are included in the Atmel Software Framework (ASF) to provide the customer with a quick and easy way to get started with developing an Android accessory. The use of the library is explained in the AVR4960 application note.

Atmel AVR4023: FLIP USB DFU Protocol

Atmel AVR4023: FLIP USB DFU Protocol
(file size: 143KB, 15 pages, revision A, updated: 03/2012)

This application note describes the FLIP USB DFU Protocol. To perform firmware upgrade, Atmel has developed a Flexible in-system programmer (FLIP). This software allows performing In-System Programming from an USB host controller without removing the part from the system or without a preprogrammed application, and without any external programming interface.

Atmel AVR4029: Atmel Software Framework - Getting Started

Atmel AVR4029: Atmel Software Framework - Getting Started
(file size: 797KB, 25 pages, revision C, updated: 03/2013)

The Atmel® Software Framework (ASF) is a collection of embedded software for Atmel flash MCU: megaAVR, AVR XMEGA, AVR UC3, and SAM devices.

Atmel AVR4030: AVR Software Framework - Reference Manual

Atmel AVR4030: AVR Software Framework - Reference Manual
(file size: 362KB, 28 pages, revision B, updated: 03/2012)

The Atmel® Software Framework (ASF) is a collection of embedded software for Atmel flash MCU: megaAVR, AVR XMEGA, AVR UC3, and SAM devices.

AVR000: Register and Bit-Name Definitions for the 8-bit AVR Microcontroller

AVR000: Register and Bit-Name Definitions for the 8-bit AVR Microcontroller

AVR000: Register and Bit-Name Definitions for the 8-bit AVR Microcontroller
(file size: 129551, 2 pages, revision C, updated: 11/2009)

This Application Note contains files which allow the user to use Register and Bit names from the databook when writing assembly programs for 8-bit AVR microcontrollers.

AVR001: Conditional Assembly and portability macros

AVR001: Conditional Assembly and portability macros

AVR001: Conditional Assembly and portability macros
(file size: 95161, 6 pages, revision E, updated: 04/2008)

This application note describes the Conditional Assembly feature present in the 8-bit AVR Assembler version 1.74 and later. Examples of how to use Conditional Assembly are included to illustrate the syntax and concept.

AVR030: Getting Started with IAR Embedded Workbench for Atmel 8-bit AVR

AVR030: Getting Started with IAR Embedded Workbench for Atmel 8-bit AVR

AVR030: Getting Started with IAR Embedded Workbench for Atmel 8-bit AVR
(file size: 350457, 10 pages, revision D, updated: 10/2004)

The purpose of this application note is to guide new users through the initial settings of IAR Embedded Workbench, and compile a simple C-program.

AVR031: Getting Started with ImageCraft C for Atmel 8-bit AVR

AVR031: Getting Started with ImageCraft C for Atmel 8-bit AVR
(file size: 128488, 8 pages, revision B, updated: 05/2002)

The purpose of this Application Note is to guide new users through the initial settings of the ImageCraft IDE and compile a simple C program.

AVR032: Linker Command Files for the IAR ICCA90 Compiler

AVR032: Linker Command Files for the IAR ICCA90 Compiler

AVR032: Linker Command Files for the IAR ICCA90 Compiler
(file size: 137935, 11 pages, revision B, updated: 05/2002)

This Application Note describes how to make a linker command file for use with the IAR ICCA90 C-compiler for the 8-bit AVR Microcontroller.

AVR033: Getting Started with the CodeVisionAVR C Compiler

AVR033: Getting Started with the CodeVisionAVR C Compiler

AVR033: Getting Started with the CodeVisionAVR C Compiler
(file size: 2916, 18 pages, revision C, updated: 04/2008)

The purpose of this Application Note is to guide the user through the preparation of an example C program using the CodeVisionAVR C compiler.

AVR034: Mixing C and Assembly Code with IAR Embedded Workbench for 8-bit AVR microcontrollers

AVR034: Mixing C and Assembly Code with IAR Embedded Workbench for 8-bit AVR microcontrollers
(file size: 96573, 8 pages, revision B, updated: 04/2003)

This Application Note describes how to use C to control the program flow among main program and assembly modules to control time critical I/O functions.

AVR035: Efficient C Coding for 8-bit AVR microcontrollers

AVR035: Efficient C Coding for 8-bit AVR microcontrollers
(file size: 143596, 22 pages, revision D, updated: 01/2004)

This Application Note describes how to utilize the advantages of the 8-bit AVR architecture and the development tools to achieve more efficient c Code than for any other microcontroller.

AVR072: Accessing 16-bit I/O Registers

AVR072: Accessing 16-bit I/O Registers
(file size: 78147, 4 pages, revision B, updated: 05/2002)

This Application Note shows how to read and write the 16-bit registers in the AVR Microcontrollers. Since the AVR has an 8-bit I/O bus these registers must be written in two execution cycles. It explains how to safely read and write these 16-bit registers.

AVR101: High Endurance EEPROM Storage

AVR101: High Endurance EEPROM Storage

AVR101: High Endurance EEPROM Storage
(file size: 48384, 5 pages, revision A, updated: 09/2002)

This Application Note describes how to make safe, high endurance, parameter storage in EEPROM, insuring no wear-out of the memory.

AVR120: Characterization and Calibration of the ADC on an AVR

AVR120: Characterization and Calibration of the ADC on an AVR
(file size: 143621, 15 pages, revision D, updated: 02/2006)

This application note explains various ADC (Analog to Digital Converter) characterization parameters, how they affect ADC measurements and how to measure them and how to perform run-time compensation.

AVR180: External Brown-Out Protection

AVR180: External Brown-Out Protection
(file size: 201943, 16 pages, revision B, updated: 05/2002)

This Application Note shows in detail how to prevent system malfunction during periods of insufficient power supply voltage.

AVR201: Using the 8-bit AVR Hardware Multiplier

AVR201: Using the 8-bit AVR Hardware Multiplier

AVR201: Using the 8-bit AVR Hardware Multiplier
(file size: 115292, 11 pages, revision C, updated: 06/2002)

Examples of using the 8-bit AVR multiplier for 8-bit arithmetic.

AVR204: BCD Arithmetics

AVR204: BCD Arithmetics

AVR204: BCD Arithmetics
(file size: 96638, 14 pages, revision B, updated: 01/2003)

This Application Note lists routines for BCD arithmetics.

AVR244: UART as ANSI Terminal Interface

AVR244: UART as ANSI Terminal Interface

AVR244: UART as ANSI Terminal Interface
(file size: 56579, 8 pages, revision A, updated: 11/2003)

This application note describes some basic routines to interface an AVR microcontroller to a terminal window using the UART (hardware or software).

Article

PDF

Software

Description

Computers that You Wear Help Your Work and Play

Computers that You Wear Help Your Work and Play
(file size: 112KB, 4 pages, updated: 05/2013)

Designing Feature-Rich User Interfaces for Home and Industrial Controllers

Designing Feature-Rich User Interfaces for Home and Industrial Controllers
(file size: 933KB, 5 pages, updated: 06/2013)

Microprocessor or Microcontroller

Microprocessor or Microcontroller
(file size: 104KB, 4 pages, updated: 05/2013)

Brochures and Flyers

PDF

Software

Description

Atmel AVR XMEGA

Atmel AVR XMEGA
(2 pages, revision B, updated: 01/2013)

Atmel Flash Microcontroller Product Portfolio

Atmel Flash Microcontroller Product Portfolio
(file size: 3.5MB, 40 pages, revision R, updated: 09/2013)

Atmel Xplained Pro

Atmel Xplained Pro
(file size: 40K, 2 pages, revision B, updated: 02/2013)

Atmel Xplained Pro kits provide a complete and easy to use low-cost development platform for evaluating and prototyping your Atmel Flash-based microcontrollers (MCUs) designs.

Automotive Solutions

Automotive Solutions
(file size: 5.13 MB, 20 pages, revision L, updated: 11/2013)

AVR XMEGA

AVR XMEGA
(file size: 3117267, 12 pages, revision C, updated: 10/2008)

8/16-bit High Performance Low Power Flash Microcontrollers

Atmel AVR Microntrollers

Atmel AVR Microntrollers
(2 pages, updated: 01/2013)

Atmel AVR Studio 5 - development and debugging

Atmel AVR Studio 5 - development and debugging
(2 pages, updated: 01/2013)

Atmel Studio - Software Development Environment

Atmel Studio - Software Development Environment
(2 pages, revision B, updated: 09/2012)

Other

PDF

Software

Description

AVR Instruction Set

AVR Instruction Set
(file size: 1.4MB, 152 pages, revision J, updated: 07/2014)

Overview

PDF

Software

Description

AVR and AVR32 - Quick Reference Guide
(file size: 10252806, 68 pages, revision I, updated: 05/2009)

Introduction of the product range of AVR and AVR32 microcontrollers and application processors:

  • Device family description
  • Key features
  • Device selection guides
  • Application oriented device families
  • Tools offer

White Paper

PDF

Software

Description

Introducing a New Breed of Microcontrollers for 8/16-bit Applications
(file size: 292759, 15 pages, revision A, updated: 02/2008)

This whitepaper discusses the key challenges that 8/16-bit embedded developers meet and how the new XMEGA AVR family from Atmel brings 8/16-bit microcontrollers up to a new level of system performance.

Next-Generation IDE: Maximizing IP Reuse
(file size: 988KB, 15 pages, updated: 07/2012)