Page
58
of
60
©
2019 Radiocrafts AS
MBUS User Manual (ver 2.01)
MBUS USER MANUAL
Appendix D
Additional Examples
Example 8
– Changing RF Channel
Example
To select RF channel 4
, send the follow sequence after asserting the CONFIG line and the ‘>’
prompt is received:
Command
Hex
Response
Comment/Note
Enter
0x00
‘>’
Enter CONFIG mode.
Wait for ‘>’ prompt.
Alternative
: Assert CONFIG pin.
De-
assert CONFIG after ‘>’ prompt
‘C’
0x43
‘>’
C-command entered.
Wait for ‘>’ prompt.
4
0x04
‘>’
Command argument(s).
Wait for
‘>’ prompt.
(A new command can be issued here)
‘X’
0x58
(none)
Exit CONFIG mode.
Module returns to IDLE state
Example 9
– Changing MAN_ID
Example
To change the MAN_ID (at address 0x19 and 0x1A) and set it to (100,200) (0x64,0xC8), send the
following sequence:
Command
Hex
Response
Comment/Note
Enter
0x00
‘>’
Enter CONFIG mode.
Wait for ‘>’ prompt.
Alternative
: Assert CONFIG pin, then
deassert CONFIG pin
after ‘>’ prompt.
‘M’
0x4D
‘>’
M-command entered.
Wait for ‘>’ prompt.
Module ready to receive address.
0x19
0x19
(none)
Address
100
0x64
(none)
Value
0x1A
0x1A
(none)
Address
200
0xC8
(none)
Value
(New address and value pairs can be sent here)
0xFF
0xFF
‘>’
End M-command
Wait for ‘>’ prompt.
(A new configuration command can be issued here)
‘X’
0x58
(none)
Exit CONFIG mode.
Module returns to IDLE state
Test mode 0 (‘0’ command) can be used to list all parameters stored in non-volatile memory. This command can be
used to verify and check the module configuration.