OG_MU-4-434_v10e Circuit Design, Inc.
42
OPERATION GUIDE
Note
5.4.2 Control commands and control responses
Command basic format
command name + value + terminator
Prefix: ‘@’=40h, a code that indicates the start of the command string.
Command name: 2 ASCII characters. Specified with upper case or lower case characters.
Value: Value corresponding to the relevant command.
Terminator: A code that indicates the end of the command ‘
C
R
L
F
’ (0Dh, 0Ah).
Control command code
Command string
Hexadecimal code actually sent to the MU-4
@
CH
1F
C
R
L
F
40,43,48,31,46,0D,0A
Response basic format
command name + ‘=’ + value + terminator
Prefix: ‘*’ = 2Ah, a code that indicates the start of the response string.
Command name: 2 ASCII characters for the received command.
Value: Result value corresponding to the relevant command.
Terminator: A code that indicates the end of the command ‘
C
R
L
F
’ (0Dh, 0Ah).
Command response code
Response character string
Hexadecimal code actually returned from the MU-4
*
CH
=
1F
C
R
L
F
2A,43,48,3D,31,46,0D,0A
The command parameter is applied immediately after the command to change it is issued.
In particular, note that if the UART related parameters are changed, communication will
not be possible unless the UART parameters on the control side are also changed.
5.4.2.1 @BR UART baud rate setting
Sets the UART baud rate. The change of setting is applied immediately after the response to the command is
returned. Change the baud rate on the control side immediately.
Default: 19
Value:
12 = 1,200 bps
24 = 2,400 bps
48 = 4,800 bps
96 = 9,600 bps
19 = 19,200 bps 38 = 38,400 bps 57 = 57,600 bps
Example: Change to 57,600 bps
Control command:
@BR
57
C
R
L
F
Control response: *
BR
=
57
C
R
L
F
5.4.2.2 @CH Frequency channel setting
Sets the channel to be used. Specify the channel following ‘@CH’ with 2 ASCII (hexadecimal) characters.
Default: 01h
Value: 01h - 7Fh (hexadecimal value that indicates channels 1 to 127)
Example: Change the channel to 15 (0Fh)
Control command:
@CH
0F
C
R
L
F
Control response:
When RM = CD *
CH
=
0F
C
R
L
F
When RM = TX
*
CH
=0F
: 433.3750MHz
C
R
L
F