<?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[Atom display not working]]></title><description><![CDATA[<p dir="auto">Hi,<br />
I am trying to get my AtomDisplay HDMI working without success.<br />
The factory demo worked fine.<br />
I have tried the basic example but I get nothing.<br />
The odd thing is the display says it has 0 width and height.</p>
<p dir="auto">Here is my code:<br />
`<br />
#include &lt;Arduino.h&gt;</p>
<p dir="auto">#include &lt;M5AtomDisplay.h&gt;<br />
M5AtomDisplay display(1280, 720, 50); // width, height</p>
<p dir="auto">void setup(void)<br />
{<br />
Serial.begin(115200);</p>
<p dir="auto">// initialize<br />
display.init();<br />
Serial.printf("W:%d H:%d\n", display.width(), display.height());<br />
`<br />
The serial output shows W:0 H:0 so it seems the display is not initialised correctly.</p>
<p dir="auto">The same occurs when I try the default (no parameters), both are 0.</p>
<p dir="auto">I enables logging on the ESP and the log shows the following errors so I guess this is why. Is my AtomDisplay broken or an old version that is no longer supported?</p>
<h2>Opening port<br />
Port open<br />
[    16][D][esp32-hal-cpu.c:264] setCpuFrequencyMhz(): PLL: 480 / 2 = 240 Mhz, APB: 80000000 Hz<br />
=========== Before Setup Start ===========<br />
Chip Info:</h2>
<h2>Model             : ESP32<br />
Package           : PICO-V3-02<br />
Revision          : 3.00<br />
Cores             : 2<br />
CPU Frequency     : 240 MHz<br />
XTAL Frequency    : 40 MHz<br />
Features Bitfield : 0x000000b3<br />
Embedded Flash    : Yes<br />
Embedded PSRAM    : Yes<br />
2.4GHz WiFi       : Yes<br />
Classic BT        : Yes<br />
BT Low Energy     : Yes<br />
IEEE 802.15.4     : No</h2>
<h2>INTERNAL Memory Info:</h2>
<h2>Total Size        :   382032 B ( 373.1 KB)<br />
Free Bytes        :   351188 B ( 343.0 KB)<br />
Allocated Bytes   :    23632 B (  23.1 KB)<br />
Minimum Free Bytes:   345420 B ( 337.3 KB)<br />
Largest Free Block:   114676 B ( 112.0 KB)</h2>
<h2>Flash Info:</h2>
<h2>Chip Size         :  8388608 B (8 MB)<br />
Block Size        :    65536 B (  64.0 KB)<br />
Sector Size       :     4096 B (   4.0 KB)<br />
Page Size         :      256 B (   0.2 KB)<br />
Bus Speed         : 80 MHz<br />
Bus Mode          : DIO</h2>
<h2>Partitions Info:</h2>
<pre><code>            nvs : addr: 0x00009000, size:    20.0 KB, type: DATA, subtype: NVS
        otadata : addr: 0x0000E000, size:     8.0 KB, type: DATA, subtype: OTA
           app0 : addr: 0x00010000, size:  1984.0 KB, type:  APP, subtype: OTA_0
           app1 : addr: 0x00200000, size:  1984.0 KB, type:  APP, subtype: OTA_1
       coredump : addr: 0x003F0000, size:    64.0 KB, type: DATA, subtype: COREDUMP
</code></pre>
<hr />
<h2>Software Info:</h2>
<h2>Compile Date/Time : Mar 26 2025 11:22:10<br />
Compile Host OS   : windows<br />
ESP-IDF Version   : v5.1.4-972-g632e0c2a9f-dirty<br />
Arduino Version   : 3.0.7</h2>
<h2>Board Info:</h2>
<h2>Arduino Board     : ESP32_DEV<br />
Arduino Variant   : esp32<br />
Arduino FQBN      : esp32:esp32:esp32:UploadSpeed=512000,CPUFreq=240,FlashFreq=80,FlashMode=qio,FlashSize=4M,PartitionScheme=no_fs,DebugLevel=debug,PSRAM=disabled,LoopCore=1,EventsCore=0,EraseFlash=none,JTAGAdapter=default,ZigbeeMode=default,fsupload=littlefs<br />
============ Before Setup End ============<br />
[   526][D][m5atomdisplay.h:153] init_impl(): [LGFX] pkg:6<br />
[   531][I][panel_m5hdmi.cpp:506] init(): [M5HDMI] i2c port:1 sda:25 scl:21<br />
[   539][I][panel_m5hdmi.cpp:511] init(): [M5HDMI] Chip ID: 17 02 e2<br />
[   546][I][panel_m5hdmi.cpp:517] init(): [M5HDMI] Resetting HDMI transmitter...<br />
[   560][I][panel_m5hdmi.cpp:332] writeRegister(): [M5HDMI] i2c write err  reg:ff val:81<br />
[   569][I][panel_m5hdmi.cpp:500] _read_fpga_id(): [M5HDMI] FPGA ID:48440004<br />
[   576][I][panel_m5hdmi.cpp:500] _read_fpga_id(): [M5HDMI] FPGA ID:48440004<br />
[   583][D][panel_m5hdmi.cpp:714] _init_resolution(): [M5HDMI] PLL feedback_div:1  input_div:1  output_div:8  OUTPUT_CLOCK:74250000<br />
[   594][D][panel_m5hdmi.cpp:715] _init_resolution(): [M5HDMI] logical resolution: w:1280 h:720<br />
[   603][D][panel_m5hdmi.cpp:716] _init_resolution(): [M5HDMI] scaling resolution: w:1280 h:720<br />
[   611][D][panel_m5hdmi.cpp:717] _init_resolution(): [M5HDMI]  output resolution: w:1280 h:720<br />
[   620][D][panel_m5hdmi.cpp:718] _init_resolution(): [M5HDMI] video timing(Hori) total:1980 active:1280 frontporch:344 sync:26 backporch:330<br />
[   632][D][panel_m5hdmi.cpp:719] _init_resolution(): [M5HDMI] video timing(Vert) total:750 active:720 frontporch:14 sync:1 backporch:15<br />
[   644][I][panel_m5hdmi.cpp:580] init(): [M5HDMI] Initialize HDMI transmitter...<br />
[   659][I][panel_m5hdmi.cpp:332] writeRegister(): [M5HDMI] i2c write err  reg:ff val:80<br />
[   675][I][panel_m5hdmi.cpp:332] writeRegister(): [M5HDMI] i2c write err  reg:ff val:82<br />
[   691][I][panel_m5hdmi.cpp:332] writeRegister(): [M5HDMI] i2c write err  reg:2b val:00<br />
[   708][I][panel_m5hdmi.cpp:332] writeRegister(): [M5HDMI] i2c write err  reg:2e val:00<br />
[   723][I][panel_m5hdmi.cpp:332] writeRegister(): [M5HDMI] i2c write err  reg:ff val:80<br />
[   742][I][panel_m5hdmi.cpp:332] writeRegister(): [M5HDMI] i2c write err  reg:ff val:80<br />
[   761][I][panel_m5hdmi.cpp:332] writeRegister(): [M5HDMI] i2c write err  reg:ff val:80<br />
[   780][I][panel_m5hdmi.cpp:332] writeRegister(): [M5HDMI] i2c write err  reg:ff val:80<br />
[   799][I][panel_m5hdmi.cpp:332] writeRegister(): [M5HDMI] i2c write err  reg:ff val:80<br />
[   818][I][panel_m5hdmi.cpp:332] writeRegister(): [M5HDMI] i2c write err  reg:ff val:80<br />
[   836][I][panel_m5hdmi.cpp:332] writeRegister(): [M5HDMI] i2c write err  reg:ff val:80<br />
[   855][I][panel_m5hdmi.cpp:332] writeRegister(): [M5HDMI] i2c write err  reg:ff val:80<br />
[   867][E][panel_m5hdmi.cpp:439] init(): [M5HDMI] failed to initialize the HDMI transmitter.<br />
[   875][W][panel_m5hdmi.cpp:583] init(): [M5HDMI] HDMI transmitter Initialize failed.<br />
W:0 H:0<br />
=========== After Setup Start ============<br />
INTERNAL Memory Info:</h2>
<h2>Total Size        :   382032 B ( 373.1 KB)<br />
Free Bytes        :   348164 B ( 340.0 KB)<br />
Allocated Bytes   :    26176 B (  25.6 KB)<br />
Minimum Free Bytes:   342020 B ( 334.0 KB)<br />
Largest Free Block:   114676 B ( 112.0 KB)</h2>
<h2>GPIO Info:</h2>
<h2>GPIO : BUS_TYPE[bus/unit][chan]</h2>
<pre><code> 1 : UART_TX[0]
 3 : UART_RX[0]
</code></pre>
<p dir="auto">============ After Setup End =============</p>
]]></description><link>https://community.m5stack.com/topic/7443/atom-display-not-working</link><generator>RSS for Node</generator><lastBuildDate>Mon, 18 May 2026 01:16:51 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/7443.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 26 Mar 2025 10:56:04 GMT</pubDate><ttl>60</ttl></channel></rss>