background image

Ready

for XMEGA

®

Best solution for fast and simple development 
of applications using ATxmega128A1 device. 
With special white plastic casing you can 
quickly turn your Ready for XMEGA project 

into a final product.

Summary of Contents for MIKROE-793

Page 1: ...dy for XMEGA Best solution for fast and simple development of applications using ATxmega128A1 device With special white plastic casing you can quickly turn your Ready for XMEGA project into a final product ...

Page 2: ...m 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 TO OUR VALUED CUSTOMERS Nebojsa Matic General Manager The AVR XMEGA and Windows logos and product names are trademarks of Atmel and Microsoft in the U S A and other countries ...

Page 3: ...dentifying device COM port 13 step 1 Choosing COM port 13 step 2 Establishing connection 14 step 3 Browsing for hex file 14 step 4 Selecting hex file 15 step 5 Uploading hex file 15 step 6 Progress bar 16 step 7 Finish upload 16 Programing with JTAG programmer 17 Programing with PDI 18 4 USB UART 20 5 Prototyping area 21 6 Pin headers 22 7 Reset button 23 8 Piezo buzzer 24 9 Integrating with the c...

Page 4: ... all available microcontroller ports We have groupped pins according to their functions so you have everything on the silkscreen Youdon tevenhavetobrowsethroughthe datasheet Board also contains USB UART module prototyping area and a power supply circuit Board is specially designed to fit into special white plastic casing so you can turn your XMEGA project into a final product Introduction ...

Page 5: ...a All other tradmarks are the property of their respective owners Unauthorised copying hiring renting public performance and broadcasting of this DVD prohibited 20122011 www mikroe com 01 02 04 05 03 06 Damage resistant protective box Ready for XMEGA board with double row male pin headers Ready for XMEGA user s guide Ready for XMEGA schematic DVD with documentation and examples USB cable ...

Page 6: ...T connector Power connector Power screw terminals Reset button Double row pin headers PDI connection Prototyping area ATxmega128A1 microcontroller Piezo Buzzer System Specification power supply Via AC DC connector 7 23V AC or 9 32V DC board dimensions 141 x 84mm 5 55 x 3 3 inch weight 67g 0 15 lbs power consumption 50mA in idle state when on board modules are off ...

Page 7: ...Page 7 01 09 02 10 11 12 03 10 05 04 06 07 13 08 10 14 ...

Page 8: ... for operation of the microcontroller If you decide to use external power supply you can choose between AC DC adapter connector or power screw terminals Voltage values must be within 7 23V AC or 9 32V DC ranges Power LED GREEN will indicate the presence of power supply Use only one of suggested methods for powering the board Figure 1 1 AC DC adapter power supply connected Figure 1 2 laboratory pow...

Page 9: ...F 6V 5V SWITCHING POWER SUPPLY VCC 5V 1 2 3 5 4 VREF 1 8V C22 2 2uF VCC 3 3V E6 10uF IN GND OUT EN ADJ U5 AP7331 ADJ R15 120K R13 22K R14 12K1 1 3 2 C2 100nF VCC 5V GND Vout Vin REG1 MC33269DT3 3 E5 10uF VCC 3 3V E4 10uF C1 100nF C19 100nF VCC 3 3V AVCC FP2 FERRITE C18 100nF 1 2 3 4 VCC GND CN3 USB B VCC USB VCC 5V D2 MBRS140T3 FP1 FERRITE C10 100nF 1 8V VOLTAGE REGULATOR 3 3V VOLTAGE REGULATOR Fi...

Page 10: ...itecture 128KB of Flash memory 8KB of SRAM memory 2048Bytes of EEPROM 78 I O pins 32kHz RTC 1 6V to 3 6V Operating Voltage VCC UART SPI TWI ADC DAC AC etc EVENT ROUTING NETWORK DATA BUS DATA BUS Power Reset Control AES DES Crypto Support DMA Controller Event System Controller Debug Prog interface BOD Temp sensor RTC FLASH RAM EEPROM OSC CLK Interrupt Controller EBI Watchdog Timer VREF OCD ADC DAC ...

Page 11: ... Via USB UART mikroBootloader Using JTAG external programmer Using PDI external programmer Figure 3 1 ATxmega128A1 3 Programming the microcontroller 01 02 03 The microcontroller can be programmed in three ways ...

Page 12: ...nrar it to a desired location and start mikroBootloader USB HID software http www mikroe com eng downloads get 1271 mikrobootloader_xmega_v101 zip note Figure 3 2 mikroBootloader window mikroBootloader software 01 When you start mikroBootloader software a window shown on Figure 3 2 should appear Before starting mikroBootloader software connect Ready for XMEGA with a PC using USB cable provided wit...

Page 13: ... 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 COM34 01 02 03 Click the Change Settings button From the drop down list select appropriate COM port which is used for communication with a PC Click OK 03 ...

Page 14: ...eset button on Ready for XMEGA board and click Connect button within 5s otherwise existing microcontroller program will execute If connected caption on a button will be changed to Disconnect Click the Browse for HEX button and from a pop up window Figure 3 7 choose HEX file which will be uploaded to MCU memory note Baud rate is set to 115200bps by default ...

Page 15: ...tep 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 the Begin uploading button 01 02 01 ...

Page 16: ... Figure 3 10 Restarting MCU 01 01 02 You can monitor HEX file uploading via progress bar Click OK button after uploading is finished Press Reset button on Ready for XMEGA board and wait for 5 seconds Your program will execute automatically step 6 Progress bar ...

