Solution Description
An attractive communication solution for IoT and IIoT applications, LoRa is a long-range and low-power wireless communication system that can send small amounts of data over long distances. Built around the LoRaWAN protocol, each LoRa device is required to have a unique ID (called DevEUI) and a unique security master key (called AppKey). From the AppKey are derived a “Network session key” used for integrity and authenticity verifications (data are signed with this key) and an “Application session key” used for confidentiality (data are encrypted with this key).
The security key and identifiers are unique per device and are traditionally provisioned (stored in the device’s persistent memory as well as on a Join server) during its manufacture prior to device activation. This solution generates cost and lacks flexibility. The current solution shows how the bidirectional capability of NFC dynamic tags can help to provision the device at runtime, thus making the manufacturing simpler.
The traditional way to onboard LoRa devices to a gateway or network server
A QR Code is traditionally added onto the product indicating the DevEUI and JoinEUI identifiers (the security key is kept secret).
After acquiring their device, users must install the approved Android/iOS mobile app provided by the manufacturer. The app then asks the user to scan the QR Code present on the LoRa device.
Then the application will communicate with the Join network using the JoinEUI parameter to identify the correct Join server to contact. The Join server knows the AppKey associated to this DevEUI and will propagate the AppKey to the Network and Application servers. The Network server will derive the AppKey to get the Network Session Key; while the Application server will derive the AppKey to get the Application session key.
The LoRa device will then contact a LoRa gateway and perform the Over The Air Activation (OTAA). Once activated, the new device is connected to the LoRa network and starts communicating.
Making the onboarding process easier and more cost-effective for an improved user experience
This method requires a LoRa device with an embedded ST25DV64KC dynamic NFC tag connected to an ultra-low power wireless STM32WL5 MCU supporting LoRa® modulation.
First tap the LoRa device with an NFC-enabled smartphone running the LoRa provisioning app to obtain the device's unique identifiers (DevEUI) and then register it on a LoRaWAN network.
The LoRaWAN server then sends back the unique master key (AppKey) to the mobile app which programs it into the LoRa device’s NVM. The LoRa device will then be able to contact a LoRa gateway to perform the Over The Air Activation (OTAA). Once activated, the new device is connected to the LoRa network.
Provisioning method | When | Constraints / Comments | Cost |
QR code | At factory | Fixed keys HSM to store keys | $$$ |
Bluetooth® Low Energy | In the field | Bluetooth stack (HW and SW) | $$ |
NFC | In the field | Device remains generic at the end of the factory | $ |
-
Key Product Benefits
Establishes a secure transfer channel over NFC Convenient way of provisioning by the end user thanks to ST25 Dynamic NFC tag Higher flexibility (provisioning can be handled in the field), thanks to ST25 Dynamic NFC tag Improved provisioning process speed, thanks to Fast Transfer mode
Ultra-low-power MCU supporting LoRa® modulation Receive sensitivity:–148 dBm for LoRa® (at 10.4 kHz, spreading factor 12)
-
All Features
- Advanced functionality
- Fast Transfer Mode (FTM)
- Secure HTTPS requests through TLS/SSL.
- Key programming into the LoRa device
- LoRa communications
- MQTT notifications
- Performance benefits
- NFC provisioning method is more flexible, and is more cost-effective than other methods
- NFC allows the automatic installation of the mobile app (Android, iOS)
- Allows the registration of the GPS location (at install time)
- Simplifies industrialization with key provisioning by the end user
- Enables sealed housing (e.g. gas meters) thanks to contactless interface
- Improved visibility by providing logs of the device to service engineers
- NFC allows additional use cases: diagnostics, configuration, firmware upgrade, and more
- Cost benefits
- No more key provisioning at the end of the production line (cost saving)
- No need for an HSM to store the keys associated to all the LoRa devices produced
- Provisioning keys can be updated along product life cycle to reuse the same device in other LoRa networks
- Certifications
- NFC Forum certified product (ST25DV64KC) -> guarantee interoperability with mobile phones
- Advanced functionality
Distributor availability of X-NUCLEO-NFC07A1
Distributor Name | Region | Stock | Min. Order | Third party link |
---|---|---|---|---|
Farnell Element14 | EUROPE | 11 | 1 | Buy from Distributor |
MOUSER | WORLDWIDE | 22 | 1 | Buy from Distributor |
DIGIKEY | WORLDWIDE | 80 | 1 | Buy from Distributor |
Distributor reported inventory date: 3/16/2025
Farnell Element14
Stock
11Min.Order
1MOUSER
Stock
22Min.Order
1DIGIKEY
Stock
80Min.Order
1Distributor reported inventory date: 3/16/2025
Stock
Min.Order
Distributor availability of ANT7-T-25DV64KC
Distributor Name | Region | Stock | Min. Order | Third party link |
---|---|---|---|---|
Farnell Element14 | EUROPE | 32 | 1 | Buy from Distributor |
MOUSER | WORLDWIDE | 177 | 1 | Buy from Distributor |
DIGIKEY | WORLDWIDE | 113 | 1 | Buy from Distributor |
YOSUN | ASIA/PACIFIC | 5 | 1 | Buy from Distributor |
Distributor reported inventory date: 3/16/2025
Farnell Element14
Stock
32Min.Order
1MOUSER
Stock
177Min.Order
1DIGIKEY
Stock
113Min.Order
1YOSUN
Stock
5Min.Order
1Distributor reported inventory date: 3/16/2025
Stock
Min.Order
Distributor availability of NUCLEO-WL55JC1
Distributor Name | Region | Stock | Min. Order | Third party link |
---|---|---|---|---|
ANGLIA Live | EUROPE | 59 | 1 | Buy from Distributor |
DIGIKEY | WORLDWIDE | 29 | 1 | Buy from Distributor |
Newark Element14 | AMERICA | 2 | 0 | Buy from Distributor |
Distributor reported inventory date: 3/15/2025
ANGLIA Live
Stock
59Min.Order
1DIGIKEY
Stock
29Min.Order
1Newark Element14
Stock
2Min.Order
0Distributor reported inventory date: 3/15/2025
Stock
Min.Order
The solution evaluation setup is based on STM32 Open Development Environment, an open, flexible, easy and affordable way to develop innovative applications. It enables fast prototyping with leading-edge components that can be quickly transformed into final designs.
Built around an ultra-low-power wireless STM32WL5 MCU, the STM32WL Nucleo-64 development board (NUCLEO-WL55JC) integrates a debugger/programmer interface via USB. With a flexible set of Arduino connectors, the development board can be easily connected to the Dynamic NFC/RFID tag IC expansion board (X-NUCLEO-NFC07A1) based on the ST25DV64KC NFC Type V tag.
A complete set of software components and ready-to-use example code are provided in our STM32WL firmware pack (STSW-ST25DV010). User-friendly mobile apps for LoRa provisioning (STSW-ST25010) as well as an MQTT Client (STSW-ST25011) are also available leveraging The Things Network’s LoRaWAN® infrastructure to monitor device performance, provide diagnostics, and more.
In this setup, the LoRa device is represented by the NFC expansion board (X-NUCLEO-NFC07A1) mounted on the STM32WL Nucleo board. A double-layer antenna reference board (ANT7-T-25DV64KC) for the ST25DV64KC dynamic NFC tag with an enhanced I²C wired interface is also available to ease prototyping.
First tap the LoRa device with an NFC-enabled smartphone running the LoRa provisioning app (STSW-ST25010) to obtain the device's unique identifiers and follow the directions on the screen to register it on a LoRaWAN network
Estimated cost
Something went wrong with the server request. Please try again in a few moments.
Request for software successfully submitted. The approval process may take up to 48 hours. After you have been approved, you should receive a link to the requested software via email.
Get the Software
Part Number | General Description | Marketing Status | Download |
---|---|---|---|
STSW-ST25DV010 | Firmware for ST25DV64KC LoRa Provisioning demo | Active | x Thank you for your agreement. Please log in to MyST or create an account to start the download. x Thank you for your agreement. Please create an account to start the download, or continue as a guest. x License Agreement BY CLICKING ON THE "I ACCEPT" BUTTON OR BY UNZIPPING, INSTALLING, COPYING, DOWNLOADING, ACCESSING OR OTHERWISE USING THIS SOFTWARE PACKAGE (HEREINAFTER “SOFTWARE PACKAGE” MEANS THE RELATED SOFTWARE, DOCUMENTATION, OTHER MATERIALS, AND ANY PARTS, PERMITTED MODIFICATIONS, AND PERMITTED DERIVATIVES THEREOF) FROM STMICROELECTRONICS INTERNATIONAL N.V, SWISS BRANCH AND/OR ITS AFFILIATED COMPANIES (“STMICROELECTRONICS”), THE RECIPIENT, ON BEHALF OF HIMSELF OR HERSELF, OR ON BEHALF OF ANY ENTITY BY WHICH SUCH RECIPIENT IS EMPLOYED AND/OR ENGAGED (“YOU”) AGREES TO BE BOUND BY THIS AGREEMENT. You represent that you have the authority to enter into this Agreement. You will comply with all laws, including export laws. STMicroelectronics’s failure or delay to enforce this Agreement does not waive STMicroelectronics’s rights. Swiss law, except conflict of laws, governs this Agreement, and the parties consent to exclusive jurisdiction of courts in Switzerland for litigation of this Agreement. Subject to the below disclaimer, applicable Third Party Terms (defined below), and applicable Open Source Terms (defined below), the redistribution, reproduction and use in source and binary forms of the software package or any part thereof, with or without modification, are permitted provided that the following conditions are met:
THIS SOFTWARE PACKAGE IS PROVIDED BY STMICROELECTRONICS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS, IMPLIED OR STATUTORY WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT OF THIRD PARTY INTELLECTUAL PROPERTY RIGHTS ARE DISCLAIMED TO THE FULLEST EXTENT PERMITTED BY LAW. IN NO EVENT SHALL STMICROELECTRONICS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE PACKAGE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. EXCEPT AS EXPRESSLY PERMITTED HEREUNDER, SUBJECT TO ANY APPLICABLE THIRD PARTY TERMS AND OPEN SOURCE TERMS, NO LICENSE OR OTHER RIGHTS, WHETHER EXPRESS OR IMPLIED, ARE GRANTED UNDER ANY PATENT OR OTHER INTELLECTUAL PROPERTY RIGHTS OF STMICROELECTRONICS OR ANY THIRD PARTY. |
STSW-ST25011 | Android app MQTT Client ST25 LoRa Provisioning demo (Application) | Active | Go to site Go to site |
STSW-ST25011SC | Android app MQTT Client ST25 LoRa Provisioning demo (Source) | Active | x Thank you for your agreement. Please log in to MyST or create an account to start the download. x Thank you for your agreement. Please create an account to start the download, or continue as a guest. x License Agreement BY CLICKING ON THE "I ACCEPT" BUTTON OR BY UNZIPPING, INSTALLING, COPYING, DOWNLOADING, ACCESSING OR OTHERWISE USING THIS SOFTWARE PACKAGE (HEREINAFTER “SOFTWARE PACKAGE” MEANS THE RELATED SOFTWARE, DOCUMENTATION, OTHER MATERIALS, AND ANY PARTS, PERMITTED MODIFICATIONS, AND PERMITTED DERIVATIVES THEREOF) FROM STMICROELECTRONICS INTERNATIONAL N.V, SWISS BRANCH AND/OR ITS AFFILIATED COMPANIES (“STMICROELECTRONICS”), THE RECIPIENT, ON BEHALF OF HIMSELF OR HERSELF, OR ON BEHALF OF ANY ENTITY BY WHICH SUCH RECIPIENT IS EMPLOYED AND/OR ENGAGED (“YOU”) AGREES TO BE BOUND BY THIS AGREEMENT. You represent that you have the authority to enter into this Agreement. You will comply with all laws, including export laws. STMicroelectronics’s failure or delay to enforce this Agreement does not waive STMicroelectronics’s rights. Swiss law, except conflict of laws, governs this Agreement, and the parties consent to exclusive jurisdiction of courts in Switzerland for litigation of this Agreement. Subject to the below disclaimer, applicable Third Party Terms (defined below), and applicable Open Source Terms (defined below), the redistribution, reproduction and use in source and binary forms of the software package or any part thereof, with or without modification, are permitted provided that the following conditions are met:
THIS SOFTWARE PACKAGE IS PROVIDED BY STMICROELECTRONICS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS, IMPLIED OR STATUTORY WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT OF THIRD PARTY INTELLECTUAL PROPERTY RIGHTS ARE DISCLAIMED TO THE FULLEST EXTENT PERMITTED BY LAW. IN NO EVENT SHALL STMICROELECTRONICS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE PACKAGE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. EXCEPT AS EXPRESSLY PERMITTED HEREUNDER, SUBJECT TO ANY APPLICABLE THIRD PARTY TERMS AND OPEN SOURCE TERMS, NO LICENSE OR OTHER RIGHTS, WHETHER EXPRESS OR IMPLIED, ARE GRANTED UNDER ANY PATENT OR OTHER INTELLECTUAL PROPERTY RIGHTS OF STMICROELECTRONICS OR ANY THIRD PARTY. |
STSW-ST25010 | Android app for ST25DV64KC LoRa Provisioning demo (Application) | Active | Go to site Go to site |
STSW-ST25010SC | Android app for ST25DV64KC LoRa Provisioning demo (Source) | Active | x Get Software Your registration has been successfully submitted! Something went wrong with the server request. Please try again in a few moments.If you have an account on my.st.com, login and download the software without any further validation steps. If you don't want to login now, you can download the software by simply providing your name and e-mail address in the form below and validating it. This allows us to stay in contact and inform you about updates of this software. For subsequent downloads this step will not be required for most of our software. To validate your e-mail and start the download, please click on the link inside the e-mail that has been sent to you. This link will be valid for 24 hours. Please check your spam filters in case you did not receive the e-mail. x Your registration has been successfully submitted! To validate your e-mail and start the download, please click on the link inside the e-mail that has been sent to you. This link will be valid for 24 hours. Please check your spam filters in case you did not receive the e-mail. x Your e-mail has not yet been validated. The e-mail that you have entered during the download attempt has not yet been validated. Please check your inbox for the e-mail with the download link. In case you did not receive the e-mail, or you entered a wrong e-mail address, you can start-over the process. x About Requesting Software
x Thank you for your agreement. Please log in to MyST or create an account to start the download. x Thank you for your agreement. Please create an account to start the download, or continue as a guest. x License Agreement BY CLICKING ON THE "I ACCEPT" BUTTON OR BY UNZIPPING, INSTALLING, COPYING, DOWNLOADING, ACCESSING OR OTHERWISE USING THIS SOFTWARE PACKAGE (HEREINAFTER “SOFTWARE PACKAGE” MEANS THE RELATED SOFTWARE, DOCUMENTATION, OTHER MATERIALS, AND ANY PARTS, PERMITTED MODIFICATIONS, AND PERMITTED DERIVATIVES THEREOF) FROM STMICROELECTRONICS INTERNATIONAL N.V, SWISS BRANCH AND/OR ITS AFFILIATED COMPANIES (“STMICROELECTRONICS”), THE RECIPIENT, ON BEHALF OF HIMSELF OR HERSELF, OR ON BEHALF OF ANY ENTITY BY WHICH SUCH RECIPIENT IS EMPLOYED AND/OR ENGAGED (“YOU”) AGREES TO BE BOUND BY THIS AGREEMENT. You represent that you have the authority to enter into this Agreement. You will comply with all laws, including export laws. STMicroelectronics’s failure or delay to enforce this Agreement does not waive STMicroelectronics’s rights. Swiss law, except conflict of laws, governs this Agreement, and the parties consent to exclusive jurisdiction of courts in Switzerland for litigation of this Agreement. Subject to the below disclaimer, applicable Third Party Terms (defined below), and applicable Open Source Terms (defined below), the redistribution, reproduction and use in source and binary forms of the software package or any part thereof, with or without modification, are permitted provided that the following conditions are met:
THIS SOFTWARE PACKAGE IS PROVIDED BY STMICROELECTRONICS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS, IMPLIED OR STATUTORY WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT OF THIRD PARTY INTELLECTUAL PROPERTY RIGHTS ARE DISCLAIMED TO THE FULLEST EXTENT PERMITTED BY LAW. IN NO EVENT SHALL STMICROELECTRONICS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE PACKAGE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. EXCEPT AS EXPRESSLY PERMITTED HEREUNDER, SUBJECT TO ANY APPLICABLE THIRD PARTY TERMS AND OPEN SOURCE TERMS, NO LICENSE OR OTHER RIGHTS, WHETHER EXPRESS OR IMPLIED, ARE GRANTED UNDER ANY PATENT OR OTHER INTELLECTUAL PROPERTY RIGHTS OF STMICROELECTRONICS OR ANY THIRD PARTY. |
All Evaluation Features
-
- Dynamic NFC/RFID tag IC expansion board based on ST25DV64KC for STM32 Nucleo (X-NUCLEO-NFC07A1)
- Easy-to-use expansion board based on the ST25DV64KC dynamic NFC/RFID tag
- Up to 64 Kbits of memory with NDEF support
- Free comprehensive development firmware library and example for ST25DV64KC, compatible with STM32Cube firmware
- Ultra-low-power wireless STM32WL5 MCU development board (NUCLEO-WL55JC)
- Provides an affordable and flexible way for users to build LoRa Devices prototypes.
- Comprehensive free software libraries and examples available with the STM32Cube MCU Package
- Supports a wide range of IDEs, including IAR, Keil and GCC-based IDEs
- Compatibility & standards conformance
- NFC Forum Type 5 Tag certification
- LoRaWan 1.0.4 certification
- Dynamic NFC/RFID tag IC expansion board based on ST25DV64KC for STM32 Nucleo (X-NUCLEO-NFC07A1)
Microcontrollers & microprocessors
Part number | Description |
---|---|
STM32WL54CC | Sub-GHz Wireless Microcontrollers. Dual-core Arm Cortex-M4/M0+ @48 MHz with 256 Kbytes of Flash memory, 64 Kbytes of SRAM. (G)FSK, (G)MSK, BPSK modulations. AES 256-bit. Multiprotocol System-on-Chip. |
STM32WL54JC | Sub-GHz Wireless Microcontrollers. Dual-core Arm Cortex-M4/M0+ @48 MHz with 256 Kbytes of Flash memory, 64 Kbytes of SRAM. (G)FSK, (G)MSK, BPSK modulations. AES 256-bit. Multiprotocol System-on-Chip. |
NFC
Part number | Description |
---|---|
ST25DV64KC | Dynamic NFC/RFID tag IC with 64-Kbit EEPROM, and fast transfer mode capability |