SAM R34
SAM R34 MLS Getting Started Guide
Introduction
The Microchip LoRaWAN
Stack (MLS) provides a solution for the LoRaWAN end-device that is used for
Internet of Things (IoT) applications.
LoRa
®
is a wireless modulation technique designed to allow low-power end-devices to communicate over
long range and at low data rates.
LoRaWAN is a wireless networking protocol which operates over LoRa communication layer and acts as
Medium Access Control (MAC) layer.
LoRaWAN specification and its development is overseen by LoRa Alliance
. The specification is meant
for secure communication of end-devices and ensures inter-operability within the LoRa network.
Features
Low-Power LoRaWAN Solution
SAM R34 SiP Based on Low Power ARM M0+ Core
Application Integration Ready
Persistent Data Server (PDS)
Power Management Module (PMM)
Dynamic Regional Band Selection Support
© 2018 Microchip Technology Inc.
User Guide
DS50002812A-page 1
Table of Contents
Introduction......................................................................................................................1
Features.......................................................................................................................... 1
1. Network Architecture................................................................................................. 4
1.1. End-Device Architecture...............................................................................................................4
1.2. LoRaWAN Device Types..............................................................................................................4
1.3. End-device Activation (Joining).................................................................................................... 6
1.4. LoRaWAN Layers.........................................................................................................................7
2. Package Overview.....................................................................................................9
2.1. LoRaWAN Stack Directory Structure............................................................................................9
3. Architecture............................................................................................................. 10
4. Example Demo Project............................................................................................ 11
4.1. Building the Firmware.................................................................................................................11
4.2. Flashing the Firmware................................................................................................................16
4.3. Application Configuration........................................................................................................... 17
4.4. Stack Attributes.......................................................................................................................... 19
4.5. Demo Application Usage............................................................................................................20
5. Supporting MAC Layers.......................................................................................... 24
5.1. Regional Configurations............................................................................................................. 24
5.2. Power Management Module...................................................................................................... 24
5.3. Persistent Data Server............................................................................................................... 26
5.4. Software Timer........................................................................................................................... 34
5.5. Bootloader..................................................................................................................................34
6. Reference Documentation.......................................................................................37
7. Document Revision History..................................................................................... 38
The Microchip Web Site................................................................................................ 39
Customer Change Notification Service..........................................................................39
Customer Support......................................................................................................... 39
Microchip Devices Code Protection Feature................................................................. 39
Legal Notice...................................................................................................................40
Trademarks................................................................................................................... 40
Quality Management System Certified by DNV.............................................................41
SAM R34
© 2018 Microchip Technology Inc.
User Guide
DS50002812A-page 2