Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

HTML
<!--
General Notes:
Designate all graphics and pictures with a number and a description. For example "Figure 1: TE07xx-xx Block Diagram" or "Table 1: Initial delivery state". "Figure x" and "Table x" have to be formatted to bold.  
-->


scroll-ignore

Download PDF version of this document.

scroll-pdf-ignore

Table of Contents

Table of Contents

Overview


Scroll Only (inline)
https://wiki.trenz-electronic.de/display/PD/TEI0004+TRM for the current online version of this manual and other available documentation.

The Trenz Electronic TE0790 TEI0004 is an universal USB2.0 to JTAG, UART and GPIO adapter board based on the FTDI FT2232H USB2.0 IC. The adapter board converts signals from USB2.0 to the standard serial or parallel interfaces of Embedded Systems like JTAG , SPI, I²C and UART.

The board is equipped with a programmable System Controller CPLD provided by Lattice Semiconductor LCMXO2-256HC (MachXO2 Product Family) to control the signals of the configured interfaces. The data stream of the USB2.0 port can be also converted to 8 independent GPIO's or used as FIFO.

In order to work with Xilinx tools special order must be used, in that case the EEPROM is pre-programmed and serialized and will be recognized by all Xilinx tools (ISE/Impact/Chipscope, Vivado Programmer/SDK..).

Following table describes the possible operation modes of the TE0790 adapter board. The operation modes are determined by the configuration of the FT2232H (done by programing the Configuration EEPROM) and the firmware implementation of the System Controller CPLD:

...

fully compatible with USB Blaster to program Intel (Altera) FPGA devices.

Key Features

  • Fully compatible to Intel USB Blaster
    • Additional UART interface available besides JTAG
  • FTDI FT2232H USB2.0 Interface chip

Table 1: Initial delivery state of programmable devices on the module.

MPSSE - FTDI protocol that is used by JTAG and SPI adapters based on FTDI devices.

Key Features

  • Xmod form-factor
    • size: 20 x 25 mm
    • M3 mounting hole
  • FT2232H
    • USB2.0 port High Speed (480 Mbps) and Full Speed (12 Mbps) compatible
    • Entire USB protocol handled on the chip
    • USB2.0 to JTAG, SPI and I²C conversion provided by the IC's Multi-Protocol Synchronous Serial Engine (MPSSE)
    • USB2.0 to UART conversion
    • Channel B UART RX/TX LED's
    • Mini-USB B connector (more rigid then micro-USB)
    • 93C56 EEPROM
    Lattice XO2-256 CPLD
    • Micro USB2.0 B socket connected to FTDI chip
    • 93C56 EEPROM for configuration
    • on board programmable using Lattice tools
    • 8 universal I/O pins
    • VCCIO either 3.3V or user supplied (1.8 to 3.3V)
    • RED user LED
    • 12 MHz clock from on-board Oscillator
  • Variable power supply of the XMOD adapter board
    • by Mini USB2.0 connector
    • by base-board through pin header J2
  • GREEN Power-on LED
  • User button
  • 4 position DIP switch
  • Choose CPLD program mode
  • FTDI EEPROM disable (not implemented in PCB REV 1)
  • Use VIO same as VCC
  • Use VCC from USB

Block Diagram

Image Removed

Figure 1: TE0790-02 block diagram.

Main Components

Image ModifiedImage Modified

Figure 21: TE0790-02 main components.

  1. FTDI FT2232H IC U4
  2. 2x6 Pin Header (2.54mm, female), J2
  3. Mini USB B Connector J4
  4. Microchip 93AA56BT-I/OT Configuration EEPROM, U10
  5. DIP-switch S2
  6. Push button S1
  7. Lattice Semiconductor LCMXO2-256HC System Controller CPLD, U1
  8. SiTime SiT8008AI-73 oscillator @12MHz, U6
  9. Green LED, D1 (Power)
  10. Red LED, D4 (User)
  11. Red LED, D3 (UART RX)
  12. Red LED, D2 (UART TX)

Initial Delivery State

...

Storage device name

...

Content

...

Notes

...

  1. RED LED (user)
  2. Green LED (Power-on)
  3. Micro USB2.0 B socket (receptacle)
  4. 2x5-pin female socket (pin 1 marked with white dot on PCB)

...

Signals, Interfaces and Pins

2x6 Pin Header

2x5 Female Socket

The 2x5 female socket The 2x6 pin header (2.54mm grid size, female) J2 have to be connected to the corresponding pin header on the target system. The signal assignment of the pin header on the adapter board depends on the configuration of the System Controller CPLD firmware.

