Open Angelo13C opened 3 months ago
I think it's related to this problem: https://community.particle.io/t/p2-module-tmc2209-driver-tx-rx-pullup-issue-possibly-preventing-bidirectional-comms/64194
But I can't understand how to solve it (I am using an ESP32-S3-WROOM-1 and not the one in the link.. but the problem is similar, probably a pull up resistor?)
Hi! I have a MKS TMC2209 v2.0 silentstepstick driver connected to a custom PCB that I made. I am using the TMC2209 arduino library to communicate with my driver, this is the code (it's a slightly modified example present in the library's repo):
Now it always prints "Stepper driver is not communicating!"... The weird thing is that I attached my oscilloscope to the PDN_UART pin of the driver and this is what I see
As you can see the ESP32 sends the data to the driver, the driver replies but the 0 bits of the reply don't go all the way down to 0V but stay around 2.4V.. which is really weird, and probably my ESP32 doesn't recognize 2.4V as a low value (because it's too high voltage).
Do you have any idea what the problem could be?
I connected my driver like in this image: https://github.com/makerbase-mks/MKS-StepStick-Driver/issues/6#issuecomment-1296336860
The only thing is that the I/O voltage is 3.3V and not 5V (because I am not using an Arduino but I am using an ESP32)