Reference Design Simplifies LoRaWAN Device Setup

The design shifts LoRaWAN security key programming from manufacturing to installation, reducing production complexity and simplifying device onboarding.

STMicroelectronics‘ NFC for LoRa Provisioning solution (SL-SSISE011302V1) can help you develop LoRaWAN-enabled IoT devices that can be configured and registered on a network at the time of installation, rather than having their security credentials programmed during manufacturing. The solution combines a wireless microcontroller with a dynamic NFC tag to enable contactless provisioning through an NFC-enabled smartphone.

The LoRaWAN devices need a unique identifier for themselves and a master key for security purposes. The master key will be used to derive the Network Session Key for verifying integrity and authenticity of data and the Application Session Key for encryption of the application data. Conventionally, the provisioning process involved programming of each device with these credentials, which were programmed in their permanent memory during the manufacturing stage and stored at the Join server.

The new approach involves a shift of this process from the manufacturing stage to the installation stage. The new approach takes advantage of the ability of the dynamic NFC tag for bi-directional communication. The dynamic NFC tag is connected to the microcontroller. An NFC-enabled smartphone runs a LoRa provisioning application that reads the unique identifiers of the device. Using this information, the device registers itself on the LoRaWAN network. The network server returns the master key of the device to the mobile application, which writes it into the non-volatile memory of the device. Thus, the device gets the ability to perform Over-The-Air Activation (OTAA) through a LoRa gateway.

The solution evaluation setup uses a development board, an expansion board and an antenna reference board. The development board features a microcontroller, an integrated USB debugger/programmer interface and Arduino-compatible connectors. The expansion board provides up to 64 Kbits of memory. The double-layer antenna reference board make it easier to prototype the NFC connection.

Beyond simplifying device registration, you can explore additional functions such as GPS location registration during installation, device configuration, diagnostics and firmware upgrades. The contactless interface can also support devices with sealed enclosures, including gas meters, where accessing physical programming connectors can be difficult. Service engineers can use device logs to improve visibility during maintenance.

By moving key provisioning to the installation stage, the solution can reduce manufacturing costs, simplify production and allow devices to be reassigned to different LoRaWAN networks during their lifecycle by updating their provisioning keys.

STMicroelectronics has tested this reference design. It comes with a bill of materials (BOM), a printed circuit board (PCB) layout and more. The company’s website has additional data about the reference design. To read more about this reference design, click here.

Loading form…
Nidhi Agarwal
Nidhi Agarwal
Nidhi Agarwal is a Senior Technology Journalist at Electronics For You, specialising in embedded systems, development boards, and IoT cloud solutions. With a Master’s degree in Signal Processing, she combines strong technical knowledge with hands-on industry experience to deliver clear, insightful, and application-focused content. Nidhi began her career in engineering roles, working as a Product Engineer at Makerdemy, where she gained practical exposure to IoT systems, development platforms, and real-world implementation challenges. She has also worked as an IoT intern and robotics developer, building a solid foundation in hardware-software integration and emerging technologies. Before transitioning fully into technology journalism, she spent several years in academia as an Assistant Professor and Lecturer, teaching electronics and related subjects. This background reflects in her writing, which is structured, easy to understand, and highly educational for both students and professionals. At Electronics For You, Nidhi covers a wide range of topics including embedded development, cloud-connected devices, and next-generation electronics platforms. Her work focuses on simplifying complex technologies while maintaining technical accuracy, helping engineers, developers, and learners stay updated in a rapidly evolving ecosystem.

SHARE YOUR THOUGHTS & COMMENTS

Latest DIY Projects

Truly Innovative Electronics

Electronics News

Electronics Components

Electronics Jobs