<?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[M5Stack LTE module(M8321) not communicating or responding to serial commands?]]></title><description><![CDATA[<p dir="auto">I'm trying to get it working at the moment, however no luck so far. From the schematic i've deduced that its operating as a generic modem, with a basic serial connection from the core to the LTE module on GPIO pins 16 and 17. However when attempting to send modem AT commands there is no response from the module?</p>
<p dir="auto">I am programming this in arduino, and I have set up a very simple sketch to send the commands from the stack to the LTE module</p>
<p dir="auto">#include &lt;M5Stack.h&gt;</p>
<p dir="auto">void setup() {<br />
Serial.begin(9600);  // set up serial<br />
Serial2.begin(9600, SERIAL_8N1, 16, 17);  // set up a second serial that will comunicate directly with the LTE shield</p>
<p dir="auto">//set pin 2 high for using the modem (simulates a power button press)<br />
pinMode(2, OUTPUT);<br />
digitalWrite(2, 0);<br />
delay(3000);<br />
digitalWrite(2, 1);<br />
}</p>
<p dir="auto">void loop() {</p>
<pre><code>while (Serial.available()){  // forward data from monitor to LTE module
  uint8_t recieve = Serial.read();
  Serial2.write(recieve);
}

while (Serial2.available()){  // forward data from LTE module to monitor
  Serial.write(Serial2.read());
}
</code></pre>
<p dir="auto">}</p>
<p dir="auto">I then manually input the AT commands and wait for a response from the board, however there is no response.</p>
]]></description><link>https://community.m5stack.com/topic/1473/m5stack-lte-module-m8321-not-communicating-or-responding-to-serial-commands</link><generator>RSS for Node</generator><lastBuildDate>Thu, 30 Apr 2026 18:38:23 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/1473.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 15 Nov 2019 01:28:47 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to M5Stack LTE module(M8321) not communicating or responding to serial commands? on Tue, 24 Mar 2020 10:05:22 GMT]]></title><description><![CDATA[<p dir="auto">I have the same problems.<br />
My experience:</p>
<p dir="auto">AT+CFUN=1<br />
+CREG: 2<br />
+CGREG: 2<br />
OK<br />
+CEREG: 2<br />
+CGEV: ME PDN ACT 1<br />
+CREG: 1<br />
^MODE: 17,10<br />
+CREG: 1<br />
+CEN1: 1,204<br />
+CEREG: 1<br />
+CIREPI: 0<br />
+CNEMS1: 0</p>
<p dir="auto">at+cops=?<br />
+COPS: (2,"T-Mobile  NL","T-Mobile  NL","20416",7,1),,(0-4),(0-2)<br />
OK<br />
AT+IPSTART=1,"TCP","185.78.197.71",3000<br />
+CME ERROR: 30</p>
<p dir="auto">I too get +CME ERROR: 30 on all ping actions.<br />
The sim is ok, I get data when I use it in a smartphone.</p>
<p dir="auto">Is  anybody out there successfully transmitting data with this unit?</p>
<p dir="auto">any help would be greatly appreciated!</p>
]]></description><link>https://community.m5stack.com/post/7882</link><guid isPermaLink="true">https://community.m5stack.com/post/7882</guid><dc:creator><![CDATA[koen]]></dc:creator><pubDate>Tue, 24 Mar 2020 10:05:22 GMT</pubDate></item><item><title><![CDATA[Reply to M5Stack LTE module(M8321) not communicating or responding to serial commands? on Tue, 03 Mar 2020 22:37:33 GMT]]></title><description><![CDATA[<p dir="auto">Ok, it seems the unit is responding, I can set it up, make and receive calls but am unable to get any functional IP traffic.</p>
<p dir="auto">Current status:</p>
<ul>
<li>Unit enabled</li>
<li>PDP configured (same as reported by a phone)</li>
<li>LTE connection</li>
<li>network attached</li>
<li>network activated</li>
<li>can configure either  LTE,GPRS or WCDMA</li>
<li>unit reports to have a connection</li>
<li>can make a call</li>
<li>can recieve a call</li>
</ul>
<p dir="auto">configuration:<br />
+CFUN: 1<br />
+COPS: (2,"T-Mobile  NL","T-Mobile  NL","20416",7,1),,(0-4),(0-2)<br />
+ZPLMNBAND: 3,20416,3<br />
+CGDCONT: 1,"IPV4V6","smartsites.t-mobile","0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0",0,0,0,0,0,0<br />
+CEREG: 1,1<br />
+CGATT: 1<br />
+CGACT: 1,1<br />
+ZPLMNINFO: "20416","T-Mobile  NL","T-Mobile  NL",2<br />
+CSQ: 140,99,17</p>
<p dir="auto">But...<br />
I'm unable to make a network connection. no IPSTART, or CMPING, they all return:</p>
<p dir="auto"><em>+CME ERROR: 30</em></p>
<p dir="auto">Which, as far as I can see, means : "No network service"</p>
<p dir="auto">What seems illogical is:<br />
<em>+ZPLMNBAND: 3,20416,3</em></p>
<p dir="auto">Which would indicate the750mhz band, which is weird, as it should be 900 or 1800<br />
<em>+COPS: (2,"T-Mobile  NL","T-Mobile  NL","20416",7,1),,(0-4),(0-2)</em></p>
<p dir="auto">I must be doing something wrong, but what..<br />
Any suggestions would be greatly appreciated.</p>
]]></description><link>https://community.m5stack.com/post/7667</link><guid isPermaLink="true">https://community.m5stack.com/post/7667</guid><dc:creator><![CDATA[yuri]]></dc:creator><pubDate>Tue, 03 Mar 2020 22:37:33 GMT</pubDate></item><item><title><![CDATA[Reply to M5Stack LTE module(M8321) not communicating or responding to serial commands? on Fri, 28 Feb 2020 21:33:34 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/m5stack" aria-label="Profile: m5stack">@<bdi>m5stack</bdi></a></p>
<p dir="auto">Yes, I found and used this example.</p>
<p dir="auto">Although the code <em>Serial.printf("FUCK STC\n");</em> on line 305 was not very inspiring, I did get something to work.<br />
The device registers with my provider after setting it to auto and entering the pin, it is getting an ip number and two dns servers but the ping test fails with the message: +CME ERROR: 30 (No network service)<br />
No clue yet to how to fix it.<br />
I did find the 350 page at command reference and am using a combo of the chinese original and a google translated page, but a working sample would definitly help.<br />
The data-only sim works just fine in a phone btw.</p>
<p dir="auto">Thanks for your response btw ;)</p>
]]></description><link>https://community.m5stack.com/post/7616</link><guid isPermaLink="true">https://community.m5stack.com/post/7616</guid><dc:creator><![CDATA[yuri]]></dc:creator><pubDate>Fri, 28 Feb 2020 21:33:34 GMT</pubDate></item><item><title><![CDATA[Reply to M5Stack LTE module(M8321) not communicating or responding to serial commands? on Wed, 26 Feb 2020 07:53:22 GMT]]></title><description><![CDATA[<p dir="auto">maybe you can refer this example:</p>
<p dir="auto"><a href="https://github.com/m5stack/M5Stack/tree/master/examples/Modules/LTE" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/m5stack/M5Stack/tree/master/examples/Modules/LTE</a></p>
]]></description><link>https://community.m5stack.com/post/7576</link><guid isPermaLink="true">https://community.m5stack.com/post/7576</guid><dc:creator><![CDATA[m5stack]]></dc:creator><pubDate>Wed, 26 Feb 2020 07:53:22 GMT</pubDate></item><item><title><![CDATA[Reply to M5Stack LTE module(M8321) not communicating or responding to serial commands? on Tue, 25 Feb 2020 16:41:24 GMT]]></title><description><![CDATA[<p dir="auto">Did you get it to work?<br />
I'm currently working on it, using the example from the documentation. It's still unstable so I have some work to do..</p>
]]></description><link>https://community.m5stack.com/post/7567</link><guid isPermaLink="true">https://community.m5stack.com/post/7567</guid><dc:creator><![CDATA[yuri]]></dc:creator><pubDate>Tue, 25 Feb 2020 16:41:24 GMT</pubDate></item><item><title><![CDATA[Reply to M5Stack LTE module(M8321) not communicating or responding to serial commands? on Sun, 17 Nov 2019 09:53:33 GMT]]></title><description><![CDATA[<p dir="auto">I have an LTE Module but this is not really my field of expertise. If you supply the full code I can test on mine to see if it's an issue specific to your module. By the way what country are you in? The module may only work if your countries mobile networks are supporting the same frequency bands as the module is compatible with, please check the docs page in the product features area <a href="https://docs.m5stack.com/#/en/module/lte" target="_blank" rel="noopener noreferrer nofollow ugc">https://docs.m5stack.com/#/en/module/lte</a></p>
]]></description><link>https://community.m5stack.com/post/6417</link><guid isPermaLink="true">https://community.m5stack.com/post/6417</guid><dc:creator><![CDATA[lukasmaximus]]></dc:creator><pubDate>Sun, 17 Nov 2019 09:53:33 GMT</pubDate></item></channel></rss>