Page 17: ... have to solder the provided IDC10 2x5 male header onto the board s JTAG connector pads If bootloader program is accidentally erased you can upload it again via AVR JTAG or PDI programmer Ready for XMEGA Bootloader Firmware hex can be found under Firmware folder see page 12 Figure 3 12 connecting JTAG programmer Figure 3 11 placing 10 pin header Programming with JTAG programmer ...

Page 18: ...m the microcontroller using external serial PDI programmer Before attaching the programming connector you have to solder the provided 2x3 male header to the board s PDI connector pads Figure 3 14 Connecting PDI programmer Programming with PDI programmer Figure 3 13 placing 6 pin header ...

Page 19: ...5 PD7 PC5 PC7 3 2 2 2 3 3 4 3 3 4 4 4 4 3 5 4 4 3 3 3 4 4 4 3 2 ATxmega128A1 0 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 XTAL1 PR1 PB7 PD3 GND PC7 PC6 PC5 PC4 PC3 PJ6 PJ5 PF7 PF6 VCC PB6 PB5 PE3 PA4 PA5 PA6 PA7 PD2 PD1 PD0 VCC PF4 PF5 PJ1 PH6 PF2 PF3 PH3 PE4 PE2 PH4 PH7 TOSC2 PQ1...

Page 20: ...RL U2 FT232RL VCC USB USBDP USBDM J2 J3 DATA BUS C5 100nF C9 100nF E3 10uF VCC 3 3V VCC FTDI VCC FTDI 4 USB UART Figure 4 2 USB UART schematics Fast on board FTDI chip allows you to communicate with a PC or other UART devices using USB UART connection USB B connector CN3 is used for connecting the USB cable RX receive and TX transmit LEDs will indicate communication status Before conecting the boa...

Page 21: ... are arranged in standard 100mils distance form factor There are 20 connected lines on both halves of the breadboard area and each line consists of 5 soldering pads which are on the same voltage level connected to each other Figure 5 1 Proto area usage LD1 GREEN LD2 RED LD3 YELLOW R1 R2 R3 PJ0 PJ1 PJ2 DATA BUS Figure 5 2 schematics of three LEDs connected to microcontroller pins as shown in Figure...

Page 22: ... 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 VCC PB6 PB5 PE3 PA4 PA5 PA6 PA7 PD2 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 U4 VCC 3 3V AVCC VCC 5V...

Page 23: ...7 PD2 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 U4 VCC 3 3V AVCC X2 32 768kHz C4 22pF C3 22pF PQ1 TOSC2 PQ0 TOSC1 VCC 3 3V VCC 3 3V VCC 3 3V VCC 3 3V VCC 3 3V VCC 3 3V VCC 3 3V VCC 3 3V C6 100nF C11 100nF C12 100nF C13 100nF C14 100nF C15 100nF C16 100nF C17 100nF D...

Page 24: ...PQ0 TOSC1 3 2 2 2 3 3 4 3 3 4 4 4 4 3 5 4 4 3 3 3 4 4 4 3 2 ATXmega128A1 0 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 XTAL1 PR1 PB7 PD3 GND PC7 PC6 PC5 PC4 PC3 PJ6 PJ5 PF7 PF6 VCC PB6 PB5 PE3 PA4 PA5 PA6 PA7 PD2 PD1 PD0 VCC PF4 PF5 PJ1 PH6 PF2 PF3 PH3 PE4 PE2 PH4 PH7 TOSC2 PQ1 PC2...

Page 25: ...e top part of the casing and enclosing the board Casing comes with holes for USB and power adapter connector but you can customize it by driling and cutting holes in specific areas depending on the target application Figure 9 1 Place the board into the bottom part of the casing Make sure to align the connectors with the square openenings Figure 9 2 Wind screws into inner screw holes to mount the b...

Page 26: ... mm 9 14 mm 32 2 mm 5 59 mm 24 76 mm 2 54 mm 2 54 mm 141 mm 124 mm 48 mm 66 mm 84 mm 510 mils 1839 mils 1268 mils 975 mils 220 mils 360 mils 100 mils 100 mils 4882 mils 5551 mils 1890 mils 2598 mils 3307 mils 10 Dimensions ...

Page 27: ...oElektronika 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 necessary TRADEMARKS The MikroElektronika name and logo the MikroElektronika logo mikroC mikroBasic mikroPascal AVRProg Ready for XMEGA EasyAVR EasyAVR PRO Click Boards and mikromedia are trademarks of MikroElektroni...

Page 28: ...re 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 not hesitate to contact us at office mikroe com Ready for XMEGA Manual ver 1 00 0 100000 019061 ...

Page 29: ...ucts are found below 3264 ATAVRPARROT ATSAMR21B18MZ210PAT CS EASE 03 EV35F40A A100053 1222 MIKROE 2474 1260 KIT0018 1405 DEV 10914 1500 1639 1657 174 193 2000 2010 3208 ATRCB256RFR2 ATXMEGAA1U XPRO 2085 ATSTK600 SC48 2290 2466 2488 DEV 11520 2590 296 3000 ATAVRBLE IOT ATTINY416 XNANO DFR0010 DFR0100 DFR0164 DFR0191 DFR0221 DFR0222 DFR0225 DFR0233 DFR0282 DFR0327 DRI0027 KIT0111 K030007 DFR0351 DEV...

Reviews: