TMC2225 DATASHEET (Rev. 1.15 / 2023-FEB-16)
28
5.4.1 CHOPCONF Chopper Configuration
0X6C: CHOPCONF CHOPPER CONFIGURATION
Bit Name
Function
Comment
31 diss2vs
Low side short
protection disable
0: Short protection low side is on
1: Short protection low side is disabled
30 diss2g
29 dedge
short to GND
protection disable
enable double edge
step pulses
0: Short to GND protection is on
1: Short to GND protection is disabled
1: Enable step impulse at each step edge to reduce step
frequency requirement. This mode is not compatible
with the step filtering function (multistep_filt)
28 intpol
interpolation to 256
microsteps
1: The actual microstep resolution (MRES) becomes
extrapolated to 256 microsteps for smoothest motor
operation.
(Default: 1)
27 mres3
26 mres2
25 mres1
24 mres0
MRES
micro step resolution
%0000:
Native 256 microstep setting.
%0001 … %1000:
128, 64, 32, 16, 8, 4, 2, FULLSTEP
Reduced microstep resolution.
The resolution gives the number of microstep entries per
sine quarter wave.
When choosing a lower microstep resolution, the driver
automatically uses microstep positions which result in a
symmetrical wave.
Number of microsteps per step pulse = 2^MRES
(Selection by pins unless disabled by GCONF.
mstep_reg_select)
23 -
22
21
reserved
set to 0
20
19
18
17 vsense
sense resistor voltage 0: Low sensitivity, high sense resistor voltage
based current scaling 1: High sensitivity, low sense resistor voltage
16 tbl1
TBL
%00 … %11:
15 tbl0
14 -
blank time select
reserved
Set comparator blank time to 16, 24, 32 or 40 clocks
Hint: %00 or %01 is recommended for most applications
(Default: OTP)
set to 0
13
12
11
10 hend3
9 hend2
8 hend1
7 hend0
6 hstrt2
5 hstrt1
4 hstrt0
HEND
hysteresis low value
OFFSET
sine wave offset
HSTRT
hysteresis start value
added to HEND
%0000 … %1111:
Hysteresis is -3, -2, -1, 0, 1, …, 12
(1/512 of this setting adds to current setting)
This is the hysteresis value which becomes used for the
hysteresis chopper.
(Default: OTP, resp. 0 in StealthChop mode)
%000 … %111:
Add 1, 2, …, 8 to hysteresis low value HEND
(1/512 of this setting adds to current setting)
Attention: Effective HEND+HSTRT 16.
Hint: Hysteresis decrement is done each 16 clocks
www.trinamic.com
    "