Basic pin assignment:

...

Image Removed

Top View

...

Image Removed

Bottom View flipped

...

The signals of the FTDI FT2232H chip are not directly connected to the pin header J2 but routed to the System Controller CPLD of the adapter board, which controls and by-passes the signals to the pin header J2.

Therefore, different signal assignments are made on the pin header J2 depending on the SC CPLD firmware:

Signal assignment on TE0790 CPLD - XMOD Standard:

...

Table 4: Pin header J2 signal assignment with standard configuration firmware. *pin 1 on header J2

Signal assignment on Standard with RXD-TXD Swapped:

This is the same as the standard configuration except that UART RXD and TXD pins are swapped.

...

is fully compatible to original USB blaster. Furthermore there is also an UART interface available and user configurable I/O pin (usable e.g. as Reset signal).

Following table describes the pin-assignment to the signals of the interfaces:

Signal Pin NumberPin Number Signal
TCK 12GND
TDO34Reference I/O-voltage of target board
TMS 56User
UART RX78UART TX
TDI910GND

Table 1: 2x5-pin female socket pin-assignment

Table 5: Pin header J2 signal assignment with standard, but RXD-TXD swapped configuration firmware. *pin 1 on header J2

Signal assignment on TE0790 CPLD - XMOD DIP40:

On DIPFORTy, VIO Pin is connected with VDD 3.3V Pin.  UART RXD is connected to FPGA-Pin L13 and UART TXD to K15. Connect XMOD on the top-side (FPGA side) of the PCB.

...

Table 6: Pin header J2 signal assignment with DIPFORTy firmware.

USB Interface

The USB2.0 interface is provided by the FTDI  FT2232H chip accessible by the Mini-USB B connector J4Micro USB2.0 B (receptacle) socket. The entire USB protocol is handled on chip and compatible to USB2.0 High Speed (480 MBps) and Full Speed (12 MBps).

On-board Peripherals

FTDI FT2232H IC

The FTDI FT2232H chip provides a variety of industry standard serial or parallel interfaces. On the TE0790 TEI0004 adapter board at current available SC CPLD firmware the functions the interfaces USB2.0 to JTAG, UART and one user GPIO 's.By programing the firmware of the SC CPLD and special EEPROM configurations further further functionalities are available.

of the FTDI chip which converts signals from USB2.0 to a variety of standard serial and parallel interfaces. Refer to the FTDI data sheet to get information about the capacity of the FT2232H IC.

Configuration EEPROM

The external EEPROM can be used to customize the TE0790 TEI0004 adapter board by setting numerous parameters of the FT2232H IC, enabling different functionalities and configuring serial or parallel interfaces.

The EEPROM is programmable in-circuit over USB using a utility program called FT_PROG available from FTDI’s web site (www.ftdichip.com).

Warning

Important notice on TE0790-xx variants:

Do not access the FT2232H EEPROM using FTDI programming tools, doing so will erase normally invisible user EEPROM content and invalidate stored Xilinx JTAG license. Without this license the on-board JTAG will not be accessible any more with any Xilinx tools. Software tools from FTDI website do not warn or ask for confirmation before erasing user EEPROM content.

System Controller CPLD

The System Controller CPLD (U1) is provided by Lattice Semiconductor LCMXO2-256HC (MachXO2 Product Family). The SC-CPLD is the central system management unit where essential control signals are logically linked by the implemented logic in CPLD firmware, which generates output signals to control the system, the on-board peripherals and the interfaces.

Signals of the serial or parallel interfaces are by-passed, forwarded and controlled by the System Controller CPLD.

The internal routing of the signals on the System Controller CPLD between the USB2.0 interface and pin header J2 depends on its configured firmware. CPLD can be set into JTAG chain via  S2-1 DIP Switch. Refer to the TE0790 CPLD Firmware for more information about the currently available System Controller CPLD firmware and for download.

DIP-switch

The DIP-switch S2 is to set different modes of powering the on-board components, the I/O voltages and to enable programming the adapter board CPLD by JTAG interface:

...

The voltages 3.3V (VCC) and VIO (variable SC CPLD I/O-voltage) can be configured by the DIP-switches S2-3 and S2-4:

...

)

...

Table 8: DIP-switch S2 power setting description.   *Attention: don't supply voltage from base if pin sourced from USB! For more details see Power supply of the adapter board  section.

User Push Button

The user push button S1 directly connected to the SC CPLD manipulates pin G of the pin header J2 by driving it to GND.

On-board LEDs

The on-board LEDs indicates system status data transmission activities:

...

