teemuatlut / TMCStepper

MIT License
479 stars 188 forks source link

TMC429 controlling 2 TMC2209 stepper drivers #265

Open arkem709 opened 1 year ago

arkem709 commented 1 year ago

Has anyone had any luck controlling a TMC429 over SPI and two (2) TMC2209 stepper drivers over software serial UART as described in the datasheet?

TMC429_controller_TMC2209_driver

I was able to setup the hardware as described in the datasheet, and set MS1 and MS2 pins to address them correctly in hardware. I can't find any example code that has a TMC429 sending step/direction to two(2) TMC2209 and software serial UART being used for the TMC2209.

daniel-frenkel commented 1 year ago

I think you can ditch the TMC429 completely and just run the TMC2209s using their built-in pulse generator. That would be much simpler. Or you can use the TMC5130 or TMC5160 which work with this library and have a built in ramp generator as well.