ZTEX

 
Products
Series 2 FPGA Boards
  USB-FPGA Module 2.16
  USB-FPGA Module 2.13
  USB-FPGA Module 2.04
  Debug Board
  Series 1 Adapter
  Cluster Board
Series 1 FPGA Boards
  USB-FPGA Module 1.11
  USB-FPGA Module 1.15
  USB-FPGA Module 1.15x
  USB-FPGA Module 1.15y
  Experimental Board 1.3
  Experimental Board 1.2
  Analog Experimental Board
  Power Supply Module
  Reference designs
Microcontroller Boards
  USB-XMEGA Board
To the ZTEX Shop ZTEX Shop
 SDK and Examples 
  Overview
  Documentation
  Downloads
  Example
  Release history
  ZTEX Wiki
 
  BTCMiner - Bitcoin Miner
OS Discount Program
 
Downloads
 
Contact
Impressum
Terms and Conditions
RoHS
 

Twitter Google+
    Home / Products         SDK    
    To the ZTEX Shop Shop   
    Wiki / Forums         Downloads    
    deutsch     englisch    

USB-XMEGA Module: USB 2.0 Microcontroller Board with Analog Functions

To the ZTEX Shop To the shop

Table of Contents

Features
Programming of the microcontrollers, Firmware Development Kit and Examples
Functional description
    External power: CON1
    AVR PDI header
    EEPROM address: JP2
    USB power: JP1
    I/O Connector
Images

Additional resources

Schematics (PDF)
Eagle Library of the I/O connector
[external Link] Cypress CY7C68013A/14A datasheet from the Cypress homepage
[external Link] EZ-USB FX2 Technical Reference Manual from the Cypress homepage
[external Link] AVR XMEGA A Manual
[external Link] ATxmega64A1/128A1/192A1/256A1/384A1 datasheet

USB-XMEGA Module 1.0

Features

  • USB 2.0 Interface via Mini-USB connector (B-type)
  • Cypress EZ-USB FX2 microcontroller CY7C68013A/14A for USB connectivity
  • AVR ATXmega128A1 microcontroller for analog functions:
    • 2 eight-channel, 12 Bit, 2 Msps Analog to Digital Converter (ADC), software selectable gain of up to 64
    • 2 two-channel, 12 Bit, 1 Msps Digital to Analog Converter (DAC)
    • 4 Analog Comparators (AC) with Window-Function and input form DAC
    • DMA controller for data transfers without CPU intervention
    • Firmware programming and NVM access via USB using the EZ-USB FX2 SDK (no programming cables required)
    • 128 KByte Flash + 2 KByte EEPROM
    • USART's, IrDA modulation/demodulation
    • Eight channel event system
    • Two-wire interfaces (I2C and SMBus) and SPI interfaces
    • AES and DES crypto engine
  • 66 General Purpose I/O's (GPIO):
    • 16 GPIO's from EZ-USB FX2 (12 if microSD card is used)
    • 50 GPIO's from XMEGA
  • 14 special I/O's (SIO) from EZ-USB FX2:
    • 2 serial ports (4 pins)
    • I2C interface (2 pins)
    • 1 interrupts
    • 3 timers
    • 1 clock output
    • 1 Wakeup pin
    • 1 Breakpoint pin
    • 1 reset pin
  • MicroSD socket for standard and high capacity (SDHC) microSD cards (the cards must support the SPI mode)
  • 128 Kbit EEPROM memory
  • On-board high-efficiency 3.3 V / 700 mA (1.3 A peak) switching regulator
    • Supports bus powered operation via USB
    • Supports external powered 4.6 to 20 V operation
    • Both supply inputs are protected by diodes and thus can be driven safely at the same time

[TOC]

Programming of the microcontrollers, Firmware Development Kit and Examples

A 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.

[TOC]

Functional description

The following drawing shows the measurements and the location of the of the described elements.

Technical drawing of the USB-XMEGA Module 1.0
Click on the image for a larger version or download the PDF version.

External power: CON1

Connector 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 header

The standard AVR PDI header can be used to program the ATxmega microcontroller using the AVRISP mkII programmer. The pin assignment reads as follows:
6
GND
5
CLK
4
N/C
3
N/C
2
3.3V
1
DATA
Pin 1 has a quadratic pad and is labelled with "1".

EEPROM address: JP2

Jumper JP2 specifies the I2C address of the EEPROM:

JP2 I2C address
open 0xA2
close 0xAA

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: JP1

Jumper JP1 is located at the bottom side below the USB connector as shown in the following figure.

JP1 of the USB-XMEGA Module 1.0

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.

[TOC]

I/O Connector

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.

The following Pinlist and the List of Connections Can be downloaded Gnumeric or Excel format. The Pinlist reads as:

Pinlist
A B C D
Signal Signal Signal Signal
1 4.6..20V USB5V USB5V 4.6..20V 1
2 GND GND GND GND 2
3 SCL INT 4 CLKOUT PE7 3
4 SDA T0 PE6/T2EX PE5/INT6 4
5 PC0 T1 PE4/RXD1OUT PE3/RXD0OUT 5
6 PC1 T2 PE2/T2OUT PE1/T1OUT 6
7 PC2 BKPT RESET# PE0/T0OUT 7
8 PC3 WAKEUP GND GND 8
9 3.3V 3.3V 3.3V 3.3V 9
10 GND GND PXF7 PXF6 10
11 PC4/DO TXD0 PCF5 PXF4 11
12 PC5/CLK RXD0 PXF3 PXF2 12
13 PC6/DI TXD1 PXF1 PXF0 13
14 PC7/CS RXD1 PXE7 PXE6 14
15 GND GND PXE5 PXE4 15
16 PXR0 PXR1 PXE3 PXE2 16
17 PXA0 PXA1 PXE1 PXE0 17
18 PXA2 PXA3 PXD7 PXD6 18
19 PXA4 PXA5 PXD5 PXD4 19
20 PXA6 PXA7 PXD3 PXD2 20
21 PXB0 PXB1 PXD1 PXD0 21
22 PXB2 PXB3 PXC7 PXC6 22
23 PXB4 PXB5 PXC5 PXC4 23
24 PXB6 PXB7 PXC3 PXC2 24
25 3.3V 3.3V PXC1 PXC0 25
26 GND GND GND GND 26

Summary
EZ-USB FX2 GPIO's 12
EZ-USB FX2 GPIO's shared with microSD   4
XMEGA GPIO's 50
Serial interface 4
I2C 2
CLKOUT 1
Reset 1
Interrupt 1
Timer 3
Wakeup 1
Breakpoint 1
GND 14
3.3V 6
4.6..20V 2
USB5V 2
Sum:  104 

[TOC]

Images

Click on the images for larger versions.

USB-XMEGA Module 1.0

Top side of the USB-XMEGA Board.

USB-XMEGA Module on Prototyping board

The USB-XMEGA Module perfectly fits on a triple-pad Prototyping board.
The depicted set consists in:

  • 1 × USB-XMEGA Module
  • 1 × Prototyping board
  • 2 × 2x26 pin female pin header
  • 2 × 2x26 pin male pin header


[Home]  [Impressum]   
© ZTEX GmbH