ColorConnected toDescription and Notes
D1
Green3.3V3.3V power status LED
D2
RedFTDI IC
, 'RXLED'
UART receive data activityD3RedFTDI IC, 'TXLED'UART transmit data activityD4RedSC CPLD, 'ULED'user LED, on standard SC CPLD firmware assigned to pins E and G, in DIPFORTy to G
user configurable

Table 2Table 9: On-board LEDs.

Power

...

Power supply of the adapter board

The XMOD can be TEI0004 USB2.0 adapter board is powered via USB or with 3.3V on J2 pins, depending on DIP-switch settings. Max. ~100mA for external components are available on J2 3.3V Pin, if the power supply via USB is used.

Following diagram shows how the settings of the DIP-switches S2-3 and S2-4 determines the configuration of the on-board voltages:

Image Removed

Figure 4: TE0790 on-board voltages configuration

supply voltage on the Micro USB2.0 socket.

Power Rails

Power Rail Name

Pin Header J2

Mini USB B J4

2x5-pin Female Socket

Micro USB2.0 B Socket

Direction

Notes
3.3Vpin 5-both possibleon-board peripherals' VCC and core voltagesVIOpin 6-both possiblePin header J2 interface signals and SC CPLD VCCIO
USB_VBUS-pin 1inputUSB bus power, nominal voltage
5 V ± 5%

 Table 10: power rails.

Variants Currently In Production

...

 Module Variant

...

Xilinx Vivado/SDK Support

...

5V ± 5%
VREFpin 4-inputReference I/O-voltage of the target board

 Table 3: power rails.

Table 11: Module variants.

Variants with TE-0790-xxL do not include the ID String in EEPROM for direct support from Xilinx Vivado.

Technical Specifications

Absolute Maximum Ratings

ParameterMinMaxUnitsReference Document
3.3V

VREF

-0.
3
54
VFTDI FT2232H data sheetVIO-0.53.75VLattice MachX02 Family
.6VNexperia 74AVCH4T245 data sheet
VBUS4.755.25VUSB2.0 Specification
Voltage on I/O pins
A - H
-0.5
3
4.
75
6V
Lattice MachX02 Family
Nexperia 74AVCH4T245 data sheet
Storage temperature-40
100
90°C
LED SML-P11
LED 19-213/R6C-AL1M2VY/3T data sheet

Table 124: Module absolute maximum ratings.

Recommended Operating Conditions

ParameterMinMaxUnitsReference Document
3.3V

VREF

 2
 3.
375VIO1.143.6VLattice MachX02 Family data sheet
03.6V
Lattice MachX02 Family data sheet
USB Blaster specification
VBUS4.755.25VUSB2.0 Specification
Voltage on I/O pins
A - H
0
1.14
3.6V
Lattice MachX02 Family
Nexperia 74AVCH4T245 data sheet
Operating temperature-4085°CFTDI FT2232H data sheet

Table 135: Module recommended operating conditions.

Operating Temperature Range

Industrial grade: -40°C to +85°C.

The TE0790 TEI0004 USB2.0 adapter board is capable to be operated at industrial grade temperature range.

Physical Dimensions

...

Module size: 24,65mm × 20,02mm.  Please download the assembly diagram for exact numbers.

...

Mating height with standard pin headers: 9.5 mm.

...

PCB thickness: 1.6 mm.

...

.

All dimensions are given in millimeters and mil.

Image Removed   Image Removed

Figure 5: Module physical dimensions drawing.

Revision History

Hardware Revision History

DateRevision

Notes

PCNDocumentation Link
-

01

prototypes--
-02current available revision-
TE0790-02
TEI0004

Table 146: Module hardware revision history.

...

Hardware revision number can be found on the PCB board together with the module model number separated by the dash.

Image Added

Figure 62: Module hardware revision number.

Document Change History

HTML
<!--
Generate new entry:
1.add new row below first
2.Copy "Page Information Macro(date)" Macro-Preview, Metadata Version number, Author Name and description to the empty row. Important Revision number must be the same as the Wiki document revision number
3.Update Metadata = "Page Information Macro (current-version)" Preview+1 and add Author and change description.
  -->


Date

Revision

Contributors

Description

Page info
modified-date
modified-date
dateFormatyyyy-MM-dd



Ali Naseri
  • Updated Power supply, DIP-Switch and CPLD section

2017-10-26

v.27
John Hartfiel
  • Update 2x6 Pin Header Figure 3
  • Update Links
2017-10-19
v.26
Ali NaseriInitial document
  • First TRM release

Table 15: Document change history.

Disclaimer

Include Page
IN:Legal Notices
IN:Legal Notices

...