Atmel AVR1504 XMEGA Event System Training

This application note introduces the XMEGA Event system and its features and usage


Atmel AVR1504 XMEGA Event System Training - cover page
Brand
Atmel
Category
Other Electronics
Document type
Application Note
Language
English
Pages
15
File format
PDF
File size
223 KB
Published
27 March, 2012
Updated
30 September, 2023
MD5 checksum
8A42B7739870D1F55C94229A657847DA

About this manual

This document provides training on the XMEGA Event System, which allows peripherals to communicate and trigger actions automatically without using interrupts. It covers event sources, channel multiplexers, and event actions. The guide includes four practical tasks: building a 32-bit timer, input capture with filtering, synchronized triggering, and manually generating events. Each task includes code examples and step-by-step instructions for configuration and debugging using Atmel AVR Studio.

What's inside

  • Introduction to the Event System
  • Event Sources and Channel MUX
  • Event Actions and Peripheral Usage
  • Task 1: 32-bit Timer/Counter
  • Task 2: Input Capture with Filtering
  • Task 3: Synchronized Triggering
  • Task 4: Manually Generating Events

Frequently asked questions

What is the Event System used for?

It enables a change of state in one peripheral to automatically trigger actions in other peripherals without using interrupts or CPU resources.

Which peripherals can generate events?

Timer/Counters (TCxn), Real Time counter (RTC), Analog to Digital converters (ADCx), Analog Comparators (ACx), Ports (PORTx), and System clock (clksys).

How can multiple peripherals use the same event channel?

Multiple peripherals can use the same event channel as input to synchronize actions, such as starting input capture and ADC conversion simultaneously.

How do you manually generate events?

Events can be generated from software, and the document provides a basic example on how to do this.

Download PDF (223 KB)

More Atmel Manuals


View all Atmel manuals →