<?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[AMOLED S3 Touch - I2C port interference with QWIIC port?]]></title><description><![CDATA[<p dir="auto">Does the touch display use the same I2C interface as is on the STEMMA / QWIIC connector?</p>
<p dir="auto">I am getting some random I2C error reading some devices.</p>
<p dir="auto">By the schematic, it appears that that is the case. I am using a mutex in FreeRTOS to access the I2C port between several tasks.  Is there a way to make sure lvgl uses the same mutex before accessing the port?</p>
<p dir="auto">I am trying to solve it by adding a Take and Give for my mutex around each access to lv_task_handler(), but not sure if that is the way to go</p>
<pre><code>void do_lv_task_handler() {
  xSemaphoreTake(I2C_Mutex, portMAX_DELAY);
  lv_task_handler();
  xSemaphoreGive(I2C_Mutex);
}
</code></pre>
]]></description><link>https://www.community.lilygo.cc/topic/995/amoled-s3-touch-i2c-port-interference-with-qwiic-port</link><generator>RSS for Node</generator><lastBuildDate>Sun, 12 Apr 2026 17:17:49 GMT</lastBuildDate><atom:link href="https://www.community.lilygo.cc/topic/995.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 03 Jun 2024 01:42:36 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to AMOLED S3 Touch - I2C port interference with QWIIC port? on Thu, 13 Jun 2024 20:00:56 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://www.community.lilygo.cc/uid/612">@teastain2</a></p>
<p dir="auto">Thanks, I realize that I can change the definitions of Wire to the other pin, but then would the Touch display not function appropriately?</p>
<p dir="auto">I would prefer to define GPIO2 and GPIO3 as Wire1 and not Wire, and have the touch display use that interface. I would then define Wire as the new pins (as per your example above).</p>
<p dir="auto">Is there a software option to do this? I am using some libraries that are hardcoded to Wire, and don't want to manually change them myself.</p>
<p dir="auto">If not possible, the Mutex method around the lv_task_handler() seems to work well - the board has been running for about 2 weeks with no issues, and no bad data.</p>
]]></description><link>https://www.community.lilygo.cc/post/1841</link><guid isPermaLink="true">https://www.community.lilygo.cc/post/1841</guid><dc:creator><![CDATA[rs77can]]></dc:creator><pubDate>Thu, 13 Jun 2024 20:00:56 GMT</pubDate></item><item><title><![CDATA[Reply to AMOLED S3 Touch - I2C port interference with QWIIC port? on Mon, 03 Jun 2024 04:42:37 GMT]]></title><description><![CDATA[<p dir="auto">U0RXD U0TXD (44/43) are the RS232 Serial connections...and... are the standard I2C ports on LilyGO T-Display S3 and T-HMI and several others.<br />
As you may know you inform the compiler with</p>
<pre><code>Wire.begin(43, 44); 
</code></pre>
<p dir="auto">I don't have a LilyGO T-Display S3 AMOLED Touch  here!<br />
So I suppose the 6pin is the Touch and is between the Display and the board???</p>
<p dir="auto">You should check here:<br />
<a href="https://github.com/Xinyuan-LilyGO/LilyGo-AMOLED-Series/issues/9#issuecomment-1888466187" rel="nofollow ugc">https://github.com/Xinyuan-LilyGO/LilyGo-AMOLED-Series/issues/9#issuecomment-1888466187</a></p>
<p dir="auto">And perhaps raise your own issue?<br />
@lewisxhe is very good but  very busy<br />
cheers, Terry</p>
]]></description><link>https://www.community.lilygo.cc/post/1773</link><guid isPermaLink="true">https://www.community.lilygo.cc/post/1773</guid><dc:creator><![CDATA[teastain2]]></dc:creator><pubDate>Mon, 03 Jun 2024 04:42:37 GMT</pubDate></item><item><title><![CDATA[Reply to AMOLED S3 Touch - I2C port interference with QWIIC port? on Mon, 03 Jun 2024 02:48:03 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://www.community.lilygo.cc/uid/2516">@rs77can</a></p>
<p dir="auto">I  was lopoking at these 2 pieces of the schematic</p>
<p dir="auto"><img src="/assets/uploads/files/1717382693047-touch.jpg" alt="touch.jpg" class=" img-responsive img-markdown" width="607" height="399" /> <img src="/assets/uploads/files/1717382702750-qwiic.jpg" alt="Qwiic.jpg" class=" img-responsive img-markdown" width="927" height="601" /></p>
<p dir="auto">The top is the touch interface, and the bottom is the Qwiic port - they both seem to be using the same GPIO2/3</p>
<p dir="auto">U0RXD U0TXD (44/43) are the RS232 Serial connections - no?</p>
]]></description><link>https://www.community.lilygo.cc/post/1772</link><guid isPermaLink="true">https://www.community.lilygo.cc/post/1772</guid><dc:creator><![CDATA[rs77can]]></dc:creator><pubDate>Mon, 03 Jun 2024 02:48:03 GMT</pubDate></item><item><title><![CDATA[Reply to AMOLED S3 Touch - I2C port interference with QWIIC port? on Mon, 03 Jun 2024 02:30:41 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://www.community.lilygo.cc/uid/2516">@rs77can</a> AMOLED S3 Touch has two qwiic ports,<br />
GPIO 2,3 and<br />
GPIO 43, 44.<br />
I don't see a conflict on the schematic!<br />
<a href="https://github.com/Xinyuan-LilyGO/LilyGo-AMOLED-Series/blob/master/schematic/T-Display-S3-AMOLED-Touch.pdf" rel="nofollow ugc">https://github.com/Xinyuan-LilyGO/LilyGo-AMOLED-Series/blob/master/schematic/T-Display-S3-AMOLED-Touch.pdf</a></p>
<p dir="auto"><img src="/assets/uploads/files/1717381798691-screenshot-2024-06-02-at-10.29.06-pm.jpg" alt="Screenshot 2024-06-02 at 10.29.06 PM.jpg" class=" img-responsive img-markdown" width="1024" height="1047" /></p>
]]></description><link>https://www.community.lilygo.cc/post/1771</link><guid isPermaLink="true">https://www.community.lilygo.cc/post/1771</guid><dc:creator><![CDATA[teastain2]]></dc:creator><pubDate>Mon, 03 Jun 2024 02:30:41 GMT</pubDate></item></channel></rss>