Table of Contents
The Trenz Electronic TE0790 is an universal USB2.0 to JTAG, UART and GPIO adapter based on the FTDI FT2232H USB2 IC. The adapter board converts signals from USB2.0 to 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.
Figure 1: TE0790-02 block diagram.
Figure 2: TE0790-02 main components.
Storage device name | Content | Notes |
---|---|---|
Configuration EEPROM U10 | variant depending | only programmed on TE-0790-xxL variants. |
Table 1: Initial delivery state of programmable devices on the module.
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:
Signal | J2 Pin Name | J2 Pin Name | Signal |
---|---|---|---|
GND | 1* | GND | |
User Defined | C | A | User Defined |
VIO | VDD 3.3V | ||
User Defined | D | B | User Defined |
User Defined | F | E | User Defined |
User Defined | H | G | User Defined / Button (Reset_n) |
Table 2: Pin header J2 signal assignment.
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:
FTDI | Signal | Pull up/down | J2 Pin Name | J2 Pin Name | Pull up/down | Signal | FTDI |
---|---|---|---|---|---|---|---|
GND | - | 1* | - | GND | |||
ADBUS0 | TCK (output from adapter) | C | A | up | UART RXD (input to adapter) | BDBUS1 | |
VIO | - | - | VDD 3.3V | ||||
ADBUS2 | TDO (input to adapter) | up | D | B | UART TXD (output from adapter) | BDBUS0 | |
ADBUS1 | TDI (output from adapter) | F | E | down | LED | ||
ADBUS3 | TMS (output from adapter) | H | G | up | Button (Reset_n) |
Table 3: Pin header J2 signal assignment with standard configuration firmware.
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.
FTDI | Signal | Pull up/down | J2 Pin Name | J2 Pin Name | Pull up/down | Signal | FTDI |
---|---|---|---|---|---|---|---|
GND | - | 1* | - | GND | |||
ADBUS0 | TCK (output from adapter) | C | A | UART TXD (output from adapter) | BDBUS0 | ||
VIO | - | - | VDD 3.3V | ||||
ADBUS2 | TDO (input to adapter) | up | D | B | up | UART RXD (input to adapter) | BDBUS1 |
ADBUS1 | TDI (output from adapter) | F | E | down | LED | ||
ADBUS3 | TMS (output from adapter) | H | G | up | Button (Reset_n) |
Table 4: Pin header J2 signal assignment with standard, but RXD-TXD swapped configuration firmware.
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.
FTDI | Signal | Pull up/down | J2 Pin Name | J2 Pin Name | Pull up/down | Signal | FTDI |
---|---|---|---|---|---|---|---|
GND | - | 1* | - | GND | |||
BDBUS1 | UART RXD (input to adapter) | up | C | A | TCK (output from adapter) | ADBUS0 | |
VIO | - | - | VDD 3.3 V | ||||
BDBUS0 | UART TXD (output from adapter) | D | B | TMS (output from adapter) | ADBUS3 | ||
ADBUS1 | TDI (output from adapter) | F | E | up | TDO (input to adapter) | ADBUS2 | |
not used | H | G | CPLD User LED 'ULED' |
Table 5: Pin header J2 signal assignment with DIPFORTy firmware.
The USB2.0 interface is provided by the FTDI FT2232H chip accessible by the Mini-USB B connector J4. The entire USB protocol is handled on chip and compatible to USB2.0 High Speed (480 MBps) and Full Speed (12 MBps).
The FTDI FT2232H chip provides a variety of industry standard serial or parallel interfaces. On the TE0790 adapter board at current available SC CPLD firmware the functions USB2.0 to JTAG, UART and 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.
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..).
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.
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 interfaces like JTAG, SPI and I2C are by-passed, forwarded and controlled by the System Controller CPLD.
The internal routing of the signals between the USB2.0 interface and pin header J2 on the System Controller CPLD depends on its configured firmware. Refer to the Resources Site of the TE0790 for more information about the currently available System Controller CPLD firmware and for download.
The DIP-switch S2 is to set different modes of powering the on-board peripherals and their I/O supply voltages.
Further functionalities are to secure the EEPROM content and to enable configuring the SC CPLD by JTAG interface:
S2 | ON | OFF | Default | Description |
---|---|---|---|---|
1 | Normal mode | Module update mode | ON | Update Mode JTAG access to SC CPLD only |
2 | Do not use | Normal mode | OFF | Do not change from default, secure configuration EEPROM |
3 | VIO connected to 3.3V | Power VIO from pin header J2 | OFF | SC CPLD I/O-voltage from/to pin header |
4 | Power 3.3V from USB | Power 3.3V from pin header J2 | OFF | Power on-board peripherals (FTDI chip & SC CPLD, ...) |
Table 6: DIP-switch S2 setting description.
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:
S2-3 | S2-4 | 3.3V (VCC) Pin 5 | VIO Pin 6 | Description |
---|---|---|---|---|
OFF | OFF | 3.3V from base | VIO from base | 3.3V (pin 5) and VIO (pin 6) sourced from base |
OFF | ON | 3.3V from USB | VIO from base | VIO sourced from base by Pin 6 |
ON | OFF | 3.3V from base | 3.3V from base | VIO sourced by Pin 5 and drive Pin 6 |
ON | ON | 3.3V from USB | 3.3V from USB | VIO sourced by USB and drive Pin 6 |
Table 7: DIP-switch S2 power setting description.
The user push button S1 directly connected to the SC CPLD manipulates pin G of the pin header J2 by driving it to GND.
The on-board LEDs indicates system status data transmission activities:
LED | Color | Connected to | Description and Notes |
---|---|---|---|
D1 | Green | 3.3V | 3.3V power status LED |
D2 | Red | FTDI IC, 'RXLED' | UART receive data activity |
D3 | Red | FTDI IC, 'TXLED' | UART transmit data activity |
D4 | Red | SC CPLD, 'ULED' | user LED, on standard SC CPLD firmware assigned to pins E and G, in DIPFORTy to G |
Table 8: On-board LEDs.
The adapter on-board's peripherals are powered with 3.3V as supply voltage. If 3.3V (VCC and VIO) is supplied only by the LDO DCDC U3 (S2-3 and S2-4 OFF), the I/O-pins of header J2 deliver max. ~100mA.
If module is powered from base then S2-4 (and most likely S2-3 (VIO) too) must be OFF.
Power Rail Name | Pin Header J2 | Direction | Notes |
---|---|---|---|
3.3V | pin 5 | both possible | user configurable by DIP-switch S2-3 and S2-4 |
VIO | pin 6 | both possible | user configurable by DIP-switch S2-3 and S2-4 |
Table 9: Module power rails.
Module Variant | Xilinx Vivado/SDK Support | Xilinx devices with 3rd Party Tools | Any other MPSSE based JTAG Tools |
---|---|---|---|
TE0790-02 | Yes | Yes | Yes |
TE0790-02L | No | Yes | Yes |
Table 10: Module variants.
Variants with TE-0790-xxL do not include the ID String in EEPROM for direct support from Xilinx Vivado.
Parameter | Min | Max | Units | Reference Document |
---|---|---|---|---|
3.3V | -0.3 | 4 | V | FTDI FT2232H data sheet |
VIO | -0.5 | 3.75 | V | Lattice MachX02 Family data sheet |
Voltage on pins A - H | -0.5 | 3.75 | V | Lattice MachX02 Family data sheet |
Storage temperature | -40 | 100 | °C | LED SML-P11 data sheet |
Table 11: Module absolute maximum ratings.
Parameter | Min | Max | Units | Reference Document |
---|---|---|---|---|
3.3V | 2.375 | 3.6 | V | Lattice MachX02 Family data sheet |
VIO | 1.14 | 3.6 | V | Lattice MachX02 Family data sheet |
Voltage on pins A - H | 1.14 | 3.6 | V | Lattice MachX02 Family data sheet |
Operating temperature | -40 | 85 | °C | FTDI FT2232H data sheet |
Table 12: Module recommended operating conditions.
Commercial grade: 0°C to +70°C.
Extended grade: 0°C to +85°C.
Industrial grade: -40°C to +85°C.
Module size: 24,65mm × 20,02mm. Please download the assembly diagram for exact numbers.
Mating height with standard pin headers: 8.5 mm.
PCB thickness: 1.75 mm.
Highest part on PCB: approx. 8.75 mm. Please download the step model for exact numbers.
All dimensions are given in millimeters.
Figure 3: Module physical dimensions drawing.
Date | Revision | Notes | PCN | Documentation Link |
---|---|---|---|---|
- | 01 | prototypes | - | - |
- | 02 | current available revision | - | TE0790-02 |
Table 13: Module hardware revision history.
Hardware revision number can be found on the PCB board together with the module model number separated by the dash.
Figure 4: Module hardware revision number.
Date | Revision | Contributors | Description |
---|---|---|---|
Ali Naseri | initial document |
Table 14: Document change history.
Please also note our data protection declaration at https://www.trenz-electronic.de/en/Data-protection-Privacy
The material contained in this document is provided “as is” and is subject to being changed at any time without notice. Trenz Electronic does not warrant the accuracy and completeness of the materials in this document. Further, to the maximum extent permitted by applicable law, Trenz Electronic disclaims all warranties, either express or implied, with regard to this document and any information contained herein, including but not limited to the implied warranties of merchantability, fitness for a particular purpose or non infringement of intellectual property. Trenz Electronic shall not be liable for errors or for incidental or consequential damages in connection with the furnishing, use, or performance of this document or of any information contained herein.
In no event will Trenz Electronic, its suppliers, or other third parties mentioned in this document be liable for any damages whatsoever (including, without limitation, those resulting from lost profits, lost data or business interruption) arising out of the use, inability to use, or the results of use of this document, any documents linked to this document, or the materials or information contained at any or all such documents. If your use of the materials or information from this document results in the need for servicing, repair or correction of equipment or data, you assume all costs thereof.
No part of this manual may be reproduced in any form or by any means (including electronic storage and retrieval or translation into a foreign language) without prior agreement and written consent from Trenz Electronic.
The hardware / firmware / software described in this document are furnished under a license and may be used /modified / copied only in accordance with the terms of such license.
To confront directly with the responsibility toward the environment, the global community and eventually also oneself. Such a resolution should be integral part not only of everybody's life. Also enterprises shall be conscious of their social responsibility and contribute to the preservation of our common living space. That is why Trenz Electronic invests in the protection of our Environment.
REACH
Trenz Electronic is a manufacturer and a distributor of electronic products. It is therefore a so called downstream user in the sense of REACH. The products we supply to you are solely non-chemical products (goods). Moreover and under normal and reasonably foreseeable circumstances of application, the goods supplied to you shall not release any substance. For that, Trenz Electronic is obliged to neither register nor to provide safety data sheet. According to present knowledge and to best of our knowledge, no SVHC (Substances of Very High Concern) on the Candidate List are contained in our products. Furthermore, we will immediately and unsolicited inform our customers in compliance with REACH - Article 33 if any substance present in our goods (above a concentration of 0,1 % weight by weight) will be classified as SVHC by the European Chemicals Agency (ECHA).
RoHS
Trenz Electronic GmbH herewith declares that all its products are developed, manufactured and distributed RoHS compliant.
WEEE
Information for users within the European Union in accordance with Directive 2002/96/EC of the European Parliament and of the Council of 27 January 2003 on waste electrical and electronic equipment (WEEE).
Users of electrical and electronic equipment in private households are required not to dispose of waste electrical and electronic equipment as unsorted municipal waste and to collect such waste electrical and electronic equipment separately. By the 13 August 2005, Member States shall have ensured that systems are set up allowing final holders and distributors to return waste electrical and electronic equipment at least free of charge. Member States shall ensure the availability and accessibility of the necessary collection facilities. Separate collection is the precondition to ensure specific treatment and recycling of waste electrical and electronic equipment and is necessary to achieve the chosen level of protection of human health and the environment in the European Union. Consumers have to actively contribute to the success of such collection and the return of waste electrical and electronic equipment. Presence of hazardous substances in electrical and electronic equipment results in potential effects on the environment and human health. The symbol consisting of the crossed-out wheeled bin indicates separate collection for waste electrical and electronic equipment.
Trenz Electronic is registered under WEEE-Reg.-Nr. DE97922676.