1 Life support policy ................................................................................................................................................................... 3
2 Features ....................................................................................................................................................................................... 4
3 Order codes ................................................................................................................................................................................ 6
4 Mechanical and electrical interfacing ................................................................................................................................. 7
4.1 Dimensions of the USB-2-X ........................................................................................................................................... 7
4.2.1 CAN connector ......................................................................................................................................................... 9
4.2.2 LIN, IIC, and SPI connectors ............................................................................................................................... 9
5 Putting the USB-2-X into operation................................................................................................................................... 10
5.1 Starting up ....................................................................................................................................................................... 10
5.2.1 The USB-2-X with a TMC211 evaluation board ............................................................................................. 10
5.2.2 The USB-2-X with a TMC222 evaluation board ............................................................................................. 10
5.2.3 The USB-2-X.EXE software for any other application .................................................................................. 10
5.2.4 Further information about the software ....................................................................................................... 11
6 Updating the firmware ......................................................................................................................................................... 12
7 Revision history ...................................................................................................................................................................... 13
Table 2.1: Interfaces of the USB-2-X ............................................................................................................................................ 5
Table 3.1: Order codes ..................................................................................................................................................................... 6
Table 4.1: CAN connector ................................................................................................................................................................ 9
Table 4.2: LIN, IIC, and SPI connectors ...................................................................................................................................... 9
Figure 2.1: Block diagram of the USB-2-X .................................................................................................................................. 4
Figure 4.1: Dimensions of the USB-2-X ....................................................................................................................................... 7
Figure 4.2: The USB-2-X device ...................................................................................................................................................... 8
Figure 4.3: The PCB of the USB-2-X device ................................................................................................................................ 8
TRINAMIC Motion Control GmbH & Co. KG does not
authorize or warrant any of its products for use in life
support systems, without the specific written consent of
TRINAMIC Motion Control GmbH & Co. KG.
Life support systems are equipment intended to support or
sustain life, and whose failure to perform, when properly
used in accordance with instructions provided, can be
reasonably expected to result in personal injury or death.
Information given in this data sheet is believed to be
accurate and reliable. However neither responsibility is
assumed for the consequences of its use nor for any
infringement of patents or other rights of third parties,
which may result from its use.
Specifications are subject to change without notice.
The USB-2-X device is an interface converter which is equipped with a CAN interface, an IIC interface, a LIN
interface, an SPI interface and an RS485 interface. It can be connected to the PC via the USB interface.
The USB-2-X device is mainly designed for use with some of the TRINAMIC evaluation kits, but it can also be
used in any other purpose where a connection between a PC and a CAN interface, an IIC interface, a LIN
interface, an SPI interface or an RS485 interface is needed.
Its frame is a compact, metalized standard housing (known as 25 pin Sub-D adapter housing) with the
dimensions 53mm x 55mm x 16mm (length x width x height). Please notice that plugs and cables need
further space.
The software supplied with this product can be used with every version of the Windows operating system
that supports USB (Windows 98, Windows ME, Windows 2000, Windows XP and Windows Vista). Windows
95 and Windows NT4.0 do not support USB, so the USB-2-X device cannot be used with such systems.
A CAN termination resistor of 120 ohms can be activated shorting the two pin header placed below
the USB connector using a jumper.
4.2.2 LIN, IIC, and SPI connectors
Table 4.2: LIN, IIC, and SPI connectors
When LIN is used, the LIN transceiver of the USB-2-X device has to be powered by the target via pin
9 of the connector.
The pin assignment has been selected in order to allow direct connection to the TRINAMIC TMC211
evaluation board and the TRINAMIC TMC222 evaluation board.
Please note that the additional SR (slave request) line of the SPI interface is not available on this
connector but on a board edge solder pad (the second of eight solder pads counted starting from IC
labeled 75176).
The IIC interface and the SPI interface cannot be used simultaneously.
Also, the LIN interface and the RS485 interface cannot be used simultaneously.
1) As USB devices are hot pluggable it is not necessary to turn off the PC when plugging in or
removing the USB-2-X device. Just plug in the device when the PC is switched on and Windows is
running.
2) When you plug in the USB-2-X device for the first time you will be prompted for a suitable device
driver after a few seconds. You will have to be logged in as administrator to be able to install
device drivers on Windows 2000 or Windows XP.
3) Insert the TMC TechLib CD that is supplied with this product and select the USB2X.INF file in the
interfaces\USB2X directory on the TechLib CD.
4) The device driver will be installed. Now the USB-2-X device can be used.
5.2 Software
5.2.1 The USB-2-X with a TMC211 evaluation board
If you are using the USB-2-X device with a TMC211 evaluation board, use the software that is supplied with
the evaluation board: Eval211USB.exe. This software is described in the manual of the TMC211 evaluation
board.
5.2.2 The USB-2-X with a TMC222 evaluation board
If you are using the USB-2-X device with a TMC222 evaluation board, use the software that is supplied with
the TMC222 evaluation board: Eval222USB.exe. It is described in the manual that comes with the TMC222
evaluation board.
5.2.3 The USB-2-X.EXE software for any other application
With this software you can send and receive any data using the interfaces of the USB-2-X device.
Start up as follows:
1) Start the program by double clicking the file USB2X.EXE which is supplied in the interfaces\USB2X
directory of the TechLib CD.
2) The main window appears. Select your USB-2-X device in the interface section.
3) Click the Open button.
4) After the connection to the device has been successfully established, the firmware revision number
On the IIC, LIN, CAN, SPI and RS485 tab pages you can find all functions to make use of the interfaces of
the USB-2-X device. Please check TRINAMIC’s web site from time to time and watch out for updates (of the
PC software and the firmware).
Notes on using the USB-2-X device in your own PC software can be found in the documentation of the USB2-X host interface protocol. There is also an example program, written in Delphi.
In the near future there will also be a DLL that will make integrating the USB-2-X device into your own
devices very easy. Please check TRINAMIC’s web site from time to time if it is already available.
Additional support tools for the USB-2-X are also available. Please check our website www.TRINAMIC.com to
find the temperature logger to measure 8 temperatures via IIC with a LM75 chip or a chip programmer to
read out and write via SPI, IIC or micro wire to EEPROMS and SPI chips like the TMC428.
The USB2X.EXEsoftware also makes it possible to update the firmware of the USB-2-X device via its USB
interface. Firmware files for the USB-2-X device can be downloaded on TRINAMIC’s website
(www.TRINAMIC.com).
For installing a new firmware file, please follow the instructions:
1) Download the file from TRINAMIC’s web site. Firmware files for the USB-2-X device normally have
the extension .s19.
2) Start the USB-2-X PC software and click the Open button.
3) Click the Firmware update button. A new window appears.
4) Click the Load button and select your new firmware file.
5) Click the Start button and wait for the update process to complete.
6) Try if the USB-2-X device still works.
If this should not be the case, quit the USB-2-X software, pull out the USB plug on the USB-2-X
device, wait some seconds and plug it in again. Now restart the USB-2-X software and try again.
If for some reason the USB-2-X device should still refuse to work, try to update the firmware again.