Datasheet
TMC4671 Datasheet • IC Version V1.3 | Document Revision V2.00 • 2020-Apr-17
81 / 142
bpol bit(1) Polarity of B pulse.
0: off
1: on
npol bit(2) Polarity of N pulse.
0: off
1: on
use_abn_as_n bit(3) N and A and B
0: Ignore A and B polarity with
Npulse = N
1: Npulse = N and A and B
cln bit(8)
Write direction at Npulse event be-
tween ABN_DECODER_COUNT_N
and ABN_DECODER_COUNT.
0: COUNT => COUNT_N
1: COUNT_N => COUNT
direction bit(12) Decoder count direction.
0: positive
1: negative
0x26
h
ABN_DECODER_PPR
ABN_DECODER_PPR u24(23:0)
Decoder pules per mechanical rev-
olution.
0x27
h
ABN_DECODER_COUNT
ABN_DECODER_COUNT u24(23:0)
Raw decoder count; the digital de-
coder engine counts modulo (de-
coder_ppr).
0x28
h
ABN_DECODER_COUNT_N
ABN_DECODER_COUNT_N u24(23:0)
Decoder count latched on N pulse,
when N pulse clears decoder_
count also decoder_count_n is 0.
0x29
h
ABN_DECODER_PHI_E_PHI_M_OFFSET
ABN_DECODER_PHI_M_OFFSET s16(15:0)
ABN_DECODER_PHI_M_OFFSET to
shift (rotate) angle DECODER_PHI_
M.
ABN_DECODER_PHI_E_OFFSET s16(31:16)
ABN_DECODER_PHI_E_OFFSET to
shift (rotate) angle DECODER_PHI_
E.
0x2A
h
ABN_DECODER_PHI_E_PHI_M
ABN_DECODER_PHI_M s16(15:0)
ABN_DECODER_PHI_M = ABN_
DECODER_COUNT * 2^16 / ABN_
DECODER_PPR + ABN_DECODER_
PHI_M_OFFSET;
©2020 TRINAMIC Motion Control GmbH & Co. KG, Hamburg, Germany
Terms of delivery and rights to technical change reserved.
Download newest version at www.trinamic.com