Datasheet
TMC220X, TMC222X DATASHEET (Rev. 1.02 / 2017-MAY-16) 24
www.trinamic.com
5.1 General Registers
GENERAL CONFIGURATION REGISTERS (0X00…0X0F)
R/W
Addr
n
Register
Description / bit names
RW
0x00
10
GCONF
Bit
GCONF – Global configuration flags
0
I_scale_analog (Reset default=1)
0: Use internal reference derived from 5VOUT
1: Use voltage supplied to VREF as current reference
1
internal_Rsense (Reset default: OTP)
0: Operation with external sense resistors
1: Internal sense resistors. Use current supplied into
VREF as reference for internal sense resistor. VREF
pin internally is driven to GND in this mode.
2
en_spreadCycle (Reset default: OTP)
0: stealthChop PWM mode enabled (depending on
velocity thresholds). Initially switch from off to
on state while in stand still, only.
1: spreadCycle mode enabled
A high level on the pin SPREAD (TMC222x, only) inverts
this flag to switch between both chopper modes.
3
shaft
1: Inverse motor direction
4
index_otpw
0: INDEX shows the first microstep position of
sequencer
1: INDEX pin outputs overtemperature prewarning
flag (otpw) instead
5
index_step
0: INDEX output as selected by index_otpw
1: INDEX output shows step pulses from internal
pulse generator (toggle upon each step)
6
pdn_disable
0: PDN_UART controls standstill current reduction
1: PDN_UART input function disabled. Set this bit,
when using the UART interface!
7
mstep_reg_select
0: Microstep resolution selected by pins MS1, MS2
1: Microstep resolution selected by MSTEP register
8
multistep_filt (Reset default=1)
0: No filtering of STEP pulses
1: Software pulse generator optimization enabled
when fullstep frequency > 750Hz (roughly). TSTEP
shows filtered step time values when active.
9
test_mode
0: Normal operation
1: Enable analog test output on pin ENN (pull down
resistor off), ENN treated as enabled.
IHOLD[1..0] selects the function of DCO:
0…2: T120, DAC, VDDH
Attention: Not for user, set to 0 for normal operation!