TMCStepper
TMCStepper copied to clipboard
No working Example(TMC2130)
I use a breadboard with Arduino UNO and a BTT TMC2130 V3.0 and try to get any of the examples running. NONE of the existing Example seems to work(Compile) out of the Box. (Of cource with the right driver enabled)
Is there any?
For compile issues it helps to post the compile error. To get the driver itself working, first make sure your SPI communication works properly.
@teemuatlut I was trying to build a shared library and had some problems, that was my mistake. Is there a "easy" way to check if the SPI work communication properly with the TMC2130? The Pi has hardware spi but with the "Simple.ino" the Motor do not move.
Read back IOIN or more specifically the version value as that should never be 0 or FF. For porting communication to a new platform or a new MCU, even a cheap logic analyzer is a valuable tool to have.
@teemuatlut THX!