Datasheet

TMC5031 DATASHEET (Rev. 1.11 / 2016-APR-28) 28
www.trinamic.com
5.3.2 CHOPCONF Chopper Configuration
0X6C, 0X7C: CHOPCONF CHOPPER CONFIGURATION
Bit
Name
Function
Comment
31
-
reserved
set to 0
30
diss2g
short to GND
protection disable
0: Short to GND protection is on
1: Short to GND protection is disabled
29
-
reserved
set to 0
28
-
reserved
set to 0
27
-
reserved
set to 0
26
-
reserved
set to 0
25
-
reserved
set to 0
24
-
reserved
set to 0
23
sync3
SYNC
PWM synchronization
clock
This register allows synchronization of the chopper for
both phases of a two phase motor in order to avoid the
occurrence of a beat, especially at low motor velocities.
It is automatically switched off above VHIGH.
%0000: Chopper sync function chopSync off
%0001 … %1111:
Synchronization with f
SYNC
= f
CLK
/(sync*64)
Hint: Set TOFF to a low value, so that the chopper cycle
is ended, before the next sync clock pulse occurs. Set for
the double desired chopper frequency for chm=0, for the
desired base chopper frequency for chm=1.
22
sync2
21
sync1
20
sync0
19
vhighchm
high velocity chopper
mode
This bit enables switching to chm=1 and fd=0, when
VHIGH is exceeded. This way, a higher velocity can be
achieved. Can be combined with vhighfs=1. If set, the
TOFF setting automatically becomes doubled during
high velocity operation in order to avoid doubling of
the chopper frequency.
18
vhighfs
high velocity fullstep
selection
This bit enables switching to fullstep, when VHIGH is
exceeded. Switching takes place only at 45° position.
The fullstep target current uses the current value from
the microstep table at the 45° position.
17
vsense
sense resistor voltage
based current scaling
0: Low sensitivity, high sense resistor voltage
1: High sensitivity, low sense resistor voltage
16
tbl1
TBL
blank time select
%00 … %11:
Set comparator blank time to 16, 24, 36 or 54 clocks
Hint: %10 is recommended for most applications
15
tbl0
14
chm
chopper mode
0
Standard mode (spreadCycle)
1
Constant off time with fast decay time.
Fast decay time is also terminated when the
negative nominal current is reached. Fast decay is
after on time.
13
rndtf
random TOFF time
0
Chopper off time is fixed as set by TOFF
1
Random mode, TOFF is random modulated by
d
NCLK
= -12 … +3 clocks.
12
disfdcc
fast decay mode
chm=1:
disfdcc=1 disables current comparator usage for termi-
nation of the fast decay cycle
11
fd3
TFD [3]
chm=1:
MSB of fast decay time setting TFD