Linx HumPRC Series Data Manual page 38

Rf transceiver module
Hide thumbs Also See for HumPRC Series:
Table of Contents

Advertisement

CMD - Command Register
Volatile Address = 0xC7
This volatile write-only register is used to issue special commands.
HumPRC
Series Command Register
TM
Write Command
Header
Size
Escape
Address
0xFF
Size
0xFE
0x47
Figure 69: HumPRC
TM
Series Transceiver Command Register Command and Response
Value V is chosen from among the options in Figure 70.
HumPRC
Series CMD Values
TM
CMD Value
Operation
0x10
JOINCTL – Join Process Control
0x11
WRKEY – Write Key
0x12
CLRKEY – Clear Key
0x13
RLDKEY – Reload Key
0x20 0xAA 0xBB
NVRESET – Reset non-volatile registers to factory default
Figure 70: HumPRC
Series Command Register Values
TM
The Join Process Control command allows the software to initiate or stop
the secure
Join
Process. It has the following subcommands.
HumPRC
Series JOINCTL Subcommand Values
TM
Subcommand Value
Operation
0
Halt Join Process
Generate a random network key and address. This sets the
1
module as the network administrator (SECOPT:KEYRCV=0)
2
Perform the Join Process with another module
Figure 71: HumPRC
Series JOINCTL Subcommand Values
TM
These operations are equivalent to the push-button initiated operation.
If the Join Process is started by the serial command (CMD:JOINCTL[2]),
push-button operation is ignored until the Join Process finishes.
Register write operations are inhibited when the Join Process is active
except that a Halt Join command is never inhibited. A Halt Join operation
completes before the ACK is sent.
Value
V
70
When the Join Process is started the KEYRCV flag in the
determines whether the module is an administrator or node and whether
a key can be sent or changed. The Join Process uses and modifies
the non-volatile address registers. After a successful Join, the modified
non-volatile registers are copied to the corresponding volatile registers.
The Write Key command writes a 16-byte AES key to the selected key
register. As with most of the registers, the encryption key has both volatile
and non-volatile registers. The volatile register is used during run time, but
is lost on a power cycle or reset. When the module powers up, the volatile
register is loaded from the non-volatile register. This makes the non-volatile
register value the default on power-up.
The key value of all zero bytes is reserved as a "no key" indication.
Figure 72 shows the command for writing the AES key to the module.
HumPRC
TM
Series Write Key Command
Write Command
Header
Size
Escape
Address
0xFF
Size
0xFE
0x47
Figure 72: HumPRC
Series Transceiver Write Key Command
TM
If KeyN is 0x01, the command writes to the volatile key register. If it is 0x02,
it writes to the non-volatile key register.
The Clear Key command sets the selected key to all zeros. Figure 73
shows the structure of this command.
HumPRC
TM
Series Clear Key Command
Write Command
Header
Size
Escape
Address
0xFF
0x04
0xFE
0x47
Figure 73: HumPRC
Series Transceiver Clear Key Command
TM
If KeyN is 0x01, the command clears the volatile key registers. If it is 0x02,
it clears the non-volatile key registers.
SECOPT
register
Value
KeyN
Key0
...
Key15
0x11
KeyN
Key0
...
Key15
Value
KeyN
0x12
KeyN
71

Advertisement

Table of Contents
loading

This manual is also suitable for:

Hum-868-prcHum-868-prc-casHum-868-prc-ufl

Table of Contents