11. LR1121 Provisioning
11.1 Description
The LR1121 is pre-provisioned during Semtech's production test flow with two identifiers, which can be used to identify
devices on LoRaWAN® networks. For more information, please refer to the LoRa Alliance
https://LoRa-alliance.org/
•
The ChipEui number is globally unique, and identifies the device.
•
The SemtechJoinEui is re-used on a set of Semtech devices.
•
A unique Device Key, DKEY, is also pre-provisioned.
•
With these numbers, a Device PIN is calculated upon execution of the DeriveRootKeysAndGetPin(...)
command. This PIN is necessary to claim the device on the LoRa Cloud™ JoinServer services. For more information,
please refer to the LoRa Cloud website: https://www.LoRacloud.com/portal/join_service.
All these unique identifiers are stored in the device's persistent memory. They are pre-configured by Semtech to ease the
LoRaWAN implementation and access LoRa Cloud Join Server services, but can also be ignored by the user.
11.2 Provisioning Commands
11.2.1 GetChipEui
Command GetChipEui(...) reads the LR1121's pre-provisioned ChipEui. It is a globally-unique number, assigned by
Semtech in production, using one of Semtech's IEEE assigned EUIs. In the standard use-case, the ChipEui is used to derive
the two LoRaWAN root keys (AppKey, NwkKey), and should also be used as DevEui (in the LoRaWAN definition) to generate
the Join Request (which itself transports the DevEui).
Table 11-1: GetChipEui Command
Byte
Data from Host
Data to Host
Table 11-2: GetChipEui Response
Byte
Data from Host
Data to Host
•
ChipEui is coded on 8 bytes, in big endian format.
LR1121
User Manual
Rev 1.1
UM.LR1121.W.APP
Mar 2023
0
0x01
Stat1
0
0x00
0x00
Stat1
ChipEui(63:56)
www.semtech.com
1
0x25
Stat2
1
...
...
...
website:
®
8
0x00
ChipEui(7:0)
113 of 130
Proprietary & Confidential
Semtech