background image

TMC389-EVAL MANUAL (V. 1.10 / 2011-Mar-01)                            

 
 
Copyright © 2010 TRINAMIC Motion Control GmbH & Co. KG 

6   Getting started 

Connect a stepper motor to the board, connect the PC via RS232 or USB and use a laboratory power 
supply to power the board with for example 24V. 
 
Now, copy the software to your PC and install USB driver, if necessary.  
 

6.1  First steps 

Start the evaluation kit software. 
 

6.1.1 

Connecting to the board 

Select the appropriate port and select Interface / Open. For USB connection, the board uses a virtual 
COM port. You need to select the .inf file from the installation directory to set it up. 
 

6.1.2 

Current setting 

As a first step, you should set the appropriate current setting for your motor: Go to the tab SGCSConf 
and select the correct value for the sense resistor, to see the actual current setting. The current scale 
can be selected from 7 (default) to 31. You get the best motor performance with a high value between 
16  and  28  (settings  29  to  31  are  possible,  if  a  low  hysteresis  fits  the  motor,  only).  If  your  calculation 
shows,  that  you  need  a  value  below  16,  please  go  to  the  tab  DRVCONF  and  select  VREF=1/36 
instead of 1/18. If you cannot reach the desired motor current,  please change the sense resistor to a 
lower value. Please refer chapter 3.2 for sense resistor selection. 
 
Please be careful to not select a too high current value, as a too high current setting could destroy the 
motor by overheating.  
 

 

figure 3: Evaluation software: Current setting 

 
Now,  please  check  the  DRVSTATUS  tab.  The  indicators  should  give  a  reading  and  show  stable 
values.  
 

6.1.3 

Starting the motor 

To  move  the  motor  using  the  internal  step  and  direction  source,  select  acceleration  and  velocity 
(signed) setting and press the Run button. Press the get button in any of the tabs, to read out actual 
settings.  In  case  you  want  faster  motion,  stop  the  motor,  go  to  the  tab  DRVCTRL  and  reduce 
microstep  resolution.  Best  performance  is  achieved  in  256  times  microstepping,  or  in  16  times 
microstepping with step interpolation active (please check INTPOL). 
 

Summary of Contents for TMC389-EVAL

Page 1: ...a the step and direction interface using either an external source or using the integrated microcontroller as a step pulse generator Highlights Evaluate all features of the TMC389 Use stallGuard2 with...

Page 2: ...G programmer K14 6 4 1 5 USB K15 and RS232 K16 6 4 2 JUMPERS 6 4 2 1 Clock selection J15 6 4 2 2 VCC_IO J16 6 4 2 3 VSENSE J5 J6 6 4 2 4 Gate jumpers LU HU J10 J7 etc 7 4 2 5 Bridge center sense jumpe...

Page 3: ...lication block diagram as realized on TMC389 EVAL The TMC389 EVAL board features the TMC389 plus a microcontroller which realizes an interface to a PC 3 1 Power driver stage The power MOSFETs on resis...

Page 4: ...MS Current peak ICOIL Current RMS ICOILRMS VSENSE 0 CS 28 VSENSE 1 CS 28 330m 0 44 0 31 0 81 0 57 330m 330m 0 88 0 62 1 62 1 15 220m 0 66 0 47 1 22 0 86 220m 220m 1 32 0 93 2 43 1 72 150m 0 97 0 68 1...

Page 5: ...nalog low power GND VS 2 9V 40V Supply voltage Provide sufficient current capability for driving the motor 4 1 2 Stepper motor connector K13 or K10 Pin Number Level Description A1 1 VS Motor coil U A2...

Page 6: ...or can be used for debugging of CPU software and for programming via JTAG 4 1 5 USB K15 and RS232 K16 PC interface for operation with the demonstration software The USB port is handled as a virtual CO...

Page 7: ...gnal available at test load output C12 C15 etc 4 2 5 Bridge center sense jumpers BMU BMV BMW J1 2 J4 Connects the bridge outputs to TMC389 BR pins Setting Function Description 1 2 normal TMC389 sees t...

Page 8: ...al Range Parameter Symbol Min Max Unit Ambient temperature TA 25 85 C Supply voltage with the original 40V MOSFETs soldered on the board VVS 9 40 V Supply voltage with 60V MOSFETs SI4559ADY VVS 9 60 V...

Page 9: ...lue between 16 and 28 settings 29 to 31 are possible if a low hysteresis fits the motor only If your calculation shows that you need a value below 16 please go to the tab DRVCONF and select VREF 1 36...

Page 10: ...5 Using stallGuard2 and coolStep In order to use the stallGuard2 functionality and coolStep you should first tune the stallGuard2 sensitivity As a first step you should enable the stallGuard filter bi...

Page 11: ...e traces please see the TMC389 data sheet Hint For first tests we recommend setting SEIMIN to as the setting might not work stable with increasing load without adapting the SGT value to the actual mot...

Page 12: ...ettings made in the evaluation board They are stored in a 389 text file which is user readable figure 8 389 or 262 file opened in text editor In order to transfer the settings into your own software t...

Page 13: ...TMC389 EVAL MANUAL V 1 10 2011 Mar 01 13 Copyright 2010 TRINAMIC Motion Control GmbH Co KG figure 9 c file opened in text editor...

Page 14: ...on Control GmbH Co KG 7 Revision History 7 1 Documentation Revision Version Author Description 0 10 LL Initial version of documentation based on TMC262 eval board docu 1 1 BD Initial documentation ada...

Reviews: