<?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[UART0 (GPIO1,3) usage for RS485 and possible conflict with CP2104]]></title><description><![CDATA[<p dir="auto">Hi would like to use the COMMU module for RS485 interface in particular using the SP3485 tranceiver on UART 0 so GPIO 1 and 3 (M5 bus pin 13 and 14)</p>
<p dir="auto"><img src="/assets/uploads/files/1557829994400-4ce5a99c-28ed-4d77-bcbe-a7abdb8e1116-image-resized.png" alt="0_1557829991509_4ce5a99c-28ed-4d77-bcbe-a7abdb8e1116-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">Checking the M5stack basic core schematic seems same GPIO are used for communication with USB serial dirver CP2104</p>
<p dir="auto"><img src="/assets/uploads/files/1557830034594-329232a5-8a78-4d9d-ae65-56f466075baa-image.png" alt="0_1557830032014_329232a5-8a78-4d9d-ae65-56f466075baa-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">Is there any possible conflict case ? can I use freely GPIO 1 &amp; 3 on the bus or there is any constraints due to sharing with CP2104 ??</p>
<p dir="auto">thanks for any clarification</p>
<p dir="auto">Davide</p>
]]></description><link>https://community.m5stack.com/topic/999/uart0-gpio1-3-usage-for-rs485-and-possible-conflict-with-cp2104</link><generator>RSS for Node</generator><lastBuildDate>Wed, 29 Apr 2026 04:56:41 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/999.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 14 May 2019 10:34:16 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to UART0 (GPIO1,3) usage for RS485 and possible conflict with CP2104 on Thu, 16 May 2019 08:10:35 GMT]]></title><description><![CDATA[<p dir="auto">I share m5 support answer on the topic</p>
<p dir="auto">"UART0 is a specifically assigned for log print, it is encapsulated by ESP32 at lower layer. It will print the system log automatically and seems like we users are not permitted to shut it down, so we don’t recommend users to use UART0 as a normal UART series port, it will interrupt you communication. That why we connect it with CP2104."</p>
<p dir="auto">to me it's clear the usage of UART0 ..less cleare why this two GPIO are routed to the M5bus since can't be used</p>
<p dir="auto">I will use UART2 for my custom project with this assignment GPIO34=RX GPIO17=TX</p>
<p dir="auto">Davide</p>
]]></description><link>https://community.m5stack.com/post/4299</link><guid isPermaLink="true">https://community.m5stack.com/post/4299</guid><dc:creator><![CDATA[arzaman]]></dc:creator><pubDate>Thu, 16 May 2019 08:10:35 GMT</pubDate></item><item><title><![CDATA[Reply to UART0 (GPIO1,3) usage for RS485 and possible conflict with CP2104 on Wed, 15 May 2019 04:29:10 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/arzaman" aria-label="Profile: arzaman">@<bdi>arzaman</bdi></a> said in <a href="/post/4279">UART0 (GPIO1,3) usage for RS485 and possible conflict with CP2104</a>:</p>
<blockquote>
<p dir="auto">also in my mind is an issue ...<br />
is possibile that 2 GPIO of the UART0 routed on the core bus are not usable at all ??</p>
<p dir="auto">Davide</p>
</blockquote>
<p dir="auto">Sorry I missunderstood this comment.</p>
]]></description><link>https://community.m5stack.com/post/4283</link><guid isPermaLink="true">https://community.m5stack.com/post/4283</guid><dc:creator><![CDATA[ajb2k3]]></dc:creator><pubDate>Wed, 15 May 2019 04:29:10 GMT</pubDate></item><item><title><![CDATA[Reply to UART0 (GPIO1,3) usage for RS485 and possible conflict with CP2104 on Tue, 14 May 2019 22:39:39 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/ajb2k3" aria-label="Profile: ajb2k3">@<bdi>ajb2k3</bdi></a> I was referring to GPIO 1 &amp; 3  that can't be used...</p>
]]></description><link>https://community.m5stack.com/post/4281</link><guid isPermaLink="true">https://community.m5stack.com/post/4281</guid><dc:creator><![CDATA[arzaman]]></dc:creator><pubDate>Tue, 14 May 2019 22:39:39 GMT</pubDate></item><item><title><![CDATA[Reply to UART0 (GPIO1,3) usage for RS485 and possible conflict with CP2104 on Tue, 14 May 2019 19:26:30 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/arzaman" aria-label="Profile: arzaman">@<bdi>arzaman</bdi></a> GPIO2 is on the bus connector pin 19.</p>
]]></description><link>https://community.m5stack.com/post/4280</link><guid isPermaLink="true">https://community.m5stack.com/post/4280</guid><dc:creator><![CDATA[ajb2k3]]></dc:creator><pubDate>Tue, 14 May 2019 19:26:30 GMT</pubDate></item><item><title><![CDATA[Reply to UART0 (GPIO1,3) usage for RS485 and possible conflict with CP2104 on Tue, 14 May 2019 18:51:22 GMT]]></title><description><![CDATA[<p dir="auto">also in my mind is an issue ...<br />
is possibile that 2 GPIO of the UART0 routed on the core bus are not usable at all ??</p>
<p dir="auto">Davide</p>
]]></description><link>https://community.m5stack.com/post/4279</link><guid isPermaLink="true">https://community.m5stack.com/post/4279</guid><dc:creator><![CDATA[arzaman]]></dc:creator><pubDate>Tue, 14 May 2019 18:51:22 GMT</pubDate></item><item><title><![CDATA[Reply to UART0 (GPIO1,3) usage for RS485 and possible conflict with CP2104 on Tue, 14 May 2019 18:23:18 GMT]]></title><description><![CDATA[<p dir="auto">Hmn, that is an issue.<br />
I wonder if a UART switcher/multiplexer could be of use to you in this case.</p>
]]></description><link>https://community.m5stack.com/post/4278</link><guid isPermaLink="true">https://community.m5stack.com/post/4278</guid><dc:creator><![CDATA[ajb2k3]]></dc:creator><pubDate>Tue, 14 May 2019 18:23:18 GMT</pubDate></item><item><title><![CDATA[Reply to UART0 (GPIO1,3) usage for RS485 and possible conflict with CP2104 on Tue, 14 May 2019 13:03:36 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/ajb2k3" aria-label="Profile: ajb2k3">@<bdi>ajb2k3</bdi></a> Unluckily the use of UART2 is NOT an option in my custom circuit since GPIO 16&amp;17 are already used by another device</p>
<p dir="auto">I think this is a "general" m5stack core problem:  how can I use GPIO 1&amp;3 routed on the bus if they are already in use by the CP2104 ??</p>
<p dir="auto">Especially GPIO3 that is an output od the USB to serial adapter<br />
two useless bus pin ?</p>
<p dir="auto">Davide</p>
]]></description><link>https://community.m5stack.com/post/4277</link><guid isPermaLink="true">https://community.m5stack.com/post/4277</guid><dc:creator><![CDATA[arzaman]]></dc:creator><pubDate>Tue, 14 May 2019 13:03:36 GMT</pubDate></item><item><title><![CDATA[Reply to UART0 (GPIO1,3) usage for RS485 and possible conflict with CP2104 on Tue, 14 May 2019 10:46:16 GMT]]></title><description><![CDATA[<p dir="auto">I think there was an issue report by another forum member but they fixed it by wiring the unit to the other port.</p>
]]></description><link>https://community.m5stack.com/post/4276</link><guid isPermaLink="true">https://community.m5stack.com/post/4276</guid><dc:creator><![CDATA[ajb2k3]]></dc:creator><pubDate>Tue, 14 May 2019 10:46:16 GMT</pubDate></item></channel></rss>