Klipper half-duplex uart

Hi,

I am trying to set up point to point communication using RS-485. Simple ttl uart from RPI to printer board is working fine, but when adding uart ↔ RS-485 and RS485 ↔ uart communication is failing. Probably because RS-485 is half duplex. Is there a way to config klipper to support half-duplex mode? Something like waiting for full response before sending next packets can help I think. Is it possible?

Thanks for the answers

Hello @mswiatko !

I think no. Klipper depends on two way communication from the host (RasPi etc) and the printer MCU.

  • Sending stepper commands, controlling the heating elements etc.
  • Receiving temperatures from the thermistors, endstop notifications from the sensors etc

This will not work because the data exchange is time critical (like homing).

You may see here:

Why not use 2 wire pairs for full duplex?

1 Like

Thanks for clarification. Didn’t know that it is so time critical.

Yeah, good idea, I will try with 2 wire pairs. Thanks

1 Like