teemuatlut / TMC2130Stepper

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

TMC2130 Library not working on Due #15

Closed dembach closed 6 years ago

dembach commented 6 years ago

We found it necessary to modify your libraries....

please review the changes and commit them to your master to publish it as Arduino Library update.

thanks

Markus

teemuatlut commented 6 years ago

Thanks but I've been planning to open up the possibility of SW SPI to all platforms. For now the SW SPI has only been for Archim2 because they are hardwired that way and so there's no options. Mostly I see added value in solving the problem with using SPI for the TMC drivers when you also have a RRD LCD attached blocking the pins.

The compiler condition is to check for the Archim2 core that is necessary for the board. It's a modified DUE core with modifications to suit the serial decoupler chip.

So I don't think I'll be merging this but hope to work a good SW SPI implementation some time during January.

teemuatlut commented 6 years ago

DUE compatibility should be working alright now with both the SW and HW SPI. Let me know if there are still problems.