TMC223 Evaluation Kit
Manual
223
Version: 1.00
May 03, 2007
Sternstraße 67
D - 20357 Hamburg, Germany
http://www.trinamic.com
TMC222 Evaluation Kit
2
Version
Version
1.00
Date
03-May-07
Author
LL
Comment
Initial version, based on TMC222 Evaluation Kit Manual
Version: 1.02, March 09, 2007
Contents
Introduction................................................................................................................................................................... 3
The TMC223 Evaluation Board .................................................................................................................................. 3
2.1
Overview ................................................................................................................................................................ 3
2.2
Connectors............................................................................................................................................................. 4
3 The TMC223 Evaluation Software ............................................................................................................................ 5
3.1
Using the software ............................................................................................................................................. 5
3.2
TMC223 commands ............................................................................................................................................. 6
1
2
Copyright © 2007, TRINAMIC Motion Control GmbH & Co. KG
TMC222 Evaluation Kit
3
1 Introduction
The TMC223 evaluation kit makes it possible to evaluate the features of the TMC223 stepper motor
controller and driver chip. It contains the TMC223 evaluation board, which allows connecting the
TMC223 chip to a power supply, a motor and an IIC master. The board can be purchased solely also.
It is mainly intended for direct attachment to the Trinamic USB-to-X interface converter which allows
easy interfacing the evaluation board to a PC running under Windows 98/2000/XP via the USB
interface. An evaluation software running under Windows is also provided on the TechLibCD which is
also supplied with the evaluation kit. This software allows easy evaluation of all the features provided
by the TMC223 chip. The evaluation software needs the Trinamic USB-2-X interface converter to work.
This manual describes the evaluation board as well as the evaluation software. Please see also the
USB-2-X manual for a description of the USB-2-X interface converter. You can find it in the “systems”
directory of the TMC TechLibCD supplied with this evaluation kit or on the TRINAMIC web site
(http://www.trinamic.com).
2 The TMC223 Evaluation Board
2.1 Overview
The evaluation board (Figure 2.1) mainly contains the TMC223 stepper motor controller and driver chip
and some connectors that make it possible to connect the power supply, a stepper motor, a reference
switch and an IIC master (mainly the USB-to-X interface converter).
X115/X114
SDA
SCL
GND
Reference
Switch SWI
GND (X110)
M
To
USB-to-X
IIC
TMC223
VDD (X109)
GND
+12..29V
D101
VBAT (X111)
HW (X106)
Figure 2.1: The TMC223 evaluation board (overview)
Copyright © 2007, TRINAMIC Motion Control GmbH & Co. KG
TMC222 Evaluation Kit
4
2.2 Connectors
The evaluation board is equipped with the following connectors:
Connector Name
Power
X100
USB-to-X
Function
Connect your power supply here. The voltage must be between 12V and 29V
DC. The board is protected against reverse polarity by a diode.
X101
This Sub-D connector is to be used to directly attach the board to the Trinamic
USB-to-X interface converter. Just plug it on the appropriate Sub-D connector of
the USB-to-X device.
Never connect this connector to an RS232 interface, as
this could result in damage of the TMC223 chip!
The pin out of this connector
is as follows: Pin 1: SCL, Pin 6: SDA, Pin 3: GND.
X102/103 Connect a 2-phase bipolar stepper motor (maximum coil current 800mA) here.
Connect one coil to the pins marked “OA1” and “OA2” and the other coil to the
connectors marked “OB1” and “OB2”. You can either use the pins (X102) or the
clamp (X103).
Do not connect or disconnect a motor while the evaluation
board is powered, as this could damage the TMC223 chip!
X104/105 A reference switch can be connected here, either between the pins “REF” and
“GND” or between “REF” and “VBAT” (the functionality is the same, please see
the TMC223 datasheet for details). Either the pins (X104) or the clamp (X105) can
be used.
The SWI of the TMC223 can by used as an analog debugging output for
parameterizing of the stall detection. Leave the jumper open when using the
SWI pin as analog debugging output (for details pls. refer TMC223 datasheet,
command TestBEMF).
X114/115 If the board is not used with the USB-to-X interface converter, an IIC master
can be connected here. The connector provides the SDA and SCL signal and a
GND line. It can also be used to connect more than one evaluation board to
one USB-to-X interface.
X111
This connector provides the supply voltage for measuring purposes (“+12..29V”
pin of X100).
X110
This connector is connected to ground for measuring purposes.
X109
Connected to the 5V voltage regulator output of the TMC223 chip, for measuring
purpose.
X106
This jumper is connected to the HW pin of the TMC223 chip and thus allows
setting the hardwired address of the chip. For a first test with the evaluation
software the jumper should be set so that it links the HW pin to GND.
D101
This LED is connected to the 5V output of the TMC223 and so it shows that the
5V regulator of the TMC223 chip is working.
Motor
Reference
Switch
IIC
VBAT
GND
VDD
HW
LED
Copyright © 2007, TRINAMIC Motion Control GmbH & Co. KG
TMC222 Evaluation Kit
5
3 The TMC223 Evaluation Software
A PC software to operate the TMC223 evaluation board is supplied on the TMC TechLibCD or can be
downloaded at http://www.trinamic.com. It needs the Trinamic USB-2-X interface converter to function
correctly. The program can be used with Windows 98, Windows 2000 and Windows XP (all versions of
the Windows operating system that support USB). To install it, just copy the file “EVAL222USB.EXE” to
the hard disk of your PC. To run the program, double click the file.
Before running the program, install the Trinamic USB-2-X interface converter and attach the TMC223
evaluation board to it. Then, make sure that the evaluation board is supplied with power.
3.1 Using the software
After starting the software, its main window appears (Figure 3.1). First, select your USB-to-X interface
converter in the “Interface” section (in most cases, you will have only one USB-to-X device) and click
“Open”. After the connection to the USB-2-X device has been made its firmware revision number will
be displayed in the “Interface” section. If something goes wrong an error message will appear.
In the “IIC” section of the window the IIC address of the TMC223 chip can be entered. You should
normally start with address 0, as this is a broadcast to all TMC223 chips and thus always works,
regardless of the address that is programmed into the TMC223. Only even addresses can be entered.
The software Eval222USB.exe is the same for both, TMC222 evaluation board and TMC223 evaluation
board. Since version 1.15 a an auto detection of the TMC222 resp. TMC223 is integrated.
Figure 3.1: The TMC223 evaluation software (Eval222USB.exe)
Copyright © 2007, TRINAMIC Motion Control GmbH & Co. KG