Thanks for sharing this project! I'm trying to use it with the TMC5160 SilentStepStick.
I found there are several global configuration registers that are different between the TMC5160 and the TMC5130. Some of them (like GLOBALSCALER for setting max drive current) are critical for using the TMC5160.
I've defined all of the TMC5160 registers in a separate file. Changes are mostly to the global configuration registers or the addresses for other registers. All ramp generation registers and most flags have not changed.
Let me know what you think and I can make changes accordingly.
Hi,
Thanks for sharing this project! I'm trying to use it with the TMC5160 SilentStepStick.
I found there are several global configuration registers that are different between the TMC5160 and the TMC5130. Some of them (like
GLOBALSCALER
for setting max drive current) are critical for using the TMC5160.I've defined all of the TMC5160 registers in a separate file. Changes are mostly to the global configuration registers or the addresses for other registers. All ramp generation registers and most flags have not changed.
Let me know what you think and I can make changes accordingly.
Thanks!