background image

MHX-2400 Operating Manual: Chapter 3 Configuration Options

21

The Minimum and
Maximum Packet Size is
controlled by the Master.
The Slave and Repeater units
will use the Minimum and
Maximum Packet Size
setting from the Master.

S Register 111  -  Packet Minimum Size
S Register 112  -  Packet Maximum Size
S Register 116  -  Packet Character Timeout

These settings determine the conditions under which the modem will
transmit accumulated data over the air.

S Register 111 - Minimum Size

Valid entries for this register are 1 to 255 bytes, which defines the minimum
number of bytes to receive from the DTE before encapsulating them in a
packet and transmitting over the air.

Note that the minimum packet size for all modems in the network is
determined by the Master only.  This setting is ignored in all Slave and
Repeater modems.  The default is 1 byte.

S Register 112 - Maximum Size

This setting has a range of 2 to 255, and defines the maximum number of
bytes from the DTE which should be encapsulated in a packet.  This value
should be greater than the minimum packet size, but not smaller than is
necessary for reliable communications.  If the wireless link is consistently
good and solid, a maximum size of 255 will yield the best throughput
(depending on the higher level protocols of the connected equipment).
However, if the link is poor (

e.g.

, experiencing excessive interference) and

data is frequently retransmitted, the maximum packet size should be
reduced.  This decreases the probability of errors within packets, and
reduces the amount of traffic in the event that retransmissions are required.

Note that the maximum packet size for all modems in the network is
determined by the Master only.  This setting is ignored in all Slave and
Repeater modems.  The default is 255 bytes.

S Register 116 - Packet Character Timeout

This register has valid entries of 0 to 254 milliseconds.  The Packet
Character Timeout timer looks for gaps in the data being received from the
DTE.  The timer is only activated after the Minimum Packet Size has been
accumulated in the modem.  After which, if the timer detects a gap in the
data exceeding the Packet Character Timeout value, the modem will
transmit the data.

The MHX-2400 will accumulate data in its buffers from the DTE until one
of the following requirements is met (whichever occurs first):

• 

The Maximum Packet Size (in bytes) has been accumulated;

• 

The Minimum Packet Size has been accumulated AND the Packet
Character Timeout interval has elapsed.

The default for the Packet Character Timeout is 9 ms.  If set to 0 ms, the
unit will buffer exactly the minimum packet size before transmitting.

Summary of Contents for MHX-2400

Page 1: ...anual MHX 2400 2 4 GHz Spread Spectrum OEM Transceiver Revision 1 11 December 1 2000 Microhard Systems Inc 110 1144 29th Ave N E Calgary Alberta T2E 7P1 Phone 403 248 0028 Fax 403 248 2762 www microha...

Page 2: ...anual generates uses and radiates radio frequency energy Operation of this equipment in a residential area may cause radio interference in which case the user at his own expense will be required to ta...

Page 3: ...ers 14 S Register 2 Escape Code 14 S Register 3 CR Control Code 14 S Register 4 Linefeed Control Code 14 S Register 5 Backspace Control Code 14 S Register 101 Operating Mode 15 S Register 102 Serial B...

Page 4: ......

Page 5: ...and offers quality and dependability The MHX 2400 module s versatility makes it the ideal solution for applications ranging from office productivity to industrial data control and acquisition While a...

Page 6: ...ntains instructions suggestions and information which will help you set up and achieve optimal performance from your equipment using the MHX 2400 module It is assumed that users of the MHX 2400 module...

Page 7: ...ich has been compatibly configured Thus at least two MHX 2400 modules will be required to establish a wireless communications link Additionally the following requirements should be taken into consider...

Page 8: ...ot directly feeding a switching power supply into Vcc Radio In addition it is recommended that Vcc Radio be regulated as close to 5 5V as possible without exceeding 5 5V Running from a 5V regulator wi...

Page 9: ...t to Send I 28 CTS Clear to Send O RX Indicator This active high output indicates the modem is receiving data packets with correct CRC and is designed to drive a LED When the unit is configured as a S...

Page 10: ...anted crosstalk between modules Examples of different network topologies are shown in Figure 2 Network 1 shows Point to Point communication between a Master and Slave Network 2 makes use of a Repeater...

Page 11: ...cond unit as a Slave The units should now be communicating Remember the parameters defined by AT F1 and AT F2 will likely not be the most ideal for your application but will quickly allow you to test...

Page 12: ...the factory the unit will power up in Command Mode You can place the modem into Data Mode either by 1 Issuing the answer command 2 Issuing the online command You can place the modem into Command Mode...

Page 13: ...d by 1 second of inactivity Note that the terminal must be configured to the same baud rate as the modem in order for the mode to recognize the escape sequence The modem is unable to autobaud while in...

Page 14: ...s rate between modems as CARRIER xxxx W2 Reports modem DCE baud rate as CONNECT xxxx Z Reset and load stored configuration The Z command resets the modem and loads the stored configuration C DCD Data...

Page 15: ...S command controls the DSR line for the modem and determines when it is active S0 DSR is always ON S1 DSR is ON in Data Mode OFF in Command Mode V View Configuration The V command displays the current...

Page 16: ...her text strings or numerical data The following chart shows resulting text string and corresponding numeric result 0 OK 3 NO CARRIER 4 ERROR 7 CONNECT 2400 8 CONNECT 3600 9 CONNECT 4800 10 CONNECT 72...

