TMC2209 arduino initialization

Hey guys!
I am upgrading my laser engraver with TMC2209s and I am having a little trouble with their configuration. I want to utilize the stall detect feature as a limit switch and set the current for both X and Y drivers. My thinking is to use arduino and send the setup bytes on every startup. So far I haven't had any luck.

Has anybody done this before? I only saw this thing with a TMC2130 (Marco Reps did it).

Thanks for any suggestions!
Tomas

I have not used that driver, but a Google search for "TMC2209 arduino" yields some tutorials, videos and forum threads for that driver. Also at least one library with example code.

I've tried google ofc but most of the tutorials are either for 3d printer boards running marlin or they only program the OTP memory which to my understanding is not capable of setting up the stall protection.

Tomas

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.