Typical applications, Protocol guidelines, Interference considerations – Linx Technologies RXM-900-HP3-xxx User Manual

Page 7

Advertising
background image

Page 13

Page 12

TYPICAL APPLICATIONS

The figure below shows a typical RS-232 circuit using the HP3 Series receiver
and a Maxim MAX232. The receiver outputs a serial data stream and the
MAX232 converts that to RS-232 compliant signals. The MODE line is grounded
so the channels are selected by the DIP switches.

The figure below shows a circuit using the QS Series USB module. The QS
converts the data from the receiver into USB compliant signals to be sent to a
PC. The MODE line is high, so the module is in Serial Channel Select mode. The
RTS and DTR lines are used to load the channels. Application Note AN-00155
shows sample source code that can be adapted to use on a PC. The QS Series
Data Guide and Application Note AN-00200 discuss the hardware and software
set-up required for QS Series modules.

The receiver can also be connected to a microcontroller, which will interpret the
data and take specific actions. A UART may be employed or an I / O line may be
used to continuously monitor the DATA line for a valid packet. The receiver may
be connected directly to the microcontroller without the need for buffering or
amplification.

Figure 14: HP3 Receiver and MAX232 IC

C3

C4

C5

C1

C2

4.7uF

4.7uF

4.7uF

MAX232

4.7uF

DB-9

4.7uF

C1+
V+
C1-
C2+
C2-
V-
T2OUT
R2IN

R2OUT

T2IN

T1IN

R1OUT

R1IN

T1OUT

GND

VCC

VCC

GND

GND

VCC

GND

GND

1
2
3
4
5
6
7
8

9

10

11

12

13

14

15

16

1
6
2
7
3

4
9
5

+

+

+

+

+

VCC

ANT

GND

GND

NC

NC

NC

NC

NC

NC

GND

GND

GND

GND

GND

NC

NC

1

2

3

4

5

6

7

8

29

30

31

32

33

34

35

36

NC

CS0

CS1 / SS CLOCK

NC

NC

NC

NC

CS2 / SS DATA

PDN

RSSI

NC

NC

9

10

11

12

13

14

23

24

25

26

27

28

MODE

VCC

AUDIO

NC

NC

DATA

NC

NC

15

16

17

18

19

20

21

22

GND

USB-B

GND

5V

DAT -

GND

GS

HD

GS

HD

GND

GND

1

2

3

4

5

6

GND

VCC

ANT

GND

GND

NC

NC

NC

NC

NC

NC

GND

GND

GND

GND

GND

NC

NC

1

2

3

4

5

6

7

8

29

30

31

32

33

34

35

36

NC

CS0

CS1 / SS CLOCK

NC

NC

NC

NC

CS2 / SS DATA

PDN

RSSI

NC

NC

9

10

11

12

13

14

23

24

25

26

27

28

MODE

VCC

AUDIO

NC

NC

DATA

NC

NC

16

17

18

19

20

21

22

GND

SDM-USB-QS

USBDP

USBDM

GND

DSR

DATA_IN

DATA_OUT

RTS

CTS

DTR

TX_IND

VCC

SUSP_IND

RX_IND

485_TX

RI

DCD

1

2

3

4

5

6

7

8

9

10

11

12

13

15

16

Figure 15: HP3 Receiver and Linx QS Series USB Module

PROTOCOL GUIDELINES

While many RF solutions impose data formatting and balancing requirements,
Linx RF modules do not encode or packetize the signal content in any manner.
The received signal will be affected by such factors as noise, edge jitter, and
interference, but it is not purposefully manipulated or altered by the modules.
This gives the designer tremendous flexibility for protocol design and interface.

Despite this transparency and ease of use, it must be recognized that there are
distinct differences between a wired and a wireless environment. Issues such as
interference and contention must be understood and allowed for in the design
process. To learn more about protocol considerations, we suggest you read Linx
Application Note AN-00160.

Errors from interference or changing signal conditions can cause corruption of
the data packet, so it is generally wise to structure the data being sent into small
packets. This allows errors to be managed without affecting large amounts of
data. A simple checksum or CRC could be used for basic error detection. Once
an error is detected, the protocol designer may wish to simply discard the corrupt
data or implement a more sophisticated scheme to correct it.

INTERFERENCE CONSIDERATIONS

The RF spectrum is crowded and the potential for conflict with other unwanted
sources of RF is very real. While all RF products are at risk from interference, its
effects can be minimized by better understanding its characteristics.

Interference may come from internal or external sources. The first step is to
eliminate interference from noise sources on the board. This means paying
careful attention to layout, grounding, filtering, and bypassing in order to
eliminate all radiated and conducted interference paths. For many products, this
is straightforward; however, products containing components such as switching
power supplies, motors, crystals, and other potential sources of noise must be
approached with care. Comparing your own design with a Linx evaluation board
can help to determine if and at what level design-specific interference is present.

External interference can manifest itself in a variety of ways. Low-level
interference will produce noise and hashing on the output and reduce the link’s
overall range.

High-level interference is caused by nearby products sharing the same
frequency or from near-band high-power devices. It can even come from your
own products if more than one transmitter is active in the same area. It is
important to remember that only one transmitter at a time can occupy a
frequency, regardless of the coding of the transmitted signal. This type of
interference is less common than those mentioned previously, but in severe
cases it can prevent all useful function of the affected device.

Although technically it is not interference, multipath is also a factor to be
understood. Multipath is a term used to refer to the signal cancellation effects
that occur when RF waves arrive at the receiver in different phase relationships.
This effect is a particularly significant factor in interior environments where
objects provide many different signal reflection paths. Multipath cancellation
results in lowered signal levels at the receiver and, thus, shorter useful distances
for the link.

Advertising