Shawon Shahryiar over at Embedded Lab has written an article on XMega analog comparator: Generally a comparator is a device that compares two quantities. Analog comparators compare voltage – an analog quantity. An analog comparator is essentially an op-amp with infinite gain. It has one output and two inputs. The output is switched to VDD […]
Tag Archives: XMEGA
LED logger v3
Bogdan of Electro Bob built a LED logger v3, that is available on github: In short: 16 LED channels are measured, one is kept for control of the sensor. For each LED the power supply and current are measured. The temperature of the aluminium plate is measured as well. In total there are 16 light channels, 15 […]
XMega series: Clock system
Shawon Shahryiar’s second post of the XMega series is about the clock system, he writes: There are several clock sources that XMega micros can use as clock. These are both internal and external clock sources. As stated earlier, clocks are not set by fuse settings unlike traditional Mega AVRs, they are controlled by software and the […]
App note: Single phase energy meter using XMEGA A
Single phase energy meter using XMEGA A (PDF!): AVR1631 single-phase energy meter design is based on the Atmel XMEGA® A4U microcontroller. This design is a lowcost solution considering the entire requirement for low-cost energy meter discussed in the previous sections.
App note: Basic features of the Atmel XMEGA Direct Memory Access Controller (DMAC)
Here is an app note describing how to use the Direct Memory Access Controller found on Atmel’s XMEGA microcontrollers. This application note covers the basic features of the Atmel XMEGA Direct Memory Access Controller (DMAC). The goal for this training is to getting started with simple memory transfers almost without using CPU time, and reading […]
App note: Using hardware SPI on XMEGA microcontrollers
Here is an app note from Atmel describing hoe to use the SPI module on their XMEGA microcontrollers. Also provided are source code examples for implementing both interrupt driven SPI communication and the polled method for slave and master devices. SPI is a full duplex interface, and at a low cost enabling high-speed communication between […]
App note: ATXmega USB Hardware Design Recommendations
Here is an design recommendation from Atmel about implementing USB on AVR XMEGA microcontrollers. The article provides all the basic information you’ll need to get started with designing USB devices with the XMEGA. This document is written for hardware designers to help them develop their applications. It assumes that readers are familiar with the AVR […]
