RS485: testing loopback

Dec 21, 2007 4 Replies

I am using a rs232 to wire rs485 converter. I have shorted TX+ with RX



  • and TX- with RX- for 2-wire configuuration. A 120R termination resistor is connected between TX+ and TX-. I am using it in half-duplex configuration. Is it possible to test loopback. Because in half-duplex either tx or rx will be enabled. I have not tried this. Just before trying want to check if this will work.

You can test local loopback - verifying that your hdx connection is OK at your 485 converter. But you can't force the loopback to occur at the far end of the line, so if the cable to your destination is broken, you won't know. For this reason, most 485 hdx implementations have the remote slave devices issue an acknowledgement message of some kind whenever they receive something (valid) from the master. If the software loopback works, then the hardware is confirmed.

Steve

Looks good, try it. You might need to switch to full duplex for loop back. Don't know if your module will receive while transmitting which is required for the loopback, in half duplex mode.

Some ICs disable the rx when transmitting in half duplex mode.

back.

d

So how do i check the o/p? I can check it with scope. But I need to test it through s/w. Is there any way? I have this ready converters with DB-9 connectors on either side.

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required