background image

 

OG_MU-4-434_v10e                                                                                                                                  Circuit  Design,  Inc.

 

58

OPERATION GUIDE

 

 

5.4.6 Receive response 

 

When issuing the monitor command and extended command, processing is performed at the target station and the 
result is returned to the source station. This processing result is output from the source station as a data receive.   
The content of the receive response depends on the command issued. For details, refer to the explanation of the 
relevant command.

 

 
 

5.4.7 ACK response

 

When issuing the extended command and so on, an ‘ACK’ is returned to show that the target station received the 
command. This ‘ACK’ is output from the source station as an ACK response. The content of the ACK response 
depends on the command issued. For details, refer to the explanation of the relevant command. 
 

 

5.4.8 Error response 

If there  is an error  in  the  format  of the transmit  command  or  control command issued,  an  error code  of  the  type 
shown below is sent in response. 
These error codes are required during product development, but  you should ensure that errors do not occur with 
your product. 
It is possible to change the display format by issuing the response display mode setting command ‘@RM = TX’ or 
‘@RM = CD’. In the default settings, only error codes are displayed. 

 

Format:  response name + ‘=’ + value + terminator 
 

Prefix: ‘*’ = 2Ah, a code that indicates the start of the response string.

 

Response name: The 2 ASCII characters ‘ER’. 

Value: Error code shown in the error code list.

 

Terminator: A code that indicates the end of the command ‘

C

R

L

F

’ (0Dh, 0Ah).

 

 
Error response code 
 
Response character string     

Hexadecimal code actually returned from the MU-4 

*ER = 

1D

 

C

R

L

F

 

 

2A,45,52,3D,31,44,0D,0A

 

 

 

 
Example: Error response when the ‘@BR’ command is issued 
 
 
1. When the command ‘@RM = CD’ is issued 

*ER = 0A 

C

R

L

 

 

 
2. When the command ‘@RM = TX’ is issued 

*ER = 0A : BR command format error 

C

R

L

 

 

 
 

   

 

Summary of Contents for MU-4-434

Page 1: ...ow power radio modem MU 4 434 434MHz Operation Guide Version 1 0 Sept 2020 CIRCUIT DESIGN INC 7557 1 Hotaka Azumino Nagano 399 8303 JAPAN Tel 81 0 263 82 1024 Fax 81 0 263 82 1016 E mail info circuitd...

Page 2: ...s Not Used 19 4 2 1 Communication within a group 1 N and N N systems 19 4 3 System Configuration When the Relay Function is Used 20 4 3 1 Transmission with the route register route information 20 4 3...

Page 3: ...ting an Air Monitoring Function 67 6 6 Assessing the Field Status for Communication 67 6 6 1 Source station RSSI measurement 67 6 6 2 Target station RSSI measurement 68 6 6 3 Packet test 68 6 7 Achiev...

Page 4: ...system with peace of mind Important It is not possible simply to replace communication using existing RS232C system equipment connected with a cable with MU 4 wireless communication In order to build...

Page 5: ...1 RXD 2 RTS 3 CTS 4 MOD MODE 5 INI 6 RST RESET 7 RXN RX MON 8 RXL RX LED 12 TXL TX LED 11 DO DATA OUT 10 DI DATA IN 9 RXIN Narrow band RF IC TXOUT CLOCK T DATA 7 3728MHz Control CPU CLOCK TXD RXD Por...

Page 6: ...h as Windows and the like In this case use an RS232C transceiver The program for existing system equipment will not work 2 By supplying power to the MU 4 with a cable you can also isolate the radio co...

Page 7: ...ce varies with the temperature conditions Storage temperature 25 C to 70 C No dew condensation Operating voltage 3 0 V to 5 0 V Absolute maximum rated voltage 5 5 v Consumption current At 10mW TX 42 m...

Page 8: ...utput terminal If the internal status is not busy the status is Low and data can be received via the RXD terminal If the internal status is busy the status is High and data cannot be received 4 CTS I...

