-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
EspDuino+CNCShield can't connect to the TMC2209 via UART #80
Comments
I can only suggest what helped me, which was trying the TMC2209 configurator software I found at https://learn.watterott.com/silentstepstick/configurator/ - finding out whether this works or not could help you rule out possible causes. If the tool can communicate with the chip, then the UART mode jumper/resistor/whatever is not the problem. |
You appear to be connecting the Rx/Tx from the ESP32 to the pin labelled PDN (pin 12) on the TMC2209 module.... should they not be connected to USART (pin 13) instead? |
Yes I tried both pins to be sure but did't have any results. I didn't have time in the recent weeks, but read throw some TMC documents for the communication. I also ordered the variant of the TMC2209 with the soldered pins for easier testing. I will add the progress when I'm, getting somewhere. |
Hello. I have the problem to probably connect to the uart of the TMC 2209. I have some experiences with Arduino and stepper drivers, but not that much to be able to figure out what my issue is. I used your example for the bidirectional communication to analyze the stallGuard behavior. Sadly, I didn't get the stepper to connect. The plan is to use the stepper as a cable cutting machine and detect if the isolation was cut and stop. I added the pinout plan for the EspDuino on the CNCShield and also added my cabling. And yes I know nobody likes the espduino+CNCShield mix because the pins are mixed up but with the ESP you have 3 Serial ports and can still use the board with some workarounds.
I tried to show my setup as clearly as possible.
The code that I used
The text was updated successfully, but these errors were encountered: