
USER MANUAL
STM 550X / EMSIX
–
ENOCEAN MULTI-SENSOR
© 2020 EnOcean | www.enocean.com F-710-017, V1.0
STM 550x / EMSIx User Manual | v1.0 | February 2020 | Page 50/79
8.5.5
USER_KEY
Each STM 550x module is pre-programmed at the factory with a randomly generated 128
bit security key (FACTORY_KEY). This key will by default be used to encrypt and authenti-
cate STM 550x radio telegrams when operating in high security mode.
In certain applications it might be desirable to assign a different (user-defined) security key
(USER_KEY) during commissioning to STM 550x. This can be done by writing the user-de-
fined security key to the USER_KEY register and setting KEY SELECTION field of the SECU-
RITY_KEY_MODE to 0b01 as described below.
Note that the USER_SECURITY_KEY register is a write-only register meaning that it is not
possible to read back a user-defined security key.
8.5.6
SECURITY_KEY_MODE
The register SECURITY_KEY_MODE allows selecting if FACTORY_KEY or USER_KEY should
be used to encrypt and authenticate STM 550x radio telegrams in high security mode. In
addition, it allows disabling the transmission of Secure Teach-in telegrams in order to pro-
tecting the security key.
Note that if the transmission of a secure teach-in telegram has been disabled and is subse-
quently re-enabled then USER_KEY will be reset to FACTORY_KEY.
Figure 32 below shows the structure of the SECURITY_KEY_MODE register.
SECURITY_KEY_MODE (Default: 0x00)
Bit 7 Bit 6 Bit 5 Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
RFU
SECURE LRN TELEGRAM
KEY SELECTION
Figure 32
–
SECURITY_KEY_MODE register
The encoding for the KEY SELECTION bit field is shown in Table 10 below.
KEY SELECTION Security key used
0b00 (Default)
FACTORY_KEY is used
0b01
USER_KEY is used
0b10, 0b11
Reserved, do not use
Table 10
–
KEY SELECTION bit field encoding