-
First: thanks for this great lib! :) Setup: Raspberry Pi 3 B with Raspbian:latest + TMC2209@Bigtreetech V1.3 + NEMA8 / every connected like in the README explained I'm tried the last days to run the stepper trough UART but the most time i got the error/log (debug_script_01_uart_connection.py), that the data which were sent and the received one are not the same. Sometimes the program freeze and after killing it, i got the log:
Rarly the debug_script_01_uart_connection.py runs well and i got the log:
Controlling the stepper with STEP/DIR works well. Have you ever had such an situation and/or can you explain me what I'm doing wrong? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Hey, can you please also post a log, where the recceived data was not correct. When having UART problems please check the following to rule out wiring issues:
And no, i did not have such an issue (i am using a RPi4). That issue seems to be happening when there is no write_timeout. Try setting not just the timeout, but also the write_timeout here: This could prevent the Pi from hanging if no response is received. However, this does not solve the original problem. |
Beta Was this translation helpful? Give feedback.
Finally i got it.
I played around with the baudrate but it doesn't solved my prolem. So i installed a fresh Raspberry OS and it works instant.
Thanks for your fast support :)