TMC2208

Hello, how should i configure for TMC2208, there are no 2208 predefinitions in ratos. 2208s Currently working as 2209, IDK if it has some sideffects or doesnt matter at all. Thank you!
5 Replies
Maba_Kalox
Maba_Kalox14mo ago
I would not recommend to use tmc2208... I managed to get them running but z-tilt fails with
TMC 'stepper_z' reports error: GSTAT: 00000004 uv_cp=1(Undervoltage!)
Once the underlying issue is corrected, use the
"FIRMWARE_RESTART" command to reset the firmware, reload the
config, and restart the host software.
Printer is shutdown
TMC 'stepper_z' reports error: GSTAT: 00000004 uv_cp=1(Undervoltage!)
Once the underlying issue is corrected, use the
"FIRMWARE_RESTART" command to reset the firmware, reload the
config, and restart the host software.
Printer is shutdown
stepper_[some motors] is always different, so - cant blame single driver
Maba_Kalox
Maba_Kalox14mo ago
In general, tmc2208 config seems to match tmc2209 config, but be aware of different current limit between this stepper drivers. My config files:
Maba_Kalox
Maba_Kalox14mo ago
setting from
stealthchop_threshold: 1
stealthchop_threshold: 1
to
stealthchop_threshold: 0
stealthchop_threshold: 0
helped, at least now I can Z-Tilt and following RatOS docs for custom stepper setup, I have this in config:
## Steppers
[tmc2208 stepper_x]
interpolate: False
stealthchop_threshold: 0

[tmc2208 stepper_y]
interpolate: False
stealthchop_threshold: 0

[tmc2208 stepper_z]
interpolate: False
stealthchop_threshold: 0

[tmc2208 stepper_z1]
interpolate: False
stealthchop_threshold: 0

[tmc2208 stepper_z2]
interpolate: False
stealthchop_threshold: 0

[tmc2209 extruder]
interpolate: False
stealthchop_threshold: 0

[include RatOS/steppers/ldo/42sth48-2504ac/2208/24v-1.1a-x.cfg]
[include RatOS/steppers/ldo/42sth48-2504ac/2208/24v-1.1a-y.cfg]
[include RatOS/steppers/ldo/42sth40-1684ac/2208/24v-0.8a-z.cfg]
[include RatOS/steppers/ldo/42sth40-1684ac/2208/24v-0.8a-z1.cfg]
[include RatOS/steppers/ldo/42sth40-1684ac/2208/24v-0.8a-z2.cfg]
## Steppers
[tmc2208 stepper_x]
interpolate: False
stealthchop_threshold: 0

[tmc2208 stepper_y]
interpolate: False
stealthchop_threshold: 0

[tmc2208 stepper_z]
interpolate: False
stealthchop_threshold: 0

[tmc2208 stepper_z1]
interpolate: False
stealthchop_threshold: 0

[tmc2208 stepper_z2]
interpolate: False
stealthchop_threshold: 0

[tmc2209 extruder]
interpolate: False
stealthchop_threshold: 0

[include RatOS/steppers/ldo/42sth48-2504ac/2208/24v-1.1a-x.cfg]
[include RatOS/steppers/ldo/42sth48-2504ac/2208/24v-1.1a-y.cfg]
[include RatOS/steppers/ldo/42sth40-1684ac/2208/24v-0.8a-z.cfg]
[include RatOS/steppers/ldo/42sth40-1684ac/2208/24v-0.8a-z1.cfg]
[include RatOS/steppers/ldo/42sth40-1684ac/2208/24v-0.8a-z2.cfg]
PS: I have 40mm motors on Z axis, 42sth40-1684ac
Maba_Kalox
Maba_Kalox14mo ago
Advanced Stepper Configuration | RatOS
RatOS V1.1 introduced modularized stepper and driver configuration, this can be used for more fine grained control of your steppers. In your printer.cfg you might have noticed a section like this:
like-gold
like-gold14mo ago
I forgot to mention , 2208 only on z motors, lowered the currents to 0.8 seems more than enough for Z-s. Thank you