{"id":9755,"date":"2014-12-02T21:28:35","date_gmt":"2014-12-03T02:28:35","guid":{"rendered":"http:\/\/embedded-lab.com\/blog\/?page_id=9755"},"modified":"2016-11-04T13:29:10","modified_gmt":"2016-11-04T17:29:10","slug":"avr-xmega-tutorials","status":"publish","type":"page","link":"https:\/\/embedded-lab.com\/blog\/avr-xmega-tutorials\/","title":{"rendered":"AVR XMEGA tutorials"},"content":{"rendered":"<h4>These introductory and comprehensive tutorials on AVR XMEGA microcontrollers are contributed by <a href=\"https:\/\/www.facebook.com\/sshahryiar\" target=\"_blank\">Shawon Shahryiar<\/a>, a technologist, hardware maker, <a href=\"https:\/\/www.facebook.com\/groups\/microarena\/\" target=\"_blank\">educator<\/a> and EE graduate from\u00a0<a id=\"js_17\" href=\"https:\/\/www.facebook.com\/pages\/Ahsanullah-University-of-Science-and-Technology-Dhaka\/110414028979072?ref=br_rs\" data-hovercard=\"\/ajax\/hovercard\/page.php?id=110414028979072\">Ahsanullah University of Science and Technology, Dhaka<\/a>.<\/h4>\n<hr \/>\n<p><!--Engineering360 728x90 Ad Tag--><\/p>\n<div id=\"leaderboard1\"><script type=\"text\/javascript\">\/\/ <![CDATA[\n    googletag.cmd.push(function() {\n      googletag.pubads().display('\/4250\/Embedded-Lab', [728, 90], 'leaderboard1');\n    });\n  \n\/\/ ]]><\/script><\/div>\n<div id=\"Anir_Container\">\n<div class=\"Anir_TopicBlock\">\n<div class=\"Anir_TopicHeading\"><a href=\"http:\/\/embedded-lab.com\/blog\/?p=8787\">AVR XMEGA Primer<\/a><\/div>\n<div class=\"Anir_TopicImage\"><a href=\"http:\/\/embedded-lab.com\/blog\/?p=8787\"><img decoding=\"async\" src=\"http:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2014\/06\/5.png\" alt=\"\" \/><\/a><\/div>\n<div class=\"Anir_TopicContent\">The XMega series is a powerful addition to the existing arsenal of Atmel\u2019s AVR-core micros. As much as I have personally studied about it so far and felt, the XMega series incorporates many features of conventional 32-bit ARM micros like alternate I\/O pin mapping functionalities, sophisticated clock options and data buses, multiple communication platforms that have several uses, variety of capture-PWM options, 12-bit ADCs and DACs, DMA controller, USB hardware, etc.<\/div>\n<div class=\"Anir_TopicReadMore\"><a href=\"http:\/\/embedded-lab.com\/blog\/?p=8787\">Read more&#8230; <\/a><\/div>\n<\/div>\n<div class=\"Anir_TopicBlock\">\n<div class=\"Anir_TopicHeading\"><a href=\"http:\/\/embedded-lab.com\/blog\/?p=8847\">AVR XMEGA Clock System<\/a><\/div>\n<div class=\"Anir_TopicImage\"><a href=\"http:\/\/embedded-lab.com\/blog\/?p=8847\"><img decoding=\"async\" src=\"http:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2014\/06\/XMega-Clock-System-Internal.png\" alt=\"\" \/><\/a><\/div>\n<div class=\"Anir_TopicContent\">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 outputs from these sources can be multiplied using the internal Phase Locked-Loop (PLL)..<\/div>\n<div class=\"Anir_TopicReadMore\"><a href=\"http:\/\/embedded-lab.com\/blog\/?p=8847\">Read more&#8230;<\/a><\/div>\n<\/div>\n<div class=\"Anir_TopicBlock\">\n<div class=\"Anir_TopicHeading\"><a href=\"http:\/\/embedded-lab.com\/blog\/?p=8989\">XMEGA I\/O Port<\/a><\/div>\n<div class=\"Anir_TopicImage\"><a href=\"http:\/\/embedded-lab.com\/blog\/?p=8989\"><img decoding=\"async\" src=\"http:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2014\/08\/XMega-Interior.png\" alt=\"\" \/><\/a><\/div>\n<div class=\"Anir_TopicContent\">Any microcontroller must have I\/O pins for taking inputs and providing outputs. The ATXMega32A4U just like any other micro has 34 programmable I\/O pins divided unevenly amongst six IO ports. Most I\/O ports are 8 bit wide. XMega I\/Os have digital, analog and special purpose functions. Some I\/O pins have more than one use. A quick view of the XMega I\/O pins reveals the purpose of these pins.<\/div>\n<div class=\"Anir_TopicReadMore\"><a href=\"http:\/\/embedded-lab.com\/blog\/?p=8989\">Read more&#8230;<\/a><\/div>\n<\/div>\n<table border=\"0\" cellpadding=\"1\" cellspacing=\"1\" style=\"width: 100%;\">\n<tbody>\n<tr>\n<td align=\"center\">\n<!--Engineering360 300x250 Ad Tag--><\/p>\n<div id='tile1'>\n  <script type='text\/javascript'>\n    googletag.cmd.push(function() {\n      googletag.pubads().display('\/4250\/Embedded-Lab', [300, 250], 'tile1');\n    });\n  <\/script>\n<\/div>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<div class=\"Anir_TopicBlock\">\n<div class=\"Anir_TopicHeading\"><a href=\"http:\/\/embedded-lab.com\/blog\/?p=9488\">XMEGA ADC ports<\/a><\/div>\n<div class=\"Anir_TopicImage\"><a href=\"http:\/\/embedded-lab.com\/blog\/?p=9488\"><img decoding=\"async\" src=\"http:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2014\/10\/differential-without-gain.png\" alt=\"\" \/><\/a><\/div>\n<div class=\"Anir_TopicContent\">Unlike the ADCs of other microcontroller the ADC of XMega devices is a highly complex tool. The level of complexity is so much that without understanding every bits-and-pieces of this piece of hardware a user won\u2019t enjoy its absolute power. XMega ADC is also the most confusing hardware as it is not like other MCU ADCs.<\/div>\n<div class=\"Anir_TopicReadMore\"><a href=\"http:\/\/embedded-lab.com\/blog\/?p=9488\">Read more&#8230;<\/a><\/div>\n<\/div>\n<div class=\"Anir_TopicBlock\">\n<div class=\"Anir_TopicHeading\"><a href=\"http:\/\/embedded-lab.com\/blog\/?p=9952\">XMEGA DAC<\/a><\/div>\n<div class=\"Anir_TopicImage\"><a href=\"http:\/\/embedded-lab.com\/blog\/?p=9952\"><img decoding=\"async\" src=\"http:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2015\/01\/DAC-Internal-Block-Diagram.png\" alt=\"\" \/><\/a><\/div>\n<div class=\"Anir_TopicContent\">XMega micros are equipped with 12 bit fast DACs apart from PWM blocks and again it proves itself to be a very versatile family of microcontrollers. In this post we will have a look into this block.<\/div>\n<div class=\"Anir_TopicReadMore\"><a href=\"http:\/\/embedded-lab.com\/blog\/?p=9952\">Read more&#8230;<\/a><\/div>\n<\/div>\n<div class=\"Anir_TopicBlock\">\n<div class=\"Anir_TopicHeading\"><a href=\"http:\/\/embedded-lab.com\/blog\/?p=10012\">XMEGA External Interrupts<\/a><\/div>\n<div class=\"Anir_TopicImage\"><a href=\"http:\/\/embedded-lab.com\/blog\/?p=10012\"><img decoding=\"async\" src=\"http:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2015\/02\/Schematic.png\" alt=\"\" \/><\/a><\/div>\n<div class=\"Anir_TopicContent\">External interrupts are a must have feature in any microcontroller. Interrupts solve a lot of problem that would have otherwise been dependent on polling methods. For instance when we press the volume up key of a TV tuner\u2019s remote controller, the remote controller quickly responds by transmitting the volume up command to the TV set and in turn the TV\u2019s volume increases.<\/div>\n<div class=\"Anir_TopicReadMore\"><a href=\"http:\/\/embedded-lab.com\/blog\/?p=10012\">Read more&#8230;<\/a><\/div>\n<\/div>\n<div class=\"Anir_TopicBlock\">\n<div class=\"Anir_TopicHeading\"><a href=\"http:\/\/embedded-lab.com\/blog\/?p=10522\">XMEGA Analog Comparator<\/a><\/div>\n<div class=\"Anir_TopicImage\"><a href=\"http:\/\/embedded-lab.com\/blog\/?p=10522\"><img decoding=\"async\" src=\"http:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2015\/07\/Block-Diagram.png\" alt=\"\" \/><\/a><\/div>\n<div class=\"Anir_TopicContent\">The XMega family of micros come loaded with high performance dual analog comparator modules. However so far we saw that between the traditional 8-bit micros and the XMega micros, the major difference apart from programming is the overall nifty enhancements in all common hardware blocks. When it comes to the analog comparators of the XMega micros, the same is true. In this issue we will explore the XMega analog comparator block.<\/div>\n<div class=\"Anir_TopicReadMore\"><a href=\"http:\/\/embedded-lab.com\/blog\/?p=10522\">Read more&#8230;<\/a><\/div>\n<\/div>\n<\/div>\n<p><script type=\"text\/javascript\">\/\/ <![CDATA[\ngoogle_ad_client = \"ca-pub-3251335376149574\"; google_ad_slot = \"5560334212\"; google_ad_width = 600; google_ad_height = 300;\n\/\/ ]]><\/script><br \/>\n<!-- STM32_tutorial page --><br \/>\n<script src=\"\/\/pagead2.googlesyndication.com\/pagead\/show_ads.js\" type=\"text\/javascript\">\/\/ <![CDATA[\n\n\/\/ ]]><\/script><\/p>\n","protected":false},"excerpt":{"rendered":"<p>These introductory and comprehensive tutorials on AVR XMEGA microcontrollers are contributed by Shawon Shahryiar, a technologist, hardware maker, educator and EE graduate from\u00a0Ahsanullah University of Science and Technology, Dhaka. AVR XMEGA Primer The XMega series is a powerful addition to the existing arsenal of Atmel\u2019s AVR-core micros. As much as I have personally studied about it so far and felt, the XMega series incorporates many features of conventional 32-bit ARM micros like alternate I\/O pin mapping functionalities, sophisticated clock options and data buses, multiple communication platforms that have several uses, variety of capture-PWM options, 12-bit ADCs and DACs, DMA controller,<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"open","ping_status":"open","template":"","meta":{"footnotes":""},"class_list":["post-9755","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/embedded-lab.com\/blog\/wp-json\/wp\/v2\/pages\/9755","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/embedded-lab.com\/blog\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/embedded-lab.com\/blog\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/embedded-lab.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/embedded-lab.com\/blog\/wp-json\/wp\/v2\/comments?post=9755"}],"version-history":[{"count":20,"href":"https:\/\/embedded-lab.com\/blog\/wp-json\/wp\/v2\/pages\/9755\/revisions"}],"predecessor-version":[{"id":12426,"href":"https:\/\/embedded-lab.com\/blog\/wp-json\/wp\/v2\/pages\/9755\/revisions\/12426"}],"wp:attachment":[{"href":"https:\/\/embedded-lab.com\/blog\/wp-json\/wp\/v2\/media?parent=9755"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}