Datasheet

TMC4361A Datasheet | Document Revision 1.22 2017-JAN-12
190/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
Encoder Signal Configuration (0x07)
ENC_IN_CONF
0x07
(Default 0x00000400)
R/W
Bit
Val
Description
RW
0
enc_sel_decimal
0
Encoder constant represents a binary number.
1
Encoder constant represents a decimal number (for ABN only).
1
clear_on_n
0
ENC_POS
is not set to
ENC_RESET_VAL
.
1
ENC_POS
is set to
ENC_RESET_VAL
on every N event in case
clr_latch_cont_on_n
=1, or
on the next N event in case
clr_latch_once_on_n
=1.
Do NOT use during closed-loop operation.
2
clr_latch_cont_on_n
0
Value of
ENC_POS
is not cleared and/or latched on every N event.
1
Value of
ENC_POS
is cleared and/or latched on every N event.
3
clr_latch_once_on_n
0
Value of
ENC_POS
is not cleared and/or latched on the next N event.
1
Value of
ENC_POS
is cleared and/or latched on the next N event.
i This bit is set to 0 after latching/clearing once.
4
pol_n
0
Active polarity for N event is low active.
1
Active polarity for N event is high active.
6:5
n_chan_sensitivity
0
N event is active as long as N equals active N event polarity.
1
N event triggers when N switches to active N event polarity.
2
N event triggers when N switches to inactive N event polarity.
3
N event triggers when N switches to in-/active N event polarity (both slopes).
7
pol_a_for_n
0
A polarity has to be low for a valid N event.
1
A polarity has to be high for a valid N event.
8
pol_b_for_n
0
B polarity has to be low for valid N event
B polarity has to be high for valid N event
1
9
ignore_ab
0
TMC4361A considers A and B polarities for valid N event.
1
Polarities of A and B signals for a valid N event are ignored.
Continued on next page.