Welcome! Log In Create A New Profile

Advanced

TMC2208 Msteps Problem

Posted by keremdikmen 
TMC2208 Msteps Problem
February 05, 2020 07:20PM
Hi, i configured driver to 256 microsteps. And i don't know exactly but must be at least 16 steps. I try to calculate steps/mm on reprap prusa calculator. If i chose 1/16 microSteps and 2mm pitch my steps settings should be 1600. But now i using only 200steps/mm. So i using 1/2 microSteps?
Also my xy configiration is 40Steps/mm. But 2mm belt pitch and 20teeth pulley it has 1/8 Microsteps?

So what is the problem?

I checked settings with M122 Code it says 256msteps?:
M122
X Y Z E
Enabled false false false false
Set current 800 800 800 1200
RMS current 1436 1436 1436 1160
MAX current 2025 2025 2025 1636
Run current 25/31 25/31 25/31 20/31
Hold current 12/31 12/31 12/31 10/31
CS actual 0/31 0/31 0/31 0/31
PWM scale 0 0 0 0
vsense 0=.325 0=.325 0=.325 0=.325
stealthChop false false false false
msteps 256 256 256 256
tstep 0 0 0 0
pwm
threshold 3162 3162 21083 8433
[mm/s] 100 100 3 30
OT prewarn false false false false
OT prewarn has
been triggered false false false false
off time 0 0 0 0
blank time 16 16 16 16
hysteresis
-end -3 -3 -3 -3
-start 1 1 1 1
Stallguard thrs
DRVSTATUS X Y Z E
stst
olb
ola
s2gb
s2ga
otpw
ot
157C
150C
143C
120C
s2vsa
s2vsb
Driver registers:
X 0x00:00:00:00 Bad response!
Y 0x00:00:00:00 Bad response!
Z 0x00:00:00:00 Bad response!
E 0x00:00:00:00 Bad response!


Testing X connection... Error: All LOW
Testing Y connection... Error: All LOW
Testing Z connection... Error: All LOW
Testing E connection... Error: All LOW
Re: TMC2208 Msteps Problem
February 05, 2020 11:20PM
"Testing X connection... Error: All LOW
Testing Y connection... Error: All LOW
Testing Z connection... Error: All LOW
Testing E connection... Error: All LOW"

Your controller is not talking to the TMC2208's so any the setting are not being applied. It is just echoing back this is what you wanted to set

You need to fix this error first.

So common issues are:
1) these drivers chips require 12v/24v to be configured so need powered on at same time as the controller, not after
2) you haven't configured the controller for UART mode (how depends on the controller)
3) you haven't configured the stepper driver for UART mode. (how depends on stepper driver manufacturer)
4) most stepper drivers have a link to select which pin to use as the UART pin. which one you need depends on your controller.
Re: TMC2208 Msteps Problem
February 05, 2020 11:35PM
I see from a earlier post you have SKR 1.3

for UART mode you need to remove all jumpers under the stepper driver modules, and connect up the UART pins as indicated


Edited 1 time(s). Last edit at 02/05/2020 11:55PM by Dust.
Re: TMC2208 Msteps Problem
February 05, 2020 11:42PM
If you have the BIGTREETECH TMC2208 V3.0 stepper drivers (which are quite common)

You need to set UART mode by jumpering two of the 3 J2 pins under the stepper driver module (yes they are very small)

If you look in the manual [github.com]
You will see there are two options for UART to choose which pin you board requires.
For a SKR1.3 You need the lower two jumpers connected

Re: TMC2208 Msteps Problem
February 06, 2020 09:30AM
Thank you very much
Quote
Dust
I see from a earlier post you have SKR 1.3

for UART mode you need to remove all jumpers under the stepper driver modules, and connect up the UART pins as indicated

I thought if i do only this and it must work but also i must soldered 2 jumpers each driver. Now its can be communicating.

But now there is interestin problem showed up. Interpolation is enabled and micro steps settings 256 in marlin.

So if i am not wrong; Reprap Prusa Calculator says: My X and Y must be 80steps/mm if i chose 1/16 and im using 1/256 so my microstep setting is 1280steps/mm. Its correct value for 1/256. But otherside My Z and E drivers has different bits. Z driver is working 1/64 microstepping now. Reprap prusa calculator says if im using 2mm pitch screw and 1/16 microstepping it must be 1600steps/mm but im using 6400steps/mm(1/64microstepping). Should it be 25600steps/mm?

And the problem so far is little issue for me. After i soldered J2 jumpers all motors gives me weird sound. I add videos soon.

Thanks..

EDIT: Motor moves video: [youtu.be]
Also after those settings i have many layer shifting.

Edited 1 time(s). Last edit at 02/06/2020 02:35PM by keremdikmen.
Re: TMC2208 Msteps Problem
February 06, 2020 07:11PM
Now that you are actually setting stepper parameters you need to set the stepper driver current for your machine in the Configuration_adv.h

"Interpolation is enabled "

this means that the stepper driver will internally be 256 micro stepping.
BUT externally its 16 or 32, what ever you set, and you setup the firmware up as if it was 16 or 32 micro stepping.

eg setting 16 micro stepping with Interpolation, The controller then sends the stepper driver 1 step, the stepper driver sends the stepper motor 16/256 micro steps.

Turn Interpolation off of you want real 256 micro stepping
Re: TMC2208 Msteps Problem
February 06, 2020 08:37PM
Thanks for reply. If i set 256 micro stepping, motors gonna be very loud (Like video on my previous post) Doesn't matter interpolation on or off. What cause of this sound? (Even Stealthchop ON, it gives weird sound like frequence )

Now i'm using 16microsteps all driver. It's working stealthchop mode and noise same as before (no uart soldered pin). (But if i close stealthchop mode its gives normal motor sound and again weird frequence sound.) All of strange things showed up after soldered two UART pin.

And another my bigger problem is after the solder; All motors and mostly Extruder and Z driver are very hot than before. (Extruder is automaticly decrase current because of hot) Before my driver is only little warm and motors quite hot.


How can i use properly 256 microsteps do you know?
Re: TMC2208 Msteps Problem
February 06, 2020 09:18PM
#define INTERPOLATE false

in Configuration_adv.h
Re: TMC2208 Msteps Problem
February 07, 2020 01:36PM
Thanks for advice. Now interpolate false and all drivers 256 microsteps. Motors seems like warm as before. Now same printing speed and it has layer shifting unfortunatelly. X and Y drivers has 800mA current as before. Only shifting stops when i lower speed around %50-60 percent.

what is the cause shifting? Thank you very much
Re: TMC2208 Msteps Problem
February 07, 2020 08:30PM
your only options are to Increase your current or lower your speed.
Re: TMC2208 Msteps Problem
February 08, 2020 02:43AM
You will get layer shifts if you use stealthChop mode at high speeds. That's why these chips have an option to switch automatically to spreadCycle mode above a certain speed.



Large delta printer [miscsolutions.wordpress.com], E3D tool changer, Robotdigg SCARA printer, Crane Quad and Ormerod

Disclosure: I design Duet electronics and work on RepRapFirmware, [duet3d.com].
Re: TMC2208 Msteps Problem
February 08, 2020 08:24PM
Quote
dc42
You will get layer shifts if you use stealthChop mode at high speeds. That's why these chips have an option to switch automatically to spreadCycle mode above a certain speed.

I print 60mm/s also same travel speed.

Quote
Dust
your only options are to Increase your current or lower your speed.

X and Y have 800mA as before but i will try increase current.

Thanks for advice
Sorry, only registered users may post in this forum.

Click here to login