Welcome! Log In Create A New Profile

Advanced

TMC5160 and MKS 12864

Posted by srinidhi 
TMC5160 and MKS 12864
March 14, 2023 05:30AM
Hi,

I'm running Marlin 2.0.9.1 on a RAMPS setup. My MKS display shows "SD Init Failed" when MISO line to TMC5160 is connected. When this connection is removed, SD initializes and motors also work fine. But, "TMC Connection Error" is displayed. Does having both SD and TMC on the same hardware SPI line cause such issues?
Any ideas on whether this is unusual?
Thanks in advance.
Re: TMC5160 and MKS 12864
March 14, 2023 02:33PM
What motherboard do you have? Does it natively support the SPI mode TMC drivers?

Sounds like both the SD card and the TMC5160 are both enabled at the same time so both are driving the MISO line.
Re: TMC5160 and MKS 12864
March 17, 2023 02:00AM
I have an Atmega2560 based motherboard similar to RAMPS. Another thing to be noted is the same issue exists with newer RepRap displays but not with older ones (bought before 2021).
Re: TMC5160 and MKS 12864
March 17, 2023 01:59PM
What motherboard do you have? I'm hoping to look at the schematic for it.

What is your MOTHERBOARD set to?

How are you connecting the SPI lines to the 5160s? If you've built/bought a custom cable for this then I'll need to know EXACTLY what the connections are.
Sorry, only registered users may post in this forum.

Click here to login