TMC2225 DATASHEET (Rev. 1.15 / 2023-FEB-16)
61
14 Quick Configuration Guide
UART OTP
This guide is meant as a practical tool to come to a first configuration . Do a minimum set of
measurements and decisions for tuning the driver to determine UART settings or OTP parameters. The
flow-charts concentrate on the basic function set to make a motor run smoothly. Once the motor
runs, you may decide to explore additional features, e.g. freewheeling in more detail. A current probe
on one motor coil is a good aid to find the best settings, but it is not a must.
Current Setting
stealthChop
Configuration
Check hardware
setup and motor
RMS current
GCONF
clear en_spreadCycle
(default)
Sense Resistors
used?
Y
Analog Scaling?
N
Low Current range?
N
GCONF
N
set internal_Rsense
Store to OTP 0.6
recommended
GCONF
Y
set I_scale_analog
(this is default)
Set VREF as desired
CHOPCONF
Y
set vsense for max.
180mV at sense resistor
(0R15: 1.1A peak)
Set I_RUN as desired up
to 31, I_HOLD 70% of
I_RUN or lower
Set I_HOLD_DELAY to 1
to 15 for smooth
standstill current decay
Set TPOWERDOWN up
to 255 for delayed
standstill current
reduction
Configure Chopper to
test current settings
PWMCONF
set pwm_autoscale,
set pwm_autograd
PWMCONF
select PWM_FREQ with
regard to fCLK for 20-
40kHz PWM frequency
CHOPCONF
Enable chopper using basic
config., e.g.: TOFF=5, TBL=2,
HSTART=4, HEND=0
Execute
automatic
tuning
procedure AT
Move the motor by
slowly accelerating
from 0 to VMAX
operation velocity
Is performance
good up to VMAX?
Y
Select a velocity
N
threshold for switching
to spreadCycle chopper
and set TPWMTHRS
SC2
Figure 14.1 Current Setting and first steps with StealthChop
Hint
Use the evaluation board to explore settings and to generate the required configuration datagrams.
www.trinamic.com
    "