DJScopeSOFM / Two-Trees-Multi-Printer-Marlin-Bugfix-Compiler

Two Tree Marlin Bugfix build that can be compiled for multiple types of Two Trees printers by just editing a single setup file.
GNU General Public License v3.0
15 stars 6 forks source link

TMC UART setup #9

Open gaby64 opened 3 years ago

gaby64 commented 3 years ago

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 commented 3 years ago

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 commented 3 years ago

this was the issue,

define SOFTWARE_DRIVER_ENABLE

needs to be disabled for hardware uart pins