TMC2130 Shutting down marlin while homing

Electronics, Components etc
Post Reply
Velomod
Posts: 3
Joined: Sun Feb 18, 2018 3:35 pm

TMC2130 Shutting down marlin while homing

Post by Velomod » Sun Feb 18, 2018 3:50 pm

Hi there,

I am building a CoreXY Hypercube and installed TMC2130 drivers with SPI.
Strangely when I try homing, my printer restarts when the distance for homing is longer than 150mm. Maybe it is also time and not distance related but I don't get any message from the system.
When I move the printhead with pronterface for 200mm, everything is fine. Only when homing it is not working.

I also tried it with the noisy A49xx drivers and they are working. So at least I know it's not the board but maybe the TMC.

Has anybody an idea, why it is not working? Can I debug what is happening while homing? This is really frustrating.

Thanks in advance :)

Velomod
Posts: 3
Joined: Sun Feb 18, 2018 3:35 pm

Re: TMC2130 Shutting down marlin while homing

Post by Velomod » Mon Feb 19, 2018 12:02 am

Hmm.. I don't know exactly why but it seems that I solved it.
My TMC was set to 256 interpolation and 1000mm/s steps when the error occured.
Now I reduced 256 to 128 and my steps to 500mm/s and now it is working. Strange.

chumm
Posts: 176
Joined: Thu Jun 15, 2017 11:24 am

Re: TMC2130 Shutting down marlin while homing

Post by chumm » Mon Feb 19, 2018 3:16 am

I had an issue with other drivers where I was using 0.9 degree motors and 1/32 microstepping and my steps per mm were just too high for the 8-bit processor to handle while also processing bed leveling. It would cause the printer to restart during homing. In my case updating the firmware fixed it, but it seems that pushing instructions more quickly than the board can handle can cause Marlin to just crash and restart, which could explain why your solution worked.

RonFor
Posts: 1
Joined: Mon Feb 19, 2018 12:37 pm

Re: TMC2130 Shutting down marlin while homing

Post by RonFor » Tue Feb 27, 2018 9:14 am

That makes a lot of sense. Do you think this is worth doing just to avoid potential issues as well?

Post Reply

Who is online

Users browsing this forum: No registered users and 7 guests