Page 9: ...rent mode Outputs the received data of 4800 bps Set to open when the transparent mode is not used 11 TXL TX LED O The terminal for the transmission monitor LED On when data is transmitted The signal l...

Page 10: ...16 433 4625 42 2A 433 7125 3 03 433 2250 23 17 433 4750 43 2B 433 7250 4 04 433 2375 24 18 433 4875 44 2C 433 7375 5 05 433 2500 25 19 433 5000 45 2D 433 7500 6 06 433 2625 26 1A 433 5125 46 2E 433 7...

Page 11: ...00 64 40 433 9875 89 59 434 3000 114 72 434 6125 65 41 434 0000 90 5A 434 3125 115 73 434 6250 66 42 434 0125 91 5B 434 3250 116 74 434 6375 67 43 434 0250 92 5C 434 3375 117 75 434 6500 68 44 434 037...

Page 12: ...OG_MU 4 434_v10e Circuit Design Inc 12 OPERATION GUIDE 2 4 Dimensional Drawing 2 4 1 External dimensions 2 4 2 Diagram of dimensions for hole positions Top view...

Page 13: ...possible On the top surface of the board make a sufficient area beneath the MU 4 for the ground pattern GND plane and use the bottom surface of the board for signal lines 4 If the MU 4 power supply l...

Page 14: ...possible from sources of noise including from other embedded equipment 2 Arrange the MU 4 so that it will not be covered by the operator s hand or the like 3 The MU 4 does not have a waterproof struct...

Page 15: ...ing is possible up to a maximum of 10 relay stations Target station The station that receives data The target station outputs the received data to the user controller It also sends ACK data and RSSI r...

Page 16: ...ansmitted from the source station is received at the target station without error The MU 4 has a data transmit command that requests the target station to return the data receive acknowledgment ACK Th...

Page 17: ...3 A data transmit command for systems using relay stations It can also be used for 1 1 1 N systems not using relay stations The received signal strength RSSI of the received packet data is included a...

Page 18: ...on enter the Equipment ID of the target station at the end of the route information or as the Destination ID to which to transmit data At the target station the Destination ID included in the received...

Page 19: ...N system in which all the units have an equal relationship UI EI EI EI EI EI EI EI EI GI 8 EI EI EI EI All equipment in the system has the same frequency channel Communication is not possible between...

Page 20: ...RT Discretionary UI 0055 GI 01 EI 0A DI Discretionary RT Discretionary UI 0055 GI 01 EI 0B DI Discretionary RT Discretionary UI 0055 GI 01 EI 01 DI Discretionary RT 02 03 04 0A 0B Note UI User ID GI G...

Page 21: ...0C Relay System Example 3 Route information entered directly with ACK response polling system Transmit 5 byte data ABCDE Receive data ABCDE Packet ACK Packet ACK UI 0055 GI 01 EI 01 DI Discretionary...

Page 22: ...2 and 3 it is possible to request return of an ACK signal to show that the data is correctly received at the target station In addition it is possible to output the same data from the relay station a...

Page 23: ...cannot be set to the command mode without initializing it To initialize the MU 4 set the INI terminal to Low and turn on the power and after turning off the power briefly set the INI terminal to High...

Page 24: ...bit 1 3 Internal operation parameters Mode command 4 7 Changing Channels It is possible to change the channels used when the system is in operation This is done by changing the channels of the specifi...

Page 25: ...the error correction protocol error correction on set to ON I1 or I2 using the EC command with the W command option The standard protocol is a protocol used when the error correction protocol is off...

Page 26: ...se types Data transmit response Control response Monitor response Test response Extended response Information response Error response Data transmit command Source station Target station ACK response T...

Page 27: ...E Example 2 Data transmit command 2 Using the relay function with ACK route information specified in the route register Source station side Source station User controller DT 05 DT 05 ABCDE A Data tran...

