Atmel AVR XMEGA-A3BU Application Note

Atmel AVR XMEGA-A3BU Application Note

8-bit microcontrollers, xplained

Advertisement

Atmel AVR1923: XMEGA-A3BU Xplained

Features

®
®
• Atmel
AVR
ATxmega256A3BU microcontroller
• FSTN LCD display with 128x32 pixels resolution
• Battery backup
• Analog sensors
- Ambient light sensor
- Temperature sensor
• Analog filter
• Digital I/O
- Three mechanical buttons
- Two user LEDs, one power LED and one status LED
- Four expansion headers
• Touch
- One Atmel AVR QTouch
• Memory
- Atmel AVR AT45DB642D DataFlash
• Footprints for external memory
- Atmel AVR AT25DF series industry standard serial flash

1 Introduction

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
to get started using XMEGA peripherals right away and understand how to
integrate the XMEGA device in their own design.
Figure 1-1. XMEGA-A3BU Xplained evaluation kit.
Hardware User Guide
®
button
®
serial flash
8-bit Atmel
Microcontrollers
Application Note
®
user
Rev. 8394B-AVR-02/12

Advertisement

Table of Contents
loading

Summary of Contents for Atmel AVR XMEGA-A3BU

  • Page 1: Features

    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.
  • Page 2: Related Items

    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.
  • Page 4: General Information

    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.
  • Page 5: Programming The Kit

    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.
  • Page 6: Connectors

    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.
  • Page 7: I/O Expansion Headers

    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...
  • Page 9: Peripherals

    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...
  • Page 10: Mechanical Buttons

    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.
  • Page 12: Analog I/O

    13.592 899.481 171.028 42.675 13.104 846.579 162.651 40.904 12.635 797.111 154.726 39.213 12.187 750.834 147.232 37.601 11.757 707.524 140.142 36.063 11.344 666.972 133.432 34.595 10.947 628.988 127.080 33.195 10.566 593.342 121.066 31.859 10.200 559.931 115.368 30.584 9.848 Atmel AVR1923 8394B-AVR-02/12...
  • Page 13 Atmel AVR1923 Temp. resistance Temp. resistance Temp. resistance Temp. resistance [°C] [kΩ] [°C] [kΩ] [°C] [kΩ] [°C] [kΩ] 528.602 109.970 29.366 9.510 499.212 104.852 28.203 9.185 471.632 100.000 27.091 8.873 445.772 95.398 26.028 8.572 421.480 91.032 25.013 8.283 398.652 86.889 24.042...
  • Page 14: Ambient Light Sensor

    ~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.
  • Page 16: Code Examples

    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.
  • Page 17: Revision History

    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.
  • Page 18: Table Of Contents

    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...
  • Page 20 Mouser Electronics Authorized Distributor Click to View Pricing, Inventory, Delivery & Lifecycle Information: Microchip ATXMEGAA3BU-XPLD...

Table of Contents