Datasheet
TMC4361A Datasheet | Document Revision 1.22 • 2017-JAN-12
51/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 Directives” on page 224.
MAIN MANUAL
7. External Step Control and Electronic Gearing
Steps can also be generated by external steps that are manipulated internally by an electronic
gearing process. In the following chapter, steps generation by external control and electronic
gearing is presented.
Pins for External Step Control
Pin Names
Type
Remarks
STPIN
Input
Step input signal.
DIRIN
Input
Direction input signal.
Table 20: Pins used for External Step Control
Registers used for external Step Control
Register Name
Register Address
Remarks
GENERAL_CONF
0x00
RW
Bits 9:6, 26.
GEAR_RATIO
0x12
RW
Electronic gearing factor; signed;
32 bits=8+24 (8-bit digits, 24-bit decimal places).
Table 21: Registers used for External Step Control
In order to synchronize with other motion controllers, TMC4361A offers a step
direction input interface at the STPIN and DIRIN input pins.
i Three options are available. In case one of these options is selected, the internal
step generator is disabled.
OPTION 1: HIGH ACTIVE EXTERNAL STEPS
Action:
Set
sdin_mode
= b’01 (
GENERAL_CONF
register 0x00).
Result:
As soon as the STPIN input signal switches to high state the control unit recognizes
an external step.
OPTION 2: LOW ACTIVE EXTERNAL STEPS
Action:
Set
sdin_mode
= b’10 (
GENERAL_CONF
register 0x00).
Result:
As soon as the STPIN input signal switches to low state the control unit recognizes an
external step.
OPTION 3: TOGGLING EXTERNAL STEPS
Action:
Set
sdin_mode
= b’11 (
GENERAL_CONF
register 0x00).
Result:
As soon as the STPIN input signal switches to low or high state the control unit
recognizes an external step.
Continued on next page.
Enabling
External Step
Control