Open EsserPrototyping opened 3 years ago
With TMC2130, if you use 5V Vcc it will send 5V SPI and Diag to the ESP32.
Use the level shifting. If the level shifters cannot drive current on the + side, use the Vdd common jumper option.
Please ask further questions on the Discord server.
In your schematic, there´s a jumper (J22) for logic VCC. This is the same VCC for the stepper logic and the shift registers. If I´m right, this leads to a problem: The datasheet of the 74AHCT595 says it needs a VCC of 4.5 to 5V. Only the 74AHC595 is compatible with 2 to 5V VCC, but it needs 3,85V logic voltage for a high input. Is it possible to use, the TMC2130 for example, with 5V logic voltage (Step, Dir, En, Driver Logic VCC) but 3.3V on SPI and DIAG? Or maybe only Step, Dir and En with 5V and Driver Logic VCC at 3.3V? This way the 74AHCT595 could always be supplied with 5V. I´m asking because I want to use external drives with 5V logic combined with one or two TMC2130´s. In my case I could just put some level shifting between shift register and the stepper´s Step, Dir and En lines, but I wonder if it is necessary.