If it possible to cancel usb cable( klipper host to micro-controller)?

Basic Information: Serial communication

Printer Model: Anycubic kobra
MCU / Printerboard: HC32F460
klippy.log

Describe your issue:

For some reason I want to cancel USB cable which from klipper host to Micro-control, then packaging klipper’s output data and copy to U disk, plug U disk to Micro-control(like gcode printing) unpackage and printing.
If it possible to redefine the serial communication API? any suggession? thanks.

A direct and permanent connection between the host and the MCU is required.
If you do not want to use an USB connection, the alternative is a direct serial connection via RX / TX pins.

Hi Sineos,
Thanks for your reply.
Because of the usage scenario, I urgently need to brake this rules(A direct and permanent connection with cable).
Any suggession for reprogram the serial API?
Thanks for your time.

Please keep in mind how Klipper works:

The Pi (in most cases) does the calculation stuff.
The printer MCU is the driver board for the hardware: Motors, sensors etc.

They have to communicate during the print.

If you want to have all on the printer board, you may use Marlin…

2 Likes