<?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[[M5Tab5] How to de-init the GT911 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. 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.<br />
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.<br />
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. 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.<br />
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?<br />
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.<br />
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/7722/m5tab5-how-to-de-init-the-gt911-touch-panel</link><generator>RSS for Node</generator><lastBuildDate>Wed, 29 Apr 2026 11:30:07 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/7722.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 30 Jul 2025 08:32:40 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to [M5Tab5] How to de-init the GT911 touch panel? on Wed, 30 Jul 2025 09:00:03 GMT]]></title><description><![CDATA[<p dir="auto">Problem already fixed with only two lines of code:</p>
<pre><code>esp_sleep_enable_timer_wakeup(50000); // 50ms
esp_deep_sleep_start();
</code></pre>
<p dir="auto">A very short deep sleep will power off the GT911 chip and power it on again, so that fixes the problem.<br />
Thanks to the chatbot!</p>
]]></description><link>https://community.m5stack.com/post/29660</link><guid isPermaLink="true">https://community.m5stack.com/post/29660</guid><dc:creator><![CDATA[ImLunchtime]]></dc:creator><pubDate>Wed, 30 Jul 2025 09:00:03 GMT</pubDate></item></channel></rss>