<?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[[Tab5] How to de-init the touch panel?]]></title><description><![CDATA[<p dir="auto">I'm creating a firmware manager project (which loads bin firmwares from the SD card and runs them on the device), for the Tab5 with ESP-IDF v5.4.1 and LVGL.</p>
<p dir="auto">I have finished the firmware flashing functions (through ESP32's built-in OTA functions) but now I met a problem with the Tab5's GT911 touch panel.</p>
<p dir="auto">Since the Launcher shall reboot the system after loading a firmware (to boot into the firmware), I simply called esp_restart() to reboot the ESP32.</p>
<p dir="auto">But after the ESP32 reboots, the touch panel isn't working (the screen shows the UI though). The touch panel works if I manually rebooted the device with the power button.<br />
I think that's a problem with the GT911 touch driver not being correctly de-initialized, but I didn't find any functions to de-init the touch panel.</p>
<p dir="auto">Are there any ways to de-init the GT911 touch driver, or any ways to make sure the firmware, after a software reboot, can have access to the touch panel?</p>
<p dir="auto">Since this is a firmware manager project, I can't modify the user's custom firmware, so any methods that involves changing the user's firmware won't work for me.</p>
<p dir="auto">My project's repo is at: <a href="https://github.com/ImLunchtime/Tab5_Launcher" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/ImLunchtime/Tab5_Launcher</a></p>
]]></description><link>https://community.m5stack.com/topic/7723/tab5-how-to-de-init-the-touch-panel</link><generator>RSS for Node</generator><lastBuildDate>Wed, 29 Apr 2026 11:29:57 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/7723.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 30 Jul 2025 08:37:03 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to [Tab5] How to de-init the touch panel? on Wed, 30 Jul 2025 08:52:04 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/imlunchtime" aria-label="Profile: ImLunchtime">@<bdi>ImLunchtime</bdi></a> 有建议欢迎多提~</p>
]]></description><link>https://community.m5stack.com/post/29659</link><guid isPermaLink="true">https://community.m5stack.com/post/29659</guid><dc:creator><![CDATA[yuyun2000]]></dc:creator><pubDate>Wed, 30 Jul 2025 08:52:04 GMT</pubDate></item><item><title><![CDATA[Reply to [Tab5] How to de-init the touch panel? on Wed, 30 Jul 2025 08:51:27 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/yuyun2000" aria-label="Profile: yuyun2000">@<bdi>yuyun2000</bdi></a> chatbot还是有点用的 这是它的回复里最后一个方法（也是唯一一个能用的）</p>
]]></description><link>https://community.m5stack.com/post/29658</link><guid isPermaLink="true">https://community.m5stack.com/post/29658</guid><dc:creator><![CDATA[ImLunchtime]]></dc:creator><pubDate>Wed, 30 Jul 2025 08:51:27 GMT</pubDate></item><item><title><![CDATA[Reply to [Tab5] How to de-init the touch panel? on Wed, 30 Jul 2025 08:50:41 GMT]]></title><description><![CDATA[<p dir="auto">Yes, the GT911 chip only needs to be turned off and then on again.</p>
]]></description><link>https://community.m5stack.com/post/29657</link><guid isPermaLink="true">https://community.m5stack.com/post/29657</guid><dc:creator><![CDATA[ImLunchtime]]></dc:creator><pubDate>Wed, 30 Jul 2025 08:50:41 GMT</pubDate></item><item><title><![CDATA[Reply to [Tab5] How to de-init the touch panel? on Wed, 30 Jul 2025 08:50:28 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/imlunchtime" aria-label="Profile: ImLunchtime">@<bdi>ImLunchtime</bdi></a> chatbot是否解决了你的问题？ 他的回复有什么帮助？</p>
]]></description><link>https://community.m5stack.com/post/29656</link><guid isPermaLink="true">https://community.m5stack.com/post/29656</guid><dc:creator><![CDATA[yuyun2000]]></dc:creator><pubDate>Wed, 30 Jul 2025 08:50:28 GMT</pubDate></item><item><title><![CDATA[Reply to [Tab5] How to de-init the touch panel? on Wed, 30 Jul 2025 08:50:00 GMT]]></title><description><![CDATA[<p dir="auto">Problem fixed with just two lines of code:</p>
<pre><code>esp_sleep_enable_timer_wakeup(50000); // 50ms
esp_deep_sleep_start();
</code></pre>
<p dir="auto">I used this to replace <code>esp_restart() </code> and it worked. Putting the device to deep-sleep makes use of the PMS150G chip and basically turned the device off and then on again, so actually there is a way to let the device force a full reboot on itself.</p>
]]></description><link>https://community.m5stack.com/post/29655</link><guid isPermaLink="true">https://community.m5stack.com/post/29655</guid><dc:creator><![CDATA[ImLunchtime]]></dc:creator><pubDate>Wed, 30 Jul 2025 08:50:00 GMT</pubDate></item></channel></rss>