The Atmel AVR XMEGA-A3BU Xplained evaluation kit is a hardware platform to evaluate the Atmel ATxmega256A3BU microcontroller. ® The kit offers a large 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.
This application note is a user guide for the XMEGA USB DFU boot loaders. ® Atmel AVR Studio AVR Studio 5 is a free Atmel IDE for development of C/C++ and assembler code for Atmel microcontrollers. Atmel FLIP (Flexible In-system Programmer) BatchISP (FLIP) is a command line tool for programming the flash and EEPROM memories of the AVR and is part of the FLIP installation.
Page 3
Atmel AVR1923 ® IAR Embedded Workbench for Atmel AVR IAR™ Embedded Workbench is a commercial C/C++ compiler that is available for 8- bit AVR. There is a 30 day evaluation version as well as a 4k (code size limited) kick- start version available from their website.
3 General information The Atmel AVR XMEGA-A3BU Xplained kit is intended to demonstrate the Atmel AVR ATxmega256A3BU microcontroller. Figure 3-1 shows the available feature on the board. Figure 3-1. Overview of the XMEGA A3BU Xplained kit. 3.1 Preprogrammed firmware The ATxmega256A3BU on the XMEGA-A3BU Xplained is pre-programmed with a boot loader and a default firmware.
Figure 3-1. WARNING Do not power the board without having the jumper or an amperemeter mounted since this can cause latch-up of the Atmel AVR ATxmega256A3BU due to current flow into the I/O pins. 3.4 Programming the kit The kit can be programmed either from an external programming tool or through an USB boot loader which is pre-programmed on the device.
Figure 3-1. The header has a standard pin-out and therefore tools like the Atmel JTAGICE 3 or Atmel AVR ONE! can be connected to the header. Due to physical differences of the Atmel AVR JTAGICE mkII and AVR ONE! probes, the PCB has an opening below the JTAG and PDI header.
4.2 I/O expansion headers The Atmel AVR XMEGA-A3BU Xplained headers J1, J2, J3, and J4 offer access to the I/O of the microcontroller in order to expand the board, for example by mounting a top module onto the board.
Page 8
XMEGA pin Shared with onboard functionality Display register select MOSI Serial flash MOSI MISO Display and serial flash MISO input Display and serial flash clock input VCC_P3V3 Note: 1. Can be disconnected from onboard functionality by cut-strap (J204). Atmel AVR1923 8394B-AVR-02/12...
The Atmel AVR XMEGA-A3BU Xplained has an external Atmel AVR AT45DB642D DataFlash device mounted. A footprint is also available for adding an industrial standard serial flash like the AT25 series from Atmel. Compatible serial flash devices for both footprints are listed in...
5.4 Mechanical buttons Three mechanical buttons are connected to Atmel AVR XMEGA. All buttons have external pull-ups so there is no need to activate internal pull-ups in order to use them. When a button is pressed it will drive the I/O line to GND.
Page 11
The display backlight is controlled by a FET which is by default in an off state but it is possible to turn the backlight on with the Atmel AVR XMEGA by driving the gate of the FET high. On the XMEGA pin PE4 is connected to the gate of the FET. The pin PE4 is also an output of an on-chip timer module and because of that it is easy to do dimming of the backlight by using PWM.
~10 to ~900lx when the internal VCC/1.6 reference is used. The data in Table 5-10 which shows the relationship between illuminance and output voltage of the sensor circuitry is generated based on the symbols and formulas in Table 5-9. Atmel AVR1923 8394B-AVR-02/12...
Page 15
Atmel AVR1923 Table 5-10. Symbol description for illuminance calculation. Symbols Description Calibrated sensor responsivity at 100lx. This is 50µA according to the sensor datasheet Illuminance Current through the sensor Output voltage of the sensor circuitry that is provided to the ADC Series resistor of the sensor circuitry.
6 Code examples The example application is based on the Atmel AVR Software Framework that is included in Atmel AVR Studio 5. The AVR Software Framework can also be found as a separate package online at: http://www.atmel.com/dyn/products/tools_card.asp?tool_id=4192. For more information about the code example, see the application note Atmel AVR XMEGA-A3BU Xplained Software Users Guide: http://atmel.com/dyn/resources/prod_documents/doc8413.pdf.
Atmel AVR1923 7 Revision history To identify the revision of the Atmel AVR XMEGA-A3BU Xplained kit, locate the bar- code sticker on the back side of the board. The first line on the sticker shows the product ID and the revision. For example “A09-1248/2” can be resolved to ID=A09- 1248 and revision=2.
2 Related items..................2 3 General information................. 4 3.1 Preprogrammed firmware..................4 3.2 Power supply ....................... 4 3.3 Measuring the Atmel AVR XMEGA power consumption........4 3.4 Programming the kit .................... 5 4 Connectors ..................6 4.1 Programming headers..................6 4.2 I/O expansion headers ..................
Page 19
Disclaimer: The information in this document is provided in connection with Atmel products. No license, express or implied, by estoppel or otherwise, to any intellectual property right is granted by this document or in connection with the sale of Atmel products. EXCEPT AS SET FORTH IN THE ATMEL...
Need help?
Do you have a question about the AVR XMEGA-A3BU and is the answer not in the manual?
Questions and answers