Page 17: ...acter This is the character that is used to end the command line and is also the character that appears after the modem sends a response This register cannot be stored to non volatile memory If the mo...

Page 18: ...he ultimate destination for data transmitted by all Slaves and Repeaters In addition the Master defines the following network parameters to be utilized by all other modems in the network See the appro...

Page 19: ...e precise title would be Repeater Slave because a Repeater also has much of the same functionality as a Slave A terminal can be connected at the Repeater location and communicate with the Master termi...

Page 20: ...ssible to write values to this register since the instant another AT command is issued the register will revert to the current baud rate Therefore it is advisable to operate in Command Mode at the des...

Page 21: ...sily selected by chance or coincidence Default is 1 S Register 105 Unit Address In point to point operation the Unit Address on both the Master and Slave or Repeater units must be the same In a multip...

Page 22: ...ration below When communicating with the Master R1 is acting like a Slave on Primary Hopping Pattern 1 When communicating with R2 and S4 R1 is acting like a Master on Secondary Hopping Pattern 2 If mu...

Page 23: ...etween units starting from a low power level and working upward until the RSSI is sufficiently high and a reliable link is established Although the conditions will vary widely between applications typ...

Page 24: ...s can result in severe fines S Register 109 Hopping Interval This option determines the frequency at which the modems change channel Note that the Master controls this parameter for the entire network...

Page 25: ...eld the best throughput depending on the higher level protocols of the connected equipment However if the link is poor e g experiencing excessive interference and data is frequently retransmitted the...

Page 26: ...Slaves or other Repeaters exactly the number of times defined by the Packet Retransmissions parameter Recipients of the packet will discard any duplicates The valid settings for this parameter are 0 t...

Page 27: ...slot A Slave will transmit a maximum of once per hopping interval however depending on the duration of the hopping interval and the maximum packet size more than one slot per hop is potentially availa...

Page 28: ...S120 can be set to any value between 0 and 254 ms RTS CTS TXD S120 ms Data going into MHX 910 0 to 1 ms Figure 5 Input Data Framing To enable output DCD data framing set the Data Carrier Detect parame...

Page 29: ...MHX 2400 Operating Manual Chapter 3 Configuration Options 25...

Page 30: ...Set S register value Result Codes 0 OK 12 CONNECT 9600 3 NO CARRIER 13 CONNECT 14400 4 ERROR 14 CONNECT 19200 7 CONNECT 2400 15 CONNECT 28800 8 CONNECT 3600 17 CONNECT 38400 9 CONNECT 4800 18 CONNECT...

Page 31: ...MHX 2400 Operating Manual RS 232 Interface and Cables 27...

Page 32: ......

Page 33: ...ed TTL low by the DTE to inform the modem that it is alive and ready for communications SG Signal Ground Provides a ground reference for all signals transmitted by both DTE and DCE DSR Data Set Ready...

Page 34: ...30 MHX 2400 Operating Manual Appendix B Serial Interface...

Page 35: ...SCI of the PIC 16C74 is directly connected pins 2 and 3 of the MHX 2400 The bi directional Port D is used for asserting or monitoring control signals from the MHX 2400 The RESET and CONFIG signals are...

Page 36: ...32 MHX 2400 Operating Manual Appendix C Sample Schematic Diagram...

Page 37: ...RTS DCD Framing ms S120 0 DCD Timeout ms S121 0 Secondary Hop Pattern S206 2 Don t Care Packet Retry Limit S213 2 AT F3 Repeater Default Settings E1 Q0 V1 W0 S0 1 S2 43 S3 13 S4 10 S5 8 DCD C1 On whe...

Page 38: ...34 MHX 2400 Operating Manual Appendix D Factory Default Settings...

Page 39: ...0 ms 130 38 Link Rate Fast 6 45 ms 210 43 WITH FEC 7 80 ms 255 30 8 120 ms 255 20 1 8 ms N A N A Repeater to 2 12 ms 3 1 Master Direct 3 16 ms 22 13 Communication 4 20 ms 44 21 5 30 ms 101 32 Link Rat...

Page 40: ...36 MHX 2400 Operating Manual Appendix E Performance Tables...

Page 41: ...2 GHz 14 16 2 4092 2 4392 GHz 17 19 2 4132 2 4432 GHz 20 22 2 4172 2 4472 GHz 23 25 2 4212 2 4512 GHz 26 28 2 4252 2 4552 GHz 29 31 2 4292 2 4592 GHz 32 34 2 4332 2 4632 GHz 35 37 2 4372 2 4672 GHz 38...

Page 42: ...38 MHX 2400 Operating Manual Appendix F Hopping Patterns...

Page 43: ...r Consumption 700 mA max 450 mA typical at 1W transmit 200 mA receive Operating Frequency 2 4000 GHz to 2 4835 GHz System Gain 135 dB Sensitivity 105 dBm Output Power 10 50 100 250 500 750 1000mW user...

Page 44: ...40 MHX 2400 Operating Manual Appendix G Technical Specifications...

Page 45: ...detection scheme for transmitted data Performed by using a polynomial algorithm on data and appending a checksum to the end of the packet At the receiving end a similar algorithm is performed and che...

Page 46: ...device RS 232 Recommended Standard 232 more accurately RS 232C or EIA TIA 232E Defined by the EIA a widely known standard electrical and physical interface for linking DCEs and DTEs for serial data co...

Reviews: