Datasheet

TMC4361A Datasheet | Document Revision 1.22 2017-JAN-12
72/230
© 2015 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; especially the Supplemental Directiveson page 224.
MAIN MANUAL
The following three examples depict SPI datagrams, internal and external signal levels,
corresponding velocity ramps, and additional explanations. SPI data is transferred
internally at the end of each datagram.
In this example, the velocity value change is executed immediately.
The new
XTARGET
value is assigned after TARGET_REACHED has been set and
START_DELAY
has elapsed.
A new ramp does not start at the end of the second ramp because no new
XTARGET
value is assigned.
START is an output.
Internal start signal forwards with a step length of (
START_OUT_ADD
+ 1)
clock cycles.
This is how external devices can be synchronized:
Parameter Settings Timing Example 1
Parameter
Setting
RAMPMODE
b’101
start_en
b’00001
trigger_events
b’0010
START_DELAY
>0
START_OUT_ADD
>0
pol_start_signal
1
Table 33: Parameter Settings Timing Example 1
Figure 34: Ramp Timing Example 1
SPI
XTARGET
=2000
VMAX
=2000
v(t)
2000
1000
TARGET_REACHED
VMAX_REACHED
internal start signal
START
internal start timer
t
START_DELAY
START_DELAY
START_OUT_ADD START_OUT_ADD
trigger event
trigger event
XACTUAL=1800
XACTUAL=2000
Ramp Timing
Examples
Ramp Timing
Example 1
Process
Description