<?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 Lite - Serial Port access]]></title><description><![CDATA[<p dir="auto">Hi gang.  A bit stumped here.  I have a M5 Atom Lite.   I've looked at the PICO datasheet and can see that it supports 3 UART connections.  Understanding that this board only has a few pins broken out... However, I've seen the GROVE documentation suggest that 2 of those pins can also be RX and TX (normally SDA, SCL)?   Has anyone been able to find a way to get access to RX0/TX0 or Serial1 (RX1, TX1)?   Any luck re-mapping the breakout ports in code for serial use?   I've tried to use some examples found at Google and can't get anything working.</p>
<p dir="auto"><a href="https://m5stack.oss-cn-shenzhen.aliyuncs.com/resource/docs/datasheet/core/esp32-pico-d4_datasheet_en.pdf" target="_blank" rel="noopener noreferrer nofollow ugc">https://m5stack.oss-cn-shenzhen.aliyuncs.com/resource/docs/datasheet/core/esp32-pico-d4_datasheet_en.pdf</a></p>
]]></description><link>https://community.m5stack.com/topic/1919/atom-lite-serial-port-access</link><generator>RSS for Node</generator><lastBuildDate>Wed, 29 Apr 2026 02:45:49 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/1919.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 01 May 2020 13:13:29 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Atom Lite - Serial Port access on Mon, 04 May 2020 12:53:42 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/reaper7" aria-label="Profile: reaper7">@<bdi>reaper7</bdi></a> said in <a href="/post/8507">Atom Lite - Serial Port access</a>:</p>
<blockquote>
<p dir="auto">Serial1.begin(115200, SERIAL_8N1, 32, 26);</p>
</blockquote>
<p dir="auto">Thanks.  Tried that and causes a crash.  I thinned out my code to bare min and this can replicate the crash (sorry not sure if this site has &lt;code&gt; tags.  Crash details are further down, but it looks like an issue with the Nextion library.  Challenge is this library works fine on other ESP32s.  Only difference here is calling out Seria1 with the defined ports.  Usually I have ESP32 boards where I can connect direct to UART1 pins, so no need to do pin mapping.</p>
<p dir="auto">#include &lt;Nextion.h&gt;</p>
<p dir="auto">//PRODUCTION:  Use this when using the physical MCU + Nextion TFT LCD Hardware or MCU + Serial Window.<br />
#define nextion Serial1<br />
boolean debug = true;   //Be sure to set to false when done debugging!!</p>
<p dir="auto">Nextion myNextion(nextion, 115200); //create a Nextion object named myNextion using the nextion serial port @ 115200bps</p>
<p dir="auto">void setup()<br />
{</p>
<p dir="auto">Serial.begin(115200);  //Standard Serial comms<br />
Serial1.begin(115200, SERIAL_8N1, 26, 32); //Comms to Nextion</p>
<p dir="auto">if (debug) {Serial.println(F("Connected.  Processing loop..."));}<br />
}</p>
<p dir="auto">// END SETUP</p>
<p dir="auto">void loop(){}</p>
<p dir="auto">000000<br />
A10     : 0x1dd4848c  A11     : 0x0000001c  A12     : 0x3ffba49c  A13     : 0x00000000<br />
A14     : 0x00000000  A15     : 0x00000000  SAR     : 0x0000001c  EXCCAUSE: 0x0000001c<br />
EXCVADDR: 0x1dd4848c  LBEG    : 0x00000000  LEND    : 0x00000000  LCOUNT  : 0x00000000</p>
<p dir="auto">Backtrace: 0x40080f75:0x3ffb1ec0 0x400d1986:0x3ffb1ee0 0x400d1d45:0x3ffb1f00 0x400d0e22:0x3ffb1f40 0x400d0bb9:0x3ffb1f80 0x400d13ab:0x3ffb1fb0 0x40088215:0x3ffb1fd0</p>
<p dir="auto">Rebooting...<br />
ets Jun  8 2016 00:22:57</p>
<p dir="auto">rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)<br />
configsip: 188777542, SPIWP:0xee<br />
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00<br />
mode:DIO, clock div:1<br />
load:0x3fff0018,len:4<br />
load:0x3fff001c,len:1216<br />
ho 0 tail 12 room 4<br />
load:0x40078000,len:9720<br />
ho 0 tail 12 room 4<br />
load:0x40080400,len:6352<br />
entry 0x400806b8<br />
Guru Meditation Error: Core  1 panic'ed (LoadProhibited). Exception was unhandled.<br />
Core 1 register dump:<br />
PC      : 0x40080f75  PS      : 0x00060530  A0      : 0x800d1989  A1      : 0x3ffb1ec0<br />
A2      : 0x00000020  A3      : 0x00000002  A4      : 0x00000000  A5      : 0x00000001<br />
A6      : 0x00060520  A7      : 0x00000000  A8      : 0x3f405808  A9      : 0x00000000<br />
A10     : 0x1dd4848c  A11     : 0x0000001c  A12     : 0x3ffba49c  A13     : 0x00000000<br />
A14     : 0x00000000  A15     : 0x00000000  SAR     : 0x0000001c  EXCCAUSE: 0x0000001c<br />
EXCVADDR: 0x1dd4848c  LBEG    : 0x00000000  LEND    : 0x00000000  LCOUNT  : 0x00000000</p>
]]></description><link>https://community.m5stack.com/post/8509</link><guid isPermaLink="true">https://community.m5stack.com/post/8509</guid><dc:creator><![CDATA[PlastiBots]]></dc:creator><pubDate>Mon, 04 May 2020 12:53:42 GMT</pubDate></item><item><title><![CDATA[Reply to Atom Lite - Serial Port access on Mon, 04 May 2020 08:50:50 GMT]]></title><description><![CDATA[<p dir="auto">on Arduino, You are try something like this??:<br />
Serial1.begin(115200, SERIAL_8N1, 32, 26);</p>
<p dir="auto">pin32 and pin26 on grove connector as RX and TX</p>
<p dir="auto">I haven't tested it...</p>
]]></description><link>https://community.m5stack.com/post/8507</link><guid isPermaLink="true">https://community.m5stack.com/post/8507</guid><dc:creator><![CDATA[reaper7]]></dc:creator><pubDate>Mon, 04 May 2020 08:50:50 GMT</pubDate></item><item><title><![CDATA[Reply to Atom Lite - Serial Port access on Sun, 03 May 2020 12:28:46 GMT]]></title><description><![CDATA[<p dir="auto">Yes. To clarify, I've got a Nextion HMI display that uses UART to communicate. On an typical ESP(8266/32) I'm using hardware Serial, but this unit does not have any hardware serial ports broken out, so looking for other ways.  Also tried Software Serial options and not having much luck...</p>
]]></description><link>https://community.m5stack.com/post/8490</link><guid isPermaLink="true">https://community.m5stack.com/post/8490</guid><dc:creator><![CDATA[PlastiBots]]></dc:creator><pubDate>Sun, 03 May 2020 12:28:46 GMT</pubDate></item><item><title><![CDATA[Reply to Atom Lite - Serial Port access on Sun, 03 May 2020 07:53:05 GMT]]></title><description><![CDATA[<p dir="auto">You can get serial over usb, or am I missing something, you want to use another device to receive serial communication from the atom other than a pc</p>
]]></description><link>https://community.m5stack.com/post/8489</link><guid isPermaLink="true">https://community.m5stack.com/post/8489</guid><dc:creator><![CDATA[lukasmaximus]]></dc:creator><pubDate>Sun, 03 May 2020 07:53:05 GMT</pubDate></item></channel></rss>