USB-XMEGA Module: USB 2.0 Microcontroller Board with Analog Functions
Programming of the microcontrollers, Firmware Development Kit and ExamplesA powerful Open Source Firmware Development Kit with platform independent host software API is available for the USB-XMEGA Board. This SDK allows to define all USB device descriptors using only a few macro commands, and thus gives the developer a quick start into Firmware programming.
The SDK supports programming of the EZ-USB FX2 and the ATxmega microcontrollers and access to their non volatile memories. No additional programming cables are required.
The SDK package contains a lot of examples which can be used as starting point for own applications.
More Information are available in the EZ-USB FX2 SDK section.
The following drawing shows the measurements and the location of the of the described elements.
External power: CON1Connector CON1 may be used to supply an external 4.6 to 20 V voltage. The ground pin (quadratic pad) is marked by "-" and "B" and the supply pin (oval pad) is marked by "+" and "R", see the image below.
It is also possible to supply the external voltage via the I/O connector described below.
AVR PDI headerThe standard AVR PDI header can be used to program the ATxmega microcontroller using the AVRISP mkII programmer. The pin assignment reads as follows:
EEPROM address: JP2Jumper JP2 specifies the I2C address of the EEPROM:
The EZ-USB FX2 Microcontroller searches for the firmware at the address 0xA2 which is the default address (jumper open).
The main purpose of this jumper is to disable the EEPROM boot-load. If, for example, the EEPROM was programmed with a corrupt firmware the Microcontroller can be booted with the internal default firmware by short cutting the two pads of jumper JP2 during powering-on the USB-XMEGA Board.
USB Power: JP1Jumper JP1 is located at the bottom side below the USB connector as shown in the following figure.
If this jumper is closed the bus powered supply via USB is enabled. By default this jumper is closed by a small wire. (The wire may be covered by the solder mask.) If bus powered operation is not desired this wire can be cut. (After that JP1 can by closed by solder bridge.)
Usually there is no need to open JP1 since both, the bus powered supply and the external supply are protected by diodes, see the schematics. Only if the required current is large (more than the USB port can deliver) and if the external voltage is less than 5.5 V Jumper JP1 should be opened.
Two 2x26 pin connectors deliver the I/O signals and are used for the power supply. The drawing shows the position of the connectors.
There is a polarization key in form of a small hole close to the B1 pin as shown on the drawing. In order to prevent damage equal orientation of the polarization key (hole) of all stacked boards must be ensured.
Click on the images for larger versions.