I’m working on my CoreXY with a SKR 2 and TMC5160 stepper drivers.
Due to visible VFA (I think those are VFAs) I try to set up the TMC5160 into Classic Constant Off Time Chopper by setting chm=1.
As the motors are now horribly loud I want to change the fast decay time.
When I check the datasheet of the Trinamic driver (page 52 on https://www.trinamic.com/fileadmin/assets/Products/ICs_Documents/TMC5160A_Datasheet_Rev1.14.pdf) it says:
“Fast decay time setting (MSB: fd3):”
But I feel too dump to get this configured as I don’t know how to pass the most significant bit (MSB).
Does Klipper support this mode with all settings and how can I properly set this up?
Or do you have other ideas on preventing VFAs? Custom MSLUT?
Oh man, thank you!
I overlooked this parameter and was looking for that TFD thing where I only found TPFD.
And I thought I have to somehow build TFD from FD3 and HSTRT by shifting bits and stuff.
Maybe I can try this tomorrow. Currently building a new canbus cable for my print head that hopefully eliminates my second resonance peak…
Now with clearer mind and a big cup of coffee I looked at this again.
Like TPFD TFD is 4 bits wide as seen in the datasheet: %0000 ... %1111 but HSTRT only gets 3 bits assigned hence FD3 is needed as 4th bit.
In this case FD3 is the most significant bit as stated in the datasheet as well.
This means HSTRT gives us the TFD values 0-7 and with the 4th bit of FD3 it “enables” 8-15.
Just tried a tower for passive fast decay (TPFD) but while I was not in the room the filament broke… So currently reprinting to check for any influence of that parameter regarding to my VFA/2 mm ripples.
Then afterwards I’ll check if my little macro works and then I’ll rebuild the tower with CHM=1 and these new findings.
It looks like it worked as the steppers sounded different but unfortunately it did not affect the ripples in any way.
I printed a TPFD tower, a TFD tower and a sine wave offset tower with increasing values each 4 mm.
But at least Klipper let me configure the classic constant off time chopper mode with different fast decay times.
tested with 256usteps for x and y ( needed because of VHIGHCHM )
/edit: forgot to set the driver_VHIGHCHM: 1 setting in tmc5160 printer.cfg section, as i edited it dircetly in the tmc5160.py by default - this is important
Currently I’m using StepperOnline 17HM19-2004S1 0.9° motors.
But apparently since changing the CANBus cable to the print head the printer randomly halts or whatever it does.
Have to work on this as well afterwards.
OK I have currently the same for x and y. So my test config will fit (hstart and hend hyst. ) . Im looking for the moons 0.9 2a nema 17 Motors but Hard to find in germany…
I don’t know why but in CHM=1 mode my stepper motors become quite hot even though only being set to 0,850 A at the moment.
If you have the same motors and run them with 1,4 A the should melt?!
When I run with native 256 msteps with speed of for example 200 mm/s the MCU resets… Maybe the OrangePi is not fast enough. Trying to check how fast I can go with 128 msteps but all those tests in the past did not change anything on the VFAs/ripple marks…
A friend tested some 0.9° moons and was quite disappointed.
If I remember correctly he tested Trinamic steppers as well and those were quite good.
best results so far in my case: regarding stepper motor noise and print surface - without VHIGHCHM and VHIGHFS set there is also no need to change the tmc5160.py to add the thigh field
With these ( fullstep aka CHM = 1 ) settings, im actually driving 15k acceleration and 800mm/s for travel moves via macro ( Custom Travel Acceleration ) - works great with 2A 0,9 stepper motors
Very strange why my motors are so loud and warm then.
Just swapping my OrangePi Zero with the RasPi 4 of my KP3S as the MCU always resets on high speeds and high msteps.
Hmm it is as loud as my printer.
But this is too loud for me and it did not help on the ripple marks.
Just switched not to the RasPi 4 and at least I now can achieve much higher speeds than before. Just need to rewire a bit and find place for the RasPi.
Will TPFD even work if you are using CHM=1 with fast decay time being set?
sorry for the late reply. if its too loud for you, you can increase the driver_HSTRT to 4 or more until u get a noisy squeak ( important is to set fd3 to 0 until you want to go greater 7 for hstrt ) - you can try these settings: