M5Station RS485 port
luisgcu last edited by
I am very disappointed to learn that the RS485 port on the M5Station is linked to UART0 GPIO1,GPIO3, so is shared with the USB.
For example I want to use the M5 station for industrial application that uses modbus, and I also need Serial 0 for debug.
So I can't do nothing now.. and I liked the device.
felmue last edited by felmue
you are correct the GPIO choice is a bit unfortunate.
That said it helps if you want to debug what's going on on the Modbus connection by using a Modbus sniffer. I've found this one and it decodes the RTU data nicely. See below:
captured packet 1: length = 8, CRC: 6F8C = 6F8C [OK] DUMP: 04 05 00 00 FF 00 8C 6F
As for ESP32 debug output. You can always setup
Serialto output debug onto a different GPIO.