User Guide
– –
– –
68 69
CMD - Command Register
Volatile Address = 0xC7
This volatile write-only register is used to issue special commands.
Value V is chosen from among the options in Figure 72.
The Join Process Control command allows the software to initiate or stop
the secure Join process. It has the following subcommands.
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 a Join Process is active
except that a Halt Join command is never inhibited. A Halt Join operation
completes before the ACK is sent.
HumPRC
TM
Series CMD Values
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 71: HumPRC
TM
Series Transceiver Command Register Command and Response
HumPRC
TM
Series Command Register
Write Command
Header Size Escape Address Value
0xFF Size 0xFE 0x47 V
Figure 72: HumPRC
TM
Series Command Register Values
When the Join Process is started the KEYRCV flag in the SECOPT register
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 74 shows the command for writing the AES key to the module.
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 75
shows the structure of this command.
If KeyN is 0x01, the command clears the volatile key registers. If it is 0x02,
it clears the non-volatile key registers.
The Reload Key command copies the key in non-volatile memory (NKN)
HumPRC
TM
Series JOINCTL Subcommand Values
Subcommand Value Operation
0 Halt Join Process
1
Generate a random network key and address. This sets the
module as the network administrator (SECOPT:KEYRCV=0)
2 Perform the Join Process with another module
Figure 73: HumPRC
TM
Series JOINCTL Subcommand Values
Figure 74: HumPRC
TM
Series Transceiver Write Key Command
HumPRC
TM
Series Write Key Command
Write Command
Header Size Escape Address Value KeyN Key0 ... Key15
0xFF Size 0xFE 0x47 0x11 KeyN Key0 ... Key15
Figure 75: HumPRC
TM
Series Transceiver Clear Key Command
HumPRC
TM
Series Clear Key Command
Write Command
Header Size Escape Address Value KeyN
0xFF 0x04 0xFE 0x47 0x12 KeyN