STM32F407 with TMC5160 help #861
Replies: 2 comments 1 reply
-
|
In typical fashion, I figured it out shortly after I posted here. |
Beta Was this translation helpful? Give feedback.
-
|
Hello I am having a similar issue where my tmc5160 is on the y axis which homes without issue, but I keep getting unable to write to the x and z steppers errors and then read errors. I am not very knowledgeable on programming klipper however I think it is in the placement of the jumpers I have on the x and z steppers. I have jumpers on 2nd set of bottom 2 pins with resistor facing upward. this placement is consistent on all 4 stepper motor connectors. with jumpers on all 4 rows of pins bottom 2 of the y axis where the tmc5160 is placed. Do you know if I have something wired incorrectly? I am also getting a timeout error when heating the heatbed. both the extruders heat up fine. Would appreciate any suggestions you might have regarding this issue. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I am using a FLY-CDY-V3 board (https://github.com/Mellow-3D/Fly-CDYv3/tree/main/Hardware) and have been using TMC2209 drivers without an issue. I decided to try the TMC5160's I had sitting around and cannot get communication with the drivers. This is a 4-axis machine with XZAB (compiled as 5-axis with Y which I don't use), so I have a build flag
TRINAMIC_DRIVER_MASK=29.I have put the drivers back into an BTT SKR Turbo 1.4 board with an old version of GrblHal and verified that the drivers themselves work correctly via SPI.
It looks like TRINAMIC_SPI_ENABLE is on, as it should be with 5160 drivers. MOSI, SCK, and MISO are all set to the values shown in the pinout. CS pins are set (and known to work since those are also the UART pins used for the 2209s) and the jumpers are moved to be in SPI configuration.
I have tried setting TRIANAMIC_DRIVER_MASK=1 to just see if I can get communication for one axis, but it still reports that it cannot communicate with the the driver.
Any other suggestions of things I should try in this case?
Beta Was this translation helpful? Give feedback.
All reactions