XMEGA USB Development Board
JM-XD200-USB


click to enlarge



Features

Atmel XMEGA 128A1 (chip rev. H), 128KB flash, 8KB RAM
Atmel ATmega32U2 USB uC, 32KB flash, 1KB RAM
Onboard USB PDI programmer (no external programmer needed)
Open source code installed on the ATmega32U2 (LUFA powered)
XMEGA programmable using AVR Studio or AVRdude
ATmega32U2 programmable using FLIP or dfu-programmer
Full access to flash, EEPROM, fuses, lockbits, etc.
USB to SPI bridge (can use USB in your XMEGA application)
76 XMEGA GPIO pins routed to headers
Version with peripherals adds:
SD Card slot
Audio amplifier
32KB SRAM (SPI)
General purpose N-FET
Temperature sensor
4 LEDs
Optional thumbstick (4-direction + center)
Solder jumpers to disconnect peripherals
USB or external power, 3.3V 1A ULDO linear regulator
Two 16MHz crystals installed (HC49-US PTH)
JTAG header for external programming / debugging
PCB is 10cm x 5cm, Ind. temp. (crystals are -20C to 70C)



Introduction

The JM-XD200-USB has two AVR chips installed, the ATxmega128a1, and the ATmega32U2. The ATmega32U2 chip provides two main functions to the XMEGA. First, it contains a PDI programmer that allows programming, reading, and verification of the XMEGA NVM memories (flash, EEPROM, and user signature), fuses, and lockbits over USB using AVR Studio (or AVRdude). In this mode, it emulates the AVRISPmkII. No external programmer is required, although a JTAG header is still provided.



Second, it provides a USB to SPI bridge to allow the XMEGA to communicate to the host using USB. By default, the JM-XD200-USB will appear as a virtual COM port (CDC ACM driver). The bridge can operate at up to 4MHz (full-duplex). Furthermore, the firmware on the ATmega32U2 is itself upgradeable via an onboard DFU bootloader, allowing the development of custom USB applications. Most of the unused I/O pins of the ATmega32U2 are routed to a header, making it easy to develop auxiliary support functions.



All firmware installed is open-source under the MIT license (similar to BSD). Source code is available on the code page. The code for the ATmega32U2 is based on the LUFA USB library by Dean Camera. If you would like to develop a USB application that uses drivers other than the default CDC ACM class, then check out his website at http://www.fourwalledcubicle.com/. The source code for the JM-XD200-USB includes only the USB driver directory of his LUFA project. The LUFA project includes examples using many different device classes (like storage, sound, MIDI, HID, etc). He has both high-level and low-level examples, making it relatively easy to progressively learn.







XMEGA 128A1 Features:

High-performance, Low-power 8/16-bit AVR XMEGA Microcontroller
Non-Volatile Program and Data Memories
128K Bytes of In-System Self-Programmable Flash
8K Bytes Boot Section with Independent Lock Bits
2 KB EEPROM
8 KB Internal SRAM
External Bus Interface for up to 16M bytes SRAM
External Bus Interface for up to 128M bit SDRAM
Peripheral Features
Four-channel DMA Controller with support for external requests
Eight-channel Event System
Eight 16-bit Timer/Counters
4 Timer/Counters with 4 Output Compare or Input Capture
4 Timer/Counters with 2 Output Compare or Input Capture
High-Resolution Extension on all Timer/Counters
Advanced Waveform Extension on two Timer/Counters
Eight USARTs
IrDA modulation/demodulation for one USART
Four 2-Wire Interfaces w/ dual address match (I2C and SMBus)
Four SPI (Serial Peripheral Interface) peripherals
AES and DES Crypto Engine
16-bit Real Time Counter with separate Oscillator
Two Eight-channel, 12-bit, 2 Msps Analog to Digital Converters
Two Two-channel, 12-bit, 1 Msps Digital to Analog Converters
Four Analog Comparators with Window compare function
External Interrupts on all General Purpose I/O pins
Watchdog Timer with Separate On-chip Ultra Low Power Oscillator
Special Microcontroller Features
Power-on Reset and Programmable Brown-out Detection
Internal and External Clock Options with PLL and Prescaler
Programmable Multi-level Interrupt Controller
Sleep Modes: Idle, Power-down, Standby, Power-save, Ext. Stby.
Advanced Programming, Test and Debugging Interfaces
JTAG (IEEE 1149.1 Compliant)
PDI (Program and Debug Interface)
I/O and Packages
78 Programmable I/O Lines
100 - lead TQFP
Operating Voltage
1.6 - 3.6V
Speed performance
0 - 12 MHz @ 1.6 - 3.6V
0 - 32 MHz @ 2.7 - 3.6V




Last update: June 3, 2010