simon-jouet / ESPRamps

16 stars 6 forks source link

TMC2130 SPI interface compatibitlity? #1

Open alfredanil opened 6 years ago

alfredanil commented 6 years ago

Will there be SPI interface for stepper drivers integrated into the board?

simon-jouet commented 6 years ago

So the current board needs to be slightly reviewed to move from HSPI to VSPI but yes SPI drivers should likely work fine using the exposed SPI bus. One of the issue might be to find enough pins to act as Chip Selects for the different drivers, but the GPIO expander should be fast enough to handle that.

simon-jouet commented 6 years ago

With the new circuit (not on git, currently doing most of the stuff on protoboards) I got the TMC2130 to work properly -- well that was before I plugged them the wrong way and fried them...

Anyway if you get the latest version of the esp32 marlin code and you enable the TMC2130 in the configuration then yeah it should work fine :)