MicroElektronika micromedia Manual

For xmega compact multimedia development system rich with on-board peripherals for all-round development on atxmega128a1 device

Advertisement

Quick Links

mikromedia
for XMEGA
®
Compact multimedia development system rich with on-board peripherals for
all-round development on
ATxmega128A1
device
AVR

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the micromedia and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

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

    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.
  • Page 4: Introduction To Mikromedia For Xmega

    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 ®...
  • Page 5: Package Contains

    Package Contains PRODUCT DVD www.mikroe.com www.libstock.com Copyright ©2012 Mikroelektronika. All rights reserved. MikroElektronika, MikroElektronika logo and other MikroElektronika trademarks are the property of MikroElektronika. All other trademarks are the property of their respective owners. Unauthorised copying, hiring, renting, public performance and broadcasting of this DVD is strictly prohibited.
  • Page 6: Key Features

    Key Features Connection Pads TFT 320x240 display USB MINI-B connector Charge indication LED Li-Polymer battery connector 3.5mm headphone connector Power supply regulator FTDI USB UART Serial Flash memory VS1053 Stereo mp3 coder/decoder RESET button ATxmega128A1 microcontroller Accelerometer Crystal oscillator microSD Card Slot PDI connector Power indicator LED Page 6...
  • Page 7: System Specification

    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...
  • Page 8: Power Supply

    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.
  • Page 9 VCC-SYS VCC-USB AVCC VCC-3.3 VCC-SYS PMEG3010ER FERRITE HDR1 HDR2 VBUS FERRITE DMP2160UW 100nF 100nF 10nF VCC-BAT USB MINIB BATT CONN VCC-3.3 VCC-1.8 VCC-BAT VCC-1.8 VREF-1.8 VCC-1.8 10uF 2.2uF Vout VSENSE 220K FERRITE 10uF MIC5205-ADJ 100K VCC-3.3 VCC-3.3 VCC-3.3 Figure 1-3: Power supply schematics M1X26 M1X26 VCC-3.3...
  • Page 10: Atxmega128A1 Microcontroller

    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;...
  • Page 11: Programming The Microcontroller

    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...
  • Page 12: Programming With Mikrobootloader

    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...
  • Page 14: Identifying Device Com Port

    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)
  • Page 15: Step 2 - Establishing Connection

    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 ®...
  • Page 16: Step 4 - Selecting .Hex File

    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...
  • Page 17: Step 6 - Progress Bar

    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 ®...
  • Page 18: Programming With External Programmer

    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).
  • Page 19 VCC-3.3 RESET# AVCC M2X3 VCC-3.3 AVCC VCC-3.3 VCC-3.3 VCC-3.3 VCC-3.3 10uF 100nF 100nF 100nF ATxmega128A1 VCC-3.3 VCC-3.3 VCC-3.3 100nF 100nF 100nF Figure 3-12: PDI programmer connection schematic Page 19...
  • Page 20: Reset Button

    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).
  • Page 21 22pF VCC-3.3 22pF AVCC 100nF VCC-3.3 HDR2 AVCC VCC-3.3 VCC-3.3 VCC-3.3 VCC-3.3 10uF 100nF 100nF 100nF ATxmega128A1 VCC-3.3 VCC-3.3 VCC-3.3 100nF 100nF 100nF VCC-3.3 M1X26 Figure 4-3: Reset circuit schematic Page 21...
  • Page 22: Crystal Oscillators

    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...
  • Page 23: Microsd Card Slot

    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.
  • Page 24: Touch Screen

    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.
  • Page 25 VCC-3.3 VCC-SYS TFT1 LED-K LED-A1 AVCC BC846 LED-A2 VCC-3.3 VCC-SYS LED-A3 LED-A4 LCD-BLED BAT43 BC846 LCD-RST RESET VSYNC HSYNC T-D0 VCC-3.3 DOTCLK ENABLE T-D7 DB17 BC846 T-D6 DB16 10uF AVCC T-D5 DB15 T-D4 LCD-CS# DB14 T-D3 LCD-RS DB13 VCC-3.3 VCC-3.3 T-D2 PMWR DB12...
  • Page 26: Audio Module

    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#...
  • Page 28: Usb Uart Connection

    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...
  • Page 29 AVCC VCC-3.3 VCC-3.3 VCC-3.3 VCC-3.3 VCC-3.3 VCC-3.3 VCC-3.3 VCC-3.3 AVCC 10uF 100nF 100nF 100nF 100nF 100nF 100nF USBDET VCC-3.3 VCC-3.3 ATxmega128A1 RXF-MCU OSCO DTR# OSCI RTS# TEST TX/RX VCCIO AGND TXF-MCU CBUS0 VCC-USB CBUS1 FT232RL DSR# USB MINIB DCD# RESET# FERRITE CTS# CBUS4...
  • Page 30: Accelerometer

    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.
  • Page 31: Flash Memory

    11. Flash Memory AVCC VCC-3.3 AVCC Figure 11-1: VCC-3.3 VCC-3.3 VCC-3.3 VCC-3.3 VCC-3.3 VCC-3.3 VCC-3.3 FLASH-CS# Flash memory module ATxmega128A1 10uF 100nF 100nF 100nF 100nF 100nF 100nF Since multimedia applications are MOSIC-PC5 MISOC-PC6 getting increasingly demanding, it is SCKC-PC7 VCC-3.3 VCC-3.3 necessary to provide additional memory VCC-3.3...
  • Page 32: Pads

    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.
  • Page 33: Pinout

    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...
  • Page 34: Dimensions

    14. Dimensions 81.15 mm (3195 mils) 73.66 mm (2900 mils) 63.5 mm (2500 mils) 2.54 mm 2.67 mm (100 mils) (105 mils) Page 34...
  • Page 35: Mikromedia Accessories

    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.
  • Page 36: What's Next

    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 37 Notes: Page 37...
  • Page 38 Notes: Page 38...
  • 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.
  • Page 41 Mouser Electronics Authorized Distributor Click to View Pricing, Inventory, Delivery & Lifecycle Information: MikroElektronika MIKROE-755...

Table of Contents