<?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[Impossible to run Bluetooth Proxy &amp; Display on M5Stack Basic?]]></title><description><![CDATA[<p dir="auto">I am trying to run a fully-loaded ESPHome node on an M5Stack Core Basic (ESP32-D0WDQ6-V3). My goal is to use it as a Bluetooth Proxy while also using the internal screen to display sensor data.</p>
<p dir="auto">The device boots, connects to WiFi, and the Bluetooth Proxy works perfectly. However, the display refuses to initialize. The backlight stays on, but the screen remains white (no pixels).</p>
<p dir="auto">The logs show a clear memory allocation failure:</p>
<pre><code>[E][display:017]: Could not allocate buffer for display!

[E][component:119]: Component display was marked as failed.
</code></pre>
<p dir="auto">I suspect I am hitting a hard hardware ceiling because this board lacks PSRAM (it only has ~320KB internal RAM). It seems like the combination of these three components exceeds the available memory:</p>
<ol>
<li>WiFi/API: Baseline load.</li>
<li>Bluetooth Proxy: Reserves a massive contiguous block.</li>
<li>Display (320x240): The ili9xxx driver seems to need ~153KB for the frame buffer. Since the display initializes last, it finds zero contiguous RAM left and fails.</li>
</ol>
<p dir="auto">To test this theory, I crippled the display configuration to use less memory. By setting dimensions: 320x60, I forced the buffer size down to ~38KB.</p>
<p dir="auto">This immediately fixed the crash. The device booted, the text appeared (in the top 60px strip), and Bluetooth continued working.</p>
<p dir="auto">Is this a known hardware limitation of the M5Stack Basic? Has anyone managed to run a Bluetooth Proxy AND a Full Resolution (320x240) Display on an ESP32 without PSRAM?</p>
<p dir="auto">I am wondering if there is a way to optimize the Bluetooth stack size or the display buffer (maybe partial updates?) to make them fit, or if I am simply asking for too much from this hardware.</p>
]]></description><link>https://community.m5stack.com/topic/7942/impossible-to-run-bluetooth-proxy-display-on-m5stack-basic</link><generator>RSS for Node</generator><lastBuildDate>Wed, 29 Apr 2026 04:47:40 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/7942.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 15 Dec 2025 07:06:31 GMT</pubDate><ttl>60</ttl></channel></rss>