Open vivian-ng opened 4 years ago
For use of Trinamic drivers in UART mode on the MRR ESPE (which uses I2S for stepper and PWM), see this issue.
Please feel free to join in the conversation.
I was not very informed about the TMC2209 stepper drivers. TMC2208 has a fixed slave address, which is 0, and that means only one driver can be on the same UART port since there isn't any addressing capability. But TMC2209 allows configuration of up to four different slave addresses (0 to 3). This means up to four stepper drivers can actually share the same UART port. With @luc-github's help, I managed to get two TMC2209 drivers working on the same hardware serial on the MRR ESPA.
See this video for a quick look at how to set this up.
See this blog post for more details.
I received an email asking about TMC2209 drivers in UART mode. I thought it best to move the conversation to a more public space so that the collective wisdom of the open source community can be harnessed.
First, @luc-github has managed to use TMC2208 in standalone (aka "dumb") mode which does not use UART at all. Basically, the driver is configured using jumper pins much like normal "dumb" drivers like A4988.
For the MRR ESPA, the issues with getting UART mode working are:
Consolidating: