Kraken - RatOS using tmc5160 drivers vs tmc2160?
I am trying to setup my v-core3.1 using a Kraken, tmc 2160 and LDO-42STH48-2504AC. I want to make sure that my motors are spinning the correct direction. But, I am confused on why the RatOs.cfg shows tmc5160 and not tmc2160? It is somewhat confusing dealing with RatOS and Klipper instructions. I understand that the setup is meant to make things easier, and it does for the most part. The Z motor when moving all 3 sound normal. But, the X and Y have a electric humming noise when active. So, I wanted to make sure that I had things setup correctly. Does this effect me or is the tmc5160 a default driver for the tmc2160?
Here is a section of the RatOs.cfg
#############################################################################################################
STEPPER MOTORS, DRIVERS & SPEED LIMITS
#############################################################################################################
#---------------------------------------------------- X -----------------------------------------------------
The A motor in the CoreXY system, located at the rear left of the printer
Connected to MOTOR 1 on BIGTREETECH Kraken
Driver: BTT TMC2160 PLUS
Motor: LDO-42STH48-2504AC
Voltage: 24
#------------------------------------------------------------------------------------------------------------
[tmc5160 stepper_x]
stealthchop_threshold: 0
interpolate: False
cs_pin: PD6
spi_software_mosi_pin: PC8
spi_software_miso_pin: PC7
spi_software_sclk_pin: PC6
run_current: 1.1
sense_resistor: 0.022
[stepper_x]
step_pin: PC14
dir_pin: PC13
enable_pin: !PE6
microsteps: 64
full_steps_per_rotation: 200
rotation_distance: 40
homing_speed: 50
2 Replies
I believe config is the same for 5160 and 2160… not sure
But, the X and Y have a electric humming noise when activeThis is normal. It's spreadcycle. If you want to eliminate it on standstill you can try enabling "Standstill Stealth" under motion in the hardware configuration. What it does is switch to stealthchop below 1 mm/s. It does not work reliably with all drivers, but i've had no problems with BTT drivers so far. There's no difference between 2160 and 5160's other than the 2160 is missing the motion planner in the 5160. That's why klipper doesn't have a 2160 section at all (it's not a RatOS thing..).