Two-Trees-Multi-Printer-Marlin-Bugfix-Compiler icon indicating copy to clipboard operation
Two-Trees-Multi-Printer-Marlin-Bugfix-Compiler copied to clipboard

TMC UART setup

Open gaby64 opened this issue 4 years ago • 2 comments

hey, I was trying to get UART working for my 2209 drivers (BTT 2209 1.2) and im getting TMC Connection Error on the screen.

what is your wiring setup for UART?

I was following this guide on youtube https://www.youtube.com/watch?v=7ShcFKXrVHo soldered both UART pins together and a jumper wire going to the pin as set in your pins_MKS_ROBIN_NANO.h

some places they mention a 1kohm resistor, not sure what is required.

gaby64 avatar Dec 15 '20 02:12 gaby64

I no longer get TMC error with these pin configuration, but the steppers are not working, homing does a printer halted.

# define X_SERIAL_TX_PIN PA10
# define X_SERIAL_RX_PIN X_SERIAL_TX_PIN
# define Y_SERIAL_TX_PIN PA9
# define Y_SERIAL_RX_PIN Y_SERIAL_TX_PIN
//# define Z_SERIAL_TX_PIN PA9
//# define Z_SERIAL_RX_PIN Z_SERIAL_TX_PIN
# define E0_SERIAL_TX_PIN PA5
# define E0_SERIAL_RX_PIN E0_SERIAL_TX_PIN
//# define E1_SERIAL_TX_PIN PE5
//# define E1_SERIAL_RX_PIN E1_SERIAL_TX_PIN

gaby64 avatar Dec 15 '20 23:12 gaby64

this was the issue,

#define SOFTWARE_DRIVER_ENABLE

needs to be disabled for hardware uart pins

gaby64 avatar Dec 16 '20 01:12 gaby64