<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[M5Station  RS485 port]]></title><description><![CDATA[<p dir="auto">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.<br />
For example I want to use the M5 station for industrial application that uses modbus, and I also need Serial 0 for debug.<br />
So I can't do nothing now.. and I liked the device.</p>
]]></description><link>https://community.m5stack.com/topic/5340/m5station-rs485-port</link><generator>RSS for Node</generator><lastBuildDate>Thu, 05 Mar 2026 10:28:26 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/5340.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 27 May 2023 02:24:23 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to M5Station  RS485 port on Sat, 27 May 2023 08:29:42 GMT]]></title><description><![CDATA[<p dir="auto">Hello <a class="mention plugin-mentions-user plugin-mentions-a" href="https://community.m5stack.com/uid/43051">@luisgcu</a></p>
<p dir="auto">you are correct the GPIO choice is a bit unfortunate.</p>
<p dir="auto">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 <a href="https://github.com/alerighi/modbus-sniffer" target="_blank" rel="noopener noreferrer nofollow ugc">one</a> and it decodes the RTU data nicely. See below:</p>
<pre><code>captured packet 1: length = 8, CRC: 6F8C = 6F8C [OK]
	DUMP:  04 05 00 00 FF 00 8C 6F
</code></pre>
<p dir="auto">As for ESP32 debug output. You can always setup <code>Serial</code> to output debug onto a different GPIO.</p>
<p dir="auto">Thanks<br />
Felix</p>
]]></description><link>https://community.m5stack.com/post/21000</link><guid isPermaLink="true">https://community.m5stack.com/post/21000</guid><dc:creator><![CDATA[felmue]]></dc:creator><pubDate>Sat, 27 May 2023 08:29:42 GMT</pubDate></item></channel></rss>