bdring / 4_Axis_SPI_CNC

4 Axis CNC Controller for Grbl_ESP32
60 stars 18 forks source link

Will this work with the TMC2208 V3 #8

Closed DrJohnM61 closed 4 years ago

DrJohnM61 commented 4 years ago

First I just wanted to say that this is a fantastic initiative. I am about to purchase.

The spi_daisy_4axis.h file does not exist. Should I just use spi_daisy_4axis_xyz.h?

I notice that the Grbl_ESP32 code supports TMC2130, TMC2209 and TMC5160. I happen to have a number of TMC2208v3 spare and wonder if they can also be used? Apart from max current output and senseless homing (which I do not think you use anyway) and heat output, the TMC2209 and 2208 should be interoperable?

However, grbl_trinamic.h only defines TMC2130_RSENSE_DEFAULT and TMC5160_RSENSE_DEFAULT (and not for the TMC2209). Is that an omission? The TMC2209 (and 08) have the same as the TMC2130 ( 0.11). Should I update grbl_trinamic.h to include (at least) a TMC2209 and update spi_daisy_4axis_xyz.h to reflect the use of the different stepper?

Further, I get a warning on compiling stating "WARNING: library TMCStepper claims to run on avr architecture(s) and may be incompatible with your current board which runs on esp32 architecture(s)." - is this an issue or do I have to set some switch in the code to ensure compatibility?

Thank you in advance

DrJohnM61 commented 4 years ago

I went with TMC2130 so this is a non issue now.