Datasheet

TMC2300 DATASHEET (Rev. 1.02 / 2019-NOV-06) 57
www.trinamic.com
15 Quick Configuration Guide
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. 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
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 from
10 up to 255 for delayed
standstill current
reduction
Configure Chopper to
test current settings
stealthChop
Configuration
PWMCONF
set pwm_autoscale,
set pwm_autograd
PWMCONF
select PWM_FREQ for
20-40kHz PWM
frequency
Check hardware
setup and motor
RMS current
CHOPCONF
Enable chopper using basic
config., e.g.: enabledrv=1, TBL=2
Move the motor by
slowly accelerating
from 0 to VMAX
operation velocity
Is performance
good up to VMAX?
Apply mechanical
dampening (flywheel
mass) or normal
application load
N
SC2
Y
SC2
Configure StallGuard &
CoolStep if desired
Go to motor stand
still and check
motor current at
IHOLD=IRUN
Stand still current
too high?
N
CHOPCONF, PWMCONF
decrease TBL or PWM
frequency and check
impact on motor motion
Y
Execute
automatic
tuning
procedure AT
Figure 15.1 Current Setting and Chopper Configuration
Hint
Use the evaluation board to explore settings and to generate the required configuration datagrams.
UART