Trinamic TMC5271-EVAL-KIT User manual

Type
User manual
Evaluation Board for Stepper EVALUATION BOARD
TMC5271-EVAL Evaluation Board
Document Revision V1.00 2023-MAY-23
The TMC5271-EVAL allows evaluation of the TMC5271 in combination with the TRINAMIC evaluation
board system, or as stand-alone-board. It uses the standard schematic and offers several options
in order to test different modes of operation. The TMC5271 is a Step/Dir Driver for Two-Phase
Bipolar Stepper Motors up to 1.6 A (RMS) (2.24 A (PEAK)).
WARNING DO NOT CONNECT / DISCONNECT MOTOR WHILE POWER IS CONNECTED.
Features
2-phase stepper motor up to 1.6 A (RMS)
coil current (2.24 A (PEAK))
Supply Voltage 2.1. . . 20 V DC
SPI and Single Wire UART
Encoder Interface and
Ref.-Switch Input
1...256 microsteps
StealthChop2 silent PWM mode
StallGuard4 sensorless motor load
detection
TriCoder Sensorless Standstill Steploss
Detection and Full Step Encoder
Applications
Wearables
Personal portable devices
Optical systems, lens control
CCTV, Security
Insulin pumps
Liquid handling
Small printing devices
Lab and office automation
Space constrained applications
Simplified Block Diagram
©2023 TRINAMIC Motion Control GmbH & Co. KG, Hamburg, Germany
Terms of delivery and rights to technical change reserved.
Download newest version at: www.trinamic.com
Read entire documentation.
TMC5271-EVAL Evaluation Board Document Revision V1.00 2023-MAY-23 2 / 20
Contents
1 Order Codes 2
2 Getting Started 3
2.1 First Start-Up ................................................ 4
3 Hardware Information 5
3.1 Power connector ............................................. 5
3.1.1 Single supply .......................................... 5
3.1.2 Dual supply ........................................... 6
3.2 Voltage selection ............................................. 6
3.3 Onboard Connectors ........................................... 7
3.3.1 Landungsbruecke Connector ................................. 8
3.3.2 Current scaling IREF-Pins ................................... 9
4 Evaluation Features in the TMCL-IDE 10
4.1 Current Settings .............................................. 10
4.2 Velocity Mode ............................................... 12
4.3 Position Mode ............................................... 13
4.4 StallGuard4 Tuning ............................................ 14
4.5 CoolStep Tuning .............................................. 15
4.6 ADC Tool .................................................. 17
4.7 Sinus Tool ................................................. 18
4.8 TriCoder Tool ............................................... 19
5 Revision History 20
5.1 Document Revision ............................................ 20
1 Order Codes
Order Code Description Size
TMC5271-EVAL-KIT The kit includes:
-TMC5271 evaluation board
-Landungsbruecke (interface board to a PC)
-Eselsbruecke (bridge connector board)
140mm x 85mm
Table 1: TMC5271-EVAL Order Codes
©2023 TRINAMIC Motion Control GmbH & Co. KG, Hamburg, Germany
Terms of delivery and rights to technical change reserved.
Download newest version at www.trinamic.com
TMC5271-EVAL Evaluation Board Document Revision V1.00 2023-MAY-23 3 / 20
2 Getting Started
You need
TMC5271-EVAL
Landungsbruecke with latest firmware
Eselsbruecke bridge board
Stepper motor (e.g. QMot line)
USB interface
Power Supply (2x if VCC < 8 V wished. See 3.1)
Latest TMCL-IDE V3.5 (or higher)
Cables for interface, motors and power
Precautions
Do not mix up connections or short-circuit
pins.
Avoid bundling I/O wires with motor wires.
Do not exceed the maximum rated supply
voltage!
Do not connect or disconnect the motor
while powered!
START WITH POWER SUPPLY OFF!
Figure 1: Getting started
©2023 TRINAMIC Motion Control GmbH & Co. KG, Hamburg, Germany
Terms of delivery and rights to technical change reserved.
Download newest version at www.trinamic.com
TMC5271-EVAL Evaluation Board Document Revision V1.00 2023-MAY-23 4 / 20
2.1 First Start-Up
1. Make sure that the latest version of the TMCL-IDE 3.X is installed. The TMCL-IDE can be downloaded
from www.trinamic.com/support/software/tmcl-ide/.
2. Open the TMCL-IDE and connect the Landungsbruecke via USB to the computer. For Windows 8 and
higher no driver is needed, on Windows 7 machines the TMCL-IDE is installing the driver automati-
cally.
3. Verify that the Landungsbruecke is using the latest firmware version. The firmware version is shown
in the connected device tree. The newest firmware can be downloaded from
www.trinamic.com/support/eval-kits/details/landungsbruecke/.
Figure 2: Firmware Version
4. The TMCL-IDE 3.X needs room to show all important information and to provide a good overview.
Therefore, arrange the main window related to your needs. We recommend using full screen. For
evaluation boards it is essential to have access to the registers. Therefore open up the Register
Browser (left side). For a better view click top right on the normal icon to get a maximized register
browser window.
5. The TMCL-IDE includes a dialogue for diagnostic tasks. Further, the dialogue provides an overview of
the connected motion controller and driver chips. A window pops up immediately after connecting
the evaluation kit the first time. The window shows the actual status of the connections. The second
tab of the dialogue offers the possibility to choose basic settings or to reset the module to factory
defaults.
Figure 3: Landungsbruecke Dialogue
©2023 TRINAMIC Motion Control GmbH & Co. KG, Hamburg, Germany
Terms of delivery and rights to technical change reserved.
Download newest version at www.trinamic.com
TMC5271-EVAL Evaluation Board Document Revision V1.00 2023-MAY-23 5 / 20
3 Hardware Information
All design files for our evaluation boards are available for free. We offer the original ECAD files, Gerber
data, the BOM, and PDF copies. Typically, the ECAD files are in KiCAD format. Some (older) evaluation
boards may only be available in Eagle, Altium, or PADS format.
Please check schematics for Jumper settings and input/output connector description.
The files can be downloaded from the evaluation boards’ website directly at our homepage: TRINAMIC
Eval Kit homepage.
Note If files are missing on the website or something is wrong please send us a note.
3.1 Power connector
The TMC5271-EVAL has the option to use two power inputs. You need to use both if you want to use the
TMC5271 at low voltages. This is necessary as the Landungsbruecke needs a minimum voltage of 8 V via
the Eselsbruecke connector to operate correctly.
Connector J202 (right in figure 5) is the main connector to power the TMC5271-EVAL-KIT. If the TMC5271
should be evaluated at voltages below 8 V a second supply needs to be attached via J203 (left in figure 5).
Please refer to chapter 3.1.2 in this case.
OPEN SOURCE
/
Designed by: Approved by:
Release date:
Schematic title:
Sheet title:
Revision:
Sheet:
A B C D E F G
1
2
3
4
5
1
2
3
4
5
A B C D E F G
3
TMC5271-EVALSKMM
2022-11-18
1.0
2I/O
GND GND
CS SCK
WP SI
HOLD SO
GND; 4
GNDOUTPUTIN
GND
SHDN
POK
FB
GND GNDGND
GND GND GND GND
GND
GND GND GND
Interface Connector
EEPROM
Not mounted
VCC IO
Mounting Holes Fiducials
ICT Test Points
Test Points
+VL+5V_USB
AT25128B-SSHL
+VCC_IO; 8
SO8
IC202
5
27
1
3
6
+VCC_IO+VCC_IO
1
9
8
2
4
12
10
7
5
3
6
11
J201
HLE-122-02-F-DV
44
46-3492-44-3-00-10-PPTR
43
18
35
16
36
29
15
31
27
23
21
41
33
25
40
24
37
14
39
32
19
17
13
30
26
28
34
42
22
38
20
SOT23-6
MAX8881EUT33
IC201
4
3
5
6
2
1
+5V_USB
C202
4.7uF/6.3V
0603
+3.3V_USB
0603
R201
0R
+VCC_IO
0603
0R
R202
PTH201
3.2 mm
PTH320_635 3.2 mm
PTH202
PTH320_635 3.2 mm
PTH320_635
PTH203 PTH204
3.2 mm
PTH320_635
FID100
FID201
1 mm
FID202
FID100
1 mm
FID203
1 mm
FID100
1.5 mm
TP208
TP150
TP206
1.5 mm
TP150
1.5 mm
TP204
TP150
1.5 mm
TP150
TP203TP202
1.5 mm
TP150 TP150
TP205
1.5 mm
VDD1V8+VCC_IO+3.3V_USB+5V_USB +5V_VM
+VM +5V_VM +VCC_IO
PTH205
PTH110_190
1.1 mm
1.1 mm
PTH206
PTH110_190
1.1 mm
PTH110_190
PTH207
PTH208
1.1 mm
PTH110_190
1.1 mm
PTH209
PTH110_190
1.1 mm
PTH110_190
PTH210
TP150
1.5 mm
TP201
+VL
C201
1uF/16V
0603
0603
C203
100nF/16V
NC
NC
SLEEP
UART_TX
NC
IREF_R2
NC
NC
NC
IREF_R3
NC
NC
NC
NC
DIAG1
CLK
DIAG0
SPI_MOSI
SPI_CS_DRV
UART_RX
USEL
NC
NC
NC
NC
SPI_CS_EEPROM
NC
SPI_CS_EEPROM SPI_SCK
SPI_MOSI
SPI_MISO
NC
NC
NC
NC
SPI_SCK
NC
NC
SPI_MISO
NC
+5V_VM
GND GNDGND
GND GND GND GND
Supply Connectors
Motor Connectors
Not mounted
+VM
1
3
4
2
PT113-T182-04
J204
PT113-T182-04
2
J202
1
PT115-T330-02
PT115-T330-02
1nF/100V
0603
C205 C206
0603
1nF/100V 0603
1nF/100V
C207 1nF/100V
0603
C208
OB1
OB2
OA1
OA2
GNDGNDGNDGND GND
Feedback Inputs
f(max) = 16MHz/2 = 8 MHz
f(cutoff) = 10.6 MHz
4k7/1%
R203
0603
R204
4k7/1%
0603 0603
4k7/1%
R205
HEADER-1X5_V
HEADER-1X5
J205
3
5
1
2
4
+5V_VM
1k/1%
0603
R206
R207
1k/1%
0603
0603
R208
1k/1%
0603
C212
15pF/50V
C211
15pF/50V
0603
C210
15pF/50V
06030603
1uF/16V
C209
+5V_VM +5V_VM +5V_VM
Not mounted
C204
1
2
100uF/35V
EL63
J203
2
1
PT115-T330-02
PT115-T330-02
GND
+VL
D202
2 1
PMEG3010
SOD123
TP150
TP207
1.5 mm
+VM
GND; 4
1Y
2Y
1A
2A
3Y3A
GND
74LVC3G17
+VCC_IO; 8
VSSOP8
IC203
3
7
26
1
5
+VCC_IO
0603
C213
100nF/16V
ENCA
ENCB
ENCN
GND GND
Reference Switches
J206
HEADER-1X4
HEADER-1X4_V
4
2
1
3
+5V_VM
+VCC_IO +VCC_IO
4k7/1%
R210
0603
R209
4k7/1%
0603
D203
2SOT23
3
BAT54A
1SOT23
BAT54A
D204
3
21
1uF/16V
C214
0603
REFR/DIR_EXT
REFL/STEP_INT
REFL/STEP_EXT
REFL/STEP
REFR/DIR
REFR/DIR_INT
REFR/DIR_INTREFL/STEP_INT
R211
0R
0603 R212
0R
0603
Not mounted
Not mounted
D201
2
1
TPSMB20A
SMB
Figure 4: Schematic drawing for power connectors
MM 2022-11-18
TMC5271-EVAL_V10 300% Component Placement Drawing
C301
C210
C211
C212
C203
C302
C205
C206
C207 C208
C202
C204
C309
C310
C307 C308
C201
C209
C214
C303
C304
J202J203
J204
J201
J205
D202
IC202IC202
IC201
R201
R202
R206
R207
R208
R304
R203
R204
R205
R209
R210
R302
R303
Q301
Q302Q303
C305
C306
IC301
J206
D203
D204
C213
IC203
R211
R212
D201
R301
R305
R306
R308
R307
C301
C210
C211
C212
C203
C302
C205
C206
C207
C208
C202
C204
C309C310
C307 C308
C201
C209
C214
C303 C304
J202J203
J204
J201
J205
D202
IC202
IC201
FID201
FID202 FID203
PTH201 PTH202
PTH203PTH204
PTH205
PTH206
PTH207
PTH208
PTH209
PTH210
R201
R202
R206
R207
R208
R304
R203
R204
R205
R209
R210
R302
R303
Q301
Q302Q303
C305C306
IC301
D203
D204
C213
IC203
R211
R212
D201
J206
R301
R305 R306R308 R307
Figure 5: Power connector placement and labeling. J203 (left) and J202 (right)
3.1.1 Single supply
A single supply is archieved by using the connectors in the following voltage range:
+VM (J202) = 8. . . 20 V
+VL (J203) = do not use
©2023 TRINAMIC Motion Control GmbH & Co. KG, Hamburg, Germany
Terms of delivery and rights to technical change reserved.
Download newest version at www.trinamic.com
TMC5271-EVAL Evaluation Board Document Revision V1.00 2023-MAY-23 6 / 20
3.1.2 Dual supply
By using two supplies, the full voltage range of TMC5271 can be used.
+VM (J202) = 2.1. . . 20 V
+VL (J203) = 8. . . 28 V
3.2 Voltage selection
In case the TMC5271 VIO should be used with +5 V instead of +3.3 V there is a solder selection near the
EEPROM. This selection should be changed, if a external electronic with 5 V levels is connected.
Using the TMC5271-EVAL with Landungsbruecke, the VCCIO must be set to +3.3 V (default).
NOTICE Don’t bridge both selections at the same time. This might disturb the onboard
voltage regulator. Leave at +3.3 V (default) in combination with Landungsbruecke.
Figure 6: +VCC IO selection near the EEPROM
©2023 TRINAMIC Motion Control GmbH & Co. KG, Hamburg, Germany
Terms of delivery and rights to technical change reserved.
Download newest version at www.trinamic.com
TMC5271-EVAL Evaluation Board Document Revision V1.00 2023-MAY-23 7 / 20
3.3 Onboard Connectors
The TMC5271-EVAL has 6 onboard connectors. The following table contains information on the connector
type and mating connectors.
The connector pinning and signal names can be derived from the board design and schematic files avail-
able here: TRINAMIC TMC5271-EVAL homepage
# Connects to... Connector Type Description
1 2x Power Supply METZ CONNECT 31330102 Connects a battery or power supply to the eval-
uation board. Mating cable for example METZ
CONNECT 31349102
2 1x Motor METZ CONNECT 31182104 Connects the motor to the TMC5271 output.
Mating connector METZ CONNECT 31169104
3 1x ENCODER Standard 5x 2.54mm
header
Use to connect ABN encoder to board.
4 1x REF Standard 4x 2.54mm
header
Use to connect reference switches to board.
5 Landungsbruecke 46-3492-44-3-00-10-PPTR
from W+P Series 3492
Main I/O and digital supply connector to con-
nect to Trinamic’s Landungsbruecke or Star-
trampe controller boards via the Eselsbruecke
connector or to connect to an own controller
board.
Table 3: TMC5271-EVAL connectors
©2023 TRINAMIC Motion Control GmbH & Co. KG, Hamburg, Germany
Terms of delivery and rights to technical change reserved.
Download newest version at www.trinamic.com
TMC5271-EVAL Evaluation Board Document Revision V1.00 2023-MAY-23 8 / 20
3.3.1 Landungsbruecke Connector
NOTICE All signals are connected to the TMC5271 directly, without any additional protec-
tion. Please consult the TMC5271 datasheet for electrical ratings.
OPEN SOURCE
/
Designed by: Approved by:
Release date:
Schematic title:
Sheet title:
Revision:
Sheet:
A B C D E F G
1
2
3
4
5
1
2
3
4
5
A B C D E F G
3
TMC5271-EVALSKMM
2022-11-18
1.0
2I/O
GND GND
CS SCK
WP SI
HOLD SO
GND; 4
GNDOUTPUTIN
GND
SHDN
POK
FB
GND GNDGND
GND GND GND GND
GND
GND GND GND
Interface Connector
EEPROM
Not mounted
VCC IO
Mounting Holes Fiducials
ICT Test Points
Test Points
+VL+5V_USB
AT25128B-SSHL
+VCC_IO; 8
SO8
IC202
5
27
1
3
6
+VCC_IO+VCC_IO
1
9
8
2
4
12
10
7
5
3
6
11
J201
HLE-122-02-F-DV
44
46-3492-44-3-00-10-PPTR
43
18
35
16
36
29
15
31
27
23
21
41
33
25
40
24
37
14
39
32
19
17
13
30
26
28
34
42
22
38
20
SOT23-6
MAX8881EUT33
IC201
4
3
5
6
2
1
+5V_USB
C202
4.7uF/6.3V
0603
+3.3V_USB
0603
R201
0R
+VCC_IO
0603
0R
R202
PTH201
3.2 mm
PTH320_635 3.2 mm
PTH202
PTH320_635 3.2 mm
PTH320_635
PTH203 PTH204
3.2 mm
PTH320_635
FID100
FID201
1 mm
FID202
FID100
1 mm
FID203
1 mm
FID100
1.5 mm
TP208
TP150
TP206
1.5 mm
TP150
1.5 mm
TP204
TP150
1.5 mm
TP150
TP203TP202
1.5 mm
TP150 TP150
TP205
1.5 mm
VDD1V8+VCC_IO+3.3V_USB+5V_USB +5V_VM
+VM +5V_VM +VCC_IO
PTH205
PTH110_190
1.1 mm
1.1 mm
PTH206
PTH110_190
1.1 mm
PTH110_190
PTH207
PTH208
1.1 mm
PTH110_190
1.1 mm
PTH209
PTH110_190
1.1 mm
PTH110_190
PTH210
TP150
1.5 mm
TP201
+VL
C201
1uF/16V
0603
0603
C203
100nF/16V
NC
NC
SLEEP
UART_TX
NC
IREF_R2
NC
NC
NC
IREF_R3
NC
NC
NC
NC
DIAG1
CLK
DIAG0
SPI_MOSI
SPI_CS_DRV
UART_RX
USEL
NC
NC
NC
NC
SPI_CS_EEPROM
NC
SPI_CS_EEPROM SPI_SCK
SPI_MOSI
SPI_MISO
NC
NC
NC
NC
SPI_SCK
NC
NC
SPI_MISO
NC
+5V_VM
GND GNDGND
GND GND GND GND
Supply Connectors
Motor Connectors
Not mounted
+VM
1
3
4
2
PT113-T182-04
J204
PT113-T182-04
2
J202
1
PT115-T330-02
PT115-T330-02
1nF/100V
0603
C205 C206
0603
1nF/100V 0603
1nF/100V
C207 1nF/100V
0603
C208
OB1
OB2
OA1
OA2
GNDGNDGNDGND GND
Feedback Inputs
f(max) = 16MHz/2 = 8 MHz
f(cutoff) = 10.6 MHz
4k7/1%
R203
0603
R204
4k7/1%
0603 0603
4k7/1%
R205
HEADER-1X5_V
HEADER-1X5
J205
3
5
1
2
4
+5V_VM
1k/1%
0603
R206
R207
1k/1%
0603
0603
R208
1k/1%
0603
C212
15pF/50V
C211
15pF/50V
0603
C210
15pF/50V
06030603
1uF/16V
C209
+5V_VM +5V_VM +5V_VM
Not mounted
C204
1
2
100uF/35V
EL63
J203
2
1
PT115-T330-02
PT115-T330-02
GND
+VL
D202
2 1
PMEG3010
SOD123
TP150
TP207
1.5 mm
+VM
GND; 4
1Y
2Y
1A
2A
3Y3A
GND
74LVC3G17
+VCC_IO; 8
VSSOP8
IC203
3
7
26
1
5
+VCC_IO
0603
C213
100nF/16V
ENCA
ENCB
ENCN
GND GND
Reference Switches
J206
HEADER-1X4
HEADER-1X4_V
4
2
1
3
+5V_VM
+VCC_IO +VCC_IO
4k7/1%
R210
0603
R209
4k7/1%
0603
D203
2SOT23
3
BAT54A
1SOT23
BAT54A
D204
3
21
1uF/16V
C214
0603
REFR/DIR_EXT
REFL/STEP_INT
REFL/STEP_EXT
REFL/STEP
REFR/DIR
REFR/DIR_INT
REFR/DIR_INTREFL/STEP_INT
R211
0R
0603 R212
0R
0603
Not mounted
Not mounted
D201
2
1
TPSMB20A
SMB
Figure 7: Pin assignment on Landungsbruecke connector
©2023 TRINAMIC Motion Control GmbH & Co. KG, Hamburg, Germany
Terms of delivery and rights to technical change reserved.
Download newest version at www.trinamic.com
TMC5271-EVAL Evaluation Board Document Revision V1.00 2023-MAY-23 9 / 20
3.3.2 Current scaling IREF-Pins
The IREF pin of TMC5271 is connected to a resistance network as shown in figure 8. IREF of TMC5271 is
connected to the upper rail. This feature is targeted for a quick change of the reference resistor via the
TMCL-IDE.
OPEN SOURCE
/
Designed by: Approved by:
Release date:
Schematic title:
Sheet title:
Revision:
Sheet:
A B C D E F G
1
2
3
4
5
1
2
3
4
5
A B C D E F G
3
TMC5271-EVALSKMM
2022-11-18
1.0
3DRIVER
CLK
USEL
+VCC_IO
0603
1k/1%
R304
DIAG0
UART_TX
UART_RX
VDD1V8
C301
2.2uF/6.3V
0603
GND
C302
0603
100nF/16V
GND
GND GND GND
IREF_R2 IREF_R3IREF_R1 IREF
LOW LOW 60 k
20 kHIGH LOW
LOW HIGH 15 k
HIGH HIGH 10 k
Current Scaling
Q302
2N7002
3
SOT23 2
1
3
SOT23
Q303
2N7002
2
1IREF_R3
IREF_R2
R302
4k7/1%
0603
R303
4k7/1%
0603
+VCC_IO +VCC_IO
USEL INTERFACE
LOW SPI
UARTHIGH
GND
3
SOT23
Q301
2N7002
2
1
+VM
SLEEP
Motor Driver
Sleep Mode
C303
100nF/35V
0603
C304
100nF/35V
0603
C307
10uF/35V
1206
C308
10uF/35V
1206
C309
10uF/35V
1206
C310
10uF/35V
1206
GND GND
GND GND GND GND
+VM
GND GND
100nF/35V
C305
0603
C306
0603
100nF/35V
OA1
OA2
OB1
OB2
SPI_CS_DRV
SPI_SCK
SPI_MOSI
SPI_MISO
ENCA
ENCB
ENCN
DIAG1
REFL/STEP
REFR/DIR
IREF
OB2_1
VCCIO
OB1_2
VDD1V8
OB2_2
OA1_2
OA2_2
OB1_1
OA1_1
OA2_1
CLK
SLEEP
USEL
SCK/AD1
MOSI/AD0
MISO/NAO
DIAG1
ENCN
CS/AD2
ENCB
REFR/DIR
REFL/STEP
DIAG0
SW
ENCA
IC301
F2
C5
A2
E4
D2
F5
D5
C2
A3
B4
D3
E3
C4
F4
A4
F3
TMC5271
WLP36
D1
F1
F6
C1
A1
C6
A6
D6
GND; B1,B6,C3,D4,E1,E6 +VM; B2,B5,E2,E5
A5
B3
0603
30k/1%
R306
0603
30k/1%
R305
0603
30k/1%
R307
0603
20k/1%
R308
0603
20k/1%
R301
Figure 8: Pin assignment and logic table for IREF (upper rail)
IREF_R2 IREF_R3 R_REF [ ] Max. TMC5271 FS
current [ A]
LOW LOW 60 k 0.27
HIGH LOW 20 k 0.80
LOW HIGH 15 k 1.07
HIGH HIGH 10 k 1.60
Table 5: IREF selection and their resulting current setting
©2023 TRINAMIC Motion Control GmbH & Co. KG, Hamburg, Germany
Terms of delivery and rights to technical change reserved.
Download newest version at www.trinamic.com
TMC5271-EVAL Evaluation Board Document Revision V1.00 2023-MAY-23 10 / 20
4 Evaluation Features in the TMCL-IDE
This chapter gives some hints and tips on using the functionality of the TMCL-IDE, e.g., how to use the
velocity mode or some feature-based tools.
Note In order to achieve good settings please refer to descriptions and flowcharts in
the TMC5271 data sheet. The register browser of the TMCL-IDE provides help-
ful information about any currently selected parameter. Beyond that, the data
sheet explains concepts and ideas which are essential for understanding how
the registers are linked together and which setting will fit for which kind of appli-
cation. For getting more familiar with the evaluation kit in the beginning of your
examinations, drive the motor using velocity mode and/or positioning mode first.
Beyond this, the direct mode function can be used. This way, TMCL commands
can be sent to the evaluation board system.
4.1 Current Settings
To configure the current settings for the TMC5271-EVAL, open the TMC5271 Current Settings tool by click-
ing the appropriate entry in the tool tree. This tool usually includes settings to control the IC registers
and selecting the reference resistor via Landungsbruecke. It is recommended to use this tool first. Newer
generations of ICs provide a wide range of current settings. Therefore the tool might look different or
support other functionalities.
Figure 9: Configuring current settings of a TMC5272 within Simple Mode (similar for other ICs).
©2023 TRINAMIC Motion Control GmbH & Co. KG, Hamburg, Germany
Terms of delivery and rights to technical change reserved.
Download newest version at www.trinamic.com
TMC5271-EVAL Evaluation Board Document Revision V1.00 2023-MAY-23 11 / 20
Figure 10: Configuring current settings of a TMC5272 within Advanced Mode (similar for other ICs).
©2023 TRINAMIC Motion Control GmbH & Co. KG, Hamburg, Germany
Terms of delivery and rights to technical change reserved.
Download newest version at www.trinamic.com
TMC5271-EVAL Evaluation Board Document Revision V1.00 2023-MAY-23 12 / 20
4.2 Velocity Mode
To move the motor in velocity mode, open the velocity mode tool by clicking the appropriate entry in the
tool tree. In the velocity mode tool you can enter the desired velocity and acceleration and then move the
motor using the arrow buttons. The motor can be stopped at any time by clicking the stop button. Open
the velocity graph tool to get a graphical view of the actual velocity. You might have to change the desired
run and hold currents in Current Settings tool before.
Note In order to get a more accurate graphical velocity view, close the register browser
window when using the velocity graph.
Figure 11: Driving the motor in velocity mode (TMCL-IDE provides similar view for TMC5271-EVAL)
©2023 TRINAMIC Motion Control GmbH & Co. KG, Hamburg, Germany
Terms of delivery and rights to technical change reserved.
Download newest version at www.trinamic.com
TMC5271-EVAL Evaluation Board Document Revision V1.00 2023-MAY-23 13 / 20
4.3 Position Mode
To move the motor in position mode, open the position mode tool by clicking the appropriate entry in the
tool tree. In the position mode tool you can enter a target position and then start positioning by clicking
the Absolute or Relative Move button. The speed and acceleration used for positioning can also be ad-
justed here.
Open the position graph tool to get a graphical view of the actual position. You might have to change the
desired run and hold currents in Current Settings tool before.
Note In order to get a more accurate graphical position view, close the register browser
window when using the position graph.
Figure 12: Driving the motor in position mode (TMCL-IDE provides similar view for TMC5271-EVAL)
©2023 TRINAMIC Motion Control GmbH & Co. KG, Hamburg, Germany
Terms of delivery and rights to technical change reserved.
Download newest version at www.trinamic.com
TMC5271-EVAL Evaluation Board Document Revision V1.00 2023-MAY-23 14 / 20
4.4 StallGuard4 Tuning
To tune StallGuard4 properly you need to set the current for the motor first, e.g. 1A RMS. After that you
specify the velocity to run the motor with. This could be 75 rpm as in this example. You can use the
TMCL IDE to calculate the velocity with the "Parameter calculator" tool shown in the list on the left when
connecting the board.
Figure 13: TMCL IDE v3.0.20.0 Parameter calculator
In the TMCL IDE you can use the CoolStep & StallGuard4 graph where the StallGuard4 value is shown
in blue. There are two parameters that need tuning for proper StallGuard4 use. StallGuard4 Threshold
(SGT), will need to be tuned by raising or lowering the SGT value. The goal of SGT it so have it hit 0 before
a stall occurs. If the SGT is too high, a step loss will occur and you need to lower it. In the picture you see
two regions. In the first region the SGT value was too high. It was set to 10 and with loading the motor
you can see the value does not reach 0. In the second region the SGT value was set to 4 which results in
hitting the 0 axis just short before the motor stalls.
Figure 14: CoolStep & StallGuard4 window
With optimal StallGuard4 settings you can optionally activate CoolStep.
©2023 TRINAMIC Motion Control GmbH & Co. KG, Hamburg, Germany
Terms of delivery and rights to technical change reserved.
Download newest version at www.trinamic.com
TMC5271-EVAL Evaluation Board Document Revision V1.00 2023-MAY-23 15 / 20
4.5 CoolStep Tuning
With the TMCL IDE and the EVAL-KIT you have a powerful tool to find your CoolStep to run your motor
most energy efficient and cool. To tune it, please open the CoolStep & StallGuard2 or StallGuard4 window
you’ll find on the left of the IDE when you have connected the EVAL board. On the CoolStep tab you will
see below picture by default.
Figure 15: CoolStep & StallGuard2 (or StallGuard4 ) window
CoolStep will get activated as soon as you change the "Hysteresis start" value higher than 0 and enter a
"Threshold speed" value higher than 0.
©2023 TRINAMIC Motion Control GmbH & Co. KG, Hamburg, Germany
Terms of delivery and rights to technical change reserved.
Download newest version at www.trinamic.com
TMC5271-EVAL Evaluation Board Document Revision V1.00 2023-MAY-23 16 / 20
Figure 16: CoolStep & StallGuard2 (or StallGuard4 ) window
The above values activate CoolStep but the values can be fine tuned to make CoolStep work reliable and
in a way as you need it in your application. For that it is important to understand what each setting is
doing.
Current minimum: The current minimum setting will be the lowest current when CoolStep is acti-
vated. With 1A RMS the current will either be reduced to a quarter or to the half of this current when
no or less force is applied to the motor shaft.
Current down step: Current down steps defines the speed of the current to drop down after load
gets released from the motor shaft.
Current up step: This setting defines the step height when hitting the lower StallGuard2 or Stall-
Guard4 threshold (Hysteresis start).
Hysteresis width: This setting defines the area of the StallGuard2 or StallGuard4 threshold (Hys-
teresis end).
Hysteresis start: This setting defines the switching point, related to the StallGuard2 or StallGuard4
value, to boost up the current by one step.
©2023 TRINAMIC Motion Control GmbH & Co. KG, Hamburg, Germany
Terms of delivery and rights to technical change reserved.
Download newest version at www.trinamic.com
TMC5271-EVAL Evaluation Board Document Revision V1.00 2023-MAY-23 17 / 20
4.6 ADC Tool
The TMC5271 has integrated ADC registers. The values can be read out and displayed with the ADC Tool.
Configurations for them are available as well.
Figure 17: Configuring and read out the ADC registers of a TMC2240 (similar for other ICs).
©2023 TRINAMIC Motion Control GmbH & Co. KG, Hamburg, Germany
Terms of delivery and rights to technical change reserved.
Download newest version at www.trinamic.com
TMC5271-EVAL Evaluation Board Document Revision V1.00 2023-MAY-23 18 / 20
4.7 Sinus Tool
The TMC5271 has the ability to change the waveform of the motor current to match the motor character-
istic. The necessary values can be read out and displayed with the Sinus Tool. Graphs show the resulting
waveform. The Phase shift functionality can optimize the parameter for the connected motor automati-
cally.
Figure 18: Configuring and read out the sinus and phase shift registers of a TMC5272 (similar for other ICs).
©2023 TRINAMIC Motion Control GmbH & Co. KG, Hamburg, Germany
Terms of delivery and rights to technical change reserved.
Download newest version at www.trinamic.com
TMC5271-EVAL Evaluation Board Document Revision V1.00 2023-MAY-23 19 / 20
4.8 TriCoder Tool
The TMC5271 supports TriCoder functionality to detect motor movements within standstil. This tool pro-
vides the basic settings to setup and enable this function.
Figure 19: Setting up the TriCoder for TMC5272 (similar for other ICs).
©2023 TRINAMIC Motion Control GmbH & Co. KG, Hamburg, Germany
Terms of delivery and rights to technical change reserved.
Download newest version at www.trinamic.com
TMC5271-EVAL Evaluation Board Document Revision V1.00 2023-MAY-23 20 / 20
5 Revision History
5.1 Document Revision
Version Date Author Description
1.00 2023-MAY-23 FV Initial release.
Table 6: Document Revision
©2023 TRINAMIC Motion Control GmbH & Co. KG, Hamburg, Germany
Terms of delivery and rights to technical change reserved.
Download newest version at www.trinamic.com
  • Page 1 1
  • Page 2 2
  • Page 3 3
  • Page 4 4
  • Page 5 5
  • Page 6 6
  • Page 7 7
  • Page 8 8
  • Page 9 9
  • Page 10 10
  • Page 11 11
  • Page 12 12
  • Page 13 13
  • Page 14 14
  • Page 15 15
  • Page 16 16
  • Page 17 17
  • Page 18 18
  • Page 19 19
  • Page 20 20

Trinamic TMC5271-EVAL-KIT User manual

Type
User manual

Ask a question and I''ll find the answer in the document

Finding information in a document is now easier with AI