Modem User Guide: End-to-End Demo


The LoRa Basics™ Modem is an open source software library that enables communication between a LoRa®-based Internet of Things (IoT) device and Semtech’s LoRa Cloud™ services. LoRa Basics Modem for 2.4GHz communication emulates the LoRaWAN® protocol, but uses the 2.4GHz ISM band to allow worldwide operation and interoperability. It is also designed to run on any host MCU, together with an end-device application, making it simpler to integrate with a custom platform and use case.

System Architecture

Figure 1: System Architecture

Architecture Overview

LoRa Basics™ Modem features two simple-to-use interfaces:

  • The Software API that your firmware can call directly for modem configuration, wireless communication and access to high-level Cloud services

  • The MCU Hardware Abstraction Layer (HAL) that allows the simple adaptation of the Modem to an MCU

The modem then takes care of everything else: from the management of the timing, resource planning, and allocation allowing the radio to access the device, to accessing the Device & Applications Services provided through Semtech’s LoRa Cloud portal. All of this with a fully open source software architecture intended to facilitate the evolution of the software toward the integration of new features, services and even future MAC protocols.

An efficient multi-protocol-stack feature has been implemented, one that uses a dedicated radio planner. This simplifies radio resource management by preventing direct access to the low-level radio drivers. This innovation allows multiple communication stacks to work concurrently, whilst using the same hardware resources. For even more flexibility, the modem can run on either with an embedded OS or without (bare metal) allowing simple integration into a platform.

LoRa Basics Modem Architecture

Figure 2: LoRa Basics Modem Architecture