<?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[Confusing M5Core2 Initialization]]></title><description><![CDATA[<p dir="auto">Here is my INIT code in Arduino:<br />
M5.begin();<br />
M5.Lcd.print("IOT DEVICE MONITOR");<br />
WiFi.begin(ssid, pass);                         //connect to WiFi<br />
delay(2000);<br />
Serial.begin(115200);<br />
Serial.println("IOT DEVICE MONITOR");</p>
<p dir="auto">The response is:<br />
M5Core2 initializing...axp: vbus limit off<br />
axp: gpio1 init<br />
axp: gpio2 init<br />
axp: rtc battery charging enabled<br />
axp: esp32 power voltage was set to 3.35v<br />
axp: lcd backlight voltage was set to 2.80v<br />
axp: lcd logic and sdcard voltage preset to 3.3v<br />
axp: vibrator voltage preset to 2v<br />
touch: FT6336 ready (fw id 0x10 rel 1, lib 0x300E)<br />
OK</p>
<p dir="auto">The first M5.Lcd.print is displayed, then we go no further, stopping at the "OK" message after FT6336.<br />
About one in 10x it works correctly.  What is missing here?</p>
]]></description><link>https://community.m5stack.com/topic/3703/confusing-m5core2-initialization</link><generator>RSS for Node</generator><lastBuildDate>Fri, 01 May 2026 12:38:07 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/3703.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 02 Nov 2021 20:36:12 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Confusing M5Core2 Initialization on Tue, 02 Nov 2021 20:52:58 GMT]]></title><description><![CDATA[<p dir="auto">Hello <a class="plugin-mentions-user plugin-mentions-a" href="/user/rmetzner49" aria-label="Profile: rmetzner49">@<bdi>rmetzner49</bdi></a></p>
<p dir="auto">try without the extra <code>Serial.begin(115200)</code>. By default Serial gets already initialized when the <code>M5.begin()</code> function is called. I've seen things go wrong before when Serial is initialized twice.</p>
<p dir="auto">Thanks<br />
Felix</p>
]]></description><link>https://community.m5stack.com/post/15343</link><guid isPermaLink="true">https://community.m5stack.com/post/15343</guid><dc:creator><![CDATA[felmue]]></dc:creator><pubDate>Tue, 02 Nov 2021 20:52:58 GMT</pubDate></item></channel></rss>