TMC222-SI TRINAMIC, TMC222-SI Datasheet - Page 36

IC, MOTOR CTRL/DRVR, STEPPER, SOIC-20

TMC222-SI

Manufacturer Part Number
TMC222-SI
Description
IC, MOTOR CTRL/DRVR, STEPPER, SOIC-20
Manufacturer
TRINAMIC
Datasheet

Specifications of TMC222-SI

Motor Type
Stepper
No. Of Outputs
4
Output Current
800mA
Supply Voltage Range
8V To 29V
Driver Case Style
SOIC
No. Of Pins
20
Operating Temperature Range
-40°C To +125°C
Device Type
Motor
Lead Free Status / RoHS Status
Lead free / RoHS Compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
TMC222-SI
Manufacturer:
TRINAMI
Quantity:
20 000
36
6.9 Positioning Task Example
The TMC222 has to perform a positioning task, where the actual position of the stepper motor is
unknown. The desired target position is 3000 µsteps away from position 0. See figure below.
The following sequence of commands has to be sent to the slave in order to complete the scenario
described above (assumed after power on):
GetFullStatus1
The command is used to read the current status of the TMC222. Electrical or environmental problems
will be reported, furthermore the circuit leaves the shutdown state and is ready for action. See 6.8.1
GetFullStatus1 on page 30.
GetFullStatus2
The circuit will enter a deadlock state if the actual position corresponds to the first target position of
the RunInit command. This command is used to read the actual position. The master must take care
that both positions are containing different values. For deadlock conditions see 5.1.11 Reference
Search / Position initialization on page 14.
SetMotorParam
In order to drive the stepper motor with a desired motion parameters like torque, velocity, aso. the
SetMotorParam command must issued. See 6.8.9 SetMotorParam on page 34.
RunInit
Hence the actual position is unknown, a position initialization has to be performed. The first motion
must drive the stepper motor into the stop for sure. The second motion is a very short motion to bring
the motor out of the stop. The actual position is then set to zero automatically after the second motion
is finished. See 6.8.8 RunInit on page 33.
After reference search the situation is as depicted in the figure below. Actual position of the stepper
motor corresponds to zero, the target position is 3000 µsteps away from the actual position.
Now the positioning command SetPosition can be issued in order to drive the stepper motor to the
desired position.
Copyright © 2004-2007 TRINAMIC Motion Control GmbH & Co. KG
Figure 23: Positioning Example: Situation after reference search
Stop
Stop
Position
Figure 22: Positioning Example: Initial situation
Actual
Position 0
= 0
?
unknown
Position
Actual
=
?
TMC222 DATASHEET (V. 1.06 / March 15, 2007)
?
Position
Position
= 3000
= 3000
Target
Target
X [µsteps]
X [µsteps]

Related parts for TMC222-SI