Page 28: ...e Example With receive response Source station side Source Station EI 01 User controller CR 00 CR 02 03 04 Monitor command Monitor response Target station side User controller RSSI absolute level meas...

Page 29: ...03 Receive response DR 05 CH07 Return the result of processing Request to process 6 Receive response When issuing the monitor command and extended command processing is performed at the target station...

Page 30: ...9 Data transmit command 3 Relay function ACK DT XX ww ww A 4 DT XX 39 1 2 The options S and B output data at relay stations 3 4 The options S and B output data at relay stations 5 2 2 Data receives A...

Page 31: ...information mode setting RI ww RI ww 45 Response display mode setting RM ww RM ww 45 Program version acquisition VR VR XX ww ww 48 Serial number acquisition SN SN wwwwwwwww 47 Reset SR SR 00 47 Initi...

Page 32: ...esponse 56 Target station reset DT 03 SR C DT 03 ACK response 57 Resetting multiple stations at ones DT 03 SR F DT 03 Control response 57 5 2 7 Receive response When issuing the monitor command and ex...

Page 33: ...the User ID as 0000h UI 0000 is for testing Control command UI 0000 0B27 W CRLF Control response WR PS CRLF UI 0000 CRLF Example Set the channel to ch 16 and fix it Control command CH 10 W CRLF Contr...

Page 34: ...nd string Hexadecimal code actually sent to the MU 4 DT 06 abc123 CRLF 40 44 54 30 36 61 62 63 31 32 33 0D 0A Data transmission response basic format Prefix command name value terminator Prefix 2Ah a...

Page 35: ...e target station set in the Destination ID DI Format DT ss DD D CRLF ss Shows the data size in 2 hexadecimal digits Value 00h to FFh DD D D expresses 1 byte data Value 00h to FFh amount of data maximu...

Page 36: ...rmat DT ss DD D R rr rr rr CRLF ss Shows the data size in 2 hexadecimal digits and ASCII characters Value 00h to FFh maximum 255 bytes DD D D expresses 1 byte data Value 00h to FFh amount of data maxi...

Page 37: ...r rr rr Shows the route information in 2 hexadecimal digits and ASCII characters Value 00h to FEh number of relay stations maximum 10 units With Format 1 the route information is entered directly in t...

Page 38: ...e appearance of the source station ACK response when the 10 byte 0Ah data PPPPPPPPPP is transmitted with the data transmit command 2 with ACK Source station equipment ID 01 relay station equipment ID...

Page 39: ...ows the control size in 2 hexadecimal digits and ASCII characters Value 00h to FFh maximum 255 bytes DD D D expresses 1 byte data Value 00h to FFh amount of data maximum 255 bytes rr rr rr Shows the r...

Page 40: ...units With Format 1 the route information is entered directly in the command With Format 2 transmission is based on route information set in the route register with the RT command When entering the r...

Page 41: ...rmation for the received signal at the target station is attached to the ACK response The ACK response is issued after the relay time has elapsed Example The appearance of the source station ACK respo...

Page 42: ...string Hexadecimal code actually returned from the MU 4 CH 1F CRLF 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 tha...

Page 43: ...nication protocol used when the error correction protocol is off is defined as the standard protocol Default OF Error correction protocol OFF standard protocol Value OF Error correction protocol OFF s...

Page 44: ...y default values The content of the EEPROM fixed with the W option is also initialized For default values refer to the relevant command After using this command always execute the SR command Example C...

Page 45: ...rsion board in order to check the content of responses Normally the code display mode should be used Default CD Value CD Code display mode TX Code and text display mode Example Change the response dis...

Page 46: ...hange to Stop bit 1 Control command SB 01 CRLF Control response SB 01 CRLF 5 4 2 16 SI Mode setting with RF received signal level information Sets whether or not to include the RF received signal leve...

