Welcome! Log In Create A New Profile

Advanced

Marlin with TMC4361 & 5160 does it work?

Posted by TrashCo92 
Marlin with TMC4361 & 5160 does it work?
August 21, 2020 01:56AM
Hi,

I'm currently rebuilding my board. I would like to use closed loop motors with the CPR encoders on the back from Stepperonline for my X and Y.
Unfortunately my TMC5160 only offer an encoder interface with ABN.
Now I have found the TMC4361 which offers an interface for the CPR encoder. The data sheet of the TMC4361 shows an example structure which shows that a closed loop can be implemented with the TMC4361 as a motion controller and the TMC5160 behind it as a motor gate driver.
Is there compatibility with the TMC4361 from Marlin? How can you imagine the structure? If the TMC4361 is the motion controller and the TMC5160 is only the gate driver, can I simply set the driver 5160 in Marlin and Marlin then treats the 4361 like a 5160?

Please do not be confused by the picture, the tmc4361 has step and dir input pins which it then passes out from the output pins to the 5160 which I will use.



greetings
Dominik

Edited 4 time(s). Last edit at 08/21/2020 01:59AM by TrashCo92.
Re: Marlin with TMC4361 & 5160 does it work?
August 21, 2020 02:45AM
Marlin has no closed loop support. Closed loop systems on marlin use smart steppers, the encoder information is not fed back to marlin.
Re: Marlin with TMC4361 & 5160 does it work?
August 21, 2020 03:13AM
I read that too. However, this is also not required because the encoder is connected to the Tmc4361 and this controls the closed loop itself. Marlin only delivers the intended travels, or did I get this wrong?

Edited 1 time(s). Last edit at 08/21/2020 03:25AM by TrashCo92.
Sorry, only registered users may post in this forum.

Click here to login