Duet2 WiFi serial port?
-
I note from the 'hardware specification' section of https://docs.duet3d.com/Duet3D_hardware/Duet_2_family/Duet_2_WiFi_Ethernet_Hardware_Overview the claimed presence of a serial port on Duet 2 Wifi. However, I'm not able to identify where this is on the pinout, or find if it can be controlled from gcode. Can anyone supply some pointers?
I'm actually looking to synchronise some external hardware (completely under my control, not built yet, though there's a prototype on breadboard) with the print that is running. I don't need much accuracy, +/- 0.5 seconds is sufficient.
I could generate just on / off pulses on e.g. heaters 3 to 7 on the expansion header, but it might be nice to be able to communicate more than just on/off states so having the Duet able to send one or two byte messages over a serial port would be nice (and longer messages would open up more possibilities). I'm not sure how best to do that in either the hardware or the firmware (I'd rather not be altering the RRF firmware) - can anyone point me in a suitable direction?
My remote hardware is a Teensy 4.0, which can be a I2C slave, has serial hardware, could presumably be a SPI slave but I've never done that before so it would take some work.
Thnaks.
-
@achrn the serial port is the PanelDue port. The M575 command can be used to put it in PanelDue mode or in raw mode.