<?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[Connecting to a LoraWAN Gateway with Core2 and Module LoRa868]]></title><description><![CDATA[<p dir="auto">Hello Forum,</p>
<p dir="auto">is there anyone who managed to connect to a LoRaWAN Gateway (e.g. from TTN) with a Core2 and the LoRa868 Module (this one: <a href="https://docs.m5stack.com/#/en/module/lora868" target="_blank" rel="noopener noreferrer nofollow ugc">https://docs.m5stack.com/#/en/module/lora868</a> not the com version)?<br />
I am using Arduino framework and tried using the MCCu LoRaWAN LMIC library, but without success.</p>
<p dir="auto">I could not find any tutorials either on the net for this approach.<br />
Seems the heltec WiFi LoRa 32 board achieves the task with the very same basic hardware components (SX1276, ESP32) according to multiple tutorials, yet for the M5Stack Core2 with the Module LoRa868 I cannot find any.</p>
<p dir="auto">Any hint would be highly appreciated.</p>
]]></description><link>https://community.m5stack.com/topic/3032/connecting-to-a-lorawan-gateway-with-core2-and-module-lora868</link><generator>RSS for Node</generator><lastBuildDate>Thu, 14 May 2026 22:13:22 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/3032.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 02 Mar 2021 22:01:44 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Connecting to a LoraWAN Gateway with Core2 and Module LoRa868 on Thu, 04 Mar 2021 14:40:59 GMT]]></title><description><![CDATA[<p dir="auto">Hello <a class="plugin-mentions-user plugin-mentions-a" href="/user/paul-k" aria-label="Profile: paul-k">@<bdi>paul-k</bdi></a></p>
<p dir="auto">how far did you get? Is the M5Core2 talking to the LoRa module?</p>
<p dir="auto">Keep in mind that the LoRa module was designed for M5Stack (Fire, Gray, etc.) and some GPIOs have changed from M5Stack to M5Core2. You can find a comparison <a href="https://www.gwendesign.ch/kb/m5stack/m5core2/#m5core2-bus-and-gpios-compared-to-m5stack" target="_blank" rel="noopener noreferrer nofollow ugc">here</a>.</p>
<p dir="auto">I don't have the LoRa module, but from looking at the schematic this should be the GPIO mapping:</p>
<p dir="auto">LoRa      &lt;-&gt; M5Core2 &lt;-&gt; Name</p>
<p dir="auto">GPIO18  &lt;-&gt; GPIO18   &lt;-&gt; SCK<br />
GPIO23  &lt;-&gt; GPIO23   &lt;-&gt; MOSI<br />
GPIO19  &lt;-&gt; <strong>GPIO38</strong>   &lt;-&gt; MISO<br />
GPIO5    &lt;-&gt; <strong>GPIO33</strong>   &lt;-&gt; CS<br />
GPIO26  &lt;-&gt; GPIO26   &lt;-&gt; RST<br />
GPIO36  &lt;-&gt; GPIO36   &lt;-&gt; DIO0 / INT</p>
<p dir="auto">Note: on M5Core2 by default GPIO33 is used as external I2C (SCL) on the Groove port A. Luckily external I2C is not enabled by default so that should not interfere. Just keep in mind that you cannot use the LoRa module and external I2C.</p>
<p dir="auto">Thanks<br />
Felix</p>
]]></description><link>https://community.m5stack.com/post/12806</link><guid isPermaLink="true">https://community.m5stack.com/post/12806</guid><dc:creator><![CDATA[felmue]]></dc:creator><pubDate>Thu, 04 Mar 2021 14:40:59 GMT</pubDate></item></channel></rss>