<?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[I2C Problem with capacitive touch]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">I am trying to run some basic I2C connections in micropython to test out each of the sensors on the unit, however it appears the I2C bus fails any time the capacitive touch is used. i.e. I can connect to and extract the acceleration form the MPU6886 fine but the moment I touch the screen I get the error OSError: I2C bus error (19). forcing me to recreate the i2c variable.</p>
<p dir="auto">Does anyone know how or why this might be happening or what I can do to fix it?</p>
<p dir="auto">Thank you!</p>
]]></description><link>https://community.m5stack.com/topic/4191/i2c-problem-with-capacitive-touch</link><generator>RSS for Node</generator><lastBuildDate>Fri, 01 May 2026 06:24:44 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/4191.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 06 Apr 2022 16:10:37 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to I2C Problem with capacitive touch on Wed, 04 May 2022 18:32:58 GMT]]></title><description><![CDATA[<p dir="auto">Hello <a class="plugin-mentions-user plugin-mentions-a" href="/user/university123" aria-label="Profile: university123">@<bdi>university123</bdi></a></p>
<p dir="auto">could you post your code? Using UiFlow I've put together a simple program which reads the touch state and x and y coordinates of the MPU6886 in a loop just fine and I do not encounter any lockup when I touch the screen. See below:</p>
<pre><code>from m5stack import *
from m5stack_ui import *
from uiflow import *
from m5stack import touch
import imu

screen = M5Screen()
screen.clean_screen()
screen.set_screen_bg_color(0xFFFFFF)

imu0 = imu.IMU()

label0 = M5Label('Text', x=24, y=24, color=0x000, font=FONT_MONT_26, parent=None)
label1 = M5Label('Text', x=23, y=86, color=0x000, font=FONT_MONT_26, parent=None)
label2 = M5Label('Text', x=151, y=86, color=0x000, font=FONT_MONT_26, parent=None)

while True:
  label0.set_text(str(touch.status()))
  label1.set_text(str(imu0.ypr[1]))
  label2.set_text(str(imu0.ypr[2]))
  wait_ms(2)
</code></pre>
<p dir="auto">Thanks<br />
Felix</p>
]]></description><link>https://community.m5stack.com/post/17400</link><guid isPermaLink="true">https://community.m5stack.com/post/17400</guid><dc:creator><![CDATA[felmue]]></dc:creator><pubDate>Wed, 04 May 2022 18:32:58 GMT</pubDate></item><item><title><![CDATA[Reply to I2C Problem with capacitive touch on Thu, 28 Apr 2022 23:24:53 GMT]]></title><description><![CDATA[<p dir="auto">At least your touch 'works'. I'm on my second core2AWS and its totally dead.<br />
They worked briefly and stopped. I'm totally lost!!<br />
Good luck.<br />
Bo W4GHV</p>
]]></description><link>https://community.m5stack.com/post/17321</link><guid isPermaLink="true">https://community.m5stack.com/post/17321</guid><dc:creator><![CDATA[W4GHV]]></dc:creator><pubDate>Thu, 28 Apr 2022 23:24:53 GMT</pubDate></item></channel></rss>