teemuatlut / TMC2130Stepper

Arduino library for Trinamic TMC2130 Stepper driver
MIT License
158 stars 50 forks source link

Question: TMC5130Stepper (TRAMS board) #8

Open 3d-gussner opened 6 years ago

3d-gussner commented 6 years ago

Hi @teemuatlut,

thanks for updating the TRAMS board and all the work you do with the TMC2130/2208. Wouldn't it be possible to use the TMC2130Stepper code also for the TMC5130 stepper drivers? As far i can see in the datasheets the TMC2130 uses quite the same architecture and registers as the TMC5130. The TMC5130 has more features and it looks like the TMC2130 is the smaller/cheaper sister/brother. Wouldn't that help to get the TMC5130/TRAMS board more popular and easier to be supported? New code could be copied from the TMC2130 to the TMC5130 and just extra features had to be implemented to the TMC5130, or am I completely wrong?

teemuatlut commented 6 years ago

The TRAMS/TMC5130 use my TMCStepper library that aims to combine support for the 5130, 2130 and 2208. Be a sort of "master" library for Trinamic steppers. This is what my Marlin TRAMS fork uses currently. But as of now it's not tested all that extensively and thus it's not listed in the Arduino IDE library manager. But overall it does very close to what you describe and the 5130 and 2130 variants share a lot of the code.

I'm hoping TRAMS would gain some popularity after I get it stable and actually printing and merged upstream. And I need a second printer to achieve all that.