<?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 speed increase]]></title><description><![CDATA[<p dir="auto"><img src="/assets/uploads/files/1739876717423-2025-02-18_12-04-47.png" alt="2025-02-1kk8_12-04-47.PNG" class=" img-fluid img-markdown" /></p>
<p dir="auto">Hi to All</p>
<p dir="auto">I use a M5 Stack Core Basic and it's working fine.</p>
<p dir="auto">I try to read the values from the IMU with the I2C bus as quickly as possible.<br />
It' works well.<br />
Unfortunately I have a long pause of 124uSec between the bytes, which limits the speed. Can I do something to shorten this pause or remove it completely?</p>
]]></description><link>https://community.m5stack.com/topic/7309/i2c-speed-increase</link><generator>RSS for Node</generator><lastBuildDate>Sat, 07 Mar 2026 15:27:41 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/7309.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 18 Feb 2025 11:12:05 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to I2C speed increase on Wed, 19 Feb 2025 13:25:03 GMT]]></title><description><![CDATA[<p dir="auto">Hi <a class="mention plugin-mentions-user plugin-mentions-a" href="https://community.m5stack.com/uid/443">@ajb2k3</a></p>
<p dir="auto">Yes I have checked the data sheet and it's working fine. Just read all the byte need to long time in my program even if I read with 1Mega.<br />
I suspect it would be twice as fast without this pause.</p>
<p dir="auto">I found a information about this break, but i have no idea how to do this with the Uiflow</p>
<p dir="auto">activate polling mode (use portMAX_DELAY)<br />
The last parameter -1 stands for the timeout in milliseconds. If you want to ensure that no RTOS scheduling is delayed, you can set portMAX_DELAY<br />
i2c_master_transmit_receive(dev_handle, buffer, 2, buf, 9, portMAX_DELAY);</p>
]]></description><link>https://community.m5stack.com/post/28267</link><guid isPermaLink="true">https://community.m5stack.com/post/28267</guid><dc:creator><![CDATA[alkaline64]]></dc:creator><pubDate>Wed, 19 Feb 2025 13:25:03 GMT</pubDate></item><item><title><![CDATA[Reply to I2C speed increase on Tue, 18 Feb 2025 18:27:18 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://community.m5stack.com/uid/49163">@alkaline64</a> have you checked the data sheet for the IMU?</p>
]]></description><link>https://community.m5stack.com/post/28259</link><guid isPermaLink="true">https://community.m5stack.com/post/28259</guid><dc:creator><![CDATA[ajb2k3]]></dc:creator><pubDate>Tue, 18 Feb 2025 18:27:18 GMT</pubDate></item></channel></rss>