Summary of Contents for MicroElektronika micromedia
Page 1
mikromedia ™ for XMEGA ® Compact multimedia development system rich with on-board peripherals for all-round development on ATxmega128A1 device...
Page 2
TO OUR VALUED CUSTOMERS I want to express my thanks to you for being interested in our products and for having confidence in Mikroelektronika. The primary aim of our company is to design and produce high quality electronic products and to constantly improve the performance thereof in order to better suit your needs. Nebojsa Matic General Manager The XMEGA®...
Table of Contents Introduction to mikromedia for XMEGA® step 5 – Uploading .HEX file Package Contains step 6 – Progress bar Key Features step 7 – Finishing upload System Specification Programming with external programmer 1. Power supply 4. Reset Button USB power supply 5.
Introduction to mikromedia for XMEGA ® mikromedia for XMEGA is a compact ® development system with lots of on-board peripherals which allow development devices with multimedia contents. The central part of the system is a 8-bit ATxmega128A1 microcontroller. The mikromedia for XMEGA ®...
System Specification power supply Over a USB cable (5V DC) power consumption 87 mA with erased MCU (when back-light is ON) board dimensions 81.2 x 60.5 mm (3.19 x 2.38 inch) weight ~45 g (0.10 lbs) Page 7...
1. Power supply USB power supply You can apply power supply to the board using MINI-B USB cable provided with the board. On-board voltage regulators provide the appropriate voltage levels to each component on the board. Power LED (GREEN) will indicate the presence of power supply.
2. ATxmega128A1 microcontroller The mikromedia for XMEGA development system comes with ® ATxmega128A1 microcontroller. This high-performance 8-bit microcontroller with its integrated modules and in combination with other on-board modules is ideal for multimedia applications. Key microcontroller features - Up to 32 MIPS Operation;...
3. Programming the microcontroller Figure 3-1: ATxmega128A1 Microcontroller The microcontroller can be programmed in two ways: Over UART mikroBootloader Using external PDI programmer Page 11...
Programming with mikroBootloader mikroBootloader software You can program the microcontroller with UART bootloader which is pre programmed by default. To transfer .hex file from a PC to MCU you need bootloader software (mikroBootloader) which can be downloaded from: http://www.mikroe.com/downloads/get/1669/ mikromedia_xmega_bootloader_v101.zip After the mikroBootloader software is downloaded unzip it to desired location and start it.
Page 13
note Connect mikromedia for XMEGA with a PC before ® starting mikroBootloader software Page 13...
Identifying device COM port step 1 – Choosing COM port Figure 3-4: Choosing COM port Figure 3-3: Identifying COM port Device Manager Ports Open window and expand Click the Change Settings button section to see which COM port is assigned to From the drop down list, select appropriate Ready for XMEGA board (in this case it is COM5)
step 2 - Establishing Connection step 3 - Browsing for .HEX file Figure 3-5: Connecting with mikroBootloader Figure 3-6: Browse for HEX Reset Browse for HEX Press the button on Ready for XMEGA board Click the button and from a ®...
step 4 - Selecting .HEX file step 5 - Uploading .HEX file Figure 3-7: Locating and selecting .hex file Figure 3-8: Begin uploading Select .HEX file using open dialog window. To start .HEX file bootloding click the Begin uploading button Click the Open button...
step 6 - Progress bar step 7 - Finishing upload Figure 3-9: Progress bar Figure 3-10: Restarting MCU Progress bar enables you to monitor .HEX file Click button after the uploading process is finished uploading Press Reset button on Ready for XMEGA board ®...
Programming with external programmer The microcontroller can be programmed with external programmer (AVRISP mkII, AVR JTAGICE mkII or other supported programer with PDI interface). The external programmer is connected to the development system via pads marked with (CN5), Figure 3-11. In order to connect the external programmer to the development system, it is necessary to solder a 2x3 male header on the pad (CN5).
4. Reset Button Board is equipped with reset button, which is located at the top of the front side (Figure 4-2). If you want to reset the circuit, press the reset button. It will generate low voltage level on microcontroller reset pin (input).
5. Crystal oscillators ATxmega128A1 uses internal 2MHz and 32MHz oscillators that provide the necessary clock frequency. In combination with prescalers and multipliers it gives you a wide range of output frequencies, which ensures proper operation of bootloader and your custom applications. Board contains 32.768kHz Crystal oscillator (X1) which provides external clock for internal...
6. microSD Card Slot microSD card slot Board contains 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.
7. Touch Screen The development system features a 320x240 display resistive covered with a Figure 7-1: touch panel. Together they form a functional Touch Screen unit called a touch screen. It enables data to be entered and displayed at the same time. The TFT display is capable of showing graphics in 262.144 diffe rent colors.
8. Audio Module Figure 8-1: On-board VS1053 MP3 codec Figure 8-2: The mikromedia for XMEGA® features stereo audio codec VS1053. This module Inserting 3.5mm enables audio reproduction by using stereo headphones connected to the system headphones jack via a 3.5mm connector CN2.
Page 27
AVCC VCC-3.3 VCC-3.3 VCC-1.8 VCC-3.3 10uF MP3-CS# 3.3nF 100K MP3-RST# 10uF 3.3nF 100K AVCC MP3-DCS XDCS/BSYNC IOVDD1 AGND3 LEFT LEFT LEFT DGND1 AVDD2 XTAL0 RCAP RIGHT VS1053 XTAL1 AVDD1 GBUF IOVDD2 GBUF ATxmega128A1 DGND2 AGND2 PHONEJACK DGND3 AGND1 RIGHT MP3-CS# DGND4 RIGHT MP3-CS#...
9. USB UART connection Mikromedia contains USB MINI-B connector which is positioned next to the battery connector. FT232RL USB-UART IC enables you to implement UART serial communication functionality via USB cable, since ATxmega128A1 does not support USB protocol. Figure 9-1: Connecting USB cable to MINI-B USB connector Page 28...
10. Accelerometer ADXL345 On board accelerometer is used to measure acceleration in three axis: x, y and z. The accelerometer function is defined by the user in the program loaded into the microcontroller. Communication between the accelerometer and the microcontroller is performed I 2 C via the interface.
12. Pads AVCC VCC-3.3 VCC-SYS HDR2 HDR1 AVCC ATxmega128A1 MOSIC-PC5 MISOC-PC6 RXD-PD2 SCKC-PC7 TXD-PD3 SCKC-PC7 SCLD-PD1 MISOC-PC6 SDAD-PD0 SDAD-PD0 MOSIC-PC5 VCC-3.3 VCC-3.3 M1X26 M1X26 Pads HDR2 Pads HDR1 Figure 12-1: connecting pads schematic Most microcontroller pins are available for further connectivity via two 1x26 rows of connection pads on both sides of the mikromedia board.
13. Pinout System power supply VSYS Reset pin Reference Ground Reference Ground left ch. audio out right ch. Analog lines PWM lines Interrupt lines Digital I/O lines Digital I/O lines SCL2 SDA2 3.3V power supply 3.3V 3.3V 3.3V power supply Reference Ground Reference Ground Pin functions...
15. mikromedia accessories We have prepared a set of extension boards pin-compatible with your mikromedia, which enable you to easily expand your board basic functionality. call them mikromedia shields. But we also offer other accessories, such as Li-polymer battery, stacking headers, wire jumpers and more.
What’s next? You have now completed the journey through each and every feature of mikromedia for XMEGA board. You got to know it’s modules and ® organization. Now you are ready to start using your new board. We are suggesting several steps which are probably the best way to begin. We invite you to join the users of mikromedia™...
Page 39
DISCLAIMER All the products owned by MikroElektronika are protected by copyright law and international copyright treaty. Therefore, this manual is to be treated as any other copyright material. No part of this manual, including product and software described herein, may be reproduced, stored in a retrieval system, translated or transmitted in any form or by any means, without the prior written permission of MikroElektronika.
Page 40
If you want to learn more about our products, please visit our website at www.mikroe.com If you are experiencing some problems with any of our products or just need additional information, please place your ticket at www.mikroe.com/esupport If you have any questions, comments or business proposals, mikromedia for XMEGA Manual ver.
Need help?
Do you have a question about the micromedia and is the answer not in the manual?
Questions and answers