Page 47: ...he normal mode After issuing the standby command set the RXD CTS MODE INI and RESET terminals to High level Once switched to the standby mode the TXD RTS RX MON TX LED RX LED terminals are set to High...

Page 48: ...ith a password Please contact Circuit Design Inc directly Please ensure that you do not lose your User ID and password we also maintain records of this information About 30 000 User IDs are ensured bu...

Page 49: ...mber of relay stations maximum 10 units With Format 1 the route information is entered directly in the command With Format 2 transmission is based on route information set in the route register with t...

Page 50: ...will be the target station It is possible to make the source unit the target In this case after entering one or more relay stations enter the Equipment ID of the source unit at the end Example Measur...

Page 51: ...Monitor response When RM CD RA CRLF 63h 99 When RM TX RA 63 99dBm CRLF 5 4 3 4 RC All channel RSSI absolute level measurement Measures the RSSI Received Signal Strength Intensity over all channels It...

Page 52: ...tion Source station Transmit test data Transmit test data If the Destination ID matches data receive is output for specified time To measure the RSSI of the test signal set the target station Equipmen...

Page 53: ...Receive response from the target station Target station 8F status There is no data receive Return the data packet without change User controller User controller Target station EI 8F Relay station EI...

Page 54: ...r with the RT command or on the content of the Destination ID When entering the route information enter the Equipment ID of the target unit at the end If no route information is set NA set for the RT...

Page 55: ...ay stations maximum 10 units With Formats 1 and 3 the route information is entered directly in the command With Formats 2 and 4 transmission is based on route information set in the route register wit...

Page 56: ...With Format 2 transmission is based on route information set in the route register with the RT command or in the content of the Destination ID When entering the route information enter the Equipment I...

Page 57: ...setting multiple stations at once Resets the specified stations Resetting means returning the MU 1 to the status when the power was turned on The user starts it up with fixed settings in the EEPROM It...

Page 58: ...error in the format of the transmit command or control command issued an error code of the type shown below is sent in response These error codes are required during product development but you shoul...

Page 59: ...exceeded 14 15 CT command format error The CT command format is wrong 16 17 UI command error Use a 4 digit Hex character for the UI command 18 UI command format error The UI command format is wrong 1...

Page 60: ...a is not addressed to it the relay station simply relays the data unconditionally If there is no data error it is output to the user controller by the target station as the data receive In order to en...

Page 61: ...MU 4 can output data When CTS is High data output stops 3 The modes command text binary of the MU 4 are switched as follows a Switching between the command mode and binary mode To switch from the comm...

Page 62: ...ta transmit commands Example with the 5 byte transmission data 45 Make the command string DT 05 45 CRLF First obtain the 2 digit hexadecimal value for the number of bytes of the transmission data 45 a...

Page 63: ...y when ignoring the response As shown in the timing diagram in Chapter 7 a response is returned for each command after a certain period of time has elapsed It is possible to issue commands continuousl...

Page 64: ...each type must be processed separately 1 2 character response The response parameter is a 2 character response BR CA CH CP CR CS CT DI DT EC EI ER GI IR IZ MD RA PB RM RR SB SI SR TB TC VR Example Co...

Page 65: ...receives and make a comparative judgement It is convenient to return the result of comparison as an integer of the response or receive position on the table and for the value to diverge to the proces...

Page 66: ...LM 2 LM 3 LM 10 LM 20 LM 30 Read the 2 character size while setting LM Read the 2 character size while setting LM Read the 2 character size while setting LM LM 30 LM 40 LM 50 LM 110 120 LM 130 LM 140...

Page 67: ...Status for Communication With applications that use the MU 4 in the development stage or when development is complete and the unit is actually used it is necessary to assess the field status of the s...

Page 68: ...Transmission The MU 4 can send data of 255 bytes or less at one time When transmitting data in excess of 255 bytes you will need to incorporate a transmission protocol so that for example data is spl...

