{"id":415,"date":"2013-08-09T12:39:40","date_gmt":"2013-08-09T11:39:40","guid":{"rendered":"http:\/\/www.kanda.com\/blog\/?p=415"},"modified":"2018-11-26T12:27:54","modified_gmt":"2018-11-26T11:27:54","slug":"avr-xmega-microcontroller-family","status":"publish","type":"post","link":"https:\/\/www.kanda.com\/blog\/microcontrollers\/avr-xmega-microcontroller-family\/","title":{"rendered":"Using the AVR Xmega Microcontroller Family"},"content":{"rendered":"

Atmel have added the Xmega series to their AVR range and we are seeing more interest in these microcontrollers as time goes by, but who should be looking at using them?<\/p>\n

Well for a start, it is not a chip for complete beginners and people wanting to learn microcontrollers from scratch would be better off starting with standard AVR ATmega microcontroller kits<\/a> or PIC Microcontroller Kits<\/a>.<\/p>\n

<\/p>\n

The minimum requirement to use these chips is an understanding of embedded C programming and preferably AVR C programming. The AVR Xmega development boards and starter kits available from Kanda<\/a> and other suppliers assume a familiarity with C programming.<\/p>\n

With this in mind, what are the benefits of the AVR Xmega family? There are lots of features described below but the main benefits are speed of operation, low power consumption, 12-bit ADC and many communication channels, for example, 8 UARTS and 12-bit ADC channels, compared with 2 UARTs and 10-bit ADC on standard AVR ATmega128. However, organizing lots of peripherals in your program is another reason why this chip is for more advanced users.<\/p>\n

The code is the same as standard AVR and the same tools are used (AVRStudio, AVR DRAGON, IAR AVR Embedded Workbench etc) but there are differences such as a completely changed pinout and altered peripheral access. This means that it is not as easy as it could be to port an existing AVR ATmega project to ATxmega and you would probably be better advised to consider Xmega for a new project.<\/p>\n

The main features and benefits of the Xmega are<\/p>\n