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