<?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 OSError [ERRNO 116] ETIMEDOUT]]></title><description><![CDATA[<p dir="auto">Hi<br />
Using CoreS3 + BaseX.<br />
When running outside of UIFlow2 (in micropython REPL) instructions like :<br />
i2c.writeto_mem(0x22,0x20,b'\x7f')<br />
all is working fine<br />
But when running in UIFlow2,<br />
Firsttime of writeto_mem is OK but on second time, the program crashes:<br />
I2C OSError [ERRNO 116] ETIMEDOUT<br />
This is particularly true if this instruction is inside the main loop()<br />
def loop():<br />
global page0, label0, button0,i2c,count<br />
M5.update()<br />
count +=1<br />
if count == 100:<br />
i2c.writeto_mem(0x22,0x20,b'\x50')<br />
if count == 10000:<br />
i2c.writeto_mem(0x22,0x20,b'\x00')<br />
The program crashes on the second occurence<br />
IMPORTANT NOTE : This crash only occurs if m5ui.init() is included.<br />
We have unsuccessfully tried to find a solution.<br />
Anyone has a clue ?<br />
thanks</p>
]]></description><link>https://community.m5stack.com/topic/7883/i2c-oserror-errno-116-etimedout</link><generator>RSS for Node</generator><lastBuildDate>Mon, 18 May 2026 14:02:56 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/7883.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 11 Nov 2025 03:38:30 GMT</pubDate><ttl>60</ttl></channel></rss>