TMCStepper icon indicating copy to clipboard operation
TMCStepper copied to clipboard

No working Example(TMC2130)

Open wolfgangmauer opened this issue 3 years ago • 4 comments

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?

wolfgangmauer avatar Sep 23 '20 11:09 wolfgangmauer

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 avatar Oct 04 '20 16:10 teemuatlut

@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.

wolfgangmauer avatar Oct 04 '20 18:10 wolfgangmauer

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 avatar Oct 04 '20 19:10 teemuatlut

@teemuatlut THX!

wolfgangmauer avatar Oct 04 '20 19:10 wolfgangmauer