Compact multimedia development system rich with on-board peripherals for all-round development on
ATxmega128A1
device
for XMEGA
®
mikromedia
™
AVR
Page 1: ...Compact multimedia development system rich with on board peripherals for all round development on ATxmega128A1 device for XMEGA mikromedia AVR...
Page 2: ...y 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 The XMEGA and Windows logos and prod...
Page 3: ...ing device COM port 14 step 1 Choosing COM port 14 step 2 Establishing connection 15 step 3 Browsing for HEX file 15 step 4 Selecting HEX file 16 step 5 Uploading HEX file 16 step 6 Progress bar 17 st...
Page 4: ...dia for XMEGA features integrated modules such as stereo MP3 codec TFT 320x240 touch screen display accelerometer MMC SD card slot 8 Mbit flash memory battery charger The board also contains MINI B US...
Page 5: ...operty 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 M...
Page 6: ...or 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 micro...
Page 7: ...fication power supply Over a USB cable 5V DC board dimensions 81 2 x 60 5 mm 3 19 x 2 38 inch weight 45 g 0 10 lbs power consumption 87 mA with erased MCU when back light is ON 03 06 07 08 09 10 12 13...
Page 8: ...he presence of power supply You can also power the board using Li Polymer battery via on board battery connector On board battery charger circuit MCP73832 enables you to charge the battery over USB co...
Page 9: ...VCC 1 8 VCC 1 8 R50 0R 1 2 3 5 4 Vin GND EN ADJ Vout U3 MIC5205 ADJ DATA BUS LD2 CHARGE VCC BAT VCC 1 8 VREF 1 8 E11 10uF FP3 FERRITE CN1 BATT CONN VCC SYS VCC 3 3 E3 10uF E4 10uF R26 2K2 Vout 3 Vin 1...
Page 10: ...ns Key microcontroller features Up to 32 MIPS Operation 8 bit architecture 128 KB of Flash memory 8 KB of SRAM memory 2048 Bytes of EEPROM 78 I O pins 32kHz RTC UART SPI ADC DAC etc DATA BUS EVENT ROU...
Page 11: ...Page 11 3 Programming the microcontroller 01 02 Over UART mikroBootloader Using external PDI programmer Figure 3 1 ATxmega128A1 Microcontroller The microcontroller can be programmed in two ways...
Page 12: ...er which can be downloaded from After the mikroBootloader software is downloaded unzip it to desired location and start it http www mikroe com downloads get 1669 mikromedia_xmega_bootloader_v101 zip P...
Page 13: ...Connect mikromedia for XMEGA with a PC before starting mikroBootloader software note Page 13...
Page 14: ...ure 3 3 Identifying COM port 01 Open Device Manager window and expand Ports section to see which COM port is assigned to Ready for XMEGA board in this case it is COM5 01 02 03 Click the Change Setting...
Page 15: ...rogram will run If connected the button s caption will be changed to Disconnect step 2 Establishing Connection step 3 Browsing for HEX file 01 01 Figure 3 5 Connecting with mikroBootloader Figure 3 6...
Page 16: ...ep 5 Uploading HEX file Figure 3 7 Locating and selecting hex file Figure 3 8 Begin uploading 01 01 02 Select HEX file using open dialog window Click the Open button To start HEX file bootloding click...
Page 17: ...3 10 Restarting MCU 01 01 02 Progress bar enables you to monitor HEX file uploading Click OK button after the uploading process is finished Press Reset button on Ready for XMEGA board and wait for 5 s...
Page 18: ...with PDI 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 If bootloader program is accidently erased you...
Page 19: ...PE6 PB0 PB1 PB2 PB3 PJ4 PJ3 PJ2 PH2 VCC GND GND VCC PH0 PH1 PF0 PF1 XTAL2 PR0 RESET PDI PDI GND PQ3 PQ2 GND VCC AVCC GND PA3 PA2 PA1 PA0 AVCC XTAL1 PR1 PB7 PD3 GND PC7 PC6 PC5 PC4 PC3 PJ6 PJ5 PF7 PF6...
Page 20: ...ll generate low voltage level on microcontroller reset pin input In addition a reset can be externally provided through pin 27 on side headers Figure 4 3 4 Reset Button Figure 4 2 Frontal reset button...
Page 21: ...89 90 91 92 93 94 95 96 97 98 99 100 PE0 VCC GND PD7 PE7 PE6 PB0 PB1 PB2 PB3 PJ4 PJ3 PJ2 PH2 VCC GND GND VCC PH0 PH1 PF0 PF1 XTAL2 PR0 RESET PDI PDI GND PQ3 PQ2 GND VCC AVCC GND PA3 PA2 PA1 PA0 AVCC...
Page 22: ...PD1 PD0 VCC PF4 PF5 PJ1 PH6 PF2 PF3 PH3 PE4 PE2 PH4 PH7 TOSC2 PQ1 PC2 PC1 PC0 PE1 PE5 PH5 PJ0 TOSC1 PQ0 PD6 PD5 PD4 GND PB4 GND VCC PJ7 PK3 PK1 GND VCC PK0 PK2 PK4 PK5 PK6 PK7 U1 AVCC PQ1 TOSC2 PQ0 TO...
Page 23: ...PH5 PJ0 TOSC1 PQ0 PD6 PD5 PD4 GND PB4 GND VCC PJ7 PK3 PK1 GND VCC PK0 PK2 PK4 PK5 PK6 PK7 U1 AVCC SD CD SD CS SD CS R11 10K R10 10K VCC MMC R9 10K SD CD VCC MMC R16 27 VCC 3 3 E6 10uF C38 100nF FP1 F...
Page 24: ...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 graphics in 262 14...
Page 25: ...YD LCD XL DRIVEA DRIVEB PMRD PMWR R23 1K VCC SYS LCD RST LCD RS LCD CS LCD YU LCD XL LCD YD LCD XR VCC 3 3 E13 10uF R25 10K VCC 3 3 R24 10K LCD RST LCD CS VCC 3 3 LCD BLED R40 12 VCC SYS PMRD PMWR D2...
Page 26: ...audio codec VS1053 This module enables audio reproduction by using stereo headphones connected to the system via a 3 5mm connector CN2 All functions of this module are controlled by the microcontroll...
Page 27: ...3 CS C20 22pF C19 22pF R1 1M R20 10K R21 10K MP3 DREQ MP3 RST R2 10K R19 10K X2 12 288MHz C13 1uF VCC 3 3 GPIO VCC 3 3 LEFT RIGHT GBUF C11 100nF C10 100nF C4 100nF C12 100nF C9 100nF C23 100nF VCC 3 3...
Page 28: ...ext 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 U...
Page 29: ...3 78 77 24 23 18 17 16 15 14 13 5 6 7 8 10 79 80 1 2 22 21 20 19 62 61 60 59 38 39 40 41 47 71 31 51 70 26 25 76 75 74 73 ATxmega128A181 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 PE0 V...
Page 30: ...K2 PK4 PK5 PK6 PK7 U1 AVCC SCLD PD1 SDAD PD0 C32 100nF C33 100nF VCC 3 3 R12 10K R13 10K VCC 3 3 1 2 3 J1 SMD JUMPER ACC ADDRESS 1 2 3 VCC GND Res 4 GND 5 GND 6 VCC 7 CS 8 INT1 9 INT2 10 NC 11 Res 12...
Page 31: ...1 PC2 PC1 PC0 PE1 PE5 PH5 PJ0 TOSC1 PQ0 PD6 PD5 PD4 GND PB4 GND VCC PJ7 PK3 PK1 GND VCC PK0 PK2 PK4 PK5 PK6 PK7 U1 AVCC MOSIC PC5 SCKC PC7 MISOC PC6 FLASH CS FLASH CS C37 100nF R48 10K VCC 3 3 VCC 3 3...
Page 32: ...U1 AVCC PB1 PB2 PB3 PC0 PC1 PC2 PC3 SCLD PD1 SDAD PD0 PA6 PA7 PD4 PF0 PF1 PE3 PE4 PE2 PE6 PE7 MOSIC PC5 SCKC PC7 MISOC PC6 RXD PD2 TXD PD3 PD5 PD7 PD6 PE1 PE0 PB5 PB6 PH1 PH0 PR1 PR0 PF6 PF7 PH7 PJ7...
Page 33: ...h PWM lines Digital I O lines Digital I O lines Interrupt lines Analog lines PB3 PC0 PA4 PC1 PA5 PC2 PA6 PC3 PA7 PF0 PH0 PF1 PH1 PE4 PB5 PJ7 PB6 PR0 PE1 PR1 PE0 PE2 PD7 PE3 PD6 PE6 PD5 PE7 PH7 PF6 PJ0...
Page 34: ...3 66 mm 81 15 mm 63 5 mm 2 67 mm 2 54 mm 36 58 mm 55 88 mm 60 45 mm 2 03 mm 3195 mils 2900 mils 2380 mils 2200 mils 2500 mils 1440 mils 105 mils 100 mils 80 mils 8 89 mm 350 mils 7 62 mm 300 mils 14 D...
Page 35: ...ble you to easily expand your board basic functionality We call them mikromedia shields But we also offer other accessories such as Li polymer battery stacking headers wire jumpers and more 04 01 02 0...
Page 36: ...ch is compatible with mikroElektronika compilers Visual TFT is rich with examples which are an excellent starting point for your future projects Just load the example read well commented code and see...
Page 37: ...Page 37 Notes...
Page 38: ...Page 38 Notes...
Page 39: ...if MikroElektronika has been advised of the possibility of such damages MikroElektronika reserves the right to change information contained in this manual at any time without prior notice if necessar...
Page 40: ...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 do...
Page 41: ...Mouser Electronics Authorized Distributor Click to View Pricing Inventory Delivery Lifecycle Information MikroElektronika MIKROE 755...