Configuring UART through I/O on Duet3 MB6HC?
-
Hello, new to this forum. I have a DUET 3 Main board 6HC which I use to control a printer. I would like to communicate with a raspberry pi machine through UART. This pi is mounted to a different hardware machine, so I can't mount it as an SBC on the duet itself. I see that the 5-pin I/O connectors on the MB6HC have UART compatability, so I thought I could use those. I have a simple G-code file for testing this, but I ran into trouble defining the port (IO_1) for use with the M575/M118 commands. The documentation only seems to include the port numbers for the CAN bus and the USB-C, which is in use as a power supply for this Duet. Per my understanding, setting it up as a series of GPIO pins through M950 will not help here.
How can I define IO_1 as a port for UART communication? -
@NeelG io1 is set up as a port for receiving GCode commands when you use M575 to specify raw mode and a baud rate. It is the AUX2 channel, so P5 in M118.
Is there a reason why you are not connecting via the USB port?