The mikromedia for XMEGA is a compact development system with lots of on-board peripherals which allow development of hand-held devices with multimedia content. The central part of the system is the 8-bit Atmel ATxmega128A1 microcontroller. The mikromedia for XMEGA features integrated modules such as stereo MP3 codec, TFT 320×240 touch screen display, accelerometer, USB connector, audio connector, MMC/SD card slot, 8 Mbit Flash memory, and more. The board features a front-facing reset button, battery charger circuit for Li-Polymer batteries, crystal oscillator, and connection pads for all other available pins. It is compatible with all mikromedia shields (see options below).
A color user manual and code examples are included. The board comes pre-programmed with a USB-UART bootloader, so you won't have to spend a penny more on external programmers. If you do want to, pins pads are available for installing a 6-pin PDI connector.
All unused microcontroller pins are available via pads along the sides of the board. The board measures 81.2 × 60.5 mm (3.19 × 2.38 inches).
XMEGA Multimedia Board Features
ATxmega128A1 microcontroller This high-performance 8-bit microcontroller with its integrated modules in combination with the on-board modules is ideal for multimedia applications.
- Up to 32 MIPS operation
- 128KB of Flash memory
- 8KB of RAM
- 2048 Bytes of EEPROM
- 78 I/O pins
- 32 kHz RTC
- UART, SPI, ADC, DAC, etc.
USB power supply You can apply power to the board using the provided mini-B USB cable. On-board voltage regulators will provide the appropriate voltage levels to each part of the board. The Power LED will indicate the presence of power supply.
Battery power supply You can also power the board using a Li-Polymer battery via the on-board Molex 5264 battery connector. An MCP73832 battery charger circuit enables you to charge the battery over USB connection. A red LED indicates when the battery is charging. Charging current is ~250mA and charging voltage is 4.2V DC.
Programming with bootloader For programming the microcontroller, you can use a bootloader program which is pre-installed in the device. To transfer a .hex file from a PC to the MCU, you can use the free mikroBootloader application. The board has a mini-USB connector and ships with a cable to connect to your PC.
Programming with external programmer/debugger In case you want to remove the USB bootloader, need to re-install it, or want to perform in-circuit debugging, the microcontroller can be programmed with an external in-circuit programmer/debugger (not included). The board has pads for installing a PDI programming header compatible with the AVRISP mkII, AVR JTAGICE mkII, AVR-ISP-MK2, or other supported programmer with PDI interface.
Reset Button The board is equipped with a reset button on the LCD side so it can be available to the user if the mikromedia board is placed in an enclosure. The other side of the board has pads for installing a second reset button if needed.
Crystal Oscillator The ATxmega128A1 uses internal 2 MHz and 32 MHz oscillators that provide the necessary clock frequency. In combination with prescalers andk multipliers, it gives you a wide range of output frequencies, which ensures proper operation of the bootloader and your custom applications. The board contains a 32.768 kHz crystal oscillator which provides external clock for the internal RTCC module.
microSD Card Slot The board contains a microSD card slot for using microSD cards in your projects. It enables you to store large amounts of data externally, thus saving microcontroller memory. microSD cards use Serial Peripheral Interface (SPI) for communication with the microcontroller.
Touch Screen The development system features a TFT 320×240 display covered with a resistive touch panel. Together they form a functional unit called a touch screen. It enables data to be entered and displayed at the same time. The TFT display is capable of showing data in 262,144 different colors. A stylus is sold separately; see the options below.
Audio Module mikromedia for XMEGA features a VS1053 audio controller. This module enables audio reproduction by using stereo headphones connected to the system via the 3.5mm connector CN2. All functions of this module are controlled by the microcontroller over Serial Peripheral Interface (SPI).
USB UART Connection The ATxmega128A1 does not support USB, but the board has an RT232RL USB-UART IC that enables you to implement UART serial communications via USB. Connection to a target USB host is achieved with a mini-B USB connector.
Accelerometer The on-board ADXL345 accelerometer can be used to measure acceleration in three axes: x, y, and z. The accelerometer's function is defined by the program loaded into the microcontroller. Communication between the accelerometer and the microcontroller is performed via the I2C interface. You can set the accelerometer address to 0 or 1 by re-soldering the SMD jumper (zero-ohm resistor) to the appropriate position. This jumper is placed in address 1 position by default.
Flash Memory The M25P80 Flash memory module enables the microcontroller to use an additional 8Mbits of Flash memory. It is connected to the microcontroller via the Serial Peripheral Interface (SPI).
Software Examples The ZIP file you can download below contains the following example software, both as ready-to-load compiled code and as source code written in mikroC, mikroBASIC and mikroPascal. The source codes provide detailed explanatory comments.
- Demonstration of ADXL345 three-axis accelerometer. Values from accelerometer are shown on TFT display.
- Demonstration of various aspects of the MMC library. Read, write, and append single and multiple files, delete files, create swap file.
- Demonstration of communicating with VS1053 codec. Reads MP3 file from MMC and sends it to VS1053E for decoding and playback.
- Demonstration of M25P80 Serial Flash. Connects via SPI, writes a byte and an array of bytes, then reads them back.
- Demonstration of TFT LCD and drawing functions.
- Demonstration of Touch Panel. Creates a simple calculator.
- Demonstration of UART libraries. Creates a loopback interface, echoing back any message sent to it.
- mikromedia for XMEGA Board with touchscreen LCD
- mini-USB cable
- DVD-ROM with documentation and code examples
- Printed documentation
XMEGA Multimedia Board Resources
Optional Recommended Products for this Item