Introduction
This user manual describes the I-CUBE-LRWAN LoRaWAN
®
Expansion Package implementation on the STM32L0 Series,
STM32L1 Series, and STM32L4 Series microcontrollers. This document also explains how to interface with the LoRaWAN
®
to
manage the LoRa
®
wireless link.
LoRa
®
is a type of wireless telecommunication network designed to allow long-range communications at a very low bit-rate
and enabling long-life battery-operated sensors. LoRaWAN
®
defines the communication and security protocol that ensures
interoperability with the LoRa
®
network. The LoRaWAN
®
Expansion Package is compliant with the LoRa Alliance
®
specification
protocol named LoRaWAN
®
.
The I-CUBE-LRWAN main features are the following:
Integration-ready application
Easy add-on of the low-power LoRa
®
solution
Extremely-low CPU load
No latency requirements
Small STM32 memory footprint
Low-power timing services provided
The I-CUBE-LRWAN Expansion Package is based on the STM32Cube HAL drivers (Refer to LoRa standard overview).
This user manual provides customer examples on NUCLEO-L053R8, NUCLEO-L073RZ, NUCLEO-L152RE, and NUCLEO-
L476RG using Semtech expansion boards SX1276MB1MAS, SX1276MB1LAS, SX1272MB2DAS, SX1262DVK1DAS,
SX1262DVK1CAS, and SX1262DVK1BAS.
This document targets the following tools:
P-NUCLEO-LRWAN1, STM32 Nucleo pack for LoRa
®
technology (Legacy only)
P-NUCLEO-LRWAN2, STM32 Nucleo starter pack (USI
®
) for LoRa
®
technology
P-NUCLEO-LRWAN3, STM32 Nucleo starter pack (RisingHF) for LoRa
®
technology
B-L072Z-LRWAN1, STM32 Discovery kit embedding the CMWX1ZZABZ-091 LoRa
®
module from Murata
I-NUCLEO-LRWAN1, LoRa
®
expansion board for STM32 Nucleo, based on the WM-SG-SM-42 LPWAN module (USI
®
)
available in P-NUCLEO-LRWAN2
LRWAN-NS1, expansion board featuring the RisingHF modem RHF0M003 available in P-NUCLEO-LRWAN3
STM32 LoRaWAN
®
Expansion Package for STM32Cube
UM2073
User manual
UM2073 - Rev 11 - February 2021
For further information contact your local STMicroelectronics sales office.
www.st.com
1 General information
The I-CUBE-LRWAN Expansion Package runs on STM32 32bit microcontrollers based on the Arm
®
Cortex
®
-M
processor.
Note: Arm is a registered trademark of Arm Limited (or its subsidiaries) in the US and/or elsewhere.
1.1 Terms and definitions
Table 1 presents the definitions of the acronyms that are relevant for a better contextual understanding of this
document.
Table 1. List of acronyms
Acronym Definition
ABP Activation by personalization
App Application
API Application programming interface
BSP Board support package
FSM Finitestate machine
FUOTA Firmware update over the air
HAL Hardware abstraction layer
IoT Internet of things
LoRa
®
Long-range radio technology
LoRaWAN
®
LoRa
®
wide-area network
LPWAN Low-power wide-area network
MAC Media access control
MCPS MAC common part sublayer
MIB MAC information base
MLME MAC sublayer management entity
MPDU MAC protocol data unit
OTAA Over-the-air activation
PLME Physical sublayer management entity
PPDU Physical protocol data unit
SAP Service access point
SBSFU Secure Boot and Secure Firmware Update
UM2073
General information
UM2073 - Rev 11
page 2/51