Page 69: ...t mode set in the EEPROM Depending on the mode take the following action In the binary mode Initialize the MU 4 In the text mode Issue the escape code ESC Initialization method Set the INI terminal to...

Page 70: ...ower set the MODE terminal to L Use the command W option to fix the channel User ID Destination ID and so on in the EEPROM 3 Connection example These are examples of connections in which hardware flow...

Page 71: ...fter performing the various settings using a dedicated board 2 Set the MODE terminal of the MU 4 to L or H with the switch to switch between the command mode and binary mode Since the various setting...

Page 72: ...d for the MU 4 is RS 255 247 The error correction in the MU 4 is performed for each control block of the frames sent between radios and in the data component errors of up to 4 bytes in 1 block consist...

Page 73: ...he MU 4 starts reception when turning on power Power ON Power supply VCC 100 ms Period when issuing commands is prohibited when turning on power MU 4 operation Period when command is prohibited Comman...

Page 74: ...ommand C R A Command length A 7 GI EI DI CH BR PB SB MD TC TB CT RI RM SY SI RR EC A 5 VR SN SR IZ CS RA RC A 14 UI A Number of relay station x 3 7 RT A Number of relay station x 3 8 CA CR B Response...

Page 75: ...command with w Response Command command response timing when w option is specified 65ms Issue the RA CS command RA CS response RA CS command command response timing 3 ms RA CS RA CS 3ms Issue the CH...

Page 76: ...command DT Data transmit response DT Data transmit command time tC N x 10000 br Data transmit response time tR 8 x 10000 br Units are ms br UART bit rate N n o r 7 n Number of data bytes sent within...

Page 77: ...smit command DT DT Data transmit response Source station Data receive DR DC DS Command time tC 7 10000 br Radio transmission time tP 2 08 tO Data receive time tR 8 10000 br Units are ms n number of da...

Page 78: ...n 2 tDATAout tR tA ACK response time tA 80000 br tDATAout C tP m 1 tR Table 2 Overhead tO 242 225 Standard protocol Error correction protocol 1 255 1 32 33 64 65 96 97 128 129 160 161 192 193 224 225...

Page 79: ...commands and control responses Default OF Transparent mode is Off Value OF Transparent mode is Off ON Transparent mode is On Example Set the transparent mode Control command TR ON CRLF Control respons...

Page 80: ...e commands listed in the table below cannot be used when the transparent mode is set To use them ensure that the transparent mode is disabled with the TR OF command If the commands below are issued wh...

Page 81: ...TX Switching from reception to transmittion TR RX Switching from transmisison to reception TR TX W Set to transmission and fix in EEPROM with W option TR TX command TR TX 10ms Transmission output ON...

Page 82: ...ion starts when turning on power when TR TX W is set Period until reception is stabled when turning on power when TR ON W is set TR RX W 68ms ON OFF Reception status Stable reception 75ms Transmission...

Page 83: ...ded to use an ID code with appropriate length User data A user data is data the user intends to send receive To prevent data from being garbled it is recommended that the user data has periodical tran...

Page 84: ...When using UART for wireless transmission it is important how the start of the data can be detected In the figure below the transmitter transmits 5 ms of High period between the preamble data and the...

Page 85: ...from the Circuit Design website You can issue all the commands from the control test window You can also check the performance of the MU 4 with a communication test where an image is transmitted using...

Page 86: ...of the MU 4 was performed using Circuit Design s standard antenna ANT RIG 01 1 4 lambda lead antenna so we recommend using the ANT RIG 01 antenna or an antenna with equivalent characteristics 2 14 dB...

Page 87: ...cuits and reverse connections may result in overheating and damage and must be avoided at all costs Ensure that the power supply has been switched off before attempting any wiring work The case is con...

Page 88: ...OG_MU 4 434_v10e Circuit Design Inc 88 OPERATION GUIDE REVISION HISTORY Version Date Description Remark 1 0 Sept 2020 The first issue...

Reviews: