STM32F407 with TMC5160 help #861
Replies: 1 comment
-
|
In typical fashion, I figured it out shortly after I posted here. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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